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_create_new_lock() -> ocfs2_lock_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lockres | 4096-ptr_max |
| PARAM_VALUE | 1 | lockres->l_flags | 0,8-u64max |
| PARAM_VALUE | 1 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | level | 3,5 |
| PARAM_VALUE | 3 | dlm_flags | 0,1048576 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| DATA_SOURCE | 0 | osb | $0 |
| DATA_SOURCE | 1 | lockres | $1 |
| FUZZY_MAX | 2 | level | 5 |
| FUZZY_MAX | 3 | dlm_flags | 1048576 |
| BIT_INFO | 2 | level | 0x1,0x7 |
| BIT_INFO | 3 | dlm_flags | 0x0,0x100000 |
| HARD_MAX | 2 | level | 5 |
| HARD_MAX | 3 | dlm_flags | 1048576 |
| UNITS | 0 | osb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/dlmglue.c ocfs2_file_lock() -> ocfs2_lock_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lockres | 4096-ptr_max |
| PARAM_VALUE | 1 | lockres->l_level | (-128)-0 |
| PARAM_VALUE | 1 | lockres->l_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lockres->l_mask_waiters.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lockres->l_mask_waiters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lockres->l_mask_waiters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | level | 0 |
| PARAM_VALUE | 3 | dlm_flags | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 1 | lockres | 528 |
| FUZZY_MAX | 1 | lockres->l_level | 0 |
| BIT_INFO | 1 | lockres->l_flags | 0x0,0xfffffffffffffffc |
| HARD_MAX | 1 | lockres->l_level | 0 |
| RX_PATH | |||
| UNITS | 0 | osb | unit_byte |
| LOCK2 | &fp->fp_mutex | ||
| TYPE_LOCK | (struct ocfs2_file_private)->fp_mutex |