/linux-6.3-rc2/include/linux/ |
A 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.3-rc2/drivers/target/ |
A 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() 352 if (S_ISBLK(file_inode(fd)->i_mode)) { in fd_do_rw() 549 if (S_ISBLK(inode->i_mode)) { in fd_execute_unmap() 815 if (S_ISBLK(i->i_mode)) in fd_get_blocks() 838 if (S_ISBLK(inode->i_mode)) { in fd_init_prot()
|
/linux-6.3-rc2/fs/hpfs/ |
A 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.3-rc2/include/uapi/linux/ |
A D | stat.h | 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | stat.h | 25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
|
/linux-6.3-rc2/fs/sysv/ |
A 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()
|
/linux-6.3-rc2/drivers/usb/gadget/function/ |
A 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.3-rc2/tools/include/nolibc/ |
A D | types.h | 31 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
|
/linux-6.3-rc2/drivers/md/ |
A D | md-autodetect.c | 154 if (init_stat(comp_name, &stat, 0) == 0 && S_ISBLK(stat.mode)) in md_setup_drive()
|
/linux-6.3-rc2/tools/io_uring/ |
A D | io_uring-cp.c | 56 } else if (S_ISBLK(st.st_mode)) { in get_file_size()
|
A D | io_uring-bench.c | 228 if (S_ISBLK(st.st_mode)) { in get_file_size()
|
/linux-6.3-rc2/arch/um/os-Linux/ |
A 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.3-rc2/init/ |
A D | do_mounts_rd.c | 181 if (!S_ISBLK(inode->i_mode)) in nr_blocks()
|
/linux-6.3-rc2/fs/pstore/ |
A D | blk.c | 219 if (!S_ISBLK(file_inode(psblk_file)->i_mode)) { in __register_pstore_blk()
|
/linux-6.3-rc2/fs/ |
A D | sync.c | 273 if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && in sync_file_range()
|
A D | init.c | 149 else if (!(S_ISBLK(mode) || S_ISCHR(mode))) in init_mknod()
|
A D | fs_parser.c | 176 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) { in fs_lookup_param()
|
/linux-6.3-rc2/fs/hfsplus/ |
A 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.3-rc2/fs/f2fs/ |
A D | inode.c | 66 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in __get_inode_rdev() 95 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in __set_inode_rdev() 563 } else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in f2fs_iget()
|
/linux-6.3-rc2/fs/ufs/ |
A D | inode.c | 595 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode() 642 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode() 742 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs1_update_inode() 782 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs2_update_inode()
|
/linux-6.3-rc2/fs/minix/ |
A D | inode.c | 597 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V1_minix_update_inode() 626 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V2_minix_update_inode()
|
/linux-6.3-rc2/drivers/base/ |
A D | devtmpfs.c | 305 if (!S_ISBLK(stat->mode)) in dev_mynode()
|
/linux-6.3-rc2/security/tomoyo/ |
A D | audit.c | 214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
|
/linux-6.3-rc2/io_uring/ |
A D | rw.c | 192 if (!S_ISBLK(mode) && !S_ISREG(mode)) in io_rw_should_reissue() 656 S_ISBLK(file_inode(req->file)->i_mode); in need_complete_io()
|
/linux-6.3-rc2/mm/ |
A D | swapfile.c | 2260 if (S_ISBLK(inode->i_mode)) { in setup_swap_extents() 2537 if (S_ISBLK(inode->i_mode)) { in SYSCALL_DEFINE1() 2650 S_ISBLK(file_inode(file)->i_mode) ? in swap_show() 2770 if (S_ISBLK(inode->i_mode)) { in claim_swapfile() 3221 if (inode && S_ISBLK(inode->i_mode) && p->bdev) { in SYSCALL_DEFINE2()
|