Home
last modified time | relevance | path

Searched refs:avl_nearest (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c181 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 Ddsl_deadlist.c248 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 Drefcount.c325 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 Dvdev_cache.c346 ve = avl_nearest(&vc->vc_offset_tree, where, AVL_AFTER); in vdev_cache_write()
H A Dvdev_queue.c735 zio = avl_nearest(tree, idx, AVL_AFTER); in vdev_queue_io_to_issue()
H A Dzap_micro.c321 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 Ddnode.c1961 db = avl_nearest(&dn->dn_dbufs, where, AVL_AFTER); in dnode_dirty_l1range()
1996 db = avl_nearest(&dn->dn_dbufs, where, AVL_AFTER); in dnode_dirty_l1range()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_reservoir.c262 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(&region->vr_spans, where, AVL_BEFORE); in vmmr_region_pfn_at()
/illumos-gate/usr/src/man/man3avl/
H A DMakefile29 avl_nearest.3avl \
/illumos-gate/usr/src/uts/common/sys/
H A Davl.h237 extern void *avl_nearest(avl_tree_t *tree, avl_index_t where, int direction);
/illumos-gate/usr/src/lib/libavl/
H A Dmapfile-vers61 avl_nearest;
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3avl.inc29 file path=usr/share/man/man3avl/avl_nearest.3avl
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_avl.c532 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 Dcharmap.c494 cm = avl_nearest(&cmap_mbs, where, AVL_AFTER); in find_mbs_partial()
/illumos-gate/usr/src/uts/common/os/
H A Dwatchpoint.c196 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 Dcontract.c1194 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 Diser_resource.c466 nearest_chunk = avl_nearest(&vmr_pool->ivmp_mr_list, where, in iser_vmem_mr()
/illumos-gate/usr/src/common/avl/
H A Davl.c211 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 Dvm_as.c373 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 Dvm_usage.c689 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 Discsit_tgt.c1257 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 Dacquire_iodevs.c291 p = avl_nearest(l, where, AVL_BEFORE); in insert_into()
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ioc.c1514 nearest = avl_nearest(&vm_pool->svp_mr_list, where, in srpt_vmem_mr()
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c487 linkp = avl_nearest(&dlmgmt_id_avl, where, AVL_AFTER); in dlmgmt_getnext()
/illumos-gate/usr/src/man/man9f/
H A DMakefile698 avl_nearest.9f \
1423 avl_nearest.9f := LINKSRC = avl.9f

12