Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/file.c __put_unused_fd() -> __clear_open_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | fd | $1 |
| NOSPEC | 0 | fd | |
| NOSPEC | 0 | fd | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | fd | 0-s32max[c] |
| UNITS | 0 | fd | unit_long |
| LOCK2 | &files->file_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| TYPE_LOCK | (struct files_struct)->file_lock |
fs/file.c dup_fd() -> __clear_open_fd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 1-1048575 |
| PARAM_VALUE | 1 | fdt | 4096-ptr_max |
| BUF_SIZE | 1 | fdt | 56 |
| BUF_SIZE | 1 | fdt->close_on_exec | (-1),8 |
| BUF_SIZE | 1 | fdt->fd | (-1),512 |
| BUF_SIZE | 1 | fdt->full_fds_bits | (-1),8 |
| BUF_SIZE | 1 | fdt->open_fds | (-1),8 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | fd | 1-1048512[c] |
| NO_OVERFLOW_SIMPLE | 1 | fdt->max_fds | |
| UNITS | 0 | fd | unit_long |
| LOCK2 | &oldf->file_lock | ||
| TYPE_LOCK | (struct files_struct)->file_lock |