Lines Matching refs:stat
371 struct fs_dirent stat; in testfs_bcmd_verify_layout() local
373 rc = fs_readdir(&dir, &stat); in testfs_bcmd_verify_layout()
380 if (stat.name[0] == '\0') { in testfs_bcmd_verify_layout()
386 cp = testfs_bcmd_find(&stat, scp, ecp); in testfs_bcmd_verify_layout()
388 bool dotdir = ((stat.type == FS_DIR_ENTRY_DIR) in testfs_bcmd_verify_layout()
389 && ((strcmp(stat.name, ".") == 0) in testfs_bcmd_verify_layout()
390 || (strcmp(stat.name, "..") == 0))); in testfs_bcmd_verify_layout()
393 stat.name, in testfs_bcmd_verify_layout()
394 (stat.type == FS_DIR_ENTRY_FILE) ? "" : "/", in testfs_bcmd_verify_layout()
398 stat.size); in testfs_bcmd_verify_layout()
404 rc = check_layout_entry(pp, &stat, cp, ecp); in testfs_bcmd_verify_layout()