/linux-master/fs/fat/ |
H A D | namei_vfat.c | 741 if (!S_ISDIR(inode->i_mode)) 895 if (S_ISDIR(inode->i_mode)) { 957 is_dir = S_ISDIR(old_inode->i_mode);
|
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 86 inode->i_mode = mode; 602 if ((inode->i_mode & S_IALLUGO) != 0775) 603 seq_printf(m, ",mode=%o", inode->i_mode);
|
/linux-master/include/linux/ |
H A D | pagemap.h | 26 if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || 27 S_ISLNK(inode->i_mode))
|
/linux-master/fs/ext4/ |
H A D | indirect.c | 613 if (S_ISREG(inode->i_mode)) 874 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode) ||
|
H A D | inline.c | 459 if (S_ISDIR(inode->i_mode) || 460 S_ISREG(inode->i_mode) || S_ISLNK(inode->i_mode)) { 1195 if (S_ISDIR(inode->i_mode)) { 1234 if (!S_ISDIR(inode->i_mode)) {
|
H A D | ialloc.c | 275 is_directory = S_ISDIR(inode->i_mode); 969 inode->i_mode = mode; 973 inode->i_mode = mode;
|
/linux-master/fs/ |
H A D | coredump.c | 719 if (!S_ISREG(inode->i_mode)) 734 if ((inode->i_mode & 0677) != 0600) { 1126 if ((READ_ONCE(file_inode(vma->vm_file)->i_mode) & 0111) != 0)
|
/linux-master/fs/nfsd/ |
H A D | nfsproc.c | 319 type = inode->i_mode & S_IFMT; 345 type = inode->i_mode & S_IFMT; 346 mode = inode->i_mode & ~S_IFMT;
|
H A D | export.c | 402 if (!S_ISDIR(inode->i_mode) && 403 !S_ISLNK(inode->i_mode) && 404 !S_ISREG(inode->i_mode))
|
/linux-master/fs/xfs/scrub/ |
H A D | bmap.c | 50 if (S_ISREG(VFS_I(sc->ip)->i_mode) && 399 if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK) 693 if ((VFS_I(ip)->i_mode & 0777) != 0)
|
/linux-master/security/landlock/ |
H A D | fs.c | 966 get_mode_access(d_backing_inode(new_dentry)->i_mode); 971 get_mode_access(d_backing_inode(old_dentry)->i_mode); 1309 if (S_ISDIR(file_inode(file)->i_mode))
|
/linux-master/fs/f2fs/ |
H A D | recovery.c | 229 inode->i_ino, inode->i_mode); 293 inode->i_mode = le16_to_cpu(raw->i_mode);
|
H A D | f2fs.h | 2479 inc_page_count(F2FS_I_SB(inode), S_ISDIR(inode->i_mode) ? 2492 if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) && 2493 !S_ISLNK(inode->i_mode)) 2497 dec_page_count(F2FS_I_SB(inode), S_ISDIR(inode->i_mode) ? 3207 return S_ISREG(inode->i_mode) && 3451 (F2FS_I(i)->i_acl_mode) : ((i)->i_mode)) 3587 inode, inode->i_ino, inode->i_mode); 4240 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); 4424 (S_ISREG(inode->i_mode) [all...] |
H A D | extent_cache.c | 80 S_ISREG(inode->i_mode); 83 (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode));
|
/linux-master/fs/proc/ |
H A D | proc_sysctl.c | 469 inode->i_mode = table->mode; 471 inode->i_mode |= S_IFREG; 475 inode->i_mode |= S_IFDIR; 712 type = inode->i_mode >> 12; 799 if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode))
|
/linux-master/drivers/block/ |
H A D | loop.c | 192 if (S_ISBLK(inode->i_mode)) 525 return i && S_ISBLK(i->i_mode) && imajor(i) == LOOP_MAJOR; 548 if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) 768 if (S_ISBLK(inode->i_mode)) {
|
/linux-master/security/apparmor/ |
H A D | lsm.c | 248 d_backing_inode(path->dentry)->i_mode 297 cond.mode = inode->i_mode; 402 .mode = d_backing_inode(old_dentry)->i_mode 409 .mode = d_backing_inode(new_dentry)->i_mode, 486 .mode = inode->i_mode,
|
/linux-master/fs/ubifs/ |
H A D | super.c | 91 if (ui->xattr && !S_ISREG(inode->i_mode)) 147 inode->i_mode = le32_to_cpu(ino->mode); 165 switch (inode->i_mode & S_IFMT) { 228 init_special_inode(inode, inode->i_mode, rdev); 234 init_special_inode(inode, inode->i_mode, 0); 320 inode->i_ino, (int)inode->i_mode, inode->i_nlink); 360 dbg_gen("inode %lu, mode %#x", inode->i_ino, (int)inode->i_mode);
|
/linux-master/fs/ceph/ |
H A D | file.c | 211 file, inode->i_mode, isdir ? "dir" : "regular"); 268 switch (inode->i_mode & S_IFMT) { 274 S_ISDIR(inode->i_mode)); 279 ceph_vinop(inode), file, inode->i_mode); 284 ceph_vinop(inode), file, inode->i_mode); 377 if (S_ISDIR(inode->i_mode)) { 379 } else if (S_ISREG(inode->i_mode)) { 675 if (dir->i_mode & S_ISGID) { 940 if (S_ISDIR(inode->i_mode)) { 2617 if (!S_ISREG(inode->i_mode)) [all...] |
/linux-master/fs/bcachefs/ |
H A D | fs.c | 66 inode->v.i_mode = bi->bi_mode; 835 stat->mode = inode->v.i_mode; 1247 if (!S_ISDIR(inode->v.i_mode) && dir) { 1344 if (!S_ISDIR(dir->v.i_mode)) 1468 switch (inode->v.i_mode & S_IFMT) { 1482 init_special_inode(&inode->v, inode->v.i_mode, inode->v.i_rdev);
|
/linux-master/fs/ntfs3/ |
H A D | inode.c | 378 * ntfs_get_wsl_perm updates inode->i_uid, inode->i_gid, inode->i_mode 380 inode->i_mode = mode; 382 mode = inode->i_mode; 485 inode->i_mode = mode; 810 if (end > valid && !S_ISBLK(inode->i_mode)) { 1288 * if (S_ISDIR(target->i_mode)) 1347 mode = inode->i_mode; 1790 if (S_ISDIR(inode->i_mode) && !dir_is_empty(inode)) {
|
/linux-master/fs/gfs2/ |
H A D | super.c | 407 str->di_mode = cpu_to_be32(inode->i_mode); 423 str->di_payload_format = cpu_to_be32(S_ISDIR(inode->i_mode) && 1379 if (S_ISDIR(inode->i_mode) &&
|
/linux-master/fs/btrfs/ |
H A D | tree-log.c | 1629 if (S_ISDIR(inode->i_mode)) { 3394 if (S_ISDIR(inode->vfs_inode.i_mode)) 4194 btrfs_set_token_inode_mode(&token, item, inode->i_mode); 5367 if (S_ISDIR(inode->vfs_inode.i_mode) && inode->last_trans < trans->transid) 5994 if (inode_only == LOG_INODE_ALL && S_ISREG(inode->vfs_inode.i_mode)) { 6424 if (S_ISDIR(inode->vfs_inode.i_mode) || 6433 if (S_ISDIR(inode->vfs_inode.i_mode) && inode_only == LOG_INODE_ALL) 6483 if (S_ISLNK(inode->vfs_inode.i_mode)) 6513 if (S_ISDIR(inode->vfs_inode.i_mode)) { 7080 if (S_ISREG(inode->vfs_inode.i_mode) [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dpp_cm.c | 972 uint32_t i_mode, i_enable_10bits, lut_size; local 977 CM_3DLUT_CONFIG_STATUS, &i_mode, 980 switch (i_mode) {
|
/linux-master/fs/xfs/ |
H A D | xfs_bmap_util.c | 515 if (!S_ISREG(VFS_I(ip)->i_mode)) 1511 if ((VFS_I(ip)->i_mode & S_IFMT) != (VFS_I(tip)->i_mode & S_IFMT)) {
|