Defined in 1 files as a function:
Referenced in 3 files:
- drivers/vhost/net.c, line 723
- net/rxrpc/txbuf.c, line 38
- tools/testing/selftests/mm/page_frag/page_frag_test.c, line 89
Smatch caller information:
net/rxrpc/txbuf.c rxrpc_alloc_data_txbuf() -> page_frag_alloc_align()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nc | 4096-ptr_max |
| PARAM_VALUE | 3 | align | 64 |
| DATA_SOURCE | 2 | gfp_mask | $3 |
| 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 vhost_net_build_xdp() -> 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 | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | fragsz | 320,384-1000000704[c][u] |
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |