• Home
  • Raw
  • Download

Lines Matching refs:bc_ops

83 	    cur->bc_ops->get_maxrecs(cur, level))  in __xfs_btree_check_lblock()
146 cur->bc_ops->get_maxrecs(cur, level)) in __xfs_btree_check_sblock()
343 error = cur->bc_ops->free_block(cur, bp); in xfs_btree_free_block()
384 kmem_free(cur->bc_ops); in xfs_btree_del_cursor()
410 new = cur->bc_ops->dup_cursor(cur); in xfs_btree_dup_cursor()
428 cur->bc_ops->buf_ops); in xfs_btree_dup_cursor()
548 (n - 1) * cur->bc_ops->rec_len; in xfs_btree_rec_offset()
560 (n - 1) * cur->bc_ops->key_len; in xfs_btree_key_offset()
572 (n - 1) * cur->bc_ops->key_len + (cur->bc_ops->key_len / 2); in xfs_btree_high_key_offset()
585 cur->bc_ops->get_maxrecs(cur, level) * cur->bc_ops->key_len + in xfs_btree_ptr_offset()
869 cur->bc_ops->buf_ops); in xfs_btree_readahead_lblock()
875 cur->bc_ops->buf_ops); in xfs_btree_readahead_lblock()
895 left, 1, cur->bc_ops->buf_ops); in xfs_btree_readahead_sblock()
901 right, 1, cur->bc_ops->buf_ops); in xfs_btree_readahead_sblock()
982 cur->bc_mp->m_bsize * count, cur->bc_ops->buf_ops); in xfs_btree_readahead_ptr()
1252 (*bpp)->b_ops = cur->bc_ops->buf_ops; in xfs_btree_get_buf_block()
1281 cur->bc_ops->buf_ops); in xfs_btree_read_buf_block()
1301 memcpy(dst_key, src_key, numkeys * cur->bc_ops->key_len); in xfs_btree_copy_keys()
1315 memcpy(dst_rec, src_rec, numrecs * cur->bc_ops->rec_len); in xfs_btree_copy_recs()
1347 dst_key = (char *)key + (dir * cur->bc_ops->key_len); in xfs_btree_shift_keys()
1348 memmove(dst_key, key, numkeys * cur->bc_ops->key_len); in xfs_btree_shift_keys()
1366 dst_rec = (char *)rec + (dir * cur->bc_ops->rec_len); in xfs_btree_shift_recs()
1367 memmove(dst_rec, rec, numrecs * cur->bc_ops->rec_len); in xfs_btree_shift_recs()
1794 cur->bc_ops->init_key_from_rec(kp, in xfs_lookup_get_search_key()
1830 cur->bc_ops->init_ptr_from_cur(cur, &ptr); in xfs_btree_lookup()
1895 diff = cur->bc_ops->key_diff(cur, kp); in xfs_btree_lookup()
1973 (cur->bc_ops->key_len / 2)); in xfs_btree_high_key_from_key()
1990 cur->bc_ops->init_key_from_rec(key, rec); in xfs_btree_get_leaf_keys()
1994 cur->bc_ops->init_high_key_from_rec(&max_hkey, rec); in xfs_btree_get_leaf_keys()
1997 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xfs_btree_get_leaf_keys()
1998 if (cur->bc_ops->diff_two_keys(cur, &hkey, &max_hkey) in xfs_btree_get_leaf_keys()
2004 memcpy(high, &max_hkey, cur->bc_ops->key_len / 2); in xfs_btree_get_leaf_keys()
2022 cur->bc_ops->key_len / 2); in xfs_btree_get_node_keys()
2027 if (cur->bc_ops->diff_two_keys(cur, hkey, max_hkey) > 0) in xfs_btree_get_node_keys()
2032 memcpy(high, max_hkey, cur->bc_ops->key_len / 2); in xfs_btree_get_node_keys()
2035 cur->bc_ops->key_len); in xfs_btree_get_node_keys()
2114 !(cur->bc_ops->diff_two_keys(cur, nlkey, lkey) != 0 || in __xfs_btree_updkeys()
2115 cur->bc_ops->diff_two_keys(cur, nhkey, hkey) != 0)) in __xfs_btree_updkeys()
2223 cur->bc_ops->update_lastrec(cur, block, rec, in xfs_btree_update()
2296 if (lrecs == cur->bc_ops->get_maxrecs(cur, level)) in xfs_btree_lshift()
2337 ASSERT(cur->bc_ops->keys_inorder(cur, in xfs_btree_lshift()
2349 ASSERT(cur->bc_ops->recs_inorder(cur, in xfs_btree_lshift()
2492 if (rrecs == cur->bc_ops->get_maxrecs(cur, level)) in xfs_btree_rshift()
2533 ASSERT(cur->bc_ops->keys_inorder(cur, rkp, in xfs_btree_rshift()
2648 error = cur->bc_ops->alloc_block(cur, &lptr, &rptr, stat); in __xfs_btree_split()
2910 error = cur->bc_ops->alloc_block(cur, pp, &nptr, stat); in xfs_btree_new_iroot()
3005 cur->bc_ops->init_ptr_from_cur(cur, &rptr); in xfs_btree_new_root()
3008 error = cur->bc_ops->alloc_block(cur, &rptr, &lptr, stat); in xfs_btree_new_root()
3021 cur->bc_ops->set_root(cur, &lptr, 1); in xfs_btree_new_root()
3128 if (numrecs < cur->bc_ops->get_dmaxrecs(cur, level)) { in xfs_btree_make_block_unfull()
3242 ASSERT(cur->bc_ops->recs_inorder(cur, rec, in xfs_btree_insrec()
3245 ASSERT(cur->bc_ops->keys_inorder(cur, key, in xfs_btree_insrec()
3256 if (numrecs == cur->bc_ops->get_maxrecs(cur, level)) { in xfs_btree_insrec()
3312 ASSERT(cur->bc_ops->keys_inorder(cur, kp, in xfs_btree_insrec()
3330 ASSERT(cur->bc_ops->recs_inorder(cur, rp, in xfs_btree_insrec()
3360 cur->bc_ops->update_lastrec(cur, block, rec, in xfs_btree_insrec()
3413 cur->bc_ops->init_rec_from_cur(cur, &rec); in xfs_btree_insert()
3414 cur->bc_ops->init_key_from_rec(key, &rec); in xfs_btree_insert()
3448 if (cur->bc_ops->update_cursor) in xfs_btree_insert()
3449 cur->bc_ops->update_cursor(pcur, cur); in xfs_btree_insert()
3523 if (numrecs > cur->bc_ops->get_dmaxrecs(cur, level)) in xfs_btree_kill_iroot()
3535 index = numrecs - cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_kill_iroot()
3591 cur->bc_ops->set_root(cur, newroot, -1); in xfs_btree_kill_root()
3724 cur->bc_ops->update_lastrec(cur, block, NULL, in xfs_btree_delrec()
3787 if (numrecs >= cur->bc_ops->get_minrecs(cur, level)) { in xfs_btree_delrec()
3876 cur->bc_ops->get_minrecs(tcur, level)) { in xfs_btree_delrec()
3882 cur->bc_ops->get_minrecs(tcur, level)); in xfs_btree_delrec()
3957 cur->bc_ops->get_minrecs(tcur, level)) { in xfs_btree_delrec()
3963 cur->bc_ops->get_minrecs(tcur, level)); in xfs_btree_delrec()
3990 cur->bc_ops->get_maxrecs(cur, level)) { in xfs_btree_delrec()
4007 cur->bc_ops->get_maxrecs(cur, level)) { in xfs_btree_delrec()
4289 cur->bc_ops->init_ptr_from_cur(cur, &lptr); in xfs_btree_visit_blocks()
4556 ASSERT(cur->bc_ops->init_high_key_from_rec); in xfs_btree_simple_query_range()
4557 ASSERT(cur->bc_ops->diff_two_keys); in xfs_btree_simple_query_range()
4583 cur->bc_ops->init_high_key_from_rec(&rec_key, recp); in xfs_btree_simple_query_range()
4585 diff = cur->bc_ops->diff_two_keys(cur, low_key, in xfs_btree_simple_query_range()
4592 cur->bc_ops->init_key_from_rec(&rec_key, recp); in xfs_btree_simple_query_range()
4593 diff = cur->bc_ops->diff_two_keys(cur, &rec_key, high_key); in xfs_btree_simple_query_range()
4657 cur->bc_ops->init_ptr_from_cur(cur, &ptr); in xfs_btree_overlapped_query_range()
4686 cur->bc_ops->init_high_key_from_rec(&rec_hkey, recp); in xfs_btree_overlapped_query_range()
4687 ldiff = cur->bc_ops->diff_two_keys(cur, &rec_hkey, in xfs_btree_overlapped_query_range()
4690 cur->bc_ops->init_key_from_rec(&rec_key, recp); in xfs_btree_overlapped_query_range()
4691 hdiff = cur->bc_ops->diff_two_keys(cur, high_key, in xfs_btree_overlapped_query_range()
4716 ldiff = cur->bc_ops->diff_two_keys(cur, hkp, low_key); in xfs_btree_overlapped_query_range()
4717 hdiff = cur->bc_ops->diff_two_keys(cur, high_key, lkp); in xfs_btree_overlapped_query_range()
4788 cur->bc_ops->init_rec_from_cur(cur, &rec); in xfs_btree_query_range()
4789 cur->bc_ops->init_key_from_rec(&high_key, &rec); in xfs_btree_query_range()
4792 cur->bc_ops->init_rec_from_cur(cur, &rec); in xfs_btree_query_range()
4793 cur->bc_ops->init_key_from_rec(&low_key, &rec); in xfs_btree_query_range()
4796 if (cur->bc_ops->diff_two_keys(cur, &low_key, &high_key) > 0) in xfs_btree_query_range()