Searched refs:AVL_CMP (Results 1 – 17 of 17) sorted by relevance
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | avl.h | 113 #define AVL_CMP(a, b) (((a) > (b)) - ((a) < (b))) macro
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | unique.c | 48 return (AVL_CMP(una->un_value, unb->un_value)); in unique_compare()
|
| H A D | space_reftree.c | 60 int cmp = AVL_CMP(sr1->sr_offset, sr2->sr_offset); in space_reftree_compare()
|
| H A D | zil.c | 136 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 D | zfs_rlock.c | 600 return (AVL_CMP(rl1->r_off, rl2->r_off)); in zfs_range_compare()
|
| H A D | vdev_label.c | 1052 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 D | sa.c | 249 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 D | metaslab.c | 576 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 D | dsl_deadlist.c | 61 return (AVL_CMP(dle1->dle_mintxg, dle2->dle_mintxg)); in dsl_deadlist_compare()
|
| H A D | zfs_fuid.c | 77 return (AVL_CMP(node1->f_idx, node2->f_idx)); in idx_compare()
|
| H A D | zap_micro.c | 284 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 D | vdev_queue.c | 328 int cmp = AVL_CMP(z1->io_offset, z2->io_offset); in vdev_queue_offset_compare()
|
| H A D | dnode.c | 81 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 D | spa_misc.c | 1029 return (AVL_CMP(sa->aux_guid, sb->aux_guid)); in spa_aux_compare()
|
| H A D | dmu_send.c | 1928 return (AVL_CMP(gmep1->guid, gmep2->guid)); in guid_compare()
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/ |
| H A D | libzfs_iter.c | 275 return (AVL_CMP(lcreate, rcreate)); in zfs_snapshot_compare()
|
| H A D | libzfs_sendrecv.c | 497 return (AVL_CMP(fn1->fn_guid, fn2->fn_guid)); in fsavl_compare()
|