Searched refs:i_mode (Results 201 - 225 of 456) sorted by relevance

1234567891011>>

/linux-master/fs/jffs2/
H A Dos-linux.h29 #define JFFS2_F_I_MODE(f) (OFNI_EDONI_2SFFJ(f)->i_mode)
/linux-master/fs/nilfs2/
H A Dbtnode.c34 btnc_inode->i_mode = S_IFREG;
/linux-master/fs/gfs2/
H A Dexport.c102 if (!S_ISDIR(dir->i_mode) || !inode)
H A Dfile.c147 if (S_ISDIR(inode->i_mode))
190 if ((ip->i_eattr == 0) && !is_sxid(inode->i_mode))
301 if (S_ISDIR(inode->i_mode)) {
629 if (S_ISREG(inode->i_mode)) {
680 if (S_ISREG(ip->i_inode.i_mode)) {
/linux-master/fs/btrfs/tests/
H A Dbtrfs-tests.c63 inode->i_mode = S_IFREG;
/linux-master/fs/ocfs2/
H A Ddcache.c90 S_ISDIR(inode->i_mode));
/linux-master/fs/minix/
H A Dnamei.c196 if (S_ISDIR(old_inode->i_mode)) {
/linux-master/fs/
H A Dxattr.c147 if (!S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode))
149 if (S_ISDIR(inode->i_mode) && (inode->i_mode & S_ISVTX) &&
H A Dpidfs.c220 inode->i_mode |= S_IRWXU;
H A Dnsfs.c206 inode->i_mode |= S_IRUGO;
H A Dnamei.c341 unsigned int mode = inode->i_mode;
411 if (S_ISDIR(inode->i_mode)) {
436 if (!(mask & MAY_EXEC) || (inode->i_mode & S_IXUGO))
482 umode_t mode = inode->i_mode;
1146 umode_t mode = inode->i_mode;
1242 if ((!sysctl_protected_fifos && S_ISFIFO(inode->i_mode)) ||
1243 (!sysctl_protected_regular && S_ISREG(inode->i_mode)) ||
1251 ((sysctl_protected_fifos >= 2 && S_ISFIFO(inode->i_mode)) ||
1252 (sysctl_protected_regular >= 2 && S_ISREG(inode->i_mode))))) {
1253 const char *operation = S_ISFIFO(inode->i_mode)
[all...]
/linux-master/security/integrity/ima/
H A Dima_main.c197 if (!ima_policy_flag || !S_ISREG(inode->i_mode))
226 if (!ima_policy_flag || !S_ISREG(inode->i_mode))
693 if (!ima_policy_flag || !S_ISREG(inode->i_mode))
725 if (!ima_policy_flag || !S_ISREG(inode->i_mode))
/linux-master/fs/9p/
H A Dvfs_dir.c218 if ((S_ISREG(inode->i_mode)) && (filp->f_mode & FMODE_WRITE))
/linux-master/fs/xfs/scrub/
H A Dcommon.c1328 * allocated if i_mode is nonzero. In all three cases, the cached inode will
1330 * i_mode.
1396 ASSERT(VFS_I(ip)->i_mode != 0);
1408 * Recycling doesn't touch i_mode.
1412 ASSERT(VFS_I(ip)->i_mode != 0);
1422 ASSERT(VFS_I(ip)->i_mode != 0);
1431 * case i_mode is still nonzero.
1433 * (6) It has already been freed, in which case i_mode is zero.
1442 * reclaim (IRECLAIMABLE) could be allocated or free. i_mode still
1447 * (8) If the inode is in IFLUSHING, it's safe to query i_mode becaus
[all...]
/linux-master/fs/smb/client/
H A Dfscache.c137 key.type = (inode->i_mode & S_IFMT) >> 12;
H A Dinode.c35 switch (inode->i_mode & S_IFMT) {
73 init_special_inode(inode, inode->i_mode, inode->i_rdev);
184 inode->i_mode = fattr->cf_mode;
1370 if (S_ISDIR(inode->i_mode) && !hlist_empty(&inode->i_dentry))
1510 inode->i_mode |= S_IFDIR;
1882 if (!S_ISDIR(inode->i_mode)) {
1901 if (parent->i_mode & S_ISGID)
1915 if (parent->i_mode & S_ISGID)
1936 inode->i_mode = (mode | S_IFDIR);
1940 if (inode->i_mode
[all...]
/linux-master/net/unix/
H A Dgarbage.c89 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) {
/linux-master/fs/reiserfs/
H A Dstree.c1324 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(q_ih)) {
1792 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(p_le_ih)) {
1900 (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode)
1901 || S_ISLNK(inode->i_mode)))
1905 if (S_ISDIR(inode->i_mode)) {
2206 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(ih))
/linux-master/fs/f2fs/
H A Dfile.c199 if (!S_ISREG(inode->i_mode))
271 if (S_ISDIR(inode->i_mode))
790 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
791 S_ISLNK(inode->i_mode)))
869 if ((request_mask & STATX_DIOALIGN) && S_ISREG(inode->i_mode)) {
903 if ((S_ISREG(inode->i_mode) && f2fs_has_inline_data(inode)) ||
1038 inode->i_mode = F2FS_I(inode)->i_acl_mode;
1813 if (!S_ISREG(inode->i_mode))
1943 (S_ISREG(inode->i_mode)
[all...]
/linux-master/fs/fat/
H A Dinode.c419 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) {
438 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) {
526 inode->i_mode = fat_make_mode(sbi, de->attr, S_IRWXUGO);
544 inode->i_mode = fat_make_mode(sbi, de->attr,
885 if (S_ISDIR(inode->i_mode))
1400 inode->i_mode = fat_make_mode(sbi, ATTR_DIR, S_IRWXUGO);
/linux-master/fs/ceph/
H A Dcaps.c590 if (S_ISREG(ci->netfs.inode.i_mode) &&
605 if (S_ISDIR(ci->netfs.inode.i_mode)) {
612 if (S_ISDIR(ci->netfs.inode.i_mode) && (had & CEPH_CAP_DIR_CREATE) &&
1002 (S_ISREG(ci->netfs.inode.i_mode) &&
1030 if (S_ISDIR(ci->netfs.inode.i_mode)) {
1083 if (S_ISDIR(ci->netfs.inode.i_mode)) {
1479 arg->mode = inode->i_mode;
2071 } else if (S_ISDIR(inode->i_mode) &&
2116 S_ISREG(inode->i_mode) &&
2178 if (S_ISREG(inode->i_mode)
[all...]
/linux-master/fs/hfsplus/
H A Ddir.c121 if (S_ISREG(inode->i_mode))
313 if (!S_ISREG(inode->i_mode))
/linux-master/fs/orangefs/
H A Dorangefs-utils.c179 attrs->perms = ORANGEFS_util_translate_mode(inode->i_mode);
371 inode->i_mode = type | (is_root_handle(inode) ? S_ISVTX : 0) |
/linux-master/fs/ext2/
H A Dialloc.c127 is_directory = S_ISDIR(inode->i_mode);
541 inode->i_mode = mode;
/linux-master/fs/coda/
H A Ddir.c538 old_mode = inode->i_mode;
542 if ((old_mode & S_IFMT) != (inode->i_mode & S_IFMT)) {

Completed in 270 milliseconds

1234567891011>>