Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- fs/cachefiles/xattr.c
- fs/file_attr.c, line 476
- fs/init.c, line 108
- fs/namei.c
- fs/namespace.c, line 500
- fs/nfsd/nfsfh.h, line 297
- fs/open.c
- fs/overlayfs/super.c
- fs/overlayfs/util.c, line 38
- fs/quota/quota.c, line 989
- fs/smb/server/vfs.c
- fs/utimes.c, line 37
- fs/xattr.c
- ipc/mqueue.c
Smatch caller information:
fs/xattr.c filename_removexattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/xattr.c filename_setxattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfsproc.c fh_want_write() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/nfsd/nfs2acl.c fh_want_write() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/nfsd/nfs4proc.c fh_want_write() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/file_attr.c __do_sys_file_setattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/file_attr.c __do_sys_file_setattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/namei.c do_open() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
fs/namei.c do_tmpfile() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c filename_create() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c filename_renameat2() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | m | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c filename_rmdir() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c filename_unlinkat() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c lookup_open() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/namei.c start_removing_path() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/utimes.c vfs_utimes() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/cachefiles/xattr.c cachefiles_remove_object_xattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ci->i_truncate_mutex | ||
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/cachefiles/xattr.c cachefiles_set_volume_xattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/overlayfs/util.c ovl_want_write() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfs3proc.c fh_want_write() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/overlayfs/super.c ovl_get_indexdir() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | m | r ovl_upper_mnt |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/overlayfs/super.c ovl_make_workdir() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | m | r ovl_upper_mnt |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/nfsd/vfs.c fh_want_write() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/smb/server/vfs.c ksmbd_vfs_kern_path_create() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_path_lookup() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/smb/server/vfs.c ksmbd_vfs_remove_acl_xattrs() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_remove_xattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_rename() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | m | 1 |
| LOCK2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_setxattr() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_unlink() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfs3acl.c fh_want_write() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/init.c init_chown() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/quota/quota.c __do_sys_quotactl_fd() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/quota/quota.c __do_sys_quotactl_fd() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/open.c chmod_common() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/open.c do_fchownat() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|
fs/open.c vfs_truncate() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &zone->lock |
ipc/mqueue.c __do_sys_mq_unlink() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
ipc/mqueue.c __do_sys_mq_unlink() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
ipc/mqueue.c do_mq_open() -> mnt_want_write()
| Type | Parameter | Key | Value |
|---|