Defined in 1 files as a function:
Referenced in 8 files:
- drivers/net/ethernet/google/gve/gve_rx.c, line 734
- drivers/net/ethernet/mediatek/mtk_wed_wo.c, line 145
- drivers/nvme/host/tcp.c
- drivers/nvme/target/tcp.c
- net/core/skbuff.c
- net/rxrpc/output.c
- net/sunrpc/svcsock.c, line 1262
- tools/testing/selftests/mm/page_frag/page_frag_test.c, line 97
Smatch caller information:
drivers/net/ethernet/google/gve/gve_rx.c gve_xdp_redirect() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp_mask | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mediatek/mtk_wed_wo.c mtk_wed_wo_queue_refill() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp_mask | 2084 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &hw_lock |
net/rxrpc/output.c rxrpc_alloc_ack() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 66 |
| PARAM_VALUE | 2 | gfp_mask | 3136,10272 |
| FUZZY_MAX | 2 | gfp_mask | 10272 |
| BIT_INFO | 2 | gfp_mask | 0x800,0x2c60 |
| HARD_MAX | 2 | gfp_mask | 10272 |
| UNITS | 1 | fragsz | unit_byte |
net/rxrpc/output.c rxrpc_alloc_ack() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 1-u32max |
| PARAM_VALUE | 2 | gfp_mask | 3136,10272 |
| DATA_SOURCE | 1 | fragsz | $1 |
| FUZZY_MAX | 2 | gfp_mask | 10272 |
| BIT_INFO | 2 | gfp_mask | 0x800,0x3fff |
| HARD_MAX | 2 | gfp_mask | 10272 |
| UNITS | 1 | fragsz | unit_byte |
net/rxrpc/output.c rxrpc_send_data_packet() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 28 |
| PARAM_VALUE | 2 | gfp_mask | 3136 |
| UNITS | 1 | fragsz | unit_byte |
net/core/skbuff.c __netdev_alloc_skb() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fragsz | 320,768-4096 |
| DATA_SOURCE | 2 | gfp_mask | $2 [m] |
| BIT_INFO | 2 | gfp_mask | 0x0,0xfffffbfe |
net/core/skbuff.c __netdev_alloc_skb() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fragsz | 320,768-4096 |
| DATA_SOURCE | 2 | gfp_mask | $2 [m] |
| BIT_INFO | 2 | gfp_mask | 0x0,0xfffffbfe |
| LOCK2 | bh |
net/core/skbuff.c napi_alloc_skb() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 320,768-4096 |
| PARAM_VALUE | 2 | gfp_mask | 10272,141344 |
| CAPPED_DATA | 1 | fragsz | 1 |
| FUZZY_MAX | 2 | gfp_mask | 10272 |
| BIT_INFO | 2 | gfp_mask | 0x2820,0x22820 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &tp->rx_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/nvme/target/tcp.c nvmet_tcp_alloc_cmd() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 72,76 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/tcp.c nvmet_tcp_alloc_cmd() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 24,28 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/tcp.c nvmet_tcp_alloc_cmd() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 24,28 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/tcp.c nvmet_tcp_alloc_cmd() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 24,28 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/svcsock.c svc_tcp_sendmsg() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 4 |
| PARAM_VALUE | 2 | gfp_mask | 3264 |
| UNITS | 1 | fragsz | unit_byte |
| LOCK2 | &xprt->xpt_mutex | ||
| TYPE_LOCK | (struct svc_xprt)->xpt_mutex |
drivers/nvme/host/tcp.c nvme_tcp_alloc_async_req() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 72,76 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &nvmf_dev_mutex |
drivers/nvme/host/tcp.c nvme_tcp_init_request() -> page_frag_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 72,76 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &set->tag_list_lock | ||
| HALF_LOCKED2 | &set->update_nr_hwq_lock |