Home
last modified time | relevance | path

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

/drivers/net/wireless/brcm80211/brcmfmac/
Dcommonring.c165 u16 n_items, u16 *alloced) in brcmf_commonring_reserve_for_write_multiple() argument
181 *alloced = min_t(u16, n_items, available - 1); in brcmf_commonring_reserve_for_write_multiple()
182 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple()
183 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple()
184 commonring->w_ptr += *alloced; in brcmf_commonring_reserve_for_write_multiple()
Dmsgbuf.c885 u16 alloced; in brcmf_msgbuf_rxbuf_data_post() local
896 &alloced); in brcmf_msgbuf_rxbuf_data_post()
902 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_data_post()
910 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
920 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
992 u16 alloced; in brcmf_msgbuf_rxbuf_ctrl_post() local
1004 &alloced); in brcmf_msgbuf_rxbuf_ctrl_post()
1011 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_ctrl_post()
1019 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
1029 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
Dcommonring.h57 u16 n_items, u16 *alloced);
/drivers/net/wireless/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/staging/lustre/lustre/ptlrpc/
Dsec_bulk.c399 int npools, alloced = 0; in enc_pools_add_pages() local
423 for (j = 0; j < PAGES_PER_POOL && alloced < npages; j++) { in enc_pools_add_pages()
429 alloced++; in enc_pools_add_pages()
432 LASSERT(alloced == npages); in enc_pools_add_pages()
/drivers/dma/
Dedma.c113 bool alloced; member
852 echan->alloced = true; in edma_alloc_chan_resources()
887 if (echan->alloced) { in edma_free_chan_resources()
889 echan->alloced = false; in edma_free_chan_resources()
/drivers/acpi/apei/
Dghes.c556 int alloced; in ghes_estatus_cache_alloc() local
561 alloced = atomic_add_return(1, &ghes_estatus_cache_alloced); in ghes_estatus_cache_alloc()
562 if (alloced > GHES_ESTATUS_CACHE_ALLOCED_MAX) { in ghes_estatus_cache_alloc()
/drivers/net/ethernet/brocade/bna/
Dbnad.c365 u32 alloced, prod, q_depth; in bnad_rxq_refill_page() local
377 alloced = 0; in bnad_rxq_refill_page()
416 alloced++; in bnad_rxq_refill_page()
420 if (likely(alloced)) { in bnad_rxq_refill_page()
427 return alloced; in bnad_rxq_refill_page()
433 u32 alloced, prod, q_depth, buff_sz; in bnad_rxq_refill_skb() local
444 alloced = 0; in bnad_rxq_refill_skb()
465 alloced++; in bnad_rxq_refill_skb()
469 if (likely(alloced)) { in bnad_rxq_refill_skb()
476 return alloced; in bnad_rxq_refill_skb()
/drivers/net/ethernet/atheros/atlx/
Datl1.c1785 rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0; in atl1_clean_alloc_flag()
1869 while (!buffer_info->alloced && !next_info->alloced) { in atl1_alloc_rx_buffers()
1871 buffer_info->alloced = 1; in atl1_alloc_rx_buffers()
1885 buffer_info->alloced = 1; in atl1_alloc_rx_buffers()
2009 buffer_info->alloced = 0; in atl1_intr_rx()
2039 buffer_info->alloced = 0; in atl1_intr_rx()
Datl1.h609 u16 alloced; /* 1 if skb allocated */ member