Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
io_uring/rsrc.c io_buffer_account_pin() -> io_account_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 1-u64max |
| PARAM_VALUE | 2 | nr_pages | 1-u64max |
| RX_PATH | |||
| UNITS | 1 | mm_account | unit_byte |
| LOCK2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/zcrx.c io_import_umem() -> io_account_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 2 | nr_pages | r io_count_account_pages |
| CAPABLE | 0 | 12 | |
| UNITS | 1 | mm_account | unit_byte |
| LOCK2 | &ctx->uring_lock | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |