Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/sound/hda/
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()
/kernel/linux/linux-5.10/lib/mpi/
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()
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()
Dmpi-mul.c46 if (w->alloced < wsize) { in mpi_mul()
Dmpi-add.c32 if (w->alloced < wsize) in mpi_add_ui()
Dmpi-internal.h57 if ((a)->alloced < (b)) \
Dmpi-pow.c104 if (res->alloced < size) { in mpi_powm()
/kernel/linux/linux-5.10/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.c902 u16 alloced; in brcmf_msgbuf_rxbuf_data_post() local
913 &alloced); in brcmf_msgbuf_rxbuf_data_post()
919 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_data_post()
927 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
937 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post()
1010 u16 alloced; in brcmf_msgbuf_rxbuf_ctrl_post() local
1022 &alloced); in brcmf_msgbuf_rxbuf_ctrl_post()
1029 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_ctrl_post()
1037 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
1047 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post()
Dcommonring.h49 u16 n_items, u16 *alloced);
/kernel/linux/linux-5.10/fs/gfs2/
Dtrans.c95 int alloced = test_bit(TR_ALLOCED, &tr->tr_flags); in gfs2_trans_end() local
101 if (alloced) { in gfs2_trans_end()
117 if (alloced && !test_bit(TR_ATTACHED, &tr->tr_flags)) in gfs2_trans_end()
124 if (alloced) in gfs2_trans_end()
Dbmap.c670 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; in gfs2_iomap_alloc() local
709 n = blks - alloced; in gfs2_iomap_alloc()
713 alloced += n; in gfs2_iomap_alloc()
778 gfs2_add_inode_blocks(&ip->i_inode, alloced); in gfs2_iomap_alloc()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dinit.c1150 for (e = 0; e < rcd->egrbufs.alloced; e++) { in hfi1_free_ctxtdata()
1158 rcd->egrbufs.alloced = 0; in hfi1_free_ctxtdata()
1902 rcd->egrbufs.alloced < rcd->egrbufs.count) { in hfi1_setup_eagerbufs()
1911 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].addr = in hfi1_setup_eagerbufs()
1913 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].dma = in hfi1_setup_eagerbufs()
1915 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1952 rcd->egrbufs.alloced = 0; in hfi1_setup_eagerbufs()
1960 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1979 rcd->ctxt, rcd->egrbufs.alloced, in hfi1_setup_eagerbufs()
1988 rounddown_pow_of_two(rcd->egrbufs.alloced / 2); in hfi1_setup_eagerbufs()
[all …]
Dtrace_ctxts.h85 __entry->eager_cnt = uctxt->egrbufs.alloced;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dshmem_fs.h19 unsigned long alloced; /* data pages alloced to file */ member
Dmpi.h30 int alloced; /* array size (# of allocated limbs) */ member
/kernel/linux/linux-5.10/drivers/xen/
Dgntdev.c312 size_t alloced = 0; in gntdev_map_grant_pages() local
363 alloced++; in gntdev_map_grant_pages()
372 alloced++; in gntdev_map_grant_pages()
378 atomic_add(alloced, &map->live_grants); in gntdev_map_grant_pages()
/kernel/linux/linux-5.10/mm/
Dshmem.c367 freed = info->alloced - info->swapped - inode->i_mapping->nrpages; in shmem_recalc_inode()
369 info->alloced -= freed; in shmem_recalc_inode()
387 info->alloced += pages; in shmem_charge()
403 info->alloced -= pages; in shmem_uncharge()
1075 if (info->alloced - info->swapped != inode->i_mapping->nrpages) { in shmem_getattr()
1121 if (info->alloced) in shmem_setattr()
1812 int alloced = 0; in shmem_getpage_gfp() local
1940 info->alloced += compound_nr(page); in shmem_getpage_gfp()
1944 alloced = true; in shmem_getpage_gfp()
1990 if (alloced) { in shmem_getpage_gfp()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h191 bool alloced; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/acpi/apei/
Dghes.c750 int alloced; in ghes_estatus_cache_alloc() local
755 alloced = atomic_add_return(1, &ghes_estatus_cache_alloced); in ghes_estatus_cache_alloc()
756 if (alloced > GHES_ESTATUS_CACHE_ALLOCED_MAX) { in ghes_estatus_cache_alloc()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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

12