Home
last modified time | relevance | path

Searched refs:leafhdr (Results 1 – 25 of 32) sorted by relevance

12

/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/xfs/libxfs/
H A Dxfs_dir2_leaf.c442 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, 0, leafhdr.count - 1); in xfs_dir2_block_to_leaf()
581 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
601 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
702 if (!leafhdr.stale) in xfs_dir2_leaf_addname()
943 leafhdr->ents[to] = leafhdr->ents[from]; in xfs_dir3_leaf_compact()
951 leafhdr->count -= leafhdr->stale; in xfs_dir3_leaf_compact()
952 leafhdr->stale = 0; in xfs_dir3_leaf_compact()
1403 leafhdr.stale++; in xfs_dir2_leaf_removename()
1558 for (lep = leafhdr.ents, low = 0, high = leafhdr.count - 1, in xfs_dir2_leaf_search_hash()
1767 if (leafhdr.stale) in xfs_dir2_node_to_leaf()
[all …]
H A Dxfs_dir2_node.c512 ents = leafhdr.ents; in xfs_dir2_leafn_add()
531 if (!leafhdr.stale) in xfs_dir2_leafn_add()
615 if (!leafhdr.count) in xfs_dir2_leaf_lasthash()
617 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
1308 leafhdr.stale++; in xfs_dir2_leafn_remove()
1409 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) < in xfs_dir2_leafn_remove()
1510 ents = leafhdr.ents; in xfs_dir2_leafn_toosmall()
1513 count = leafhdr.count - leafhdr.stale; in xfs_dir2_leafn_toosmall()
1549 forward = leafhdr.forw < leafhdr.back; in xfs_dir2_leafn_toosmall()
1553 blkno = forward ? leafhdr.forw : leafhdr.back; in xfs_dir2_leafn_toosmall()
[all …]
H A Dxfs_dir2_block.c945 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_leaf_to_block() local
953 xfs_dir2_leaf_hdr_from_disk(mp, &leafhdr, leaf); in xfs_dir2_leaf_to_block()
956 ASSERT(leafhdr.magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_to_block()
957 leafhdr.magic == XFS_DIR3_LEAF1_MAGIC); in xfs_dir2_leaf_to_block()
994 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1025 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1032 for (from = to = 0; from < leafhdr.count; from++) { in xfs_dir2_leaf_to_block()
1033 if (leafhdr.ents[from].address == in xfs_dir2_leaf_to_block()
1036 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()
H A Dxfs_dir2_priv.h105 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 Dxfs_da_btree.c685 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_root_split() local
688 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_da3_root_split()
690 ASSERT(leafhdr.magic == XFS_DIR2_LEAFN_MAGIC || in xfs_da3_root_split()
691 leafhdr.magic == XFS_DIR3_LEAFN_MAGIC); in xfs_da3_root_split()
692 size = (int)((char *)&leafhdr.ents[leafhdr.count] - in xfs_da3_root_split()
2316 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_swap_lastblock() local
2320 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, in xfs_da3_swap_lastblock()
2322 ents = leafhdr.ents; in xfs_da3_swap_lastblock()
2324 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/xfs/libxfs/
H A Dxfs_dir2_leaf.c442 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, 0, leafhdr.count - 1); in xfs_dir2_block_to_leaf()
581 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
601 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
702 if (!leafhdr.stale) in xfs_dir2_leaf_addname()
943 leafhdr->ents[to] = leafhdr->ents[from]; in xfs_dir3_leaf_compact()
951 leafhdr->count -= leafhdr->stale; in xfs_dir3_leaf_compact()
952 leafhdr->stale = 0; in xfs_dir3_leaf_compact()
1403 leafhdr.stale++; in xfs_dir2_leaf_removename()
1558 for (lep = leafhdr.ents, low = 0, high = leafhdr.count - 1, in xfs_dir2_leaf_search_hash()
1767 if (leafhdr.stale) in xfs_dir2_node_to_leaf()
[all …]
H A Dxfs_dir2_node.c512 ents = leafhdr.ents; in xfs_dir2_leafn_add()
531 if (!leafhdr.stale) in xfs_dir2_leafn_add()
615 if (!leafhdr.count) in xfs_dir2_leaf_lasthash()
617 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
1308 leafhdr.stale++; in xfs_dir2_leafn_remove()
1409 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) < in xfs_dir2_leafn_remove()
1510 ents = leafhdr.ents; in xfs_dir2_leafn_toosmall()
1513 count = leafhdr.count - leafhdr.stale; in xfs_dir2_leafn_toosmall()
1549 forward = leafhdr.forw < leafhdr.back; in xfs_dir2_leafn_toosmall()
1553 blkno = forward ? leafhdr.forw : leafhdr.back; in xfs_dir2_leafn_toosmall()
[all …]
H A Dxfs_dir2_block.c945 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_leaf_to_block() local
953 xfs_dir2_leaf_hdr_from_disk(mp, &leafhdr, leaf); in xfs_dir2_leaf_to_block()
956 ASSERT(leafhdr.magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_to_block()
957 leafhdr.magic == XFS_DIR3_LEAF1_MAGIC); in xfs_dir2_leaf_to_block()
994 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1025 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1032 for (from = to = 0; from < leafhdr.count; from++) { in xfs_dir2_leaf_to_block()
1033 if (leafhdr.ents[from].address == in xfs_dir2_leaf_to_block()
1036 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()
H A Dxfs_dir2_priv.h105 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 Dxfs_da_btree.c685 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_root_split() local
688 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_da3_root_split()
690 ASSERT(leafhdr.magic == XFS_DIR2_LEAFN_MAGIC || in xfs_da3_root_split()
691 leafhdr.magic == XFS_DIR3_LEAFN_MAGIC); in xfs_da3_root_split()
692 size = (int)((char *)&leafhdr.ents[leafhdr.count] - in xfs_da3_root_split()
2316 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_swap_lastblock() local
2320 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, in xfs_da3_swap_lastblock()
2322 ents = leafhdr.ents; in xfs_da3_swap_lastblock()
2324 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/xfs/libxfs/
H A Dxfs_dir2_leaf.c442 xfs_dir3_leaf_log_ents(args, &leafhdr, lbp, 0, leafhdr.count - 1); in xfs_dir2_block_to_leaf()
581 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
601 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
702 if (!leafhdr.stale) in xfs_dir2_leaf_addname()
943 leafhdr->ents[to] = leafhdr->ents[from]; in xfs_dir3_leaf_compact()
951 leafhdr->count -= leafhdr->stale; in xfs_dir3_leaf_compact()
952 leafhdr->stale = 0; in xfs_dir3_leaf_compact()
1403 leafhdr.stale++; in xfs_dir2_leaf_removename()
1558 for (lep = leafhdr.ents, low = 0, high = leafhdr.count - 1, in xfs_dir2_leaf_search_hash()
1767 if (leafhdr.stale) in xfs_dir2_node_to_leaf()
[all …]
H A Dxfs_dir2_node.c512 ents = leafhdr.ents; in xfs_dir2_leafn_add()
531 if (!leafhdr.stale) in xfs_dir2_leafn_add()
615 if (!leafhdr.count) in xfs_dir2_leaf_lasthash()
617 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
1308 leafhdr.stale++; in xfs_dir2_leafn_remove()
1409 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) < in xfs_dir2_leafn_remove()
1510 ents = leafhdr.ents; in xfs_dir2_leafn_toosmall()
1513 count = leafhdr.count - leafhdr.stale; in xfs_dir2_leafn_toosmall()
1549 forward = leafhdr.forw < leafhdr.back; in xfs_dir2_leafn_toosmall()
1553 blkno = forward ? leafhdr.forw : leafhdr.back; in xfs_dir2_leafn_toosmall()
[all …]
H A Dxfs_dir2_block.c945 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_leaf_to_block() local
953 xfs_dir2_leaf_hdr_from_disk(mp, &leafhdr, leaf); in xfs_dir2_leaf_to_block()
956 ASSERT(leafhdr.magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_to_block()
957 leafhdr.magic == XFS_DIR3_LEAF1_MAGIC); in xfs_dir2_leaf_to_block()
994 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1025 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1032 for (from = to = 0; from < leafhdr.count; from++) { in xfs_dir2_leaf_to_block()
1033 if (leafhdr.ents[from].address == in xfs_dir2_leaf_to_block()
1036 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()
H A Dxfs_dir2_priv.h105 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,
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/xfs/scrub/
H A Dattr.c216 struct xfs_attr3_icleaf_hdr *leafhdr) in xchk_xattr_check_freemap() argument
227 leafhdr->freemap[i].base, in xchk_xattr_check_freemap()
228 leafhdr->freemap[i].size)) in xchk_xattr_check_freemap()
246 struct xfs_attr3_icleaf_hdr *leafhdr, in xchk_xattr_entry() argument
269 if (nameidx < leafhdr->firstused || in xchk_xattr_entry()
305 struct xfs_attr3_icleaf_hdr leafhdr; in xchk_xattr_block() local
352 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block()
354 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block()
356 if (leafhdr.firstused < hdrsize) in xchk_xattr_block()
365 if ((char *)&entries[leafhdr.count] > (char *)leaf + leafhdr.firstused) in xchk_xattr_block()
[all …]
H A Ddir.c502 struct xfs_dir3_icleaf_hdr leafhdr; in xchk_directory_leaf1_bestfree() local
524 xfs_dir2_leaf_hdr_from_disk(sc->ip->i_mount, &leafhdr, leaf); in xchk_directory_leaf1_bestfree()
546 if (leafhdr.count > geo->leaf_max_ents) { in xchk_directory_leaf1_bestfree()
552 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree()
558 for (i = 0; i < leafhdr.count; i++) { in xchk_directory_leaf1_bestfree()
559 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
563 if (leafhdr.ents[i].address == in xchk_directory_leaf1_bestfree()
567 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/xfs/scrub/
H A Dattr.c216 struct xfs_attr3_icleaf_hdr *leafhdr) in xchk_xattr_check_freemap() argument
227 leafhdr->freemap[i].base, in xchk_xattr_check_freemap()
228 leafhdr->freemap[i].size)) in xchk_xattr_check_freemap()
246 struct xfs_attr3_icleaf_hdr *leafhdr, in xchk_xattr_entry() argument
269 if (nameidx < leafhdr->firstused || in xchk_xattr_entry()
305 struct xfs_attr3_icleaf_hdr leafhdr; in xchk_xattr_block() local
352 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block()
354 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block()
356 if (leafhdr.firstused < hdrsize) in xchk_xattr_block()
365 if ((char *)&entries[leafhdr.count] > (char *)leaf + leafhdr.firstused) in xchk_xattr_block()
[all …]
H A Ddir.c502 struct xfs_dir3_icleaf_hdr leafhdr; in xchk_directory_leaf1_bestfree() local
524 xfs_dir2_leaf_hdr_from_disk(sc->ip->i_mount, &leafhdr, leaf); in xchk_directory_leaf1_bestfree()
546 if (leafhdr.count > geo->leaf_max_ents) { in xchk_directory_leaf1_bestfree()
552 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree()
558 for (i = 0; i < leafhdr.count; i++) { in xchk_directory_leaf1_bestfree()
559 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
563 if (leafhdr.ents[i].address == in xchk_directory_leaf1_bestfree()
567 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/xfs/scrub/
H A Dattr.c216 struct xfs_attr3_icleaf_hdr *leafhdr) in xchk_xattr_check_freemap() argument
227 leafhdr->freemap[i].base, in xchk_xattr_check_freemap()
228 leafhdr->freemap[i].size)) in xchk_xattr_check_freemap()
246 struct xfs_attr3_icleaf_hdr *leafhdr, in xchk_xattr_entry() argument
269 if (nameidx < leafhdr->firstused || in xchk_xattr_entry()
305 struct xfs_attr3_icleaf_hdr leafhdr; in xchk_xattr_block() local
352 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block()
354 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block()
356 if (leafhdr.firstused < hdrsize) in xchk_xattr_block()
365 if ((char *)&entries[leafhdr.count] > (char *)leaf + leafhdr.firstused) in xchk_xattr_block()
[all …]
H A Ddir.c502 struct xfs_dir3_icleaf_hdr leafhdr; in xchk_directory_leaf1_bestfree() local
524 xfs_dir2_leaf_hdr_from_disk(sc->ip->i_mount, &leafhdr, leaf); in xchk_directory_leaf1_bestfree()
546 if (leafhdr.count > geo->leaf_max_ents) { in xchk_directory_leaf1_bestfree()
552 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree()
558 for (i = 0; i < leafhdr.count; i++) { in xchk_directory_leaf1_bestfree()
559 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
563 if (leafhdr.ents[i].address == in xchk_directory_leaf1_bestfree()
567 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Mrm/
H A DMrmIindex.c332 IDBIndexLeafHdrPtr leafhdr =NULL; /* index leaf header */ in Idb__INX_SearchIndex() local
353 leafhdr = (IDBIndexLeafHdrPtr) &leafrec->leaf_header ; in Idb__INX_SearchIndex()
355 ndxcnt = leafhdr->index_count ; in Idb__INX_SearchIndex()
534 IDBIndexLeafHdrPtr leafhdr ; /* index leaf header */ in Idb__INX_FindResources() local
558 leafhdr = (IDBIndexLeafHdrPtr) &leafrec->leaf_header ; in Idb__INX_FindResources()
560 ndxcnt = leafhdr->index_count ; in Idb__INX_FindResources()
H A DMrmIindexw.c1463 IDBIndexLeafHdrPtr leafhdr ; /* index leaf header */ in Idb__INX_SetParent() local
1484 leafhdr = (IDBIndexLeafHdrPtr) &leafrec->leaf_header ; in Idb__INX_SetParent()
1485 if ( leafhdr->parent != parent_record ) in Idb__INX_SetParent()
1487 leafhdr->parent = parent_record ; in Idb__INX_SetParent()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/xfs/
H A Dxfs_attr_list.c287 struct xfs_attr3_icleaf_hdr leafhdr; in xfs_attr_node_list() local
325 &leafhdr, leaf); in xfs_attr_node_list()
328 entries[leafhdr.count - 1].hashval)) { in xfs_attr_node_list()
369 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list()
370 if (context->seen_enough || leafhdr.forw == 0) in xfs_attr_node_list()
372 cursor->blkno = leafhdr.forw; in xfs_attr_node_list()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/xfs/
H A Dxfs_attr_list.c287 struct xfs_attr3_icleaf_hdr leafhdr; in xfs_attr_node_list() local
325 &leafhdr, leaf); in xfs_attr_node_list()
328 entries[leafhdr.count - 1].hashval)) { in xfs_attr_node_list()
369 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list()
370 if (context->seen_enough || leafhdr.forw == 0) in xfs_attr_node_list()
372 cursor->blkno = leafhdr.forw; in xfs_attr_node_list()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/xfs/
H A Dxfs_attr_list.c287 struct xfs_attr3_icleaf_hdr leafhdr; in xfs_attr_node_list() local
325 &leafhdr, leaf); in xfs_attr_node_list()
328 entries[leafhdr.count - 1].hashval)) { in xfs_attr_node_list()
369 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list()
370 if (context->seen_enough || leafhdr.forw == 0) in xfs_attr_node_list()
372 cursor->blkno = leafhdr.forw; in xfs_attr_node_list()

12