Searched refs:S_ISSOCK (Results 1 – 24 of 24) sorted by relevance
30 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
2462 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
107 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket()
785 if (!S_ISSOCK(inode->i_mode)) in unix_find_other()
273 …R(inode->i_mode) || S_ISBLK(inode->i_mode) || S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in ncp_iget()524 if (!S_ISSOCK(sock_inode->i_mode)) in ncp_fill_super()563 if (!S_ISSOCK(sock_inode->i_mode)) in ncp_fill_super()
283 if (S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode)) in run_builtin()
146 else if (S_ISSOCK(buf.ust_mode)) in os_file_type()
102 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
325 S_ISFIFO(mode) || S_ISSOCK(mode)) { in do_name()
72 if (S_ISSOCK(mode)) in unixmode2p9mode()1439 else if (S_ISSOCK(mode)) in v9fs_vfs_mknod()
449 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
413 if (!inode || !S_ISSOCK(inode->i_mode)) in sockfd_to_socket()
629 if (S_ISSOCK(inode->i_mode)) { in __nbd_ioctl()
778 S_ISFIFO(ino->i_mode) || S_ISSOCK(ino->i_mode)) in hostfs_permission()
233 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in fuse_init_inode()
237 S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); in fuse_valid_type()
1697 else if (S_ISSOCK(mode)) in init_special_inode()
1403 (!S_ISFIFO(inode->i_mode) && !S_ISSOCK(inode->i_mode)))); in aio_rw_vect_retry()
784 if (!S_ISSOCK(inode->i_mode)) in netlink_getsockbyfilp()
2656 if (S_ISSOCK(inode->i_mode)) { in smack_d_instantiate()
1688 else if (S_ISSOCK(inode->i_mode)) in udf_update_inode()
3819 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in ext4_iget()
6003 else if (S_ISSOCK(mode)) in cifs_fill_unix_set_info()
3189 BUG_ON(!S_ISFIFO(mode) && !S_ISBLK(mode) && !S_ISCHR(mode) && !S_ISSOCK(mode)); in _nfs4_proc_mknod()