Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/dlmglue.c __ocfs2_cluster_lock() -> ocfs2_recover_from_dlm_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 1-2 |
| PARAM_VALUE | 0 | lockres->l_level | (-128)-4 |
| PARAM_VALUE | 0 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_requested | 3,5 |
| PARAM_VALUE | 1 | convert | 1 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| CAPPED_DATA | 0 | lockres->l_level | 1 |
| CAPPED_DATA | 0 | lockres->l_requested | 1 |
| CAPPED_DATA | 0 | &lockres->l_lksb | 1 |
| DATA_SOURCE | 0 | lockres | $1 |
| FUZZY_MAX | 0 | lockres->l_action | 2 |
| FUZZY_MAX | 0 | lockres->l_level | 4 |
| BIT_INFO | 0 | lockres->l_requested | 0x1,0xffffffffffffffff |
| HARD_MAX | 0 | lockres->l_action | 2 |
| HARD_MAX | 0 | lockres->l_level | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/dlmglue.c ocfs2_cancel_convert() -> ocfs2_recover_from_dlm_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 2-3 |
| PARAM_VALUE | 0 | lockres->l_flags | 2-u64max |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_conn | 1-u64max |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->ast | 0-s64max |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->bast | 0-s64max |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->bast_pending | 0-1 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->cancel_pending | 0-1 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->convert_pending | 0-1 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->lock_pending | 0-1 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->lock_refs.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->ml.convert_type | (-128)-127 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->unlock_pending | 0-1 |
| PARAM_VALUE | 0 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_ops | 1-u64max |
| PARAM_VALUE | 0 | lockres->l_ops->check_downconvert | 0,763880178214047744,5946327856837857280 |
| PARAM_VALUE | 0 | lockres->l_ops->downconvert_worker | 0,147724554491625472,1141064181757992960,7020352818716516352 |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_unlock_action | 1 |
| PARAM_VALUE | 1 | convert | 0 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| DATA_SOURCE | 0 | lockres | $1 |
| BIT_INFO | 0 | lockres->l_flags | 0x2,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fp->fp_mutex |
fs/ocfs2/dlmglue.c ocfs2_downconvert_lock() -> ocfs2_recover_from_dlm_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 3 |
| PARAM_VALUE | 0 | lockres->l_blocking | 1-127 |
| PARAM_VALUE | 0 | lockres->l_level | 1-127 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_fsdlm.sb_status | (-65538)-(-65537),(-35),(-11),0 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm->lockid->lockres->lockname.name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm->lockid->lockres->lvb | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->lock_refs.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->lockres->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->ml.highest_blocked | (-127)-127 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->ml.list | 0-2 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.status | 1-31,33-39,41-u32max |
| PARAM_VALUE | 0 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_ops->check_downconvert | 0,763880178214047744,5946327856837857280 |
| PARAM_VALUE | 0 | lockres->l_ops->downconvert_worker | 0,147724554491625472,1141064181757992960,7020352818716516352 |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_requested | 0,3,5 |
| PARAM_VALUE | 1 | convert | 1 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| CAPPED_DATA | 0 | lockres->l_level | 1 |
| CAPPED_DATA | 0 | &lockres->l_lksb | 1 |
| DATA_SOURCE | 0 | lockres | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fp->fp_mutex |
fs/ocfs2/dlmglue.c ocfs2_file_lock() -> ocfs2_recover_from_dlm_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 2 |
| PARAM_VALUE | 0 | lockres->l_flags | 0,2-u64max |
| PARAM_VALUE | 0 | lockres->l_level | (-128)-0 |
| PARAM_VALUE | 0 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_mask_waiters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_mask_waiters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_mask_waiters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_requested | 3,5 |
| PARAM_VALUE | 1 | convert | 1 |
| BUF_SIZE | 0 | lockres | 528 |
| CAPPED_DATA | 0 | &lockres->l_lksb | 1 |
| FUZZY_MAX | 0 | lockres->l_level | 0 |
| BIT_INFO | 0 | lockres->l_requested | 0x1,0xffffffffffffffff |
| HARD_MAX | 0 | lockres->l_level | 0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &fp->fp_mutex | ||
| TYPE_LOCK | (struct ocfs2_file_private)->fp_mutex |
fs/ocfs2/dlmglue.c ocfs2_lock_create() -> ocfs2_recover_from_dlm_error()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 1 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_fsdlm.sb_status | (-65538)-(-65537),(-35),(-11),0 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm->lockid->lockres->lockname.name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm->lockid->lockres->lvb | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->ast | 0 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->bast | 0 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->lock_refs.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->lockres->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->ml.highest_blocked | (-127)-127 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->ml.list | 0-2 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.lockid->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lksb.lksb_o2dlm.status | 1-31,33-39,41-u32max |
| PARAM_VALUE | 0 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_requested | 0,3,5 |
| PARAM_VALUE | 1 | convert | 1 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| CAPPED_DATA | 0 | &lockres->l_lksb | 1 |
| DATA_SOURCE | 0 | lockres | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fp->fp_mutex |