Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/md/md-cluster.c
- fs/dlm/main.c, line 104
- fs/gfs2/lock_dlm.c
- fs/ocfs2/stack_o2cb.c, line 412
- fs/ocfs2/stack_user.c
- fs/ocfs2/stackglue.c, line 254
Smatch caller information:
fs/gfs2/lock_dlm.c gdlm_cancel() -> dlm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockspace | 1-u64max |
| PARAM_VALUE | 2 | flags | 2 |
| PARAM_VALUE | 3 | lksb | 0 |
| PARAM_VALUE | 4 | astarg | 4096-ptr_max |
| DATA_SOURCE | 4 | astarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_sem | ||
| HALF_LOCKED2 | &fp->f_fl_mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct lm_lockstruct)->ls_sem |
fs/gfs2/lock_dlm.c gdlm_put_lock() -> dlm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockspace | 1-u64max |
| PARAM_VALUE | 2 | flags | 0,8 |
| PARAM_VALUE | 3 | lksb | 0 |
| PARAM_VALUE | 4 | astarg | 4096-ptr_max |
| BUF_SIZE | 4 | astarg | (-1),488 |
| DATA_SOURCE | 4 | astarg | $0 |
| FUZZY_MAX | 2 | flags | 0 |
| BIT_INFO | 2 | flags | 0x0,0x8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ls->ls_sem | ||
| TYPE_LOCK | (struct lm_lockstruct)->ls_sem |
fs/gfs2/lock_dlm.c sync_unlock() -> dlm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockspace | 1-u64max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | lksb | 4096-ptr_max |
| PARAM_VALUE | 4 | astarg | 4096-ptr_max |
| BUF_SIZE | 4 | astarg | 488 |
| DATA_SOURCE | 3 | lksb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ls->ls_sem | ||
| TYPE_LOCK | (struct lm_lockstruct)->ls_sem |
fs/ocfs2/stack_user.c sync_unlock() -> dlm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | lksb | 4096-ptr_max |
| PARAM_VALUE | 4 | astarg | 4096-ptr_max |
| BUF_SIZE | 0 | lockspace | 8,1560 |
| DATA_SOURCE | 3 | lksb | $1 |
| DATA_SOURCE | 4 | astarg | $0 |
| STR_LEN | 0 | lockspace | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/stack_user.c user_dlm_unlock() -> dlm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 0,2,8 |
| PARAM_VALUE | 3 | lksb | 4096-ptr_max |
| PARAM_VALUE | 4 | astarg | 4096-ptr_max |
| BUF_SIZE | 0 | lockspace | 8,1560 |
| DATA_SOURCE | 2 | flags | $2 |
| DATA_SOURCE | 4 | astarg | $1 |
| FUZZY_MAX | 2 | flags | 0 |
| BIT_INFO | 2 | flags | 0x0,0xa |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/md-cluster.c dlm_lock_sync_interruptible() -> dlm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lockspace | 4096-ptr_max |
| PARAM_VALUE | 0 | lockspace->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | lockspace->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockspace->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | lockspace->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | lockspace->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | lockspace->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | lockspace->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockspace->ls_lkbxa_lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | lockspace->ls_lkbxa_lock.raw_lock.cnts.counter | s32min-s32max |
| PARAM_VALUE | 0 | lockspace->ls_lkbxa_lock.raw_lock.wlocked | 0-255 |
| PARAM_VALUE | 0 | lockspace->ls_rsbtbl.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lockspace->ls_scan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | flags | 2 |
| PARAM_VALUE | 3 | lksb | 4096-ptr_max |
| PARAM_VALUE | 4 | astarg | 4096-ptr_max |
| BUF_SIZE | 4 | astarg | (-1),168 |
| DATA_SOURCE | 4 | astarg | $0 |
| TASK_NOT_RUNNING |
drivers/md/md-cluster.c lockres_free() -> dlm_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 131072 |
| PARAM_VALUE | 3 | lksb | 4096-ptr_max |
| PARAM_VALUE | 4 | astarg | 4096-ptr_max |
| BUF_SIZE | 4 | astarg | (-1),168 |
| DATA_SOURCE | 4 | astarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cinfo->recv_mutex |