Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/afs/mntpt.c, line 173
- fs/fuse/dir.c, line 533
- fs/namespace.c
- fs/nfs/nfs4super.c, line 196
- fs/smb/client/namespace.c, line 267
- kernel/trace/trace.c, line 8998
Smatch caller information:
fs/nfs/nfs4super.c do_nfs4_mount() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->cred->non_rcu | 0 |
| PARAM_VALUE | 0 | fc->fs_private | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->log.log | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_param | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->s_fs_info | 0 |
| PARAM_VALUE | 0 | fc->source | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fc->uapi_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.owner.counter | 0 |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | r vfs_dup_fs_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &parent->d_lockref.lock |
fs/fuse/dir.c fuse_dentry_automount() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_private | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->need_free | 1 |
| PARAM_VALUE | 0 | fc->purpose | 1 |
| PARAM_VALUE | 0 | fc->root | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->sb_flags | 0 |
| PARAM_VALUE | 0 | fc->sb_flags_mask | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fc->uapi_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.owner.counter | 0 |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | r fs_context_for_submount |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &path->dentry->d_lockref.lock |
fs/smb/client/namespace.c cifs_do_automount() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->need_free | 1 |
| PARAM_VALUE | 0 | fc->purpose | 1 |
| PARAM_VALUE | 0 | fc->root | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->sb_flags | 0 |
| PARAM_VALUE | 0 | fc->sb_flags_mask | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fc->uapi_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.owner.counter | 0 |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | r fs_context_for_submount |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &path->dentry->d_lockref.lock |
fs/namespace.c do_new_mount_fc() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_private->acdirmax | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->acdirmin | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->acregmax | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->acregmin | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->bsize | 0 |
| PARAM_VALUE | 0 | fc->fs_private->flags | 0-36915,524288-598015,3670016-3743743 |
| PARAM_VALUE | 0 | fc->fs_private->idx | 0-4 |
| PARAM_VALUE | 0 | fc->fs_private->mntfh->size | 32 |
| PARAM_VALUE | 0 | fc->fs_private->namlen | 0 |
| PARAM_VALUE | 0 | fc->fs_private->need_mount | 0 |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server._address.ss_family | 0-u16max |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server.addrlen | 1-16 |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server.port | 0-u16max |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server.protocol | 0-u16max |
| PARAM_VALUE | 0 | fc->fs_private->retrans | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->rsize | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->selected_flavor | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->skip_reconfig_option_check | 1 |
| PARAM_VALUE | 0 | fc->fs_private->timeo | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->version | 2-4 |
| PARAM_VALUE | 0 | fc->fs_private->wsize | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->oldapi | 1 |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *fc->fs_private->client_address | 0-255 |
| PARAM_VALUE | 0 | *fc->fs_private->mntfh->data | 0-255 |
| PARAM_VALUE | 0 | *fc->fs_private->nfs_server.export_path | 0-255 |
| PARAM_VALUE | 0 | *fc->fs_private->nfs_server.hostname | 0-255 |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),8 |
| STR_LEN | 0 | fc | (-1),8 |
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
fs/namespace.c fc_mount_longterm() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namespace.c vfs_kern_mount() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_private->acdirmax | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->acdirmin | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->acregmax | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->acregmin | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->bsize | 0 |
| PARAM_VALUE | 0 | fc->fs_private->flags | 0-36915,524288-598015,3670016-3743743 |
| PARAM_VALUE | 0 | fc->fs_private->idx | 0-4 |
| PARAM_VALUE | 0 | fc->fs_private->mntfh->size | 32 |
| PARAM_VALUE | 0 | fc->fs_private->namlen | 0 |
| PARAM_VALUE | 0 | fc->fs_private->need_mount | 0 |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server._address.ss_family | 0-u16max |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server.addrlen | 1-16 |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server.port | 0-u16max |
| PARAM_VALUE | 0 | fc->fs_private->nfs_server.protocol | 0-u16max |
| PARAM_VALUE | 0 | fc->fs_private->retrans | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->rsize | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->selected_flavor | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->skip_reconfig_option_check | 1 |
| PARAM_VALUE | 0 | fc->fs_private->timeo | 0-4294967295 |
| PARAM_VALUE | 0 | fc->fs_private->version | 2-4 |
| PARAM_VALUE | 0 | fc->fs_private->wsize | 0-4294967295 |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_param | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *fc->fs_private->client_address | 0-255 |
| PARAM_VALUE | 0 | *fc->fs_private->mntfh->data | 0-255 |
| PARAM_VALUE | 0 | *fc->fs_private->nfs_server.export_path | 0-255 |
| PARAM_VALUE | 0 | *fc->fs_private->nfs_server.hostname | 0-255 |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | r fs_context_for_mount |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->fs_private->nfs_server._address.ss_family | 0-u16max |
| USER_DATA | 0 | fc->fs_private->selected_flavor | 0-4294967295 |
kernel/trace/trace.c trace_automount() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->need_free | 1 |
| PARAM_VALUE | 0 | fc->ops->parse_param | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->purpose | 1 |
| PARAM_VALUE | 0 | fc->root | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->source | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fc->uapi_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.owner.counter | 0 |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | r fs_context_for_submount |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mntpt->d_lockref.lock |
fs/afs/mntpt.c afs_mntpt_do_automount() -> fc_mount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->cred | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_private | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_private->force | 1 |
| PARAM_VALUE | 0 | fc->fs_private->net->cells_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | fc->fs_private->net->cells_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fc->fs_private->net->cells_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fc->fs_private->type | 0 |
| PARAM_VALUE | 0 | fc->fs_private->volname | 6363935416615702528 |
| PARAM_VALUE | 0 | fc->fs_private->volnamesz | 9 |
| PARAM_VALUE | 0 | fc->fs_type | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->need_free | 1 |
| PARAM_VALUE | 0 | fc->purpose | 1 |
| PARAM_VALUE | 0 | fc->root | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->source | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fc->uapi_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->uapi_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fc->uapi_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | *fc->fs_private->volname | 0-255 |
| BUF_SIZE | 0 | fc | 280 |
| DATA_SOURCE | 0 | fc | r fs_context_for_submount |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mntpt->d_lockref.lock |