Searched refs:may_create (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
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()
|
/linux-6.12.1/fs/ |
D | namei.c | 3108 static inline int may_create(struct mnt_idmap *idmap, in may_create() function 3283 error = may_create(idmap, dir, dentry); in vfs_create() 3306 int error = may_create(&nop_mnt_idmap, dir, dentry); in vfs_mkobj() 4114 int error = may_create(idmap, dir, dentry); in vfs_mknod() 4242 error = may_create(idmap, dir, dentry); in vfs_mkdir() 4604 error = may_create(idmap, dir, dentry); in vfs_symlink() 4702 error = may_create(idmap, dir, new_dentry); in vfs_link() 4916 error = may_create(rd->new_mnt_idmap, new_dir, new_dentry); in vfs_rename()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 1801 static int may_create(struct inode *dir, in may_create() function 3015 return may_create(dir, dentry, SECCLASS_FILE); in selinux_inode_create() 3030 return may_create(dir, dentry, SECCLASS_LNK_FILE); in selinux_inode_symlink() 3035 return may_create(dir, dentry, SECCLASS_DIR); in selinux_inode_mkdir() 3045 return may_create(dir, dentry, inode_mode_to_security_class(mode)); in selinux_inode_mknod()
|