Searched refs:S_ISSOCK (Results 1 – 10 of 10) sorted by relevance
30 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
305 if (S_ISSOCK (filp->f_dentry->d_inode->i_mode)) in do_fcntl()332 if (S_ISSOCK (filp->f_dentry->d_inode->i_mode)) in do_fcntl()
212 else if (S_ISSOCK(mode)) in init_special_inode()
21 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
1133 if (S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in open_namei()
114 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
153 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
319 if (!S_ISSOCK(sock_inode->i_mode)) in ncp_read_super()
179 return (inode && S_ISSOCK(inode->i_mode) && in smb_valid_socket()
593 if (!S_ISSOCK(nd.dentry->d_inode->i_mode)) in unix_find_other()