Home
last modified time | relevance | path

Searched refs:AVL_CMP (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Davl.h113 #define AVL_CMP(a, b) (((a) > (b)) - ((a) < (b))) macro
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dunique.c48 return (AVL_CMP(una->un_value, unb->un_value)); in unique_compare()
H A Dspace_reftree.c60 int cmp = AVL_CMP(sr1->sr_offset, sr2->sr_offset); in space_reftree_compare()
H A Dzil.c136 int cmp = AVL_CMP(DVA_GET_VDEV(dva1), DVA_GET_VDEV(dva2)); in zil_bp_compare()
140 return (AVL_CMP(DVA_GET_OFFSET(dva1), DVA_GET_OFFSET(dva2))); in zil_bp_compare()
502 return (AVL_CMP(v1, v2)); in zil_lwb_vdev_compare()
1731 return (AVL_CMP(o1, o2)); in zil_aitx_compare()
H A Dzfs_rlock.c600 return (AVL_CMP(rl1->r_off, rl2->r_off)); in zfs_range_compare()
H A Dvdev_label.c1052 int cmp = AVL_CMP(ub1->ub_txg, ub2->ub_txg); in vdev_uberblock_compare()
1056 return (AVL_CMP(ub1->ub_timestamp, ub2->ub_timestamp)); in vdev_uberblock_compare()
H A Dsa.c249 return (AVL_CMP(node1->lot_num, node2->lot_num)); in layout_num_compare()
258 int cmp = AVL_CMP(node1->lot_hash, node2->lot_hash); in layout_hash_compare()
262 return (AVL_CMP(node1->lot_instance, node2->lot_instance)); in layout_hash_compare()
H A Dmetaslab.c576 int cmp = AVL_CMP(m2->ms_weight, m1->ms_weight); in metaslab_compare()
580 IMPLY(AVL_CMP(m1->ms_start, m2->ms_start) == 0, m1 == m2); in metaslab_compare()
582 return (AVL_CMP(m1->ms_start, m2->ms_start)); in metaslab_compare()
1201 int cmp = AVL_CMP(rs_size1, rs_size2); in metaslab_rangesize_compare()
1208 return (AVL_CMP(r1->rs_start, r2->rs_start)); in metaslab_rangesize_compare()
H A Ddsl_deadlist.c61 return (AVL_CMP(dle1->dle_mintxg, dle2->dle_mintxg)); in dsl_deadlist_compare()
H A Dzfs_fuid.c77 return (AVL_CMP(node1->f_idx, node2->f_idx)); in idx_compare()
H A Dzap_micro.c284 int cmp = AVL_CMP(mze1->mze_hash, mze2->mze_hash); in mze_compare()
288 return (AVL_CMP(mze1->mze_cd, mze2->mze_cd)); in mze_compare()
H A Dvdev_queue.c328 int cmp = AVL_CMP(z1->io_offset, z2->io_offset); in vdev_queue_offset_compare()
H A Ddnode.c81 int cmp = AVL_CMP(d1->db_level, d2->db_level); in dbuf_compare()
85 cmp = AVL_CMP(d1->db_blkid, d2->db_blkid); in dbuf_compare()
H A Dspa_misc.c1029 return (AVL_CMP(sa->aux_guid, sb->aux_guid)); in spa_aux_compare()
H A Ddmu_send.c1928 return (AVL_CMP(gmep1->guid, gmep2->guid)); in guid_compare()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_iter.c275 return (AVL_CMP(lcreate, rcreate)); in zfs_snapshot_compare()
H A Dlibzfs_sendrecv.c497 return (AVL_CMP(fn1->fn_guid, fn2->fn_guid)); in fsavl_compare()