Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/fork.c ksys_unshare() -> free_fs_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs | 4096-ptr_max |
| PARAM_VALUE | 0 | fs->in_exec | s32min-s32max |
| PARAM_VALUE | 0 | fs->users | 0-1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_T->lock->alloc_lock |
kernel/nsproxy.c put_nsset() -> free_fs_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs | 1-u64max |
| NOCHECK_CALL |
fs/fs_struct.c exit_fs() -> free_fs_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs | 4096-ptr_max |
| PARAM_VALUE | 0 | fs->seq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs->users | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &system_transition_mutex |
fs/fs_struct.c unshare_fs_struct() -> free_fs_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs | 4096-ptr_max |
| PARAM_VALUE | 0 | fs->seq.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs->users | 0 |
| CAPPED_DATA | 0 | fs | 1 |
| NOCHECK_CALL |