Defined in 1 files as a function:

Referenced in 26 files:

Smatch caller information:

fs/nfsd/nfs4proc.c nfsd4_create_file() -> current_umask()

Type Parameter Key Value

fs/smb/client/smb1ops.c cifs_make_node() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

fs/namei.c mode_strip_umask() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/fuse/dir.c fuse_create_open() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/fuse/dir.c fuse_create_open() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/fuse/dir.c fuse_mkdir() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &entry->d_lockref.lock

fs/fuse/dir.c fuse_mkdir() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &entry->d_lockref.lock

fs/fuse/dir.c fuse_mknod() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/fuse/dir.c fuse_mknod() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c btrfs_new_subvol_inode() -> current_umask()

Type Parameter Key Value
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/hfsplus/options.c hfsplus_fill_defaults() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/nfsd/nfs3proc.c nfsd3_create_file() -> current_umask()

Type Parameter Key Value

fs/ocfs2/acl.c ocfs2_acl_init_prepare() -> current_umask()

Type Parameter Key Value
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/acl.c ocfs2_acl_init_prepare() -> current_umask()

Type Parameter Key Value
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

net/unix/af_unix.c unix_bind_bsd() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex

kernel/bpf/inode.c bpf_obj_do_pin() -> current_umask()

Type Parameter Key Value

fs/posix_acl.c posix_acl_create() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &f->sem

fs/nfsd/vfs.c nfsd_create_locked() -> current_umask()

Type Parameter Key Value

fs/smb/client/file.c cifs_posix_open() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cfile->fh_mutex

fs/nfs/dir.c nfs_atomic_open() -> current_umask()

Type Parameter Key Value
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir_inode->i_rwsem

fs/fat/inode.c fat_init_fs_context() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/hpfs/super.c hpfs_init_fs_context() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/nfs/nfs4proc.c nfs4_alloc_createdata() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs4proc.c nfs4_opendata_alloc() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs4proc.c nfs4_proc_create() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->d_inode->i_rwsem

fs/nfs/nfs4proc.c nfs4_proc_mkdir() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/nfs/nfs4proc.c nfs4_proc_mknod() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

fs/smb/client/inode.c cifs_mkdir_qinfo() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/smb/client/inode.c cifs_posix_mkdir() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/f2fs/acl.c f2fs_acl_create() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sbi->cp_rwsem.internal_rwsem
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem

fs/nilfs2/inode.c nilfs_init_acl() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir->i_sb->s_fs_info->ns_segctor_sem

fs/9p/acl.c v9fs_acl_mode() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

kernel/bpf/token.c bpf_token_create() -> current_umask()

Type Parameter Key Value
NS_CAPABLE 0 39

fs/omfs/inode.c omfs_init_fs_context() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/omfs/inode.c omfs_show_options() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &m->lock
HALF_LOCKED2 global &namespace_sem

ipc/mqueue.c prepare_open() -> current_umask()

Type Parameter Key Value

fs/ntfs3/super.c ntfs_init_fs_context() -> current_umask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex