Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/dlm/lock.c _convert_lock() -> do_convert_effects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_convertqueue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_convertqueue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_convertqueue.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->res_nodeid | 0 |
| PARAM_VALUE | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.done | 0-4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_lksb.sb_lkid | 0 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_name.ln_sbd->sd_glock_disposal.counter | s32min-s32max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_rcu.next | 0 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_work.cpu | s32min-s32max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.done | 0-4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->sync_locking_done | 1 |
| PARAM_VALUE | 1 | lkb->lkb_last_cb_flags | 1-2 |
| PARAM_VALUE | 1 | lkb->lkb_lksb->sb_status | (-65538)-(-65537),(-35),(-11),0 |
| PARAM_VALUE | 1 | lkb->lkb_ownqueue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ownqueue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource | 0,4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_delay.next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_delay.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_delay.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_clear_proc_locks.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.owner | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | lkb->lkb_status | (-128)-0,2-127 |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts_spin.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->locks_spin.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->rcu.func | 1-u64max |
| PARAM_VALUE | 1 | lkb->rcu.next | 0 |
| PARAM_VALUE | 1 | *lkb->lkb_astparam->gl_lksb.sb_lvbptr | 0-255 |
| PARAM_VALUE | 2 | error | (-115),(-35),(-11),0 |
| CAPPED_DATA | 1 | lkb | 1 |
| DATA_SOURCE | 0 | r | $0 |
| DATA_SOURCE | 1 | lkb | $1 |
| DATA_SOURCE | 2 | error | r do_convert |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | lkb->lkb_exflags | 0-u32max[u] |
| USER_DATA | 1 | lkb->lkb_grmode | 0-5[u] |
| USER_DATA | 1 | lkb->lkb_last_bast_cb_mode | 0-5[c] |
| USER_DATA | 1 | lkb->lkb_last_cast_cb_mode | 0-5[c] |
| USER_DATA | 1 | lkb->lkb_last_cb_mode | 0-5[c] |
| USER_DATA | 1 | lkb->lkb_resource->res_hash | 0-u32max |
| USER_DATA | 1 | lkb->lkb_resource->res_length | 0-64[c] |
| USER_DATA | 1 | lkb->lkb_rqmode | 0-5[u] |
| LOCK2 | 0 | &r->res_lock | |
| HALF_LOCKED2 | &ls->ls_in_recovery | ||
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c receive_convert() -> do_convert_effects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_convertqueue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_convertqueue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_convertqueue.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.done | 0-4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_astparam->cc_private->oc_sync_wait.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_lksb.sb_lkid | 0 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_name.ln_sbd->sd_glock_disposal.counter | s32min-s32max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_rcu.next | 0 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_work.cpu | s32min-s32max |
| PARAM_VALUE | 1 | lkb->lkb_astparam->gl_work.timer.flags | 0-4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.done | 0-4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_astparam->ls_sync_wait.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | lkb->lkb_astparam->sync_locking_done | 1 |
| PARAM_VALUE | 1 | lkb->lkb_last_cb_flags | 1-2 |
| PARAM_VALUE | 1 | lkb->lkb_lksb->sb_status | (-65538)-(-65537),(-35),(-11),0 |
| PARAM_VALUE | 1 | lkb->lkb_lvbptr | 16,4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_nodeid | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | lkb->lkb_ownqueue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ownqueue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource | 0,4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_delay.next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_delay.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_delay.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_cb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_clear_proc_locks.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.owner | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_lkbxa_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | lkb->lkb_status | (-128)-0,2-127 |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->asts_spin.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_ua->proc->locks_spin.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->rcu.func | 1-u64max |
| PARAM_VALUE | 1 | lkb->rcu.next | 0 |
| PARAM_VALUE | 1 | *lkb->lkb_astparam->gl_lksb.sb_lvbptr | 0-255 |
| PARAM_VALUE | 2 | error | (-115),(-35),(-11),0 |
| CAPPED_DATA | 1 | lkb | 1 |
| CAPPED_DATA | 1 | lkb->lkb_nodeid | 1 |
| DATA_SOURCE | 2 | error | r do_convert |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_requestqueue_lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | &ls->ls_recv_active | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ls)->ls_requestqueue_lock | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |