Searched refs:S_ISBLK (Results 1 – 25 of 59) sorted by relevance
123
28 if (!S_ISBLK(stat.st_mode)) in bstat()40 if (!S_ISBLK(stat.st_mode)) in bstat()
324 } else if (S_ISBLK(mode) || S_ISCHR(mode) || in do_name()
10 if (!S_ISBLK(inode->i_mode) && !S_ISCHR(inode->i_mode)) in devcgroup_inode_permission()
28 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
480 if ((wh->type & DEV_BLOCK) && !S_ISBLK(inode->i_mode)) in __devcgroup_inode_permission()508 if (!S_ISBLK(mode) && !S_ISCHR(mode)) in devcgroup_inode_mknod()518 if ((wh->type & DEV_BLOCK) && !S_ISBLK(mode)) in devcgroup_inode_mknod()
95 if (S_ISBLK(mode) || S_ISCHR(mode)) { in hpfs_read_inode()102 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()172 if (S_ISBLK(i->i_mode) || S_ISCHR(i->i_mode)) { in hpfs_write_inode_ea()
173 if (S_ISBLK(inode->i_mode)) { in fd_create_virtdevice()318 if (S_ISBLK(fd->f_dentry->d_inode->i_mode)) { in fd_do_readv()612 if (S_ISBLK(i->i_mode)) in fd_get_blocks()
238 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_iget()283 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __sysv_write_inode()
142 else if (S_ISBLK(buf.ust_mode)) in os_file_type()281 if (S_ISBLK(buf.ust_mode)) { in os_file_size()
617 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode()666 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode()767 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs1_update_inode()807 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs2_update_inode()
326 if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && in SYSCALL_DEFINE()
541 if (S_ISBLK(inode->i_mode) && inode->i_bdev) in evict()1692 } else if (S_ISBLK(mode)) { in init_special_inode()
606 lo->lo_blocksize = S_ISBLK(mapping->host->i_mode) ? in do_loop_switch()649 if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) in loop_change_fd()676 return i && S_ISBLK(i->i_mode) && MAJOR(i->i_rdev) == LOOP_MAJOR; in is_loop_device()850 if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) in loop_set_fd()857 lo_blocksize = S_ISBLK(inode->i_mode) ? in loop_set_fd()
1437 if (S_ISBLK(inode->i_mode)) { in setup_swap_extents()1663 if (S_ISBLK(inode->i_mode)) { in SYSCALL_DEFINE1()1764 S_ISBLK(file->f_path.dentry->d_inode->i_mode) ? in swap_show()1867 if (S_ISBLK(inode->i_mode)) { in claim_swapfile()2134 if (inode && S_ISBLK(inode->i_mode) && p->bdev) { in SYSCALL_DEFINE2()
419 ret = generic_write_checks(filp, &pos, &count, S_ISBLK(inode->i_mode)); in xip_file_write()
553 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V1_minix_update_inode()582 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V2_minix_update_inode()
293 if (!S_ISBLK(stat->mode)) in dev_mynode()
204 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
88 else if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) in hfsplus_cat_set_perms()
449 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
76 if (S_ISBLK(mode)) in unixmode2p9mode()1433 if (S_ISBLK(mode)) in v9fs_vfs_mknod()
659 if (!inode || (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { in fsg_lun_open()
466 } else if (S_ISBLK(mode)) { in cifs_mknod()
163 if (S_ISCHR(type) || S_ISBLK(type)) in encode_fattr()
1186 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in exofs_iget()1389 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in exofs_update_inode()