/kernel/linux/linux-5.10/include/linux/ |
D | device_cgroup.h | 24 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()
|
/kernel/linux/linux-5.10/fs/hpfs/ |
D | inode.c | 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()
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_file.c | 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()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | stat.h | 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | stat.h | 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | stat.h | 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | stat.h | 38 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/kernel/linux/linux-5.10/fs/sysv/ |
D | inode.c | 217 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_iget() 262 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __sysv_write_inode()
|
/kernel/linux/linux-5.10/tools/io_uring/ |
D | io_uring-cp.c | 56 } else if (S_ISBLK(st.st_mode)) { in get_file_size()
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
D | file.c | 149 else if (S_ISBLK(buf.ust_mode)) in os_file_type() 322 if (S_ISBLK(buf.ust_mode)) { in os_file_size()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | md-autodetect.c | 155 if (init_stat(comp_name, &stat, 0) == 0 && S_ISBLK(stat.mode)) in md_setup_drive()
|
/kernel/linux/linux-5.10/init/ |
D | do_mounts_rd.c | 181 if (!S_ISBLK(inode->i_mode)) in nr_blocks()
|
/kernel/linux/linux-5.10/drivers/hyperhold/ |
D | hp_device.c | 61 if (!S_ISBLK(inode->i_mode)) { in bind_bdev()
|
/kernel/linux/linux-5.10/fs/sharefs/ |
D | lookup.c | 134 if (S_ISBLK(lower_inode->i_mode) || S_ISCHR(lower_inode->i_mode) || in sharefs_iget()
|
/kernel/linux/linux-5.10/fs/ |
D | sync.c | 287 if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && in sync_file_range()
|
D | init.c | 149 else if (!(S_ISBLK(mode) || S_ISCHR(mode))) in init_mknod()
|
D | fs_parser.c | 176 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) { in fs_lookup_param()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
D | dir.c | 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()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | inode.c | 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() 521 } else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in f2fs_iget()
|
/kernel/linux/linux-5.10/fs/ufs/ |
D | inode.c | 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()
|
/kernel/linux/linux-5.10/fs/minix/ |
D | inode.c | 596 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V1_minix_update_inode() 625 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V2_minix_update_inode()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
D | audit.c | 214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | devtmpfs.c | 297 if (!S_ISBLK(stat->mode)) in dev_mynode()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | storage_common.c | 208 if ((!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode))) { in fsg_lun_open()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | loop.c | 657 return i && S_ISBLK(i->i_mode) && MAJOR(i->i_rdev) == LOOP_MAJOR; in is_loop_device() 678 if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) in loop_validate_file() 878 if (S_ISBLK(inode->i_mode) && !lo->lo_encrypt_key_size) { in loop_config_discard() 1164 set_blocksize(bdev, S_ISBLK(inode->i_mode) ? in loop_configure()
|