Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Dismounted.c58 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
73 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
249 S_ISBLK(st_buf.st_mode)) in is_swap_device()
276 S_ISBLK(st_buf.st_mode) && in is_swap_device()
330 !S_ISBLK(st_buf.st_mode)) in ext2fs_check_mount_point()
Dfinddev.c102 if (S_ISBLK(st.st_mode) && st.st_rdev == device) { in scan_dir()
Dmkjournal.c407 if (!S_ISBLK(st.st_mode)) in ext2fs_add_journal_device()
/external/e2fsprogs/misc/
Dismounted.c92 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
120 if (S_ISBLK(st_buf.st_mode)) { in check_mntent_file()
Dutil.c102 if (!S_ISBLK(s.st_mode) && !S_ISCHR(s.st_mode)) in check_plausibility()
104 if (!S_ISBLK(s.st_mode)) in check_plausibility()
/external/openssl/crypto/rand/
Drandfile.c192 #if defined(S_ISBLK) && defined(S_ISCHR) in RAND_write_file()
193 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) { in RAND_write_file()
/external/llvm/lib/Support/
DMemoryBuffer.cpp41 #ifndef S_ISBLK
42 #define S_ISBLK(x) (0) macro
352 if (!S_ISREG(FileInfo.st_mode) && !S_ISBLK(FileInfo.st_mode)) { in getOpenFile()
/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/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/kernel-headers/original/linux/
Dstat.h28 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) macro
/external/e2fsprogs/lib/blkid/
Dgetsize.c145 if ((fstat(fd, &st) >= 0) && (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()
Ddevname.c232 if (stat(device, &st) == 0 && S_ISBLK(st.st_mode) && in probe_one()
/external/grub/lib/
Ddevice.c466 if (S_ISBLK (st.st_mode) in check_device()
838 return S_ISBLK (st.st_mode); in is_disk_device()
/external/yaffs2/yaffs2/utils/
Dmkyaffsimage.c416 S_ISBLK(stats.st_mode) || in process_directory()
502 else if(S_ISBLK(stats.st_mode)) in process_directory()
Dmkyaffs2image.c403 S_ISBLK(stats.st_mode) || in process_directory()
493 else if(S_ISBLK(stats.st_mode)) in process_directory()
/external/qemu/block/
Draw-posix.c588 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_getlength()
831 (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) { in hdev_probe_device()
987 else if (!S_ISBLK(stat_buf.st_mode) && !S_ISCHR(stat_buf.st_mode)) in hdev_create()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
DSDL_syscdrom.c75 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
DSDL_syscdrom.c78 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
DSDL_syscdrom.c83 if (S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode)) in CheckDrive()
/external/e2fsprogs/ext2ed/
Dinode_com.c265 if (S_ISBLK (type_data.u.t_ext2_inode.i_mode)) in type_ext2_inode___show()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
DSDL_syscdrom.c131 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
DSDL_syscdrom.c84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive()
/external/valgrind/main/include/vki/
Dvki-darwin.h116 #define VKI_S_ISBLK(m) S_ISBLK(m)

12