/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_rlock.c | 181 lr = (locked_range_t *)avl_nearest(tree, where, AVL_AFTER); in rangelock_enter_writer() 186 lr = (locked_range_t *)avl_nearest(tree, where, AVL_BEFORE); in rangelock_enter_writer() 319 next = avl_nearest(tree, where, AVL_AFTER); in rangelock_add_reader() 392 prev = (locked_range_t *)avl_nearest(tree, where, AVL_BEFORE); in rangelock_enter_reader() 418 next = (locked_range_t *)avl_nearest(tree, where, AVL_AFTER); in rangelock_enter_reader()
|
H A D | dsl_deadlist.c | 248 dle = avl_nearest(&dl->dl_tree, where, AVL_BEFORE); in dsl_deadlist_insert() 420 avl_nearest(&dl->dl_tree, where, AVL_AFTER) == NULL); in dsl_deadlist_space_range() 462 dle = avl_nearest(&dl->dl_tree, where, AVL_BEFORE); in dsl_deadlist_insert_bpobj() 535 dle = avl_nearest(&dl->dl_tree, where, AVL_AFTER); in dsl_deadlist_move_bpobj()
|
H A D | refcount.c | 325 ref = avl_nearest(&rc->rc_tree, idx, AVL_AFTER); in zfs_refcount_held() 352 ref = avl_nearest(&rc->rc_tree, idx, AVL_AFTER); in zfs_refcount_not_held()
|
H A D | vdev_cache.c | 346 ve = avl_nearest(&vc->vc_offset_tree, where, AVL_AFTER); in vdev_cache_write()
|
H A D | vdev_queue.c | 735 zio = avl_nearest(tree, idx, AVL_AFTER); in vdev_queue_io_to_issue()
|
H A D | zap_micro.c | 321 mze = avl_nearest(avl, idx, AVL_AFTER); in mze_find() 1504 mze = avl_nearest(&zc->zc_zap->zap_m.zap_avl, in zap_cursor_retrieve()
|
H A D | dnode.c | 1954 db = avl_nearest(&dn->dn_dbufs, where, AVL_AFTER); in dnode_dirty_l1range() 1989 db = avl_nearest(&dn->dn_dbufs, where, AVL_AFTER); in dnode_dirty_l1range()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_reservoir.c | 262 node = avl_nearest(by_addr, where, AVL_BEFORE); in vmmr_tp_insert_concat() 278 node = avl_nearest(by_addr, where, AVL_AFTER); in vmmr_tp_insert_concat() 319 span = avl_nearest(by_size, where, AVL_AFTER); in vmmr_tp_remove_split() 325 span = avl_nearest(by_size, where, AVL_BEFORE); in vmmr_tp_remove_split() 569 span = avl_nearest(®ion->vr_spans, where, AVL_BEFORE); in vmmr_region_pfn_at()
|
/illumos-gate/usr/src/man/man3avl/ |
H A D | Makefile | 29 avl_nearest.3avl \
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | avl.h | 237 extern void *avl_nearest(avl_tree_t *tree, avl_index_t where, int direction);
|
/illumos-gate/usr/src/lib/libavl/ |
H A D | mapfile-vers | 61 avl_nearest;
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3avl.inc | 29 file path=usr/share/man/man3avl/avl_nearest.3avl
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_avl.c | 532 return (avl_nearest(&ap->ua_tree, INDEX_DECODE(idx), AVL_AFTER)); in uu_avl_nearest_next() 542 return (avl_nearest(&ap->ua_tree, INDEX_DECODE(idx), AVL_BEFORE)); in uu_avl_nearest_prev()
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | charmap.c | 494 cm = avl_nearest(&cmap_mbs, where, AVL_AFTER); in find_mbs_partial()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | watchpoint.c | 196 pwp = avl_nearest(&as->a_wpage, where, AVL_AFTER); in pr_do_mappage() 1589 wap = avl_nearest(&p->p_warea, real_where, AVL_BEFORE); in pr_find_watched_area() 1597 wap = avl_nearest(&p->p_warea, real_where, AVL_AFTER); in pr_find_watched_area()
|
H A D | contract.c | 1194 ct = avl_nearest(tree, where, AVL_AFTER); in contract_lookup_common() 1261 ct = avl_nearest(&contract_avl, where, AVL_AFTER); in contract_plookup() 1272 ct = avl_nearest(&p->p_ct_held, where, AVL_AFTER); in contract_plookup()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_resource.c | 466 nearest_chunk = avl_nearest(&vmr_pool->ivmp_mr_list, where, in iser_vmem_mr()
|
/illumos-gate/usr/src/common/avl/ |
H A D | avl.c | 211 avl_nearest(avl_tree_t *tree, avl_index_t where, int direction) in avl_nearest() function
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_as.c | 373 seg = avl_nearest(&as->a_segtree, where, AVL_AFTER); in as_findseg() 458 seg = avl_nearest(&as->a_segtree, where, AVL_AFTER); in as_addseg() 3508 pwp = avl_nearest(&as->a_wpage, where, AVL_AFTER); in as_setwatchprot() 3561 pwp = avl_nearest(&as->a_wpage, where, AVL_AFTER); in as_clearwatchprot()
|
H A D | vm_usage.c | 689 walker = avl_nearest(tree, where, AVL_BEFORE); in vmu_insert_lookup_object_bounds() 709 walker = avl_nearest(tree, where, AVL_AFTER); in vmu_insert_lookup_object_bounds()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_tgt.c | 1257 result = avl_nearest(sess_avl, where, AVL_BEFORE); in iscsit_tgt_lookup_sess() 1265 result = avl_nearest(sess_avl, where, AVL_AFTER); in iscsit_tgt_lookup_sess()
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 291 p = avl_nearest(l, where, AVL_BEFORE); in insert_into()
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_door.c | 487 linkp = avl_nearest(&dlmgmt_id_avl, where, AVL_AFTER); in dlmgmt_getnext()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_ioc.c | 1514 nearest = avl_nearest(&vm_pool->svp_mr_list, where, in srpt_vmem_mr()
|
/illumos-gate/usr/src/uts/common/io/overlay/ |
H A D | overlay_target.c | 1386 ent = avl_nearest(avl, where, AVL_AFTER); in overlay_target_cache_iter()
|