Searched refs:may_create (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 939 int may_create = 0; in mlx4_ib_mcg_multiplex_handler() local 946 may_create = 1; in mlx4_ib_mcg_multiplex_handler() 957 group = acquire_group(ctx, &rec->mgid, may_create); in mlx4_ib_mcg_multiplex_handler()
|
/openbmc/linux/fs/ |
H A D | namei.c | 3001 static inline int may_create(struct mnt_idmap *idmap, in may_create() function 3179 error = may_create(idmap, dir, dentry); in vfs_create() 3202 int error = may_create(&nop_mnt_idmap, dir, dentry); in vfs_mkobj() 3970 int error = may_create(idmap, dir, dentry); in vfs_mknod() 4098 error = may_create(idmap, dir, dentry); in vfs_mkdir() 4462 error = may_create(idmap, dir, dentry); in vfs_symlink() 4560 error = may_create(idmap, dir, new_dentry); in vfs_link() 4775 error = may_create(rd->new_mnt_idmap, new_dir, new_dentry); in vfs_rename()
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 1794 static int may_create(struct inode *dir, in may_create() function 3003 return may_create(dir, dentry, SECCLASS_FILE); in selinux_inode_create() 3018 return may_create(dir, dentry, SECCLASS_LNK_FILE); in selinux_inode_symlink() 3023 return may_create(dir, dentry, SECCLASS_DIR); in selinux_inode_mkdir() 3033 return may_create(dir, dentry, inode_mode_to_security_class(mode)); in selinux_inode_mknod()
|