Documented in 1 files:
Defined in 2 files as a function:
- drivers/infiniband/ulp/rtrs/rtrs-clt.c, line 2622 (as a function)
- fs/btrfs/send.c, line 444 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/ulp/rtrs/rtrs-clt.c rtrs_clt_create_path_from_sysfs() -> init_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->clt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->clt->paths_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->clt->paths_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->clt->paths_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->clt->paths_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | p->clt->paths_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->clt->paths_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | p->clt->paths_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | p->clt->paths_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->clt->paths_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | p->clt->paths_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | p->connected_cnt.counter | 0 |
| PARAM_VALUE | 0 | p->init_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->init_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | p->init_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->init_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | p->init_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | p->max_pages_per_mr | 128 |
| PARAM_VALUE | 0 | p->mp_skip_entry | 4096-ptr_max |
| PARAM_VALUE | 0 | p->s.con | 16,4096-ptr_max |
| PARAM_VALUE | 0 | p->s.con_num | 1-8194 |
| PARAM_VALUE | 0 | p->s.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->s.hb_cqe | 8556408699779784704 |
| PARAM_VALUE | 0 | p->s.hb_err_handler | 5397736646581309440 |
| PARAM_VALUE | 0 | p->s.hb_interval_ms | 5000 |
| PARAM_VALUE | 0 | p->s.hb_missed_cnt | 0 |
| PARAM_VALUE | 0 | p->s.hb_missed_max | 5 |
| PARAM_VALUE | 0 | p->s.hb_wq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->s.irq_con_num | 1-8194 |
| PARAM_VALUE | 0 | p->s.uuid->b | 0-255 |
| PARAM_VALUE | 0 | p->state | 0 |
| PARAM_VALUE | 0 | p->state_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->stats | 4096-ptr_max |
| PARAM_VALUE | 0 | p->stats->reconnects.successful_cnt | (-1) |
| BUF_SIZE | 0 | p | 2080 |
| BUF_SIZE | 0 | p | 2080 |
| DATA_SOURCE | 0 | p | r alloc_path |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | p->s.con_num | |
| 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 rtrs_clt_open() -> init_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->clt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->connected_cnt.counter | 0 |
| PARAM_VALUE | 0 | p->init_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->init_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | p->init_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | p->init_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | p->init_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | p->max_pages_per_mr | 128 |
| PARAM_VALUE | 0 | p->mp_skip_entry | 4096-ptr_max |
| PARAM_VALUE | 0 | p->s.con | 16,4096-ptr_max |
| PARAM_VALUE | 0 | p->s.con_num | 1-8194 |
| PARAM_VALUE | 0 | p->s.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->s.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->s.hb_cqe | 8556408699779784704 |
| PARAM_VALUE | 0 | p->s.hb_err_handler | 5397736646581309440 |
| PARAM_VALUE | 0 | p->s.hb_interval_ms | 5000 |
| PARAM_VALUE | 0 | p->s.hb_missed_cnt | 0 |
| PARAM_VALUE | 0 | p->s.hb_missed_max | 5 |
| PARAM_VALUE | 0 | p->s.hb_wq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->s.irq_con_num | 1-8194 |
| PARAM_VALUE | 0 | p->s.uuid->b | 0-255 |
| PARAM_VALUE | 0 | p->state | 0 |
| PARAM_VALUE | 0 | p->state_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->state_wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->stats | 4096-ptr_max |
| PARAM_VALUE | 0 | p->stats->reconnects.successful_cnt | (-1) |
| BUF_SIZE | 0 | p | 2080 |
| BUF_SIZE | 0 | p | 2080 |
| BUF_SIZE | 0 | p->clt | 2408 |
| DATA_SOURCE | 0 | p | r alloc_path |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | p->s.con_num | |
| 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 rtrs_clt_reconnect_work() -> init_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->clt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->clt->max_reconnect_attempts | 1-u32max |
| PARAM_VALUE | 0 | p->state | 0 |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/send.c fs_path_alloc() -> init_path()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| BUF_SIZE | 0 | p | 256 |
| DATA_SOURCE | 0 | p | r _kmalloc_noprof |
| PREEMPT_ADD | |||
| NOCHECK_CALL |