Home
last modified time | relevance | path

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

12345

/linux-6.6.21/fs/ocfs2/
Dsymlink.h21 return (S_ISLNK(inode->i_mode) && in ocfs2_inode_is_fast_symlink()
Dacl.c227 if (S_ISLNK(inode->i_mode)) in ocfs2_set_acl()
327 if (S_ISLNK(inode->i_mode)) in ocfs2_acl_chmod()
364 if (!S_ISLNK(inode->i_mode)) { in ocfs2_init_acl()
/linux-6.6.21/fs/9p/
Dacl.c193 if (S_ISLNK(inode->i_mode)) { in v9fs_iop_set_acl()
287 if (S_ISLNK(inode->i_mode)) in v9fs_acl_chmod()
325 if (!S_ISLNK(mode)) { in v9fs_acl_mode()
/linux-6.6.21/security/
Dinode.c30 if (S_ISLNK(inode->i_mode)) in securityfs_free_inode()
155 } else if (S_ISLNK(mode)) { in securityfs_create_dentry()
/linux-6.6.21/fs/xfs/scrub/
Dinode.c454 if (!S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode()
458 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode()
486 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
494 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
Dsymlink.c42 if (!S_ISLNK(VFS_I(ip)->i_mode)) in xchk_symlink()
/linux-6.6.21/tools/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/linux-6.6.21/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/linux-6.6.21/fs/crypto/
Dkeysetup.c90 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in select_encryption_mode()
722 !S_ISLNK(inode->i_mode)) in fscrypt_prepare_new_inode()
757 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
/linux-6.6.21/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-6.6.21/fs/jfs/
Djfs_inode.c94 if (S_ISLNK(mode)) in ialloc()
/linux-6.6.21/tools/testing/selftests/proc/
Dfd-001-lookup.c41 assert(S_ISLNK(st.st_mode)); in test_lookup_pass()
/linux-6.6.21/fs/configfs/
Dmount.c32 if (S_ISLNK(inode->i_mode)) in configfs_free_inode()
/linux-6.6.21/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-6.6.21/tools/include/nolibc/
Dtypes.h41 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) macro
/linux-6.6.21/fs/ntfs3/
Dinode.c445 } else if (S_ISLNK(mode)) { in ntfs_read_mft()
473 !S_ISFIFO(mode) && !S_ISSOCK(mode) && !S_ISLNK(mode)) { in ntfs_read_mft()
1260 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1467 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1524 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1616 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1634 if (!S_ISLNK(mode) && (sb->s_flags & SB_POSIXACL)) { in ntfs_create_inode()
/linux-6.6.21/fs/hfsplus/
Dinode.c426 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_new_inode()
456 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_delete_inode()
558 } else if (S_ISLNK(inode->i_mode)) { in hfsplus_cat_read_inode()
/linux-6.6.21/fs/reiserfs/
Dinode.c1170 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) in real_space_diff()
1192 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { in to_real_used_space()
1207 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { in to_fake_used_blocks()
1327 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in init_inode()
1352 } else if (S_ISLNK(inode->i_mode)) { in init_inode()
1991 REISERFS_I(inode)->i_first_direct_byte = S_ISLNK(mode) ? 1 : in reiserfs_new_inode()
2037 if (old_format_only(sb) || S_ISDIR(mode) || S_ISLNK(mode)) in reiserfs_new_inode()
2069 if (S_ISLNK(mode)) { in reiserfs_new_inode()
Dstree.c1324 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(q_ih)) { in reiserfs_delete_item()
1792 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(p_le_ih)) { in reiserfs_cut_from_item()
1901 || S_ISLNK(inode->i_mode))) in reiserfs_do_truncate()
2205 if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(ih)) in reiserfs_insert_item()
/linux-6.6.21/fs/
Dsync.c274 !S_ISLNK(i_mode)) in sync_file_range()
/linux-6.6.21/tools/thermal/tmon/
Dtmon.c153 if (S_ISLNK(logstat.st_mode)) { in prepare_logging()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_inode_buf.c374 if (S_ISDIR(mode) || S_ISLNK(mode)) { in xfs_dinode_verify_fork()
496 if ((S_ISLNK(mode) || S_ISDIR(mode)) && di_size == 0) in xfs_dinode_verify()
/linux-6.6.21/fs/ext2/
Dinode.c53 return (S_ISLNK(inode->i_mode) && in ext2_inode_is_fast_symlink()
1256 S_ISLNK(inode->i_mode))) in ext2_truncate_blocks()
1271 S_ISLNK(inode->i_mode))) in ext2_setsize()
1474 } else if (S_ISLNK(inode->i_mode)) { in ext2_iget()
/linux-6.6.21/fs/proc/
Dproc_sysctl.c531 if (S_ISLNK(p->mode)) { in proc_sys_lookup()
758 if (unlikely(S_ISLNK(table->mode))) in scan()
1229 if (S_ISLNK(link->mode) && (link->data == link_root)) in get_links()
1489 (S_ISLNK(link->mode) && (link->data == root)))) { in put_links()

12345