Searched refs:perm (Results 1 – 8 of 8) sorted by relevance
/fs/nfsd/ |
D | nfs4acl.c | 74 mask_from_posix(unsigned short perm, unsigned int flags) in mask_from_posix() argument 80 if (perm & ACL_READ) in mask_from_posix() 82 if (perm & ACL_WRITE) in mask_from_posix() 84 if ((perm & ACL_WRITE) && (flags & NFS4_ACL_DIR)) in mask_from_posix() 86 if (perm & ACL_EXECUTE) in mask_from_posix() 92 deny_mask_from_posix(unsigned short perm, u32 flags) in deny_mask_from_posix() argument 96 if (perm & ACL_READ) in deny_mask_from_posix() 98 if (perm & ACL_WRITE) in deny_mask_from_posix() 100 if ((perm & ACL_WRITE) && (flags & NFS4_ACL_DIR)) in deny_mask_from_posix() 102 if (perm & ACL_EXECUTE) in deny_mask_from_posix() [all …]
|
/fs/fat/ |
D | file.c | 268 mode_t mask, perm; in fat_sanitize_mode() local 280 perm = *mode_ptr & ~(S_IFMT | mask); in fat_sanitize_mode() 288 if ((perm & (S_IRUGO | S_IXUGO)) != (inode->i_mode & (S_IRUGO|S_IXUGO))) in fat_sanitize_mode() 291 if ((perm & S_IWUGO) && ((perm & S_IWUGO) != (S_IWUGO & ~mask))) in fat_sanitize_mode() 294 if ((perm & S_IWUGO) != (S_IWUGO & ~mask)) in fat_sanitize_mode() 298 *mode_ptr &= S_IFMT | perm; in fat_sanitize_mode()
|
/fs/9p/ |
D | vfs_dir.c | 50 unsigned long perm = mistat->mode; in dt_type() local 53 if (perm & P9_DMDIR) in dt_type() 55 if (perm & P9_DMSYMLINK) in dt_type()
|
D | vfs_inode.c | 413 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create() argument 443 err = p9_client_fcreate(ofid, name, perm, mode, extension); in v9fs_create() 503 u32 perm; in v9fs_vfs_create() local 512 perm = unixmode2p9mode(v9ses, mode); in v9fs_vfs_create() 518 fid = v9fs_create(v9ses, dir, dentry, NULL, perm, in v9fs_vfs_create() 558 u32 perm; in v9fs_vfs_mkdir() local 565 perm = unixmode2p9mode(v9ses, mode | S_IFDIR); in v9fs_vfs_mkdir() 566 fid = v9fs_create(v9ses, dir, dentry, NULL, perm, P9_OREAD); in v9fs_vfs_mkdir() 1044 u32 perm; in v9fs_vfs_mkspecial() local 1054 perm = unixmode2p9mode(v9ses, mode); in v9fs_vfs_mkspecial() [all …]
|
/fs/xfs/ |
D | xfs_acl.h | 70 #define _ACL_PERM_INVALID(perm) ((perm) & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE)) argument
|
/fs/ |
D | compat_ioctl.c | 1084 int i, perm; in do_fontx_ioctl() local 1086 perm = vt_check(file); in do_fontx_ioctl() 1087 if (perm < 0) return perm; in do_fontx_ioctl() 1091 if (!perm) in do_fontx_ioctl() 1138 int perm = vt_check(file), i; in do_kdfontop_ioctl() local 1141 if (perm < 0) return perm; in do_kdfontop_ioctl() 1145 if (!perm && op.op != KD_FONT_OP_GET) in do_kdfontop_ioctl() 1168 int perm = vt_check(file); in do_unimap_ioctl() local 1171 if (perm < 0) in do_unimap_ioctl() 1172 return perm; in do_unimap_ioctl() [all …]
|
D | block_dev.c | 994 int perm = 0; in __blkdev_get() local 997 perm |= MAY_READ; in __blkdev_get() 999 perm |= MAY_WRITE; in __blkdev_get() 1003 ret = devcgroup_inode_permission(bdev->bd_inode, perm); in __blkdev_get()
|
/fs/cifs/ |
D | README | 361 perm Client does permission checks (vfs_permission check of uid
|