S_ISLNK 142 arch/um/os-Linux/file.c else if (S_ISLNK(buf.ust_mode)) S_ISLNK 2457 drivers/staging/exfat/exfat_super.c if (S_ISLNK(i_mode) && !EXFAT_I(inode)->target) { S_ISLNK 2862 drivers/staging/exfat/exfat_super.c if (S_ISREG(i_mode) || S_ISLNK(i_mode)) S_ISLNK 155 fs/9p/acl.c if (S_ISLNK(inode->i_mode)) S_ISLNK 193 fs/9p/acl.c if (!S_ISLNK(mode)) { S_ISLNK 259 fs/9p/acl.c if (S_ISLNK(inode->i_mode)) S_ISLNK 137 fs/adfs/inode.c if (S_ISLNK(inode->i_mode)) S_ISLNK 379 fs/autofs/inode.c } else if (S_ISLNK(mode)) { S_ISLNK 440 fs/autofs/root.c if (inode && S_ISLNK(inode->i_mode)) S_ISLNK 106 fs/befs/debug.c if (S_ISLNK(fs32_to_cpu(sb, inode->mode))) { S_ISLNK 374 fs/befs/linuxvfs.c if (S_ISLNK(inode->i_mode) && !(befs_ino->i_flags & BEFS_LONG_SYMLINK)){ S_ISLNK 398 fs/befs/linuxvfs.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 10638 fs/btrfs/inode.c (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))) { S_ISLNK 2617 fs/btrfs/send.c } else if (S_ISLNK(mode)) { S_ISLNK 2643 fs/btrfs/send.c if (S_ISLNK(mode)) { S_ISLNK 5760 fs/btrfs/send.c if (S_ISLNK(sctx->cur_inode_mode)) S_ISLNK 5943 fs/btrfs/send.c if (!S_ISLNK(sctx->cur_inode_mode)) S_ISLNK 5958 fs/btrfs/send.c if (!S_ISLNK(sctx->cur_inode_mode) && left_mode != right_mode) S_ISLNK 807 fs/btrfs/tree-checker.c if (!S_ISLNK(mode) && !S_ISBLK(mode) && !S_ISSOCK(mode)) { S_ISLNK 6042 fs/cifs/cifssmb.c else if (S_ISLNK(mode)) S_ISLNK 36 fs/coda/cnode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 174 fs/coda/coda_linux.c } else if ( S_ISLNK(mode) ) { S_ISLNK 277 fs/coda/file.c S_ISLNK(coda_inode->i_mode))) S_ISLNK 34 fs/configfs/mount.c if (S_ISLNK(inode->i_mode)) S_ISLNK 61 fs/crypto/keysetup.c if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) S_ISLNK 550 fs/crypto/keysetup.c if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { S_ISLNK 415 fs/crypto/policy.c !S_ISLNK(child->i_mode)) S_ISLNK 198 fs/debugfs/inode.c if (S_ISLNK(inode->i_mode)) S_ISLNK 55 fs/ecryptfs/inode.c if (S_ISLNK(inode->i_mode)) S_ISLNK 53 fs/ext2/inode.c return (S_ISLNK(inode->i_mode) && S_ISLNK 1275 fs/ext2/inode.c S_ISLNK(inode->i_mode))) S_ISLNK 1290 fs/ext2/inode.c S_ISLNK(inode->i_mode))) S_ISLNK 1502 fs/ext2/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 2555 fs/ext4/extents.c if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode) || S_ISLNK 773 fs/ext4/ialloc.c (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) && S_ISLNK 1167 fs/ext4/ialloc.c if (S_ISDIR(mode) || S_ISREG(mode) || S_ISLNK(mode)) { S_ISLNK 833 fs/ext4/indirect.c if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode) || S_ISLNK 444 fs/ext4/inline.c S_ISREG(inode->i_mode) || S_ISLNK(inode->i_mode)) { S_ISLNK 160 fs/ext4/inode.c return (S_ISLNK(inode->i_mode) && inode->i_blocks - ea_blocks == 0); S_ISLNK 162 fs/ext4/inode.c return S_ISLNK(inode->i_mode) && inode->i_size && S_ISLNK 230 fs/ext4/inode.c (S_ISLNK(inode->i_mode) || S_ISREG(inode->i_mode)) && S_ISLNK 3045 fs/ext4/inode.c if (ext4_nonda_switch(inode->i_sb) || S_ISLNK(inode->i_mode) || S_ISLNK 4187 fs/ext4/inode.c if (S_ISLNK(inode->i_mode)) S_ISLNK 5067 fs/ext4/inode.c (S_ISLNK(inode->i_mode) && S_ISLNK 5085 fs/ext4/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 449 fs/ext4/migrate.c if (S_ISLNK(inode->i_mode) && inode->i_blocks == 0) S_ISLNK 1709 fs/ext4/namei.c (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) && S_ISLNK 2930 fs/ext4/namei.c S_ISLNK(inode->i_mode)) || inode->i_nlink == 0); S_ISLNK 343 fs/f2fs/acl.c if (S_ISLNK(*mode) || !IS_POSIXACL(dir)) S_ISLNK 1005 fs/f2fs/checkpoint.c !S_ISLNK(inode->i_mode)) S_ISLNK 1024 fs/f2fs/checkpoint.c !S_ISLNK(inode->i_mode)) S_ISLNK 1897 fs/f2fs/f2fs.h !S_ISLNK(inode->i_mode)) S_ISLNK 3687 fs/f2fs/f2fs.h return (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)); S_ISLNK 679 fs/f2fs/file.c S_ISLNK(inode->i_mode))) S_ISLNK 20 fs/f2fs/inline.c if (!S_ISREG(inode->i_mode) && !S_ISLNK(inode->i_mode)) S_ISLNK 713 fs/f2fs/inline.c if ((S_ISREG(inode->i_mode) || S_ISLNK(inode->i_mode)) && S_ISLNK 275 fs/f2fs/inode.c (!S_ISREG(inode->i_mode) && !S_ISLNK(inode->i_mode))) { S_ISLNK 459 fs/f2fs/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 482 fs/f2fs/namei.c (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) && S_ISLNK 1181 fs/f2fs/node.c S_ISLNK(inode->i_mode)) S_ISLNK 310 fs/freevxfs/vxfs_inode.c } else if (S_ISLNK(ip->i_mode)) { S_ISLNK 319 fs/fuse/dir.c return S_ISREG(m) || S_ISDIR(m) || S_ISLNK(m) || S_ISCHR(m) || S_ISLNK 258 fs/fuse/inode.c else if (S_ISLNK(inode->i_mode)) S_ISLNK 94 fs/gfs2/inode.c } else if (S_ISLNK(mode)) { S_ISLNK 144 fs/hfsplus/catalog.c if (S_ISLNK(inode->i_mode)) { S_ISLNK 237 fs/hfsplus/dir.c else if (S_ISLNK(mode)) S_ISLNK 412 fs/hfsplus/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 442 fs/hfsplus/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 537 fs/hfsplus/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 941 fs/hostfs/hostfs_kern.c if (S_ISLNK(root_inode->i_mode)) { S_ISLNK 165 fs/hpfs/inode.c if (!S_ISLNK(i->i_mode)) S_ISLNK 768 fs/hugetlbfs/inode.c if (S_ISREG(mode) || S_ISLNK(mode)) { S_ISLNK 661 fs/ioctl.c S_ISLNK(inode->i_mode)) { S_ISLNK 1483 fs/isofs/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 59 fs/jffs2/fs.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 80 fs/jffs2/fs.c if (S_ISLNK(inode->i_mode)) S_ISLNK 89 fs/jffs2/fs.c if (S_ISLNK(inode->i_mode)) S_ISLNK 140 fs/jffs2/fs.c if (S_ISLNK(inode->i_mode)) S_ISLNK 777 fs/jffs2/gc.c } else if (S_ISLNK(JFFS2_F_I_MODE(f))) { S_ISLNK 845 fs/jffs2/gc.c if (S_ISLNK(JFFS2_F_I_MODE(f))) S_ISLNK 48 fs/jfs/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 762 fs/jfs/jfs_imap.c if (S_ISLNK(ip->i_mode) && ip->i_size < IDATASIZE) { S_ISLNK 3088 fs/jfs/jfs_imap.c } else if (S_ISREG(ip->i_mode) || S_ISLNK(ip->i_mode)) { S_ISLNK 94 fs/jfs/jfs_inode.c if (S_ISLNK(mode)) S_ISLNK 448 fs/minix/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 642 fs/minix/inode.c if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))) S_ISLNK 408 fs/namei.c if (sb_rdonly(sb) && (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))) S_ISLNK 232 fs/nfs/inode.c if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) { S_ISLNK 485 fs/nfs/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 2050 fs/nfs/inode.c || S_ISLNK(inode->i_mode))) S_ISLNK 364 fs/nfsd/export.c !S_ISLNK(inode->i_mode) && S_ISLNK 176 fs/nfsd/nfs3xdr.c if (S_ISLNK(stat->mode) && stat->size > NFS3_MAXPATHLEN) { S_ISLNK 146 fs/nfsd/nfsxdr.c if (S_ISLNK(type) && stat->size > NFS_MAXPATHLEN) { S_ISLNK 413 fs/nfsd/vfs.c if (S_ISLNK(inode->i_mode)) S_ISLNK 363 fs/nilfs2/inode.c if (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) { S_ISLNK 463 fs/nilfs2/inode.c S_ISLNK(inode->i_mode)) { S_ISLNK 501 fs/nilfs2/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 229 fs/ocfs2/acl.c if (S_ISLNK(inode->i_mode)) S_ISLNK 321 fs/ocfs2/acl.c if (S_ISLNK(inode->i_mode)) S_ISLNK 358 fs/ocfs2/acl.c if (!S_ISLNK(inode->i_mode)) { S_ISLNK 153 fs/ocfs2/aops.c if (S_ISLNK(inode->i_mode)) { S_ISLNK 2221 fs/ocfs2/dlmglue.c if (S_ISLNK(inode->i_mode) && !oi->ip_clusters) S_ISLNK 1137 fs/ocfs2/file.c if (S_ISLNK(inode->i_mode)) S_ISLNK 300 fs/ocfs2/inode.c if (S_ISLNK(inode->i_mode) && !fe->i_clusters) { S_ISLNK 1349 fs/ocfs2/inode.c if (S_ISLNK(inode->i_mode) && le32_to_cpu(fe->i_clusters) == 0) S_ISLNK 23 fs/ocfs2/symlink.h return (S_ISLNK(inode->i_mode) && S_ISLNK 108 fs/orangefs/xattr.c if (S_ISLNK(inode->i_mode)) S_ISLNK 206 fs/overlayfs/copy_up.c if (!S_ISLNK(stat->mode)) { S_ISLNK 826 fs/overlayfs/copy_up.c if (S_ISLNK(ctx.stat.mode)) { S_ISLNK 475 fs/overlayfs/dir.c !S_ISLNK(cattr->mode) && S_ISLNK 592 fs/posix_acl.c if (S_ISLNK(*mode) || !IS_POSIXACL(dir)) S_ISLNK 842 fs/posix_acl.c if (S_ISLNK(inode->i_mode)) S_ISLNK 106 fs/proc/fd.c if (S_ISLNK(inode->i_mode)) { S_ISLNK 39 fs/proc/generic.c if (S_ISLNK(pde->mode)) S_ISLNK 552 fs/proc/proc_sysctl.c if (S_ISLNK(p->mode)) { S_ISLNK 767 fs/proc/proc_sysctl.c if (unlikely(S_ISLNK(table->mode))) S_ISLNK 1219 fs/proc/proc_sysctl.c if (S_ISLNK(link->mode) && (link->data == link_root)) S_ISLNK 1636 fs/proc/proc_sysctl.c (S_ISLNK(link->mode) && (link->data == root)))) { S_ISLNK 320 fs/qnx4/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 586 fs/qnx6/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 1180 fs/reiserfs/inode.c if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) S_ISLNK 1202 fs/reiserfs/inode.c if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { S_ISLNK 1217 fs/reiserfs/inode.c if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) { S_ISLNK 1339 fs/reiserfs/inode.c if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) S_ISLNK 1364 fs/reiserfs/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 2007 fs/reiserfs/inode.c REISERFS_I(inode)->i_first_direct_byte = S_ISLNK(mode) ? 1 : S_ISLNK 2053 fs/reiserfs/inode.c if (old_format_only(sb) || S_ISDIR(mode) || S_ISLNK(mode)) S_ISLNK 2085 fs/reiserfs/inode.c if (S_ISLNK(mode)) { S_ISLNK 1305 fs/reiserfs/stree.c if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(q_ih)) { S_ISLNK 1773 fs/reiserfs/stree.c if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(p_le_ih)) { S_ISLNK 1882 fs/reiserfs/stree.c || S_ISLNK(inode->i_mode))) S_ISLNK 2186 fs/reiserfs/stree.c if (!S_ISLNK(inode->i_mode) && is_direct_le_ih(ih)) S_ISLNK 308 fs/reiserfs/xattr_acl.c if (S_ISLNK(inode->i_mode)) S_ISLNK 283 fs/sync.c !S_ISLNK(i_mode)) S_ISLNK 163 fs/sysv/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 376 fs/sysv/itree.c S_ISLNK(inode->i_mode))) S_ISLNK 267 fs/ubifs/dir.c (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) && S_ISLNK 1232 fs/udf/inode.c S_ISLNK(inode->i_mode))) S_ISLNK 1848 fs/udf/inode.c else if (S_ISLNK(inode->i_mode)) S_ISLNK 546 fs/ufs/inode.c } else if (S_ISLNK(inode->i_mode)) { S_ISLNK 858 fs/ufs/inode.c S_ISLNK(inode->i_mode))) S_ISLNK 1192 fs/ufs/inode.c S_ISLNK(inode->i_mode))) S_ISLNK 1011 fs/xfs/libxfs/xfs_bmap.c if (S_ISLNK(VFS_I(ip)->i_mode)) S_ISLNK 942 fs/xfs/libxfs/xfs_ialloc.c needspace = S_ISDIR(mode) || S_ISREG(mode) || S_ISLNK(mode); S_ISLNK 479 fs/xfs/libxfs/xfs_inode_buf.c if ((S_ISLNK(mode) || S_ISDIR(mode)) && di_size == 0) S_ISLNK 144 fs/xfs/libxfs/xfs_inode_fork.c zero_terminate = S_ISLNK(VFS_I(ip)->i_mode); S_ISLNK 278 fs/xfs/scrub/inode.c if (!S_ISDIR(mode) && !S_ISLNK(mode)) S_ISLNK 282 fs/xfs/scrub/inode.c if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) S_ISLNK 313 fs/xfs/scrub/inode.c if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) S_ISLNK 321 fs/xfs/scrub/inode.c if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) S_ISLNK 43 fs/xfs/scrub/symlink.c if (!S_ISLNK(VFS_I(ip)->i_mode)) S_ISLNK 1863 fs/xfs/xfs_inode.c if (S_ISLNK(VFS_I(ip)->i_mode)) S_ISLNK 88 fs/xfs/xfs_ioctl.c !S_ISLNK(inode->i_mode)) S_ISLNK 2727 include/linux/fs.h S_ISLNK(inode->i_mode)) S_ISLNK 259 init/initramfs.c if (S_ISLNK(mode)) { S_ISLNK 570 kernel/bpf/inode.c if (S_ISLNK(inode->i_mode)) S_ISLNK 3749 mm/shmem.c if (S_ISLNK(inode->i_mode)) S_ISLNK 125 security/apparmor/apparmorfs.c if (S_ISLNK(inode->i_mode)) S_ISLNK 203 security/apparmor/apparmorfs.c } else if (S_ISLNK(mode)) { S_ISLNK 30 security/inode.c if (S_ISLNK(inode->i_mode)) S_ISLNK 155 security/inode.c } else if (S_ISLNK(mode)) { S_ISLNK 1531 security/selinux/hooks.c if ((sbsec->flags & SE_SBGENFS) && !S_ISLNK(inode->i_mode)) { S_ISLNK 41 tools/testing/selftests/proc/fd-001-lookup.c assert(S_ISLNK(st.st_mode)); S_ISLNK 156 tools/thermal/tmon/tmon.c if (S_ISLNK(logstat.st_mode)) {