Home
last modified time | relevance | path

Searched refs:alloced (Results 1 – 18 of 18) sorted by relevance

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommonring.c144 u16 n_items, u16 *alloced) in brcmf_commonring_reserve_for_write_multiple() argument
160 *alloced = min_t(u16, n_items, available - 1); in brcmf_commonring_reserve_for_write_multiple()
161 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
162 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
163 commonring->w_ptr += *alloced; in brcmf_commonring_reserve_for_write_multiple()
Dmsgbuf.c905 u16 alloced; in brcmf_msgbuf_rxbuf_data_post() local
916 &alloced); in brcmf_msgbuf_rxbuf_data_post()
922 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_data_post()
930 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
940 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
1013 u16 alloced; in brcmf_msgbuf_rxbuf_ctrl_post() local
1025 &alloced); in brcmf_msgbuf_rxbuf_ctrl_post()
1032 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_ctrl_post()
1040 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
1050 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
Dcommonring.h49 u16 n_items, u16 *alloced);
/drivers/infiniband/hw/hfi1/
Dinit.c1108 for (e = 0; e < rcd->egrbufs.alloced; e++) { in hfi1_free_ctxtdata()
1116 rcd->egrbufs.alloced = 0; in hfi1_free_ctxtdata()
1861 rcd->egrbufs.alloced < rcd->egrbufs.count) { in hfi1_setup_eagerbufs()
1870 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].addr = in hfi1_setup_eagerbufs()
1872 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].dma = in hfi1_setup_eagerbufs()
1874 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1911 rcd->egrbufs.alloced = 0; in hfi1_setup_eagerbufs()
1919 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1938 rcd->ctxt, rcd->egrbufs.alloced, in hfi1_setup_eagerbufs()
1947 rounddown_pow_of_two(rcd->egrbufs.alloced / 2); in hfi1_setup_eagerbufs()
[all …]
Dtrace_ctxts.h44 __entry->eager_cnt = uctxt->egrbufs.alloced;
Dfile_ops.c1117 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info()
1125 cinfo.egrtids = uctxt->egrbufs.alloced; in get_ctxt_info()
Dhfi.h151 u16 alloced; /* number of rcvarray entries used */ member
Dchip.c9975 rcd->egrbufs.alloced; i++) in hfi1_clear_tids()
12051 reg = (((u64)(rcd->egrbufs.alloced >> RCV_SHIFT) in hfi1_rcvctrl()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c442 u16 align_bits, uint *alloced, in dma_alloc_consistent() argument
449 *alloced = size; in dma_alloc_consistent()
470 u16 *alignbits, uint *alloced, in dma_ringalloc() argument
477 va = dma_alloc_consistent(di, size, *alignbits, alloced, descpa); in dma_ringalloc()
488 alloced, descpa); in dma_ringalloc()
498 uint alloced = 0; in dma64_alloc() local
510 &alloced, &di->txdpaorig); in dma64_alloc()
522 di->txdalloc = alloced; in dma64_alloc()
525 &alloced, &di->rxdpaorig); in dma64_alloc()
537 di->rxdalloc = alloced; in dma64_alloc()
/drivers/xen/
Dgntdev.c322 size_t alloced = 0; in gntdev_map_grant_pages() local
373 alloced++; in gntdev_map_grant_pages()
382 alloced++; in gntdev_map_grant_pages()
388 atomic_add(alloced, &map->live_grants); in gntdev_map_grant_pages()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h198 bool alloced; member
/drivers/net/ethernet/brocade/bna/
Dbnad.c341 u32 alloced, prod, q_depth; in bnad_rxq_refill_page() local
353 alloced = 0; in bnad_rxq_refill_page()
398 alloced++; in bnad_rxq_refill_page()
402 if (likely(alloced)) { in bnad_rxq_refill_page()
409 return alloced; in bnad_rxq_refill_page()
415 u32 alloced, prod, q_depth, buff_sz; in bnad_rxq_refill_skb() local
426 alloced = 0; in bnad_rxq_refill_skb()
454 alloced++; in bnad_rxq_refill_skb()
458 if (likely(alloced)) { in bnad_rxq_refill_skb()
465 return alloced; in bnad_rxq_refill_skb()
/drivers/dma/ti/
Dedma.c231 bool alloced; member
1753 echan->alloced = true; in edma_alloc_chan_resources()
1790 if (echan->alloced) { in edma_free_chan_resources()
1792 echan->alloced = false; in edma_free_chan_resources()
2641 if (echan[i].alloced) in edma_pm_suspend()
2666 if (echan[i].alloced) { in edma_pm_resume()
/drivers/acpi/apei/
Dghes.c767 int alloced; in ghes_estatus_cache_alloc() local
772 alloced = atomic_add_return(1, &ghes_estatus_cache_alloced); in ghes_estatus_cache_alloc()
773 if (alloced > GHES_ESTATUS_CACHE_ALLOCED_MAX) { in ghes_estatus_cache_alloc()
/drivers/net/ethernet/atheros/atlx/
Datl1.c1764 rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0; in atl1_clean_alloc_flag()
1848 while (!buffer_info->alloced && !next_info->alloced) { in atl1_alloc_rx_buffers()
1850 buffer_info->alloced = 1; in atl1_alloc_rx_buffers()
1864 buffer_info->alloced = 1; in atl1_alloc_rx_buffers()
1988 buffer_info->alloced = 0; in atl1_intr_rx()
2018 buffer_info->alloced = 0; in atl1_intr_rx()
Datl1.h596 u16 alloced; /* 1 if skb allocated */ member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h321 bool alloced; member
Dhclge_main.c1716 int i, alloced; in hclge_assign_tqp() local
1718 for (i = 0, alloced = 0; i < hdev->num_tqps && in hclge_assign_tqp()
1719 alloced < num_tqps; i++) { in hclge_assign_tqp()
1720 if (!hdev->htqp[i].alloced) { in hclge_assign_tqp()
1722 hdev->htqp[i].q.tqp_index = alloced; in hclge_assign_tqp()
1725 kinfo->tqp[alloced] = &hdev->htqp[i].q; in hclge_assign_tqp()
1726 hdev->htqp[i].alloced = true; in hclge_assign_tqp()
1727 alloced++; in hclge_assign_tqp()
1730 vport->alloc_tqps = alloced; in hclge_assign_tqp()