Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Dismounted.c102 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
117 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
297 S_ISBLK(st_buf.st_mode)) in is_swap_device()
324 S_ISBLK(st_buf.st_mode) && in is_swap_device()
378 if (stat(device, &st_buf) == 0 && S_ISBLK(st_buf.st_mode)) { in ext2fs_check_mount_point()
Dfinddev.c103 if (S_ISBLK(st.st_mode) && st.st_rdev == device) { in scan_dir()
Dunix_io.c545 if (S_ISBLK(st.st_mode)) in unix_open()
608 (S_ISBLK(st.st_mode))) { in unix_open()
/external/e2fsprogs/misc/
Dismounted.c94 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
122 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
Dutil.c97 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) in check_plausibility()
99 if (!S_ISBLK(s.st_mode)) in check_plausibility()
/external/bison/lib/
Dsys_stat.in.h86 # undef S_ISBLK
99 #ifndef S_ISBLK
101 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
103 # define S_ISBLK(m) 0
/external/f2fs-tools/mkfs/
Df2fs_format_utils.c56 } else if (S_ISBLK(stat_buf.st_mode)) { in f2fs_trim_device()
/external/kernel-headers/original/uapi/linux/
Dstat.h23 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/external/fio/lib/
Dlinux-dev-lookup.c43 if (!S_ISBLK(st.st_mode)) in blktrace_lookup_device()
/external/toybox/toys/other/
Dmountpoint.c39 if (S_ISBLK(st1.st_mode)) { in mountpoint_main()
/external/bison/linux-lib/sys/
Dstat.h398 # undef S_ISBLK
411 #ifndef S_ISBLK
413 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
415 # define S_ISBLK(m) 0 macro
/external/bison/darwin-lib/sys/
Dstat.h398 # undef S_ISBLK
411 #ifndef S_ISBLK
413 # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
415 # define S_ISBLK(m) 0 macro
/external/vboot_reference/futility/
Dfile_type.c94 if (S_ISREG(sb.st_mode) || S_ISBLK(sb.st_mode)) { in futil_file_type()
Dmisc.c247 if (S_ISBLK(sb.st_mode)) in futil_map_file()
/external/bsdiff/
Dfile.cc102 if (S_ISBLK(stbuf.st_mode)) { in GetSize()
/external/f2fs-tools/lib/
Dlibf2fs.c409 if (stat(c->device_name, &st_buf) == 0 && S_ISBLK(st_buf.st_mode)) { in f2fs_dev_is_umounted()
461 } else if (S_ISBLK(stat_buf.st_mode)) { in f2fs_get_device_info()
/external/e2fsprogs/lib/blkid/
Dgetsize.c151 (S_ISBLK(st.st_mode) || S_ISCHR(st.st_mode))) in blkid_get_dev_size()
Ddevno.c118 if (S_ISBLK(st.st_mode) && st.st_rdev == devno) { in blkid__scan_dir()
/external/toybox/toys/posix/
Dls.c144 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) { in entrylen()
275 else if (S_ISBLK(mode) || S_ISCHR(mode)) color = 256+33; in color_from_mode()
455 if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) in listfiles()
/external/toybox/toys/pending/
Dtest.c68 if (id == 0) toys.exitval = !S_ISBLK(st.st_mode); // b in test_main()
Dfile.c212 } else if (S_ISBLK(sb.st_mode)) what = "block special"; in do_file()
/external/f2fs-tools/tools/
Dfibmap.c68 if (S_ISBLK(bdev_stat.st_mode)) { in stat_bdev()
/external/strace/tests/
Dxstatx.c148 else if (S_ISBLK(mode)) in print_ftype()
/external/vboot_reference/cgpt/
Dcgpt_find.c191 if (!S_ISBLK(statbuf.st_mode)) in is_wholedev()
/external/selinux/libselinux/src/
Dstringrep.c208 if (S_ISBLK(m)) in mode_to_security_class()

12