Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/client/file.c cifs_getlk() -> cifs_flock_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl | 4096-ptr_max |
| BUF_SIZE | 0 | fl | (-1)-s32max |
| BUF_SIZE | 0 | fl | (-1)-s32max |
| BUF_SIZE | 0 | fl->c.flc_file | (-1)-s32max |
| BUF_SIZE | 0 | fl->fl_lmops | (-1),56 |
| DATA_SOURCE | 0 | fl | $1 |
| NOSPEC | 0 | fl->fl_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl->c.flc_type | 0-2 |
| USER_DATA | 0 | fl->fl_start | s64min-9223372036854775806[c][u] |
fs/smb/client/file.c cifs_push_posix_locks() -> cifs_flock_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl | 4096-ptr_max |
| CAPPED_DATA | 0 | &fl->c.flc_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cinode->lock_sem | ||
| LOCK2 | &flctx->flc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cifsInodeInfo)->lock_sem | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |
fs/smb/client/file.c cifs_setlk() -> cifs_flock_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl | 4096-ptr_max |
| BUF_SIZE | 0 | fl | (-1)-s32max |
| BUF_SIZE | 0 | fl | (-1)-s32max |
| BUF_SIZE | 0 | fl->c.flc_file | (-1)-s32max |
| BUF_SIZE | 0 | fl->fl_lmops | (-1),56 |
| DATA_SOURCE | 0 | fl | $1 |
| NOSPEC | 0 | fl->fl_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl->c.flc_type | 0-2 |
| USER_DATA | 0 | fl->fl_start | s64min-9223372036854775806[c][u] |
fs/smb/client/file.c cifs_unlock_range() -> cifs_flock_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl | 4096-ptr_max |
| BUF_SIZE | 0 | fl | (-1)-s32max |
| BUF_SIZE | 0 | fl | (-1)-s32max |
| BUF_SIZE | 0 | fl->c.flc_file | (-1),1-s32max |
| BUF_SIZE | 0 | fl->fl_lmops | (-1),56 |
| DATA_SOURCE | 0 | fl | $1 |
| NOSPEC | 0 | fl->fl_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl->c.flc_type | 0-2 |
| USER_DATA | 0 | fl->fl_start | s64min-9223372036854775806[c][u] |