Lines Matching refs:stat_buf
1010 struct stat stat_buf; in _deallocate_dev() local
1053 if (stat(fname, &stat_buf) != 0) { in _deallocate_dev()
1081 if (!(optflag & FORCE) && stat_buf.st_uid != uid && in _deallocate_dev()
1082 DEV_ALLOCATED(stat_buf)) { in _deallocate_dev()
1086 if (!DEV_ALLOCATED(stat_buf)) { in _deallocate_dev()
1087 if (DEV_ERRORED(stat_buf)) { in _deallocate_dev()
1098 if ((*lock_fd = lock_dev(fname, &stat_buf)) == -1) { in _deallocate_dev()
1130 nuid = (stat_buf.st_uid == uid) ? uid : stat_buf.st_uid; in _deallocate_dev()
1160 struct stat stat_buf; in _allocate_dev() local
1200 if (stat(fname, &stat_buf) != 0) { in _allocate_dev()
1206 if (DEV_ERRORED(stat_buf)) { in _allocate_dev()
1234 if (DEV_ALLOCATED(stat_buf)) { in _allocate_dev()
1247 } else if (stat_buf.st_uid == uid) { in _allocate_dev()
1256 if ((*lock_fd = lock_dev(fname, &stat_buf)) == -1) { in _allocate_dev()