/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_leaf.c | 29 struct xfs_dir3_icleaf_hdr *leafhdr); 106 struct xfs_dir3_icleaf_hdr leafhdr; local 108 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); 110 if (leafhdr.magic == XFS_DIR3_LEAF1_MAGIC) { 114 } else if (leafhdr.magic != XFS_DIR2_LEAF1_MAGIC) 117 return xfs_dir3_leaf_check_int(dp->i_mount, &leafhdr, leaf, false); 200 struct xfs_dir3_icleaf_hdr leafhdr; local 207 xfs_dir2_leaf_hdr_from_disk(mp, &leafhdr, bp->b_addr); 208 return xfs_dir3_leaf_check_int(mp, &leafhdr, bp->b_addr, true); 403 struct xfs_dir3_icleaf_hdr leafhdr; local 491 xfs_dir3_leaf_find_stale( struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_dir2_leaf_entry *ents, int index, int *lowstale, int *highstale) argument 522 xfs_dir3_leaf_find_entry( struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_dir2_leaf_entry *ents, int index, int compact, int lowstale, int highstale, int *lfloglow, int *lfloghigh) argument 618 struct xfs_dir3_icleaf_hdr leafhdr; local 921 xfs_dir3_leaf_compact( xfs_da_args_t *args, struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp) argument 975 xfs_dir3_leaf_compact_x1( struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_dir2_leaf_entry *ents, int *indexp, int *lowstalep, int *highstalep, int *lowlogp, int *highlogp) argument 1171 struct xfs_dir3_icleaf_hdr leafhdr; local 1215 xfs_dir2_leaf_lookup_int( xfs_da_args_t *args, struct xfs_buf **lbpp, int *indexp, struct xfs_buf **dbpp, struct xfs_dir3_icleaf_hdr *leafhdr) argument 1367 struct xfs_dir3_icleaf_hdr leafhdr; local 1507 struct xfs_dir3_icleaf_hdr leafhdr; local 1558 struct xfs_dir3_icleaf_hdr leafhdr; local 1697 struct xfs_dir3_icleaf_hdr leafhdr; local [all...] |
H A D | xfs_dir2_node.c | 66 struct xfs_dir3_icleaf_hdr leafhdr; local 68 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); 70 if (leafhdr.magic == XFS_DIR3_LEAFN_MAGIC) { 74 } else if (leafhdr.magic != XFS_DIR2_LEAFN_MAGIC) 77 return xfs_dir3_leaf_check_int(dp->i_mount, &leafhdr, leaf, false); 501 struct xfs_dir3_icleaf_hdr leafhdr; local 514 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); 515 ents = leafhdr.ents; 534 if (leafhdr.count == args->geo->leaf_max_ents) { 535 if (!leafhdr 608 struct xfs_dir3_icleaf_hdr leafhdr; local 650 struct xfs_dir3_icleaf_hdr leafhdr; local 801 struct xfs_dir3_icleaf_hdr leafhdr; local 1288 struct xfs_dir3_icleaf_hdr leafhdr; local 1504 struct xfs_dir3_icleaf_hdr leafhdr; local 2232 struct xfs_dir3_icleaf_hdr leafhdr; local [all...] |
H A D | xfs_dir2_priv.h | 105 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp); 106 extern void xfs_dir3_leaf_compact_x1(struct xfs_dir3_icleaf_hdr *leafhdr, 124 xfs_dir3_leaf_find_entry(struct xfs_dir3_icleaf_hdr *leafhdr,
|
H A D | xfs_dir2_block.c | 947 struct xfs_dir3_icleaf_hdr leafhdr; local 955 xfs_dir2_leaf_hdr_from_disk(mp, &leafhdr, leaf); 958 ASSERT(leafhdr.magic == XFS_DIR2_LEAF1_MAGIC || 959 leafhdr.magic == XFS_DIR3_LEAF1_MAGIC); 996 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); 1027 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); 1034 for (from = to = 0; from < leafhdr.count; from++) { 1035 if (leafhdr [all...] |
H A D | xfs_da_btree.c | 722 struct xfs_dir3_icleaf_hdr leafhdr; local 725 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); 727 ASSERT(leafhdr.magic == XFS_DIR2_LEAFN_MAGIC || 728 leafhdr.magic == XFS_DIR3_LEAFN_MAGIC); 729 size = (int)((char *)&leafhdr.ents[leafhdr.count] - 2341 struct xfs_dir3_icleaf_hdr leafhdr; local 2345 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, 2347 ents = leafhdr.ents; 2349 dead_hash = be32_to_cpu(ents[leafhdr [all...] |
H A D | xfs_attr_leaf.c | 243 struct xfs_attr3_icleaf_hdr *leafhdr, 262 if (nameidx < leafhdr->firstused || nameidx >= mp->m_attr_geo->blksize) 943 struct xfs_attr3_icleaf_hdr leafhdr; local 949 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); 953 for (i = 0; i < leafhdr.count; entry++, i++) { 239 xfs_attr3_leaf_verify_entry( struct xfs_mount *mp, char *buf_end, struct xfs_attr_leafblock *leaf, struct xfs_attr3_icleaf_hdr *leafhdr, struct xfs_attr_leaf_entry *ent, int idx, __u32 *last_hashval) argument
|
/linux-master/fs/xfs/scrub/ |
H A D | attr.c | 280 struct xfs_attr3_icleaf_hdr *leafhdr) 290 leafhdr->freemap[i].base, 291 leafhdr->freemap[i].size)) 309 struct xfs_attr3_icleaf_hdr *leafhdr, 332 if (nameidx < leafhdr->firstused || 368 struct xfs_attr3_icleaf_hdr leafhdr; local 403 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); 406 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) 408 if (leafhdr.firstused > mp->m_attr_geo->blksize) 410 if (leafhdr 278 xchk_xattr_check_freemap( struct xfs_scrub *sc, struct xfs_attr3_icleaf_hdr *leafhdr) argument 304 xchk_xattr_entry( struct xchk_da_btree *ds, int level, char *buf_end, struct xfs_attr_leafblock *leaf, struct xfs_attr3_icleaf_hdr *leafhdr, struct xfs_attr_leaf_entry *ent, int idx, unsigned int *usedbytes, __u32 *last_hashval) argument [all...] |
H A D | dir.c | 457 struct xfs_dir3_icleaf_hdr leafhdr; local 479 xfs_dir2_leaf_hdr_from_disk(sc->ip->i_mount, &leafhdr, leaf); 505 if (leafhdr.count > geo->leaf_max_ents) { 511 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { 517 for (i = 0; i < leafhdr.count; i++) { 518 hash = be32_to_cpu(leafhdr.ents[i].hashval); 522 if (leafhdr.ents[i].address == 526 if (leafhdr.stale != stale)
|
/linux-master/fs/xfs/ |
H A D | xfs_attr_list.c | 294 struct xfs_attr3_icleaf_hdr leafhdr; local 334 &leafhdr, leaf); 337 entries[leafhdr.count - 1].hashval)) { 378 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); 379 if (context->seen_enough || leafhdr.forw == 0) 381 cursor->blkno = leafhdr.forw;
|