Searched refs:i_mode (Results 1 - 25 of 456) sorted by last modified time
1234567891011>>
/linux-master/fs/btrfs/ |
H A D | ioctl.c | 123 if (S_ISDIR(inode->i_mode)) 125 else if (S_ISREG(inode->i_mode)) 321 if (S_ISREG(inode->i_mode)) { 337 if (S_ISREG(inode->i_mode)) { 1289 if (!S_ISDIR(file_inode(file)->i_mode)) 1359 if (!S_ISDIR(file_inode(file)->i_mode)) 1386 if (!S_ISDIR(file_inode(file)->i_mode)) 2519 if (!S_ISDIR(dir->i_mode)) { 2623 switch (inode->i_mode & S_IFMT) {
|
H A D | inode.c | 3805 inode->i_mode = btrfs_inode_mode(leaf, inode_item); 3934 switch (inode->i_mode & S_IFMT) { 3951 init_special_inode(inode, inode->i_mode, rdev); 3975 btrfs_set_token_inode_mode(&token, item, inode->i_mode); 5122 if (S_ISREG(inode->i_mode) && (attr->ia_valid & ATTR_SIZE)) { 5134 err = posix_acl_chmod(idmap, dentry, inode->i_mode); 5677 inode->i_mode = S_IFDIR | S_IRUGO | S_IWUSR | S_IXUGO; 5702 return fs_umode_to_ftype(inode->i_mode); 5731 inode->i_mode, btrfs_inode_type(inode), 6164 ret = posix_acl_create(dir, &inode->i_mode, [all...] |
/linux-master/fs/nfs/ |
H A D | inode.c | 227 int mode = inode->i_mode; 339 inode->i_mode = fattr->mode; 400 /* Search for inode identified by fh, fileid and i_mode in inode cache. */ 481 inode->i_mode = fattr->mode; 490 if (S_ISREG(inode->i_mode)) { 494 } else if (S_ISDIR(inode->i_mode)) { 509 } else if (S_ISLNK(inode->i_mode)) { 513 init_special_inode(inode, inode->i_mode, fattr->rdev); 624 BUG_ON(!S_ISREG(inode->i_mode)); 641 if (S_ISREG(inode->i_mode)) [all...] |
/linux-master/fs/erofs/ |
H A D | super.c | 657 if (!S_ISDIR(inode->i_mode)) { 658 erofs_err(sb, "rootino(nid %llu) is not a directory(i_mode %o)", 659 sbi->root_nid, inode->i_mode);
|
/linux-master/net/unix/ |
H A D | garbage.c | 89 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) {
|
H A D | af_unix.c | 1074 if (!S_ISSOCK(inode->i_mode)) 1197 (SOCK_INODE(sk->sk_socket)->i_mode & ~current_umask());
|
/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)) {
|
H A D | file.c | 376 if (!S_ISREG(inode->i_mode)) 448 if (!S_ISREG(inode->i_mode)) 680 umode_t mode = inode->i_mode; 716 if (mode != inode->i_mode) { 722 if (0222 & inode->i_mode)
|
H A D | dir.c | 333 dt_type = fs_umode_to_dtype(inode->i_mode);
|
/linux-master/fs/ |
H A D | ioctl.c | 625 if ((fa->fsx_xflags & FS_XFLAG_EXTSIZE) && !S_ISREG(inode->i_mode)) 629 !S_ISDIR(inode->i_mode)) 633 !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) 641 !(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode))) 822 if (S_ISDIR(inode->i_mode) || S_ISREG(inode->i_mode) || 823 S_ISLNK(inode->i_mode)) { 857 if (!S_ISREG(inode->i_mode)) [all...] |
/linux-master/fs/9p/ |
H A D | vfs_inode_dotl.c | 48 if (dir_inode->i_mode & S_ISGID) { 323 if (dir->i_mode & S_ISGID) 392 if (S_ISREG(inode->i_mode)) { 520 if (S_ISREG(inode->i_mode)) { 591 mode |= inode->i_mode & ~S_IALLUGO; 592 inode->i_mode = mode; 619 mode |= inode->i_mode & ~S_IALLUGO; 620 inode->i_mode = mode;
|
H A D | vfs_inode.c | 288 init_special_inode(inode, inode->i_mode, inode->i_rdev); 451 if (!S_ISDIR(inode->i_mode) || inode->i_nlink > 2) { 902 if (S_ISDIR(new_inode->i_mode)) 907 if (S_ISDIR(old_inode->i_mode)) { 954 if (S_ISREG(inode->i_mode)) { 1099 if ((S_ISREG(inode->i_mode)) || (S_ISDIR(inode->i_mode))) { 1116 mode |= inode->i_mode & ~S_IALLUGO; 1117 inode->i_mode = mode;
|
/linux-master/block/ |
H A D | bdev.c | 405 inode->i_mode = S_IFBLK; 1142 if (!S_ISBLK(inode->i_mode))
|
/linux-master/fs/smb/server/ |
H A D | vfs.c | 381 if (S_ISDIR(inode->i_mode)) 613 if (S_ISDIR(d_inode(path->dentry)->i_mode)) { 1091 if (S_ISDIR(d_inode(dentry)->i_mode)) 1496 if (S_ISDIR(inode->i_mode)) 1558 if (S_ISDIR(inode->i_mode)) 1886 acl_state.owner.allow = (inode->i_mode & 0700) >> 6; 1887 acl_state.group.allow = (inode->i_mode & 0070) >> 3; 1888 acl_state.other.allow = inode->i_mode & 0007; 1908 else if (S_ISDIR(inode->i_mode)) { 1949 if (S_ISDIR(inode->i_mode)) { [all...] |
H A D | smb2pdu.c | 2619 fattr->cf_mode = inode->i_mode; 2625 if (S_ISDIR(inode->i_mode)) 3108 if (file_present && S_ISDIR(d_inode(path.dentry)->i_mode) && 3126 S_ISDIR(d_inode(path.dentry)->i_mode) && 3137 !S_ISDIR(d_inode(path.dentry)->i_mode)) { 3392 if (!S_ISDIR(file_inode(filp)->i_mode) && open_flags & O_TRUNC && 3402 if (share_ret < 0 && !S_ISDIR(file_inode(fp->filp)->i_mode)) { 3408 if (S_ISDIR(file_inode(filp)->i_mode)) { 4312 if (!S_ISDIR(file_inode(dir_fp->filp)->i_mode)) { 5902 if (IS_ERR(link_name) || S_ISDIR(file_inode(filp)->i_mode)) { [all...] |
/linux-master/fs/smb/client/ |
H A D | fscache.c | 137 key.type = (inode->i_mode & S_IFMT) >> 12;
|
H A D | cifsfs.c | 422 if (S_ISLNK(inode->i_mode)) 864 if (!S_ISDIR(dir->i_mode)) {
|
/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/drivers/usb/gadget/function/ |
H A D | f_fs.c | 1857 inode->i_mode = perms->mode;
|
/linux-master/mm/ |
H A D | shmem.c | 549 if (!S_ISREG(inode->i_mode)) 1167 if ((inode->i_mode ^ attr->ia_mode) & 0111) { 1172 if (S_ISREG(inode->i_mode) && (attr->ia_valid & ATTR_SIZE)) { 1222 error = posix_acl_chmod(idmap, dentry, inode->i_mode); 3388 if (inode->i_nlink > 1 && !S_ISDIR(inode->i_mode)) 3451 int they_are_dirs = S_ISDIR(inode->i_mode); 4478 if (S_ISLNK(inode->i_mode)) 4485 if (S_ISREG(inode->i_mode)) 4487 if (S_ISDIR(inode->i_mode))
|
/linux-master/fs/squashfs/ |
H A D | inode.c | 68 inode->i_mode = le16_to_cpu(sqsh_ino->mode); 160 inode->i_mode |= S_IFREG; 205 inode->i_mode |= S_IFREG; 234 inode->i_mode |= S_IFDIR; 259 inode->i_mode |= S_IFDIR; 287 inode->i_mode |= S_IFLNK; 321 inode->i_mode |= S_IFCHR; 323 inode->i_mode |= S_IFBLK; 326 init_special_inode(inode, inode->i_mode, new_decode_dev(rdev)); 343 inode->i_mode | [all...] |
/linux-master/fs/nilfs2/ |
H A D | dir.c | 255 umode_t mode = inode->i_mode;
|
/linux-master/fs/fuse/ |
H A D | inode.c | 177 if (S_ISREG(inode->i_mode) && !fuse_is_bad(inode)) { 222 inode->i_mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777); 267 * Don't set the sticky bit in i_mode, unless we want the VFS 271 fi->orig_i_mode = inode->i_mode; 273 inode->i_mode &= ~S_ISVTX; 292 if (!fc->writeback_cache || !S_ISREG(inode->i_mode)) 346 if (!cache_mask && S_ISREG(inode->i_mode)) { 385 inode->i_mode = attr->mode & S_IFMT; 389 if (S_ISREG(inode->i_mode)) { [all...] |
H A D | dir.c | 967 if (S_ISDIR(inode->i_mode)) 1122 err = create_new_entry(fm, &args, newdir, newent, inode->i_mode); 1139 stat->mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777); 1196 if (file && S_ISREG(inode->i_mode)) { 1257 if (file && S_ISREG(inode->i_mode)) { 1361 if (!S_ISDIR(parent->i_mode)) 1522 ((mask & MAY_EXEC) && S_ISREG(inode->i_mode))) { 1555 } else if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode)) { 1556 if (!(inode->i_mode & S_IXUGO)) { 1561 if (!err && !(inode->i_mode [all...] |
/linux-master/fs/kernfs/ |
H A D | file.c | 613 (!(inode->i_mode & S_IWUGO) || !has_write)) 617 (!(inode->i_mode & S_IRUGO) || !has_read))
|
Completed in 589 milliseconds
1234567891011>>