Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ceph/caps.c ceph_reserve_caps() -> __ceph_unreserve_caps()

Type Parameter Key Value
PARAM_VALUE 0 mdsc 4096-ptr_max
PARAM_VALUE 0 mdsc->caps_avail_count 0-2147483646
PARAM_VALUE 0 mdsc->caps_list.next 4096-ptr_max
PARAM_VALUE 0 mdsc->caps_list.next->prev 3765950406695575552
PARAM_VALUE 0 mdsc->caps_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdsc->fsc 4096-ptr_max
PARAM_VALUE 0 mdsc->fsc->client 4096-ptr_max
PARAM_VALUE 0 mdsc->fsc->client->monc.auth 4096-ptr_max
PARAM_VALUE 0 mdsc->mutex.dep_map->name 0-255
PARAM_VALUE 0 mdsc->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mdsc->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mdsc->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mdsc->mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mdsc->mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mdsc->mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mdsc->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mdsc->mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mdsc->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mdsc->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mdsc->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 mdsc->mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 mdsc->caps_total_count 1
CAPPED_DATA 0 mdsc->max_sessions 1
CAPPED_DATA 0 &mdsc->mutex 1
DATA_SOURCE 0 mdsc $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &mdsc->caps_list_lock
LOCK2 0 &mdsc->mutex
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct ceph_mds_client)->caps_list_lock
TYPE_LOCK (struct ceph_mds_client)->mutex

fs/ceph/caps.c ceph_unreserve_caps() -> __ceph_unreserve_caps()

Type Parameter Key Value
PARAM_VALUE 0 mdsc 4096-ptr_max
PARAM_VALUE 0 mdsc->caps_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdsc->fsc 4096-ptr_max
PARAM_VALUE 0 mdsc->snap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mdsc->snap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 nr_caps s32min-(-1),1-s32max
DATA_SOURCE 0 mdsc $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &mdsc->caps_list_lock
HALF_LOCKED2 &session->s_mutex
TYPE_LOCK (struct ceph_mds_client)->caps_list_lock