Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dstat.h30 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
Dfs.h2462 #define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
/linux-3.4.99/net/unix/
Dgarbage.c107 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket()
Daf_unix.c785 if (!S_ISSOCK(inode->i_mode)) in unix_find_other()
/linux-3.4.99/fs/ncpfs/
Dinode.c273 …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()
/linux-3.4.99/tools/perf/
Dperf.c283 if (S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode)) in run_builtin()
/linux-3.4.99/arch/um/os-Linux/
Dfile.c146 else if (S_ISSOCK(buf.ust_mode)) in os_file_type()
/linux-3.4.99/fs/hpfs/
Dinode.c102 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
/linux-3.4.99/init/
Dinitramfs.c325 S_ISFIFO(mode) || S_ISSOCK(mode)) { in do_name()
/linux-3.4.99/fs/9p/
Dvfs_inode.c72 if (S_ISSOCK(mode)) in unixmode2p9mode()
1439 else if (S_ISSOCK(mode)) in v9fs_vfs_mknod()
/linux-3.4.99/fs/hfsplus/
Ddir.c449 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
/linux-3.4.99/drivers/staging/usbip/
Dusbip_common.c413 if (!inode || !S_ISSOCK(inode->i_mode)) in sockfd_to_socket()
/linux-3.4.99/drivers/block/
Dnbd.c629 if (S_ISSOCK(inode->i_mode)) { in __nbd_ioctl()
/linux-3.4.99/fs/hostfs/
Dhostfs_kern.c778 S_ISFIFO(ino->i_mode) || S_ISSOCK(ino->i_mode)) in hostfs_permission()
/linux-3.4.99/fs/fuse/
Dinode.c233 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in fuse_init_inode()
Ddir.c237 S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); in fuse_valid_type()
/linux-3.4.99/fs/
Dinode.c1697 else if (S_ISSOCK(mode)) in init_special_inode()
Daio.c1403 (!S_ISFIFO(inode->i_mode) && !S_ISSOCK(inode->i_mode)))); in aio_rw_vect_retry()
/linux-3.4.99/net/netlink/
Daf_netlink.c784 if (!S_ISSOCK(inode->i_mode)) in netlink_getsockbyfilp()
/linux-3.4.99/security/smack/
Dsmack_lsm.c2656 if (S_ISSOCK(inode->i_mode)) { in smack_d_instantiate()
/linux-3.4.99/fs/udf/
Dinode.c1688 else if (S_ISSOCK(inode->i_mode)) in udf_update_inode()
/linux-3.4.99/fs/ext4/
Dinode.c3819 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in ext4_iget()
/linux-3.4.99/fs/cifs/
Dcifssmb.c6003 else if (S_ISSOCK(mode)) in cifs_fill_unix_set_info()
/linux-3.4.99/fs/nfs/
Dnfs4proc.c3189 BUG_ON(!S_ISFIFO(mode) && !S_ISBLK(mode) && !S_ISCHR(mode) && !S_ISSOCK(mode)); in _nfs4_proc_mknod()