Home
last modified time | relevance | path

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

123

/external/e2fsprogs/lib/blkid/
DblkidP.h164 return S_ISBLK(mode) || S_ISCHR(mode); in blkidP_is_disk_device()
166 return S_ISBLK(mode); in blkidP_is_disk_device()
/external/python/cpython3/Modules/
D_stat.c91 #ifndef S_ISBLK
92 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
289 stat_S_ISFUNC(S_ISBLK,
358 if (S_ISBLK(mode)) return 'b'; in filetype()
/external/e2fsprogs/misc/
Dismounted.c95 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
123 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
/external/e2fsprogs/lib/ext2fs/
Dext2fsP.h23 return S_ISBLK(mode) || S_ISCHR(mode); in ext2fsP_is_disk_device()
25 return S_ISBLK(mode); in ext2fsP_is_disk_device()
/external/llvm-project/compiler-rt/test/msan/
Dfstat.cpp11 if (S_ISBLK(st.st_mode)) in main()
/external/ltp/testcases/kernel/io/disktest/
Dparse.h54 #define IS_BLK(x) S_ISBLK(x)
/external/toybox/toys/other/
Dmountpoint.c41 if (S_ISBLK(st1.st_mode)) { in mountpoint_main()
/external/python/cpython2/Lib/
Dstat.py46 def S_ISBLK(mode): function
/external/ltp/lib/
Dtst_device.c65 if (stat(path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_path()
258 if (!S_ISBLK(st.st_mode)) { in tst_acquire_device__()
/external/kernel-headers/original/uapi/linux/
Dstat.h25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/external/vboot_reference/futility/
Dfile_type.c94 if (S_ISREG(sb.st_mode) || S_ISBLK(sb.st_mode)) { in futil_file_type()
/external/bsdiff/
Dfile.cc98 if (S_ISBLK(stbuf.st_mode)) { in GetSize()
/external/python/cpython3/Lib/
Dstat.py58 def S_ISBLK(mode): function
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c84 } else if (S_ISBLK(stat_buf->st_mode)) { in trim_device()
/external/mtools/
Dmzip.c89 if (!S_ISBLK (st_dev.st_mode)) /* not a block device, cannot in test_mounted()
124 if (S_ISBLK (st_mnt.st_mode)) { in test_mounted()
Ddevices.h173 if (!S_ISBLK(statbuf.st_mode) || in UNUSED()
/external/toybox/toys/posix/
Dls.c147 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) { in entrylen()
240 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; in color_from_mode()
438 if (!zap && (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode))) in listfiles()
Dfile.c458 if (!fd && !FLAG(s) && (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode))) { in file_main()
460 S_ISBLK(sb.st_mode) ? "block" : "character", in file_main()
/external/fsck_msdos/
Dfsutil.c171 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt()
/external/f2fs-tools/lib/
Dlibf2fs.c793 if (stat(path, st_buf) == 0 && S_ISBLK(st_buf->st_mode)) { in f2fs_dev_is_umounted()
917 if (S_ISBLK(stat_buf->st_mode) && in get_device_info()
957 } else if (S_ISBLK(stat_buf->st_mode)) { in get_device_info()
1023 if (S_ISBLK(stat_buf->st_mode)) { in get_device_info()
/external/f2fs-tools/tools/
Dfibmap.c112 if (S_ISBLK(bdev_stat.st_mode)) { in stat_bdev()
/external/e2fsprogs/lib/support/
Dplausible.c216 if (S_ISBLK(s.st_mode)) in check_plausibility()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c275 if (!S_ISBLK(inode->i_mode)) in lookup_bdev()
/external/erofs-utils/fuse/
Dmain.c53 if (S_ISBLK(vi.i_mode) || S_ISCHR(vi.i_mode)) in erofsfuse_getattr()
/external/autotest/client/cros/storage_tests/
Dfio_test.py183 stat.S_ISBLK(os.stat(self.__filename).st_mode) and \

123