Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ocfs2/dlmfs/userdlm.c user_dlm_cluster_lock() -> ocfs2_dlm_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 3,5 |
| PARAM_VALUE | 2 | lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 8-9,12-13 |
| PARAM_VALUE | 5 | namelen | 0-31 |
| BUF_SIZE | 4 | name | 32 |
| CAPPED_DATA | 1 | mode | 1 |
| DATA_SOURCE | 0 | conn | r cluster_connection_from_user_lockres |
| DATA_SOURCE | 1 | mode | $1 |
| BIT_INFO | 1 | mode | 0x1,0x7 |
| BIT_INFO | 3 | flags | 0x8,0xd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 5 | namelen | unit_byte |
fs/ocfs2/dlmfs/userdlm.c user_dlm_unblock_lock() -> ocfs2_dlm_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0,3,5 |
| PARAM_VALUE | 2 | lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 12 |
| PARAM_VALUE | 5 | namelen | 0-31 |
| BUF_SIZE | 4 | name | 32 |
| DATA_SOURCE | 0 | conn | r cluster_connection_from_user_lockres |
| DATA_SOURCE | 1 | mode | r user_highest_compat_lock_level |
| UNITS | 5 | namelen | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/dlmglue.c __ocfs2_cluster_lock() -> ocfs2_dlm_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 3,5 |
| PARAM_VALUE | 2 | lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-13,16-17 |
| PARAM_VALUE | 5 | namelen | 31 |
| BUF_SIZE | 4 | name | 32 |
| CAPPED_DATA | 1 | mode | 1 |
| DATA_SOURCE | 1 | mode | $2 |
| DATA_SOURCE | 3 | flags | $3 [m] |
| FUZZY_MAX | 1 | mode | 5 |
| BIT_INFO | 1 | mode | 0x1,0x7 |
| BIT_INFO | 3 | flags | 0x0,0xd |
| HARD_MAX | 1 | mode | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/dlmglue.c ocfs2_downconvert_lock() -> ocfs2_dlm_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0,3,5 |
| PARAM_VALUE | 2 | lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 4,12 |
| PARAM_VALUE | 5 | namelen | 31 |
| BUF_SIZE | 4 | name | 32 |
| CAPPED_DATA | 1 | mode | 1 |
| DATA_SOURCE | 1 | mode | $2 |
| FUZZY_MAX | 3 | flags | 4 |
| BIT_INFO | 3 | flags | 0x4,0xc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fp->fp_mutex |
fs/ocfs2/dlmglue.c ocfs2_file_lock() -> ocfs2_dlm_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 3,5 |
| PARAM_VALUE | 2 | lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 4-5 |
| PARAM_VALUE | 5 | namelen | 31 |
| BUF_SIZE | 4 | name | 32 |
| FUZZY_MAX | 1 | mode | 5 |
| BIT_INFO | 1 | mode | 0x1,0x7 |
| BIT_INFO | 3 | flags | 0x4,0x5 |
| HARD_MAX | 1 | mode | 5 |
| RX_PATH | |||
| LOCK2 | &fp->fp_mutex | ||
| TYPE_LOCK | (struct ocfs2_file_private)->fp_mutex |
fs/ocfs2/dlmglue.c ocfs2_lock_create() -> ocfs2_dlm_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0,3,5 |
| PARAM_VALUE | 2 | lksb | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0,1048576 |
| PARAM_VALUE | 5 | namelen | 31 |
| BUF_SIZE | 4 | name | 32 |
| DATA_SOURCE | 1 | mode | $2 |
| DATA_SOURCE | 3 | flags | $3 |
| FUZZY_MAX | 1 | mode | 5 |
| FUZZY_MAX | 3 | flags | 1048576 |
| BIT_INFO | 3 | flags | 0x0,0x100000 |
| HARD_MAX | 1 | mode | 5 |
| HARD_MAX | 3 | flags | 1048576 |
| RX_PATH | |||
| HALF_LOCKED2 | &fp->fp_mutex |