Home
last modified time | relevance | path

Searched refs:nvalid (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_da_format.c643 to->nvalid = be32_to_cpu(from->hdr.nvalid); in xfs_dir2_free_hdr_from_disk()
657 to->hdr.nvalid = cpu_to_be32(from->nvalid); in xfs_dir2_free_hdr_to_disk()
670 to->nvalid = be32_to_cpu(hdr3->nvalid); in xfs_dir3_free_hdr_from_disk()
687 hdr3->nvalid = cpu_to_be32(from->nvalid); in xfs_dir3_free_hdr_to_disk()
Dxfs_da_format.h497 __be32 nvalid; /* count of valid entries */ member
510 __be32 nvalid; /* count of valid entries */ member
531 uint32_t nvalid; member
Dxfs_dir2_node.c175 if (be32_to_cpu(hdr3->nvalid) > maxbests) in xfs_dir3_free_header_check()
177 if (be32_to_cpu(hdr3->nvalid) < be32_to_cpu(hdr3->nused)) in xfs_dir3_free_header_check()
184 if (be32_to_cpu(hdr->nvalid) > maxbests) in xfs_dir3_free_header_check()
186 if (be32_to_cpu(hdr->nvalid) < be32_to_cpu(hdr->nused)) in xfs_dir3_free_header_check()
395 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()
398 xfs_dir2_free_log_bests(args, fbp, 0, freehdr.nvalid - 1); in xfs_dir2_leaf_to_node()
517 ASSERT(db < hdr.firstdb + hdr.nvalid); in xfs_dir2_free_hdr_check()
1147 if (findex == freehdr.nvalid - 1) { in xfs_dir3_data_block_free()
1154 freehdr.nvalid = i + 1; in xfs_dir3_data_block_free()
1708 if (*findex >= freehdr.nvalid) { in xfs_dir2_node_add_datablk()
[all …]
Dxfs_dir2_leaf.c1720 if (xfs_dir3_leaf_size(&leafhdr, freehdr.nvalid) > args->geo->blksize) { in xfs_dir2_node_to_leaf()
1741 ltp->bestcount = cpu_to_be32(freehdr.nvalid); in xfs_dir2_node_to_leaf()
1747 freehdr.nvalid * sizeof(xfs_dir2_data_off_t)); in xfs_dir2_node_to_leaf()
/Linux-v5.4/fs/xfs/scrub/
Ddir.c600 for (i = 0; i < freehdr.nvalid; i++, bestp++) { in xchk_directory_free_bestfree()
616 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()