Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/include/linux/
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()
/linux-6.3-rc2/drivers/target/
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()
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 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()
/linux-6.3-rc2/include/uapi/linux/
A Dstat.h25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/linux-6.3-rc2/tools/include/uapi/linux/
A Dstat.h25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/linux-6.3-rc2/fs/sysv/
A Dinode.c217 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 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()
/linux-6.3-rc2/tools/include/nolibc/
A Dtypes.h31 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/linux-6.3-rc2/drivers/md/
A Dmd-autodetect.c154 if (init_stat(comp_name, &stat, 0) == 0 && S_ISBLK(stat.mode)) in md_setup_drive()
/linux-6.3-rc2/tools/io_uring/
A Dio_uring-cp.c56 } else if (S_ISBLK(st.st_mode)) { in get_file_size()
A Dio_uring-bench.c228 if (S_ISBLK(st.st_mode)) { in get_file_size()
/linux-6.3-rc2/arch/um/os-Linux/
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()
/linux-6.3-rc2/init/
A Ddo_mounts_rd.c181 if (!S_ISBLK(inode->i_mode)) in nr_blocks()
/linux-6.3-rc2/fs/pstore/
A Dblk.c219 if (!S_ISBLK(file_inode(psblk_file)->i_mode)) { in __register_pstore_blk()
/linux-6.3-rc2/fs/
A Dsync.c273 if (!S_ISREG(i_mode) && !S_ISBLK(i_mode) && !S_ISDIR(i_mode) && in sync_file_range()
A Dinit.c149 else if (!(S_ISBLK(mode) || S_ISCHR(mode))) in init_mknod()
A Dfs_parser.c176 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) { in fs_lookup_param()
/linux-6.3-rc2/fs/hfsplus/
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()
/linux-6.3-rc2/fs/f2fs/
A Dinode.c66 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 Dinode.c595 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 Dinode.c597 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 Ddevtmpfs.c305 if (!S_ISBLK(stat->mode)) in dev_mynode()
/linux-6.3-rc2/security/tomoyo/
A Daudit.c214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
/linux-6.3-rc2/io_uring/
A Drw.c192 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 Dswapfile.c2260 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()

Completed in 50 milliseconds

123