Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/ulp/rtrs/rtrs-clt.c get_next_path_rr() -> rtrs_clt_get_next_path_or_null()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 clt_path 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/infiniband/ulp/rtrs/rtrs-clt.c rtrs_clt_remove_path_from_arr() -> rtrs_clt_get_next_path_or_null()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 clt_path 4096-ptr_max
BUF_SIZE 1 clt_path (-1),2080
BUF_SIZE 1 clt_path (-1),2080
DATA_SOURCE 1 clt_path $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 clt_path->queue_depth
NO_OVERFLOW_SIMPLE 1 clt_path->s.con_num
LOCK2 &clt->paths_mutex
LOCK2 &of->mutex
LOCK2 rcu_read
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct rtrs_clt_sess)->paths_mutex