Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ceph/crush/mapper.c bucket_uniform_choose() -> bucket_perm_choose()

Type Parameter Key Value
PARAM_VALUE 0 bucket 4096-ptr_max
DATA_SOURCE 1 work $1
DATA_SOURCE 2 x $2
DATA_SOURCE 3 r $3
RX_PATH
TASK_NOT_RUNNING

net/ceph/crush/mapper.c crush_choose_firstn() -> bucket_perm_choose()

Type Parameter Key Value
PARAM_VALUE 0 bucket 4096-ptr_max
PARAM_VALUE 0 bucket->items 4096-ptr_max
PARAM_VALUE 0 bucket->size 1-u32max
DATA_SOURCE 0 bucket $2
DATA_SOURCE 2 x $5
RX_PATH
TASK_NOT_RUNNING