Home
last modified time | relevance | path

Searched refs:S_ISLNK (Results 1 – 25 of 108) sorted by relevance

12345

/Linux-v5.10/fs/ocfs2/
Dsymlink.h23 return (S_ISLNK(inode->i_mode) && in ocfs2_inode_is_fast_symlink()
Dacl.c229 if (S_ISLNK(inode->i_mode)) in ocfs2_set_acl()
323 if (S_ISLNK(inode->i_mode)) in ocfs2_acl_chmod()
360 if (!S_ISLNK(inode->i_mode)) { in ocfs2_init_acl()
/Linux-v5.10/fs/9p/
Dacl.c155 if (S_ISLNK(inode->i_mode)) in v9fs_acl_chmod()
193 if (!S_ISLNK(mode)) { in v9fs_acl_mode()
259 if (S_ISLNK(inode->i_mode)) in v9fs_xattr_set_acl()
/Linux-v5.10/security/
Dinode.c30 if (S_ISLNK(inode->i_mode)) in securityfs_free_inode()
155 } else if (S_ISLNK(mode)) { in securityfs_create_dentry()
/Linux-v5.10/fs/xfs/scrub/
Dinode.c296 if (!S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode()
300 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode()
328 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
336 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
Dsymlink.c43 if (!S_ISLNK(VFS_I(ip)->i_mode)) in xchk_symlink()
/Linux-v5.10/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/Linux-v5.10/tools/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/Linux-v5.10/fs/crypto/
Dkeysetup.c62 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in select_encryption_mode()
636 !S_ISLNK(inode->i_mode)) in fscrypt_prepare_new_inode()
671 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
/Linux-v5.10/fs/jffs2/
Dfs.c59 } else if (S_ISLNK(inode->i_mode)) { in jffs2_do_setattr()
80 if (S_ISLNK(inode->i_mode)) in jffs2_do_setattr()
89 if (S_ISLNK(inode->i_mode)) in jffs2_do_setattr()
140 if (S_ISLNK(inode->i_mode)) in jffs2_do_setattr()
/Linux-v5.10/fs/jfs/
Djfs_inode.c94 if (S_ISLNK(mode)) in ialloc()
/Linux-v5.10/fs/configfs/
Dmount.c34 if (S_ISLNK(inode->i_mode)) in configfs_free_inode()
/Linux-v5.10/tools/testing/selftests/proc/
Dfd-001-lookup.c41 assert(S_ISLNK(st.st_mode)); in test_lookup_pass()
/Linux-v5.10/fs/coda/
Dcnode.c36 } else if (S_ISLNK(inode->i_mode)) { in coda_fill_inode()
Dcoda_linux.c174 } else if ( S_ISLNK(mode) ) { in coda_iattr_to_vattr()
/Linux-v5.10/fs/hfsplus/
Dinode.c412 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_new_inode()
442 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_delete_inode()
537 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_cat_read_inode()
/Linux-v5.10/fs/reiserfs/
Dinode.c1178 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) in real_space_diff()
1200 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { in to_real_used_space()
1215 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { in to_fake_used_blocks()
1337 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in init_inode()
1362 } else if (S_ISLNK(inode->i_mode)) { in init_inode()
2001 REISERFS_I(inode)->i_first_direct_byte = S_ISLNK(mode) ? 1 : in reiserfs_new_inode()
2047 if (old_format_only(sb) || S_ISDIR(mode) || S_ISLNK(mode)) in reiserfs_new_inode()
2079 if (S_ISLNK(mode)) { in reiserfs_new_inode()
Dstree.c1299 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(q_ih)) { in reiserfs_delete_item()
1767 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(p_le_ih)) { in reiserfs_cut_from_item()
1876 || S_ISLNK(inode->i_mode))) in reiserfs_do_truncate()
2180 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(ih)) in reiserfs_insert_item()
Dxattr_acl.c308 if (S_ISLNK(inode->i_mode)) in reiserfs_inherit_default_acl()
/Linux-v5.10/fs/
Dsync.c286 !S_ISLNK(i_mode)) in sync_file_range()
/Linux-v5.10/tools/thermal/tmon/
Dtmon.c153 if (S_ISLNK(logstat.st_mode)) { in prepare_logging()
/Linux-v5.10/fs/ext2/
Dinode.c53 return (S_ISLNK(inode->i_mode) && in ext2_inode_is_fast_symlink()
1271 S_ISLNK(inode->i_mode))) in ext2_truncate_blocks()
1286 S_ISLNK(inode->i_mode))) in ext2_setsize()
1498 } else if (S_ISLNK(inode->i_mode)) { in ext2_iget()
/Linux-v5.10/fs/befs/
Ddebug.c106 if (S_ISLNK(fs32_to_cpu(sb, inode->mode))) { in befs_dump_inode()
/Linux-v5.10/fs/freevxfs/
Dvxfs_inode.c310 } else if (S_ISLNK(ip->i_mode)) { in vxfs_iget()
/Linux-v5.10/fs/nilfs2/
Dinode.c355 if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) { in nilfs_new_inode()
456 S_ISLNK(inode->i_mode)) { in nilfs_read_inode_common()
494 } else if (S_ISLNK(inode->i_mode)) { in __nilfs_read_inode()

12345