Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/net/ethernet/google/gve/gve_rx.c page_frag_alloc() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp_mask | 2080 |
| PARAM_VALUE | 3 | align_mask | u32max |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mediatek/mtk_wed_wo.c page_frag_alloc() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp_mask | 2084 |
| PARAM_VALUE | 3 | align_mask | u32max |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &hw_lock |
net/rxrpc/output.c page_frag_alloc() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 1-u32max |
| PARAM_VALUE | 2 | gfp_mask | 3136,10272 |
| PARAM_VALUE | 3 | align_mask | u32max |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| 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/core/skbuff.c __napi_alloc_frag_align() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 0,64-u32max |
| PARAM_VALUE | 2 | gfp_mask | 10272 |
| PARAM_VALUE | 3 | align_mask | 4294967168,4294967232,u32max |
| CAPPED_DATA | 1 | fragsz | 1 |
| DATA_SOURCE | 3 | align_mask | $1 |
| BIT_INFO | 1 | fragsz | 0x0,0xffffffc0 |
| HARD_MAX | 3 | align_mask | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | fragsz | 0,64-u32max[c] |
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | bh |
net/core/skbuff.c __netdev_alloc_frag_align() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fragsz | 0,64-u32max |
| PARAM_VALUE | 2 | gfp_mask | 10272 |
| PARAM_VALUE | 3 | align_mask | u32max |
| DATA_SOURCE | 3 | align_mask | $1 |
| BIT_INFO | 1 | fragsz | 0x0,0xffffffc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &tfile->napi_mutex |
net/core/skbuff.c page_frag_alloc() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fragsz | 320,768-4096 |
| PARAM_VALUE | 3 | align_mask | u32max |
| CAPPED_DATA | 1 | fragsz | 1 |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| BIT_INFO | 2 | gfp_mask | 0x0,0xfffffbfe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | fragsz | |
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | bh |
net/rxrpc/txbuf.c page_frag_alloc_align() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 3 | align_mask | 4294967232 |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | fragsz | 4-1434[c] |
| UNITS | 1 | fragsz | unit_byte |
| LOCK2 | &call->conn->tx_data_alloc_lock | ||
| HALF_LOCKED2 | &call->user_mutex | ||
| TYPE_LOCK | (struct rxrpc_connection)->tx_data_alloc_lock |
drivers/vhost/net.c page_frag_alloc_align() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 320,384-1000000704 |
| PARAM_VALUE | 2 | gfp_mask | 3264 |
| PARAM_VALUE | 3 | align_mask | 4294967232 |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | fragsz | 320,384-1000000704[c][u] |
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/nvme/target/tcp.c page_frag_alloc() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 24,28,72,76 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| PARAM_VALUE | 3 | align_mask | u32max |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/svcsock.c page_frag_alloc() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 4 |
| PARAM_VALUE | 2 | gfp_mask | 3264 |
| PARAM_VALUE | 3 | align_mask | u32max |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| UNITS | 1 | fragsz | unit_byte |
| LOCK2 | &xprt->xpt_mutex | ||
| TYPE_LOCK | (struct svc_xprt)->xpt_mutex |
drivers/nvme/host/tcp.c page_frag_alloc() -> __page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 1 | fragsz | 72,76 |
| PARAM_VALUE | 2 | gfp_mask | 3520 |
| PARAM_VALUE | 3 | align_mask | u32max |
| DATA_SOURCE | 0 | nc | $0 |
| DATA_SOURCE | 1 | fragsz | $1 |
| DATA_SOURCE | 2 | gfp_mask | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | fragsz | unit_byte |