Searched refs:S_ISSOCK (Results 1 – 25 of 32) sorted by relevance
12
27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
30 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket()
42 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
245 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()
147 if (S_ISFIFO(mode) || S_ISSOCK(mode)) in init_mknod()
2350 else if (S_ISSOCK(mode)) in init_special_inode()
334 if (S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode)) in run_builtin()
105 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
69 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()
36 #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK) macro792 S_ISSOCK(mode)) in kprobe_ret__do_filp_open()
153 else if (S_ISSOCK(buf.ust_mode)) in os_file_type()
450 !S_ISFIFO(mode) && !S_ISSOCK(mode)) in xchk_dinode()
390 S_ISFIFO(mode) || S_ISSOCK(mode)) { in do_name()
624 else if (S_ISSOCK(file_inode(file)->i_mode)) in aa_file_perm()
791 S_ISFIFO(ino->i_mode) || S_ISSOCK(ino->i_mode)) in hostfs_permission()
459 S_ISSOCK(mode)) { in ntfs_read_mft()473 !S_ISFIFO(mode) && !S_ISSOCK(mode) && !S_ISLNK(mode)) { in ntfs_read_mft()
54 if (S_ISSOCK(mode)) in unixmode2p9mode()
1120 if (unlikely(!S_ISLNK(mode) && !S_ISBLK(mode) && !S_ISSOCK(mode))) { in check_inode_item()
393 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in fuse_init_inode()
350 S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); in fuse_valid_type()
3067 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
1877 else if (S_ISSOCK(inode->i_mode)) in udf_update_inode()
1196 if (!S_ISSOCK(inode->i_mode)) in netlink_getsockbyfilp()
1176 if (S_ISSOCK(inode->i_mode)) in file_mmap_size_max()