Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 4 of 4) sorted by relevance

/system/extras/tests/storage/
Dopentest.c32 struct stat statbuf; in main() local
49 if (stat(dir, &statbuf)) { in main()
54 if (! S_ISDIR(statbuf.st_mode)) { in main()
Dwipe_blkdev.c85 struct stat statbuf; in main() local
109 if (fstat(fd, &statbuf) < 0) { in main()
114 if (!S_ISBLK(statbuf.st_mode)) { in main()
/system/vold/
Dcryptfs.c249 struct stat statbuf; in put_crypt_ftr_and_key() local
275 fstat(fd, &statbuf); in put_crypt_ftr_and_key()
277 if (S_ISREG(statbuf.st_mode)) { in put_crypt_ftr_and_key()
379 struct stat statbuf; in get_crypt_ftr_and_key() local
395 fstat(fd, &statbuf); in get_crypt_ftr_and_key()
396 if (S_ISREG(statbuf.st_mode) && (statbuf.st_size != 0x4000)) { in get_crypt_ftr_and_key()
1076 struct stat statbuf; in cryptfs_restart() local
1317 struct stat statbuf; in cryptfs_setup_volume() local
1337 stat(crypto_blkdev, &statbuf); in cryptfs_setup_volume()
1338 *new_major = MAJOR(statbuf.st_rdev); in cryptfs_setup_volume()
[all …]
/system/core/logcat/
Dlogcat.cpp379 struct stat statbuf; in setupOutput() local
388 fstat(g_outFD, &statbuf); in setupOutput()
390 g_outByteCount = statbuf.st_size; in setupOutput()