Searched refs:bc_ops (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_btree_staging.c | 152 cur->bc_ops = nops; in xfs_btree_stage_afakeroot() 174 kmem_free((void *)cur->bc_ops); in xfs_btree_commit_afakeroot() 176 cur->bc_ops = ops; in xfs_btree_commit_afakeroot() 232 cur->bc_ops = nops; in xfs_btree_stage_ifakeroot() 257 kmem_free((void *)cur->bc_ops); in xfs_btree_commit_ifakeroot() 260 cur->bc_ops = ops; in xfs_btree_commit_ifakeroot() 522 return cur->bc_ops->get_dmaxrecs(cur, level); in xfs_btree_bload_max_npb() 524 ret = cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_bload_max_npb() 573 maxnr = cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_bload_level_geometry() 623 maxr = cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_bload_ensure_slack() [all …]
|
A D | xfs_btree.c | 454 kmem_free(cur->bc_ops); in xfs_btree_del_cursor() 500 cur->bc_ops->buf_ops); in xfs_btree_dup_cursor() 620 (n - 1) * cur->bc_ops->rec_len; in xfs_btree_rec_offset() 644 (n - 1) * cur->bc_ops->key_len + (cur->bc_ops->key_len / 2); in xfs_btree_high_key_offset() 657 cur->bc_ops->get_maxrecs(cur, level) * cur->bc_ops->key_len + in xfs_btree_ptr_offset() 941 cur->bc_ops->buf_ops); in xfs_btree_readahead_lblock() 947 cur->bc_ops->buf_ops); in xfs_btree_readahead_lblock() 1353 cur->bc_ops->buf_ops); in xfs_btree_read_buf_block() 2045 (cur->bc_ops->key_len / 2)); in xfs_btree_high_key_from_key() 2094 cur->bc_ops->key_len / 2); in xfs_btree_get_node_keys() [all …]
|
A D | xfs_alloc_btree.c | 487 cur->bc_ops = &xfs_cntbt_ops; in xfs_allocbt_init_common() 491 cur->bc_ops = &xfs_bnobt_ops; in xfs_allocbt_init_common()
|
A D | xfs_ialloc_btree.c | 441 cur->bc_ops = &xfs_inobt_ops; in xfs_inobt_init_common() 444 cur->bc_ops = &xfs_finobt_ops; in xfs_inobt_init_common()
|
A D | xfs_btree.h | 232 const struct xfs_btree_ops *bc_ops; member
|
A D | xfs_refcount_btree.c | 348 cur->bc_ops = &xfs_refcountbt_ops; in xfs_refcountbt_init_common()
|
A D | xfs_bmap_btree.c | 544 cur->bc_ops = &xfs_bmbt_ops; in xfs_bmbt_init_cursor()
|
A D | xfs_rmap_btree.c | 461 cur->bc_ops = &xfs_rmapbt_ops; in xfs_rmapbt_init_common()
|
/linux-6.3-rc2/fs/xfs/scrub/ |
A D | btree.c | 145 !cur->bc_ops->recs_inorder(cur, &bs->lastrec, rec)) in xchk_btree_rec() 147 memcpy(&bs->lastrec, rec, cur->bc_ops->rec_len); in xchk_btree_rec() 153 cur->bc_ops->init_key_from_rec(&key, rec); in xchk_btree_rec() 156 if (cur->bc_ops->diff_two_keys(cur, &key, keyp) < 0) in xchk_btree_rec() 163 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xchk_btree_rec() 165 if (cur->bc_ops->diff_two_keys(cur, keyp, &hkey) < 0) in xchk_btree_rec() 194 memcpy(&bs->lastkey[level - 1], key, cur->bc_ops->key_len); in xchk_btree_key() 202 if (cur->bc_ops->diff_two_keys(cur, key, keyp) < 0) in xchk_btree_key() 212 if (cur->bc_ops->diff_two_keys(cur, keyp, key) < 0) in xchk_btree_key() 488 if (numrecs >= cur->bc_ops->get_minrecs(cur, level)) in xchk_btree_check_minrecs() [all …]
|
Completed in 26 milliseconds