Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/drm_gem.c, line 124
- fs/ext4/extents-test.c, line 238
- fs/ext4/mballoc-test.c, line 148
- fs/fs_context.c, line 312
- fs/fsopen.c, line 142
- fs/hugetlbfs/inode.c, line 1557
- fs/namespace.c
- ipc/mqueue.c, line 474
Smatch caller information:
fs/namespace.c do_new_mount() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->name | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_type->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | sb_flags | 0-42041553 |
| DATA_SOURCE | 0 | fs_type | r get_fs_type |
| DATA_SOURCE | 1 | sb_flags | $2 |
| STR_LEN | 0 | fs_type | (-1),3-4,8-9 |
| BIT_INFO | 1 | sb_flags | 0x0,0x28180d1 |
| USER_DATA | 1 | sb_flags | 1-42041553[c] |
fs/namespace.c vfs_kern_mount() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 4096-ptr_max |
| PARAM_VALUE | 1 | sb_flags | 0,4194304 |
| DATA_SOURCE | 0 | fs_type | $0 |
| DATA_SOURCE | 1 | sb_flags | $1 |
| STR_LEN | 0 | fs_type | (-1),6,8,68 |
| STR_LEN | 0 | fs_type | (-1),6,8,68 |
| STR_LEN | 1 | sb_flags | (-1),9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/extents-test.c extents_kunit_init() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 995247713710088192 |
| PARAM_VALUE | 1 | sb_flags | 0 |
drivers/gpu/drm/drm_gem.c drm_gem_huge_mnt_create() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->name | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_type->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | sb_flags | 4194304 |
| DATA_SOURCE | 0 | fs_type | r get_fs_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/hugetlbfs/inode.c mount_one_hugetlbfs() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 3759428192965361664 |
| PARAM_VALUE | 1 | sb_flags | 4194304 |
fs/ext4/mballoc-test.c mbt_ext4_alloc_super_block() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 492644047204061184 |
| PARAM_VALUE | 1 | sb_flags | 0 |
fs/fsopen.c __do_sys_fsopen() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->name | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_type->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | sb_flags | 0 |
| DATA_SOURCE | 0 | fs_type | r get_fs_type |
fs/fsopen.c __do_sys_fsopen() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->name | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_type->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_type->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | sb_flags | 0 |
| DATA_SOURCE | 0 | fs_type | r get_fs_type |
ipc/mqueue.c mq_create_mount() -> fs_context_for_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_type | 7741582843043201024 |
| PARAM_VALUE | 1 | sb_flags | 4194304 |
| RX_PATH | |||
| TASK_NOT_RUNNING |