Home
last modified time | relevance | path

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

12

/freebsd/contrib/ofed/librdmacm/
H A Dindexer.c69 entry[IDX_ENTRY_SIZE - 1].next = idx->free_list; in idx_grow()
77 idx->free_list = start_index; in idx_grow()
91 if ((index = idx->free_list) == 0) { in idx_insert()
97 idx->free_list = entry[idx_entry_index(index)].next; in idx_insert()
109 entry[idx_entry_index(index)].next = idx->free_list; in idx_remove()
110 idx->free_list = index; in idx_remove()
H A Dindexer.h61 int free_list; member
/freebsd/contrib/ofed/opensm/complib/
H A Dcl_pool.c144 cl_qlist_init(&p_pool->free_list); in cl_qcpool_init()
184 while (!cl_is_qlist_empty(&p_pool->free_list)) { in cl_qcpool_destroy()
187 free_list), in cl_qcpool_destroy()
191 cl_qlist_remove_all(&p_pool->free_list); in cl_qcpool_destroy()
302 cl_qlist_insert_head(&p_pool->free_list, in cl_qcpool_grow()
321 if (cl_is_qlist_empty(&p_pool->free_list)) { in cl_qcpool_get()
335 if (cl_is_qlist_empty(&p_pool->free_list)) in cl_qcpool_get()
339 p_list_item = cl_qlist_remove_head(&p_pool->free_list); in cl_qcpool_get()
341 CL_ASSERT(p_list_item != cl_qlist_end(&p_pool->free_list)); in cl_qcpool_get()
352 if (cl_is_qlist_empty(&p_pool->free_list)) { in cl_qcpool_get_tail()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_fmr_pool.c94 struct list_head free_list; member
176 list_splice(&unmap_list, &pool->free_list); in ib_fmr_batch_release()
245 INIT_LIST_HEAD(&pool->free_list); in ib_create_fmr_pool()
312 list_add_tail(&fmr->list, &pool->free_list); in ib_create_fmr_pool()
349 list_for_each_entry_safe(fmr, tmp, &pool->free_list, list) { in ib_destroy_fmr_pool()
388 list_for_each_entry_safe(fmr, next, &pool->free_list, list) { in ib_flush_fmr_pool()
444 if (list_empty(&pool->free_list)) { in ib_fmr_pool_map_phys()
449 fmr = list_entry(pool->free_list.next, struct ib_pool_fmr, list); in ib_fmr_pool_map_phys()
459 list_add(&fmr->list, &pool->free_list); in ib_fmr_pool_map_phys()
504 list_add_tail(&fmr->list, &pool->free_list); in ib_fmr_pool_unmap()
H A Dib_iwcm.c91 struct list_head free_list; member
127 free_list); in get_work()
128 list_del_init(&work->free_list); in get_work()
134 list_add(&work->free_list, &work->cm_id->work_free_list); in put_work()
142 kfree(list_entry(e, struct iwcm_work, free_list)); in dealloc_work_entries()
/freebsd/usr.bin/du/
H A Ddu.c378 static struct links_entry *free_list; in linkchk() local
405 if (new_buckets == NULL && free_list != NULL) { in linkchk()
406 while (free_list != NULL) { in linkchk()
407 le = free_list; in linkchk()
408 free_list = le->next; in linkchk()
461 le->next = free_list; in linkchk()
462 free_list = le; in linkchk()
473 if (free_list != NULL) { in linkchk()
475 le = free_list; in linkchk()
476 free_list = le->next; in linkchk()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_qcomppool.h296 cl_qlist_t free_list; member
546 return (cl_qlist_count(&p_pool->free_list)); in cl_qcpool_count()
615 cl_qlist_insert_head(&p_pool->free_list, &p_pool_item->list_item); in cl_qcpool_put()
672 cl_qlist_insert_list_head(&p_pool->free_list, p_list); in cl_qcpool_put_list()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary32.h173 if (sci->free_list.empty()) { in AllocateBatch()
176 DCHECK(!sci->free_list.empty()); in AllocateBatch()
178 TransferBatch *b = sci->free_list.front(); in AllocateBatch()
179 sci->free_list.pop_front(); in AllocateBatch()
189 sci->free_list.push_front(b); in DeallocateBatch()
283 IntrusiveList<TransferBatch> free_list; member
333 sci->free_list.push_back(b); in PopulateBatches()
374 sci->free_list.push_back(b); in PopulateFreeList()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_rlock.c554 list_t *free_list) in zfs_rangelock_exit_reader() argument
572 list_insert_tail(free_list, remove); in zfs_rangelock_exit_reader()
604 list_insert_tail(free_list, lr); in zfs_rangelock_exit_reader()
618 list_t free_list; in zfs_rangelock_exit() local
629 list_create(&free_list, sizeof (zfs_locked_range_t), in zfs_rangelock_exit()
640 list_insert_tail(&free_list, lr); in zfs_rangelock_exit()
646 zfs_rangelock_exit_reader(rl, lr, &free_list); in zfs_rangelock_exit()
650 while ((free_lr = list_remove_head(&free_list)) != NULL) in zfs_rangelock_exit()
653 list_destroy(&free_list); in zfs_rangelock_exit()
H A Dzvol.c1560 list_t delay_list, free_list; in zvol_remove_minors_impl() local
1567 list_create(&free_list, sizeof (zvol_state_t), in zvol_remove_minors_impl()
1622 list_insert_head(&free_list, zv); in zvol_remove_minors_impl()
1634 while ((zv = list_remove_head(&free_list)) != NULL) in zvol_remove_minors_impl()
/freebsd/crypto/heimdal/lib/krb5/
H A Dkeytab_any.c43 free_list (krb5_context context, struct any_data *a) in free_list() function
94 free_list (context, a0); in any_resolve()
115 free_list (context, a); in any_close()
/freebsd/bin/ps/
H A Dps.c127 static void free_list(struct listinfo *);
736 free_list(&gidlist); in main()
737 free_list(&jidlist); in main()
738 free_list(&pidlist); in main()
739 free_list(&pgrplist); in main()
740 free_list(&ruidlist); in main()
741 free_list(&sesslist); in main()
742 free_list(&ttylist); in main()
743 free_list(&uidlist); in main()
1164 free_list(struct listinfo *inf) in free_list() function
/freebsd/sys/dev/isci/scil/
H A Dsci_abstract_list.h185 struct SCI_ABSTRACT_ELEMENT_LIST free_list; member
853 private_push_front(&(free_pool)->free_list, (alElement_p)); \
864 alElement_p = private_pop_front(&(free_pool)->free_list); \
H A Dsci_abstract_list.c570 private_push_front(&(free_pool)->free_list, (alElement_p)); in private_pool_free()
583 alElement_p = private_pop_front(&(free_pool)->free_list); in private_pool_allocate()
/freebsd/contrib/dialog/
H A Dfselect.c126 free_list(LIST * list, int reinit) in free_list() function
487 free_list(d_list, TRUE); in fill_lists()
488 free_list(f_list, TRUE); in fill_lists()
886 free_list(&d_list, FALSE); in dlg_fselect()
887 free_list(&f_list, FALSE); in dlg_fselect()
937 free_list(&d_list, FALSE); in dlg_fselect()
938 free_list(&f_list, FALSE); in dlg_fselect()
H A Deditbox.c126 free_list(char ***list, int *rows) in free_list() function
769 free_list(&list, &rows); in dialog_editbox()
/freebsd/sys/dev/drm2/ttm/
H A Dttm_page_alloc_dma.c108 struct list_head free_list; member
446 list_for_each_entry_safe_reverse(dma_p, tmp, &pool->free_list, in ttm_dma_page_pool_free()
597 INIT_LIST_HEAD(&pool->free_list); in ttm_dma_pool_init()
809 list_splice(&d_pages, &pool->free_list); in ttm_dma_page_pool_fill_locked()
823 list_splice_tail(&d_pages, &pool->free_list); in ttm_dma_page_pool_fill_locked()
848 d_page = list_first_entry(&pool->free_list, struct dma_page, page_list); in ttm_dma_pool_get_pages()
966 list_splice(&ttm_dma->pages_list, &pool->free_list); in ttm_dma_unpopulate()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_hw.c66 osal_list_t free_list; member
87 OSAL_LIST_INIT(&p_pool->free_list); in ecore_ptt_pool_alloc()
99 &p_pool->free_list); in ecore_ptt_pool_alloc()
142 if (!OSAL_LIST_IS_EMPTY(&p_hwfn->p_ptt_pool->free_list)) { in ecore_ptt_acquire()
143 p_ptt = OSAL_LIST_FIRST_ENTRY(&p_hwfn->p_ptt_pool->free_list, in ecore_ptt_acquire()
146 &p_hwfn->p_ptt_pool->free_list); in ecore_ptt_acquire()
170 OSAL_LIST_PUSH_HEAD(&p_ptt->list_entry, &p_hwfn->p_ptt_pool->free_list); in ecore_ptt_release()
H A Decore_fcoe.h40 osal_list_t free_list; member
H A Decore_iscsi.h43 osal_list_t free_list; member
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmac.c874 struct list_head *free_list, bool wake) in mt7915_mac_tx_free_done() argument
885 list_for_each_entry_safe(skb, tmp, free_list, list) { in mt7915_mac_tx_free_done()
905 LIST_HEAD(free_list); in mt7915_mac_tx_free()
908 LINUX_LIST_HEAD(free_list); in mt7915_mac_tx_free()
986 mt76_connac2_txwi_free(mdev, txwi, sta, &free_list); in mt7915_mac_tx_free()
990 mt7915_mac_tx_free_done(dev, &free_list, wake); in mt7915_mac_tx_free()
1005 LIST_HEAD(free_list); in mt7915_mac_tx_free_v0()
1008 LINUX_LIST_HEAD(free_list); in mt7915_mac_tx_free_v0()
1027 mt76_connac2_txwi_free(mdev, txwi, NULL, &free_list); in mt7915_mac_tx_free_v0()
1030 mt7915_mac_tx_free_done(dev, &free_list, wake); in mt7915_mac_tx_free_v0()
/freebsd/sys/dev/vmware/pvscsi/
H A Dpvscsi.c200 SLIST_HEAD(, pvscsi_hcb) free_list;
363 hcb = SLIST_FIRST(&sc->free_list); in pvscsi_hcb_get()
365 SLIST_REMOVE_HEAD(&sc->free_list, links); in pvscsi_hcb_get()
379 SLIST_INSERT_HEAD(&sc->free_list, hcb, links); in pvscsi_hcb_put()
603 SLIST_INIT(&sc->free_list); in pvscsi_dma_alloc_per_hcb()
606 SLIST_INSERT_HEAD(&sc->free_list, hcb, links); in pvscsi_dma_alloc_per_hcb()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dtx.c240 struct list_head *free_list) in __mt76_tx_complete_skb() argument
245 .free_list = free_list, in __mt76_tx_complete_skb()
H A Dmt76_connac.h425 struct list_head *free_list);
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmac.c511 LIST_HEAD(free_list); in mt7921_mac_tx_free()
563 mt76_connac2_txwi_free(mdev, txwi, sta, &free_list); in mt7921_mac_tx_free()
569 list_for_each_entry_safe(skb, tmp, &free_list, list) { in mt7921_mac_tx_free()

12