Searched refs:S_ISBLK (Results 1 – 25 of 64) sorted by relevance
123
42 if (S_ISBLK(inode->i_mode)) in devcgroup_inode_permission()62 if (!S_ISBLK(mode) && !S_ISCHR(mode)) in devcgroup_inode_mknod()65 if (S_ISBLK(mode)) in devcgroup_inode_mknod()
28 if (!S_ISBLK(stat.mode)) in bstat()
351 } else if (S_ISBLK(mode) || S_ISCHR(mode) || in do_name()
98 if (S_ISBLK(mode) || S_ISCHR(mode)) { in hpfs_read_inode()105 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()175 if (S_ISBLK(i->i_mode) || S_ISCHR(i->i_mode)) { in hpfs_write_inode_ea()
135 if (S_ISBLK(inode->i_mode)) { in fd_configure_device()361 if (S_ISBLK(file_inode(fd)->i_mode)) { in fd_do_rw()560 if (S_ISBLK(inode->i_mode)) { in fd_execute_unmap()826 if (S_ISBLK(i->i_mode)) in fd_get_blocks()849 if (S_ISBLK(inode->i_mode)) { in fd_init_prot()
25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
218 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_iget()263 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __sysv_write_inode()
56 } else if (S_ISBLK(st.st_mode)) { in get_file_size()
228 if (S_ISBLK(st.st_mode)) { in get_file_size()
145 else if (S_ISBLK(buf.ust_mode)) in os_file_type()318 if (S_ISBLK(buf.ust_mode)) { in os_file_size()
282 if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && in sync_file_range()
289 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) { in fs_lookup_param()
62 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in __get_inode_rdev()89 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in __set_inode_rdev()466 } else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in f2fs_iget()
243 else if (S_ISBLK(mode)) in hfsplus_readdir()491 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
594 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode()641 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode()741 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs1_update_inode()781 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs2_update_inode()
562 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V1_minix_update_inode()591 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V2_minix_update_inode()
214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
299 if (!S_ISBLK(stat->mode)) in dev_mynode()
208 if ((!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { in fsg_lun_open()
273 if (!S_ISCHR(mode) && !S_ISBLK(mode) && in xchk_dinode()
2388 if (S_ISBLK(inode->i_mode)) { in setup_swap_extents()2661 if (S_ISBLK(inode->i_mode)) { in SYSCALL_DEFINE1()2770 S_ISBLK(file_inode(file)->i_mode) ? in swap_show()2878 if (S_ISBLK(inode->i_mode)) { in claim_swapfile()3314 if (inode && S_ISBLK(inode->i_mode) && p->bdev) { in SYSCALL_DEFINE2()
61 if (S_ISBLK(mode)) in unixmode2p9mode()1383 if (S_ISBLK(mode)) in v9fs_vfs_mknod()
1084 if (!S_ISCHR(mode) && !S_ISBLK(mode)) in cifs_make_node()1133 } else if (S_ISBLK(mode)) { in cifs_make_node()
152 if (S_ISCHR(type) || S_ISBLK(type)) in encode_fattr()