Searched refs:may_create (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dmcg.c939 int may_create = 0; mlx4_ib_mcg_multiplex_handler() local
946 may_create = 1; mlx4_ib_mcg_multiplex_handler()
956 group = acquire_group(ctx, &rec->mgid, may_create, GFP_KERNEL); mlx4_ib_mcg_multiplex_handler()
/linux-4.1.27/fs/
H A Dnamei.c2529 static inline int may_create(struct inode *dir, struct dentry *child) may_create() function
2586 int error = may_create(dir, dentry); vfs_create()
3455 int error = may_create(dir, dentry); vfs_mknod()
3547 int error = may_create(dir, dentry); vfs_mkdir()
3880 int error = may_create(dir, dentry); vfs_symlink()
3963 error = may_create(dir, new_dentry); vfs_link()
4156 error = may_create(new_dir, new_dentry); vfs_rename()
4427 int error = may_create(dir, dentry); vfs_whiteout()
/linux-4.1.27/security/selinux/
H A Dhooks.c1689 static int may_create(struct inode *dir, may_create() function
2819 return may_create(dir, dentry, SECCLASS_FILE); selinux_inode_create()
2834 return may_create(dir, dentry, SECCLASS_LNK_FILE); selinux_inode_symlink()
2839 return may_create(dir, dentry, SECCLASS_DIR); selinux_inode_mkdir()
2849 return may_create(dir, dentry, inode_mode_to_security_class(mode)); selinux_inode_mknod()
5668 checks and may_create for the file creation checks. The selinux_setprocattr()
/linux-4.1.27/fs/ocfs2/
H A Drefcounttree.c4344 /* copied from may_create in VFS. */ ocfs2_may_create()
/linux-4.1.27/fs/btrfs/
H A Dioctl.c803 /* copy of may_create in fs/namei.c() */ btrfs_may_create()

Completed in 738 milliseconds