/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | commonring.c | 144 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()
|
D | msgbuf.c | 905 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()
|
D | commonring.h | 49 u16 n_items, u16 *alloced);
|
/drivers/infiniband/hw/hfi1/ |
D | init.c | 1108 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 …]
|
D | trace_ctxts.h | 44 __entry->eager_cnt = uctxt->egrbufs.alloced;
|
D | file_ops.c | 1117 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info() 1125 cinfo.egrtids = uctxt->egrbufs.alloced; in get_ctxt_info()
|
D | hfi.h | 151 u16 alloced; /* number of rcvarray entries used */ member
|
D | chip.c | 9975 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/ |
D | dma.c | 442 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/ |
D | gntdev.c | 322 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/ |
D | hclgevf_main.h | 198 bool alloced; member
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 341 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/ |
D | edma.c | 231 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/ |
D | ghes.c | 767 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/ |
D | atl1.c | 1764 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()
|
D | atl1.h | 596 u16 alloced; /* 1 if skb allocated */ member
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 321 bool alloced; member
|
D | hclge_main.c | 1716 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()
|