Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/dlmglue.c __lockres_clear_pending() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 0-3 |
| PARAM_VALUE | 0 | lockres->l_flags | 1024-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 | 1 | clear | 1024 |
| CAPPED_DATA | 0 | lockres->l_pending_gen | 1 |
| DATA_SOURCE | 0 | lockres | $0 |
| FUZZY_MAX | 0 | lockres->l_action | 2 |
| BIT_INFO | 0 | lockres->l_flags | 0x400,0xffffffffffffffff |
| HARD_MAX | 0 | lockres->l_action | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c __ocfs2_cluster_lock() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 1 | clear | 2048 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| DATA_SOURCE | 0 | lockres | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_complete_lock_res_refresh() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_lksb->lksb_fsdlm.sb_lvbptr | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 1 | clear | 32 |
| BUF_SIZE | 0 | lockres | 528 |
| DATA_SOURCE | 0 | lockres | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_complete_lock_res_refresh() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_lksb->lksb_fsdlm.sb_lvbptr | 0-255 |
| PARAM_VALUE | 0 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 1 | clear | 16 |
| BUF_SIZE | 0 | lockres | 528 |
| DATA_SOURCE | 0 | lockres | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_drop_lock() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_flags | 128-u64max |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 1 | clear | 1 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| DATA_SOURCE | 0 | lockres | $1 |
| BIT_INFO | 0 | lockres->l_flags | 0xc1,0xfffffffffffffffd |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_generic_handle_attach_action() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 1 |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 2 |
| DATA_SOURCE | 0 | lockres | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_generic_handle_convert_action() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 2 |
| PARAM_VALUE | 0 | lockres->l_flags | 4096-u64max |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 4096 |
| DATA_SOURCE | 0 | lockres | $0 |
| BIT_INFO | 0 | lockres->l_flags | 0x1000,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_generic_handle_convert_action() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 2 |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 2 |
| DATA_SOURCE | 0 | lockres | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_generic_handle_downconvert_action() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 3 |
| PARAM_VALUE | 0 | lockres->l_blocking | 0 |
| PARAM_VALUE | 0 | lockres->l_flags | 4-u64max |
| PARAM_VALUE | 0 | lockres->l_level | (-128)-5 |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_requested | (-128)-5 |
| PARAM_VALUE | 1 | clear | 4 |
| CAPPED_DATA | 0 | lockres->l_level | 1 |
| DATA_SOURCE | 0 | lockres | $0 |
| BIT_INFO | 0 | lockres->l_flags | 0x7,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_generic_handle_downconvert_action() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 3 |
| PARAM_VALUE | 0 | lockres->l_blocking | 0-127 |
| PARAM_VALUE | 0 | lockres->l_flags | 3-u64max |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 2 |
| CAPPED_DATA | 0 | lockres->l_level | 1 |
| DATA_SOURCE | 0 | lockres | $0 |
| FUZZY_MAX | 0 | lockres->l_blocking | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_locking_ast() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 2 |
| DATA_SOURCE | 0 | lockres | r ocfs2_lksb_to_lock_res |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_locking_ast() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 1 |
| PARAM_VALUE | 0 | lockres->l_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 8 |
| DATA_SOURCE | 0 | lockres | r ocfs2_lksb_to_lock_res |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_process_blocked_lock() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_ops | 1-u64max |
| PARAM_VALUE | 0 | lockres->l_ops->flags | 0-1,3 |
| PARAM_VALUE | 0 | lockres->l_priv->dl_count | 2-4294967295 |
| PARAM_VALUE | 0 | lockres->l_priv->dl_inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | clear | 256 |
| DATA_SOURCE | 0 | lockres | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_recover_from_dlm_error() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 1-3 |
| 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->unlock_pending | 0-1 |
| 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_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 2 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| DATA_SOURCE | 0 | lockres | $0 |
| FUZZY_MAX | 0 | lockres->l_action | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| HALF_LOCKED2 | &fp->fp_mutex | ||
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_recover_from_dlm_error() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_action | 1-3 |
| 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->unlock_pending | 0-1 |
| 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_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clear | 2048 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| BUF_SIZE | 0 | lockres | (-1),528 |
| DATA_SOURCE | 0 | lockres | $0 |
| FUZZY_MAX | 0 | lockres->l_action | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| HALF_LOCKED2 | &fp->fp_mutex | ||
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_unblock_lock() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_blocked_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_blocked_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_blocked_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_blocked_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_blocked_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_blocking | 0 |
| PARAM_VALUE | 0 | lockres->l_ex_holders | 0 |
| PARAM_VALUE | 0 | lockres->l_flags | 4-u64max |
| PARAM_VALUE | 0 | lockres->l_level | 0 |
| 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->post_unlock | 0,2528982137523523584 |
| PARAM_VALUE | 0 | lockres->l_ro_holders | 0 |
| PARAM_VALUE | 1 | clear | 4 |
| DATA_SOURCE | 0 | lockres | $1 |
| BIT_INFO | 0 | lockres->l_flags | 0x4,0xfffffffffffff7fd |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| HALF_LOCKED2 | &osb->obs_trim_fs_mutex | ||
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |
fs/ocfs2/dlmglue.c ocfs2_unlock_ast() -> lockres_clear_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_level | (-1) |
| PARAM_VALUE | 0 | lockres->l_ops->get_osb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lockres->l_unlock_action | 1-2 |
| PARAM_VALUE | 1 | clear | 2 |
| DATA_SOURCE | 0 | lockres | r ocfs2_lksb_to_lock_res |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &lockres->l_lock | |
| TYPE_LOCK | (struct ocfs2_lock_res)->l_lock |