Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/locks.c flock64_to_posix_lock() -> assign_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flc | 4096-ptr_max |
| USER_DATA | 1 | type | s16min-s16max |
fs/locks.c lease_init() -> assign_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flc | 4096-ptr_max |
| PARAM_VALUE | 1 | type | s32min-1,3-s32max |
| DATA_SOURCE | 1 | type | $2 |
| FUZZY_MAX | 1 | type | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | type | s32min-1,3-s32max |
fs/locks.c lease_modify() -> assign_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flc | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-2 |
| DATA_SOURCE | 1 | type | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | type | 0-1 |
| LOCK2 | &ctx->flc_lock | ||
| TYPE_LOCK | (struct file_lock_context)->flc_lock |