Home
last modified time | relevance | path

Searched refs:S_ISSOCK (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/tools/include/uapi/linux/
Dstat.h27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/linux-6.6.21/include/uapi/linux/
Dstat.h27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/linux-6.6.21/net/unix/
Dscm.c30 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket()
/linux-6.6.21/tools/include/nolibc/
Dtypes.h42 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
/linux-6.6.21/fs/hfsplus/
Ddir.c245 else if (S_ISSOCK(mode)) in hfsplus_readdir()
491 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
/linux-6.6.21/fs/
Dinit.c147 if (S_ISFIFO(mode) || S_ISSOCK(mode)) in init_mknod()
Dinode.c2350 else if (S_ISSOCK(mode)) in init_special_inode()
/linux-6.6.21/tools/perf/
Dperf.c334 if (S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode)) in run_builtin()
/linux-6.6.21/fs/hpfs/
Dinode.c105 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
/linux-6.6.21/fs/f2fs/
Dinode.c69 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in __get_inode_rdev()
627 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in f2fs_iget()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h36 #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK) macro
792 S_ISSOCK(mode)) in kprobe_ret__do_filp_open()
/linux-6.6.21/arch/um/os-Linux/
Dfile.c153 else if (S_ISSOCK(buf.ust_mode)) in os_file_type()
/linux-6.6.21/fs/xfs/scrub/
Dinode.c450 !S_ISFIFO(mode) && !S_ISSOCK(mode)) in xchk_dinode()
/linux-6.6.21/init/
Dinitramfs.c390 S_ISFIFO(mode) || S_ISSOCK(mode)) { in do_name()
/linux-6.6.21/security/apparmor/
Dfile.c624 else if (S_ISSOCK(file_inode(file)->i_mode)) in aa_file_perm()
/linux-6.6.21/fs/hostfs/
Dhostfs_kern.c791 S_ISFIFO(ino->i_mode) || S_ISSOCK(ino->i_mode)) in hostfs_permission()
/linux-6.6.21/fs/ntfs3/
Dinode.c459 S_ISSOCK(mode)) { in ntfs_read_mft()
473 !S_ISFIFO(mode) && !S_ISSOCK(mode) && !S_ISLNK(mode)) { in ntfs_read_mft()
/linux-6.6.21/fs/9p/
Dvfs_inode.c54 if (S_ISSOCK(mode)) in unixmode2p9mode()
/linux-6.6.21/fs/btrfs/
Dtree-checker.c1120 if (unlikely(!S_ISLNK(mode) && !S_ISBLK(mode) && !S_ISSOCK(mode))) { in check_inode_item()
/linux-6.6.21/fs/fuse/
Dinode.c393 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in fuse_init_inode()
Ddir.c350 S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); in fuse_valid_type()
/linux-6.6.21/include/linux/
Dfs.h3067 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
/linux-6.6.21/fs/udf/
Dinode.c1877 else if (S_ISSOCK(inode->i_mode)) in udf_update_inode()
/linux-6.6.21/net/netlink/
Daf_netlink.c1196 if (!S_ISSOCK(inode->i_mode)) in netlink_getsockbyfilp()
/linux-6.6.21/mm/
Dmmap.c1176 if (S_ISSOCK(inode->i_mode)) in file_mmap_size_max()

12