Home
last modified time | relevance | path

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

12345

/Linux-v6.6/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-v6.6/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-v6.6/security/
Dinode.c30 if (S_ISLNK(inode->i_mode)) in securityfs_free_inode()
155 } else if (S_ISLNK(mode)) { in securityfs_create_dentry()
/Linux-v6.6/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-v6.6/tools/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/Linux-v6.6/include/uapi/linux/
Dstat.h21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) macro
/Linux-v6.6/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-v6.6/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-v6.6/fs/jfs/
Djfs_inode.c94 if (S_ISLNK(mode)) in ialloc()
/Linux-v6.6/fs/configfs/
Dmount.c32 if (S_ISLNK(inode->i_mode)) in configfs_free_inode()
/Linux-v6.6/tools/testing/selftests/proc/
Dfd-001-lookup.c41 assert(S_ISLNK(st.st_mode)); in test_lookup_pass()
/Linux-v6.6/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-v6.6/tools/include/nolibc/
Dtypes.h41 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) macro
/Linux-v6.6/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()
1248 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1450 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1507 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1599 } else if (S_ISLNK(mode)) { in ntfs_create_inode()
1617 if (!S_ISLNK(mode) && (sb->s_flags & SB_POSIXACL)) { in ntfs_create_inode()
/Linux-v6.6/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-v6.6/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-v6.6/fs/
Dsync.c274 !S_ISLNK(i_mode)) in sync_file_range()
/Linux-v6.6/tools/thermal/tmon/
Dtmon.c153 if (S_ISLNK(logstat.st_mode)) { in prepare_logging()
/Linux-v6.6/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-v6.6/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-v6.6/fs/proc/
Dproc_sysctl.c530 if (S_ISLNK(p->mode)) { in proc_sys_lookup()
757 if (unlikely(S_ISLNK(table->mode))) in scan()
1224 if (S_ISLNK(link->mode) && (link->data == link_root)) in get_links()
1484 (S_ISLNK(link->mode) && (link->data == root)))) { in put_links()

12345