Home
last modified time | relevance | path

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

/system/core/adb/sysdeps/
Dstat.h53 #undef S_ISBLK
54 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) macro
/system/core/fs_mgr/libfiemap/
Dutility.cpp84 if (S_ISBLK(given.st_mode) && S_ISBLK(userdata.st_mode) && in GetDevicePathForFile()
/system/extras/tests/storage/
Dwipe_blkdev.c115 if (!S_ISBLK(statbuf.st_mode)) { in main()
/system/core/libdiskconfig/
Ddiskconfig.c250 if (S_ISBLK(stat.st_mode) && ((rv = ioctl(fd, BLKRRPART, NULL)) < 0)) { in sync_ptable()
298 if (S_ISBLK(stat.st_mode)) { in validate()
372 if (S_ISBLK(stat.st_mode) && total_size > disk_size) { in validate()
/system/extras/ext4_utils/
Dext4_utils.cpp236 return S_ISBLK(st.st_mode); in is_block_device_fd()
256 else if (S_ISBLK(buf.st_mode)) in get_file_size()
/system/update_engine/payload_consumer/
Dfile_descriptor.cc78 if (!S_ISBLK(stbuf.st_mode)) in BlockDevSize()
/system/extras/tests/directiotest/
Ddirectiotest.c196 } else if (!S_ISBLK(stat.st_mode)) { in main()
/system/core/fastboot/device/
Dutility.cpp168 if (!stat(path.c_str(), &s) && S_ISBLK(s.st_mode)) { in ListPartitions()
/system/core/fs_mgr/liblp/
Dutility.cpp54 if (S_ISBLK(s.st_mode)) { in GetDescriptorSize()
/system/extras/libfec/
Dfec_open.cpp374 if (S_ISBLK(st.st_mode)) { in get_size()
/system/update_engine/common/
Dutils.cc377 if (S_ISBLK(stbuf.st_mode)) in FileSize()
/system/libziparchive/
Dzip_archive.cc1117 if (!S_ISBLK(sb.st_mode)) { in Create()
/system/core/adb/client/
Dfile_sync_client.cpp78 return S_ISREG(mode) || S_ISBLK(mode) || S_ISCHR(mode); in should_pull_file()