Home
last modified time | relevance | path

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

12

/linux/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/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/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.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()
A Dcommonring.h49 u16 n_items, u16 *alloced);
/linux/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()
1862 rcd->egrbufs.alloced < rcd->egrbufs.count) { in hfi1_setup_eagerbufs()
1873 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].dma = in hfi1_setup_eagerbufs()
1875 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1912 rcd->egrbufs.alloced = 0; in hfi1_setup_eagerbufs()
1920 rcd->egrbufs.alloced++; in hfi1_setup_eagerbufs()
1939 rcd->ctxt, rcd->egrbufs.alloced, in hfi1_setup_eagerbufs()
1948 rounddown_pow_of_two(rcd->egrbufs.alloced / 2); in hfi1_setup_eagerbufs()
1973 for (idx = 0; idx < rcd->egrbufs.alloced; idx++) { in hfi1_setup_eagerbufs()
[all …]
A Dtrace_ctxts.h44 __entry->eager_cnt = uctxt->egrbufs.alloced;
A Dfile_ops.c1115 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info()
1123 cinfo.egrtids = uctxt->egrbufs.alloced; in get_ctxt_info()
/linux/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/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/mm/
A Dshmem.c363 freed = info->alloced - info->swapped - inode->i_mapping->nrpages; in shmem_recalc_inode()
365 info->alloced -= freed; in shmem_recalc_inode()
383 info->alloced += pages; in shmem_charge()
399 info->alloced -= pages; in shmem_uncharge()
1068 if (info->alloced - info->swapped != inode->i_mapping->nrpages) { in shmem_getattr()
1114 if (info->alloced) in shmem_setattr()
1824 int alloced = 0; in shmem_getpage_gfp() local
1944 info->alloced += compound_nr(page); in shmem_getpage_gfp()
1948 alloced = true; in shmem_getpage_gfp()
1994 if (alloced) { in shmem_getpage_gfp()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.h198 bool alloced; member
/linux/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/drivers/dma/ti/
A 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()
/linux/drivers/acpi/apei/
A 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()
/linux/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/fs/gfs2/
A 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()

Completed in 72 milliseconds

12