Home
last modified time | relevance | path

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

1234

/openbmc/linux/include/linux/
H A Ddevice_cgroup.h24 if (S_ISBLK(inode->i_mode)) in devcgroup_inode_permission()
44 if (!S_ISBLK(mode) && !S_ISCHR(mode)) in devcgroup_inode_mknod()
50 if (S_ISBLK(mode)) in devcgroup_inode_mknod()
/openbmc/linux/drivers/target/
H A Dtarget_core_file.c94 if (S_ISBLK(inode->i_mode)) in fd_configure_unmap()
154 if (S_ISBLK(inode->i_mode)) { in fd_configure_device()
354 if (S_ISBLK(file_inode(fd)->i_mode)) { in fd_do_rw()
553 if (S_ISBLK(inode->i_mode)) { in fd_execute_unmap()
819 if (S_ISBLK(i->i_mode)) in fd_get_blocks()
842 if (S_ISBLK(inode->i_mode)) { in fd_init_prot()
/openbmc/linux/fs/hpfs/
H A Dinode.c98 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()
/openbmc/linux/tools/include/uapi/linux/
H A Dstat.h25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/openbmc/linux/include/uapi/linux/
H A Dstat.h25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h256 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/openbmc/u-boot/include/linux/
H A Dstat.h26 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libyui/libyui-ncurses/
H A D0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch108 if ( S_ISREG( statInfo.st_mode ) || S_ISBLK( statInfo.st_mode ) )
117 if ( S_ISREG( linkInfo.st_mode ) || S_ISBLK( linkInfo.st_mode ) )
/openbmc/linux/fs/sysv/
H A Dinode.c216 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_iget()
261 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __sysv_write_inode()
/openbmc/linux/drivers/usb/gadget/function/
H A Dstorage_common.c209 if ((!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { in fsg_lun_open()
235 } else if (S_ISBLK(inode->i_mode)) { in fsg_lun_open()
/openbmc/linux/tools/include/nolibc/
H A Dtypes.h38 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/openbmc/qemu/block/
H A Dfile-posix.c265 if (!S_ISBLK(sb.st_mode)) { in raw_normalize_devicepath()
497 if (!S_ISBLK(st.st_mode)) { in check_hdev_writable()
762 if (!(S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) { in raw_open_common()
783 if (S_ISBLK(st.st_mode)) { in raw_open_common()
1200 if (S_ISBLK(st->st_mode)) { in hdev_get_max_hw_transfer()
1226 if (!S_ISBLK(st->st_mode)) { in get_sysfs_str_val()
1509 if (bdrv_is_sg(bs) || S_ISBLK(st.st_mode)) { in raw_refresh_limits()
2678 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_co_truncate()
2705 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_getlength()
2724 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_getlength()
[all …]
/openbmc/linux/drivers/md/
H A Dmd-autodetect.c155 if (init_stat(comp_name, &stat, 0) == 0 && S_ISBLK(stat.mode)) in md_setup_drive()
/openbmc/linux/arch/um/os-Linux/
H A Dfile.c149 else if (S_ISBLK(buf.ust_mode)) in os_file_type()
322 if (S_ISBLK(buf.ust_mode)) { in os_file_size()
/openbmc/linux/init/
H A Ddo_mounts_rd.c181 if (!S_ISBLK(inode->i_mode)) in nr_blocks()
/openbmc/linux/fs/pstore/
H A Dblk.c219 if (!S_ISBLK(file_inode(psblk_file)->i_mode)) { in __register_pstore_blk()
/openbmc/linux/fs/
H A Dsync.c273 if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && in sync_file_range()
H A Dinit.c149 else if (!(S_ISBLK(mode) || S_ISCHR(mode))) in init_mknod()
H A Dfs_parser.c176 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) { in fs_lookup_param()
/openbmc/linux/fs/hfsplus/
H A Ddir.c243 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()
/openbmc/linux/fs/f2fs/
H A Dinode.c76 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()
611 } else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in f2fs_iget()
/openbmc/linux/fs/ufs/
H A Dinode.c596 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode()
643 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode()
744 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs1_update_inode()
785 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs2_update_inode()
/openbmc/linux/fs/minix/
H A Dinode.c593 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V1_minix_update_inode()
622 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V2_minix_update_inode()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsstatesig.py568 elif stat.S_ISBLK(s.st_mode):
621 if stat.S_ISBLK(s.st_mode) or stat.S_ISCHR(s.st_mode):
/openbmc/linux/security/tomoyo/
H A Daudit.c214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()

1234