/linux-6.6.21/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()
|
/linux-6.6.21/drivers/target/ |
D | target_core_file.c | 94 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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | stat.h | 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/linux-6.6.21/include/uapi/linux/ |
D | stat.h | 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/linux-6.6.21/fs/sysv/ |
D | inode.c | 216 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()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | storage_common.c | 209 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()
|
/linux-6.6.21/tools/include/nolibc/ |
D | types.h | 38 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/linux-6.6.21/drivers/md/ |
D | md-autodetect.c | 155 if (init_stat(comp_name, &stat, 0) == 0 && S_ISBLK(stat.mode)) in md_setup_drive()
|
/linux-6.6.21/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()
|
/linux-6.6.21/init/ |
D | do_mounts_rd.c | 181 if (!S_ISBLK(inode->i_mode)) in nr_blocks()
|
/linux-6.6.21/fs/ |
D | sync.c | 273 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()
|
/linux-6.6.21/fs/pstore/ |
D | blk.c | 219 if (!S_ISBLK(file_inode(psblk_file)->i_mode)) { in __register_pstore_blk()
|
/linux-6.6.21/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()
|
/linux-6.6.21/fs/f2fs/ |
D | inode.c | 68 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in __get_inode_rdev() 97 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in __set_inode_rdev() 626 } else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in f2fs_iget()
|
/linux-6.6.21/fs/ufs/ |
D | inode.c | 596 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()
|
/linux-6.6.21/fs/minix/ |
D | inode.c | 593 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()
|
/linux-6.6.21/security/tomoyo/ |
D | audit.c | 214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
|
/linux-6.6.21/drivers/base/ |
D | devtmpfs.c | 296 if (!S_ISBLK(stat->mode)) in dev_mynode()
|
/linux-6.6.21/drivers/block/ |
D | loop.c | 192 if (S_ISBLK(inode->i_mode)) in __loop_update_dio() 527 return i && S_ISBLK(i->i_mode) && imajor(i) == LOOP_MAJOR; in is_loop_device() 550 if (!S_ISREG(inode->i_mode) && !S_ISBLK(inode->i_mode)) in loop_validate_file() 769 if (S_ISBLK(inode->i_mode)) { in loop_config_discard()
|
/linux-6.6.21/io_uring/ |
D | rw.c | 193 if (!S_ISBLK(mode) && !S_ISREG(mode)) in io_rw_should_reissue() 666 S_ISBLK(file_inode(req->file)->i_mode); in need_complete_io()
|
/linux-6.6.21/mm/ |
D | swapfile.c | 2258 if (S_ISBLK(inode->i_mode)) { in setup_swap_extents() 2533 if (S_ISBLK(inode->i_mode)) { in SYSCALL_DEFINE1() 2646 S_ISBLK(file_inode(file)->i_mode) ? in swap_show() 2766 if (S_ISBLK(inode->i_mode)) { in claim_swapfile() 3209 if (inode && S_ISBLK(inode->i_mode) && p->bdev) { in SYSCALL_DEFINE2()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 34 #define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK) macro 791 if (S_ISDIR(mode) || S_ISCHR(mode) || S_ISBLK(mode) || S_ISFIFO(mode) || in kprobe_ret__do_filp_open()
|