Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/ulp/rtrs/rtrs-clt.c alloc_permits() -> permit_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clt | 4096-ptr_max |
| PARAM_VALUE | 0 | clt->pdu_sz | 0 |
| BUF_SIZE | 0 | clt | 2408 |
| DATA_SOURCE | 0 | clt | $0 |
| MEM_ZERO | 0 | clt->permits_map | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/ulp/rtrs/rtrs-clt.c get_permit() -> permit_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clt | 4096-ptr_max |
| BUF_SIZE | 0 | clt | (-1),2408 |
| BUF_SIZE | 0 | clt | (-1),2408 |
| DATA_SOURCE | 0 | clt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | clt->queue_depth | |
| HALF_LOCKED2 | &of->mutex |