Home
last modified time | relevance | path

Searched refs:S_ISBLK (Results 1 – 25 of 59) sorted by relevance

123

/linux-3.4.99/init/
Ddo_mounts.h28 if (!S_ISBLK(stat.st_mode)) in bstat()
40 if (!S_ISBLK(stat.st_mode)) in bstat()
Dinitramfs.c324 } else if (S_ISBLK(mode) || S_ISCHR(mode) || in do_name()
/linux-3.4.99/include/linux/
Ddevice_cgroup.h10 if (!S_ISBLK(inode->i_mode) && !S_ISCHR(inode->i_mode)) in devcgroup_inode_permission()
Dstat.h28 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/linux-3.4.99/security/
Ddevice_cgroup.c480 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()
/linux-3.4.99/fs/hpfs/
Dinode.c95 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()
/linux-3.4.99/drivers/target/
Dtarget_core_file.c173 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()
/linux-3.4.99/fs/sysv/
Dinode.c238 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()
/linux-3.4.99/arch/um/os-Linux/
Dfile.c142 else if (S_ISBLK(buf.ust_mode)) in os_file_type()
281 if (S_ISBLK(buf.ust_mode)) { in os_file_size()
/linux-3.4.99/fs/ufs/
Dinode.c617 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()
/linux-3.4.99/fs/
Dsync.c326 if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && in SYSCALL_DEFINE()
Dinode.c541 if (S_ISBLK(inode->i_mode) && inode->i_bdev) in evict()
1692 } else if (S_ISBLK(mode)) { in init_special_inode()
/linux-3.4.99/drivers/block/
Dloop.c606 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()
/linux-3.4.99/mm/
Dswapfile.c1437 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()
Dfilemap_xip.c419 ret = generic_write_checks(filp, &pos, &count, S_ISBLK(inode->i_mode)); in xip_file_write()
/linux-3.4.99/fs/minix/
Dinode.c553 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()
/linux-3.4.99/drivers/base/
Ddevtmpfs.c293 if (!S_ISBLK(stat->mode)) in dev_mynode()
/linux-3.4.99/security/tomoyo/
Daudit.c204 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
/linux-3.4.99/fs/hfsplus/
Dcatalog.c88 else if (S_ISBLK(inode->i_mode) || S_ISCHR(inode->i_mode)) in hfsplus_cat_set_perms()
Ddir.c449 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
/linux-3.4.99/fs/9p/
Dvfs_inode.c76 if (S_ISBLK(mode)) in unixmode2p9mode()
1433 if (S_ISBLK(mode)) in v9fs_vfs_mknod()
/linux-3.4.99/drivers/usb/gadget/
Dstorage_common.c659 if (!inode || (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { in fsg_lun_open()
/linux-3.4.99/fs/cifs/
Ddir.c466 } else if (S_ISBLK(mode)) { in cifs_mknod()
/linux-3.4.99/fs/nfsd/
Dnfsxdr.c163 if (S_ISCHR(type) || S_ISBLK(type)) in encode_fattr()
/linux-3.4.99/fs/exofs/
Dinode.c1186 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()

123