Searched refs:S_ISSOCK (Results 1 – 25 of 33) sorted by relevance
12
27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
45 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
577 if (!S_ISSOCK(file_inode(file)->i_mode)) in __unix_needs_revalidation()645 else if (S_ISSOCK(file_inode(file)->i_mode)) in aa_file_perm()
360 if (S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode)) in run_builtin()
63 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in jfs_iget()
105 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
98 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket()
39 #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK) macro 772 S_ISSOCK(mode)) in kprobe_ret__do_filp_open()
76 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in __get_inode_rdev()634 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in f2fs_iget()
139 else if (S_ISSOCK(buf.ust_mode)) in os_file_type()
506 !S_ISFIFO(mode) && !S_ISSOCK(mode)) in xchk_dinode()
403 S_ISFIFO(mode) || S_ISSOCK(mode)) { in do_name()
1028 if (S_ISSOCK(inode->i_mode)) { in smack_inode_init_security()1361 if (S_ISSOCK(i_mode)) { in smack_inode_setxattr()1512 if (!S_ISSOCK(d_backing_inode(dentry)->i_mode)) { in smack_inode_removexattr()3637 if (S_ISSOCK(inode->i_mode)) { in smack_d_instantiate()4949 if (S_ISSOCK(inode->i_mode)) in smack_inode_notifysecctx()
512 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in minix_set_inode()
794 S_ISFIFO(ino->i_mode) || S_ISSOCK(ino->i_mode)) in hostfs_permission()
54 if (S_ISSOCK(mode)) in unixmode2p9mode()
711 if (S_ISSOCK(mode) && !ctx->nonativesocket && ctx->reparse_type != CIFS_REPARSE_TYPE_NONE) in mknod_reparse()
478 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in __nilfs_read_inode()
253 if (S_ISSOCK(inode->i_mode)) in file_mmap_size_max()
1449 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in isofs_read_inode()
1158 if (unlikely(!S_ISLNK(mode) && !S_ISBLK(mode) && !S_ISSOCK(mode))) { in check_inode_item()
435 S_ISFIFO(inode->i_mode) || S_ISSOCK(inode->i_mode)) { in fuse_init_inode()
537 S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); in fuse_valid_type()