Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/file.c __fget_light() -> files_lookup_fd_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | files | 4096-ptr_max |
| DATA_SOURCE | 1 | fd | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | fd | 0-u32max |
| UNITS | 1 | fd | unit_long |
fs/file.c files_lookup_fd_locked() -> files_lookup_fd_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | files | 4096-ptr_max |
| PARAM_VALUE | 0 | files->fdt | 4096-ptr_max |
| DATA_SOURCE | 0 | files | $0 |
| DATA_SOURCE | 1 | fd | $1 |
| PREEMPT_ADD | |||
| USER_DATA | 1 | fd | 0-u32max |
| LOCK2 | 0 | &files->file_lock | |
| TYPE_LOCK | (struct files_struct)->file_lock |
io_uring/openclose.c files_lookup_fd_locked() -> files_lookup_fd_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | files | 4096-ptr_max |
| DATA_SOURCE | 0 | files | $0 |
| DATA_SOURCE | 1 | fd | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &files->file_lock | |
| TYPE_LOCK | (struct files_struct)->file_lock |
fs/proc/fd.c files_lookup_fd_locked() -> files_lookup_fd_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | files | 4096-ptr_max |
| DATA_SOURCE | 0 | files | $0 |
| DATA_SOURCE | 1 | fd | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | &task->alloc_lock | ||
| LOCK2 | 0 | &files->file_lock | |
| TYPE_LOCK | (struct files_struct)->file_lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct task_struct)->alloc_lock |
fs/locks.c files_lookup_fd_locked() -> files_lookup_fd_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | files | 4096-ptr_max |
| DATA_SOURCE | 0 | files | $0 |
| DATA_SOURCE | 1 | fd | $1 |
| PREEMPT_ADD | |||
| USER_DATA | 1 | fd | 0-u32max |
| LOCK2 | 0 | &files->file_lock | |
| TYPE_LOCK | (struct files_struct)->file_lock |