Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/sound/hda/
A Darray.c23 if (array->used >= array->alloced) { in snd_array_new()
24 int num = array->alloced + array->alloc_align; in snd_array_new()
25 int oldsize = array->alloced * array->elem_size; in snd_array_new()
35 array->alloced = num; in snd_array_new()
49 array->alloced = 0; in snd_array_free()
/linux-6.3-rc2/lib/mpi/
A Dmpiutil.c105 a->alloced = nlimbs; in mpi_alloc()
136 a->alloced = nlimbs; in mpi_assign_limb_space()
147 if (nlimbs <= a->alloced) in mpi_resize()
154 memcpy(p, a->d, a->alloced * sizeof(mpi_limb_t)); in mpi_resize()
162 a->alloced = nlimbs; in mpi_resize()
238 mpi_assign_limb_space(w, u->d, u->alloced); in mpi_snatch()
242 u->alloced = 0; in mpi_snatch()
307 if (a->alloced > b->alloced) in mpi_swap_cond()
308 nlimbs = b->alloced; in mpi_swap_cond()
310 nlimbs = a->alloced; in mpi_swap_cond()
A Dmpi-bit.c88 for (i = a->nlimbs; i < a->alloced; i++) in mpi_set_bit()
107 for (i = a->nlimbs; i < a->alloced; i++) in mpi_set_highbit()
A Dmpi-mul.c46 if (w->alloced < wsize) { in mpi_mul()
A Dmpi-add.c32 if (w->alloced < wsize) in mpi_add_ui()
A Dmpi-internal.h57 if ((a)->alloced < (b)) \
A Dmpi-pow.c104 if (res->alloced < size) { in mpi_powm()
A Dmpicoder.c145 if (val->alloced < nlimbs) in mpi_fromstr()
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A 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()
A Dmsgbuf.c909 u16 alloced; in brcmf_msgbuf_rxbuf_data_post() local
920 &alloced); in brcmf_msgbuf_rxbuf_data_post()
926 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_data_post()
934 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
944 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
1017 u16 alloced; in brcmf_msgbuf_rxbuf_ctrl_post() local
1029 &alloced); in brcmf_msgbuf_rxbuf_ctrl_post()
1036 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_ctrl_post()
1044 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
1054 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
A Dcommonring.h49 u16 n_items, u16 *alloced);
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dinit.c1109 for (e = 0; e < rcd->egrbufs.alloced; e++) { in hfi1_free_ctxtdata()
1117 rcd->egrbufs.alloced = 0; in hfi1_free_ctxtdata()
1847 rcd->egrbufs.alloced < rcd->egrbufs.count) { in hfi1_setup_eagerbufs()
1858 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].dma = in hfi1_setup_eagerbufs()
1860 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1897 rcd->egrbufs.alloced = 0; in hfi1_setup_eagerbufs()
1905 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1924 rcd->ctxt, rcd->egrbufs.alloced, in hfi1_setup_eagerbufs()
1933 rounddown_pow_of_two(rcd->egrbufs.alloced / 2); in hfi1_setup_eagerbufs()
1958 for (idx = 0; idx < rcd->egrbufs.alloced; idx++) { in hfi1_setup_eagerbufs()
[all …]
A Dtrace_ctxts.h44 __entry->eager_cnt = uctxt->egrbufs.alloced;
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A 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()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3_common/
A Dhclge_comm_tqp_stats.h30 bool alloced; member
/linux-6.3-rc2/include/linux/
A Dshmem_fs.h19 unsigned long alloced; /* data pages alloced to file */ member
A Dmpi.h30 int alloced; /* array size (# of allocated limbs) */ member
/linux-6.3-rc2/mm/
A Dshmem.c359 freed = info->alloced - info->swapped - inode->i_mapping->nrpages; in shmem_recalc_inode()
361 info->alloced -= freed; in shmem_recalc_inode()
379 info->alloced += pages; in shmem_charge()
395 info->alloced -= pages; in shmem_uncharge()
1125 if (info->alloced) in shmem_setattr()
1720 info->alloced--; in shmem_set_folio_swapin_error()
1864 int alloced = 0; in shmem_get_folio_gfp() local
1975 info->alloced += folio_nr_pages(folio); in shmem_get_folio_gfp()
1979 alloced = true; in shmem_get_folio_gfp()
2024 if (alloced) { in shmem_get_folio_gfp()
[all …]
/linux-6.3-rc2/drivers/xen/
A 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()
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A 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()
/linux-6.3-rc2/drivers/dma/ti/
A Dedma.c223 bool alloced; member
1704 echan->alloced = true; in edma_alloc_chan_resources()
1741 if (echan->alloced) { in edma_free_chan_resources()
1743 echan->alloced = false; in edma_free_chan_resources()
2592 if (echan[i].alloced) in edma_pm_suspend()
2617 if (echan[i].alloced) { in edma_pm_resume()
/linux-6.3-rc2/drivers/acpi/apei/
A Dghes.c766 int alloced; in ghes_estatus_cache_alloc() local
771 alloced = atomic_add_return(1, &ghes_estatus_cache_alloced); in ghes_estatus_cache_alloc()
772 if (alloced > GHES_ESTATUS_CACHE_ALLOCED_MAX) { in ghes_estatus_cache_alloc()
/linux-6.3-rc2/drivers/net/ethernet/atheros/atlx/
A 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()
A Datl1.h596 u16 alloced; /* 1 if skb allocated */ member
/linux-6.3-rc2/fs/gfs2/
A Dbmap.c665 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; in __gfs2_iomap_alloc() local
704 n = blks - alloced; in __gfs2_iomap_alloc()
708 alloced += n; in __gfs2_iomap_alloc()
773 gfs2_add_inode_blocks(&ip->i_inode, alloced); in __gfs2_iomap_alloc()

Completed in 79 milliseconds

12