| /linux/sound/hda/core/ |
| H A D | array.c | 23 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/lib/crypto/mpi/ |
| H A D | mpiutil.c | 50 a->alloced = nlimbs; in mpi_alloc() 81 a->alloced = nlimbs; in mpi_assign_limb_space() 92 if (nlimbs <= a->alloced) in mpi_resize() 99 memcpy(p, a->d, a->alloced * sizeof(mpi_limb_t)); in mpi_resize() 107 a->alloced = nlimbs; in mpi_resize()
|
| H A D | mpi-mul.c | 49 if (w->alloced < wsize) { in mpi_mul()
|
| H A D | mpi-bit.c | 90 for (i = a->nlimbs; i < a->alloced; i++) in mpi_set_bit()
|
| H A D | mpi-internal.h | 57 if (a->alloced < b) in RESIZE_IF_NEEDED()
|
| H A D | mpi-pow.c | 106 if (res->alloced < size) { in mpi_powm()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A 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()
|
| H A D | msgbuf.c | 938 u16 alloced; in brcmf_msgbuf_rxbuf_data_post() local 949 &alloced); in brcmf_msgbuf_rxbuf_data_post() 955 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_data_post() 963 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post() 973 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_data_post() 1046 u16 alloced; in brcmf_msgbuf_rxbuf_ctrl_post() local 1058 &alloced); in brcmf_msgbuf_rxbuf_ctrl_post() 1065 for (i = 0; i < alloced; i++) { in brcmf_msgbuf_rxbuf_ctrl_post() 1073 brcmf_commonring_write_cancel(commonring, alloced - i); in brcmf_msgbuf_rxbuf_ctrl_post() 1083 brcmf_commonring_write_cancel(commonring, alloced in brcmf_msgbuf_rxbuf_ctrl_post() [all...] |
| H A D | commonring.h | 49 u16 n_items, u16 *alloced);
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A 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() 486 dma_free_coherent(di->dmadev, *alloced, va, *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() [all …]
|
| /linux/tools/perf/util/ |
| H A D | bpf-filter.c | 215 int num = 0, alloced = 32; in convert_to_tgid() 216 u64 *ids = calloc(alloced, sizeof(*ids)); in convert_to_tgid() 233 if (num == alloced) { 236 alloced *= 2; in destroy_event_hash() 237 tmp = realloc(ids, alloced * sizeof(*ids)); in destroy_event_hash() 239 int num = 0, alloced = 32; destroy_event_hash() local
|
| /linux/include/linux/ |
| H A D | mpi.h | 30 int alloced; /* array size (# of allocated limbs) */ member
|
| H A D | shmem_fs.h | 39 unsigned long alloced; /* data pages alloced to file */ 38 unsigned long alloced; /* data pages alloced to file */ global() member
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | trace_ctxts.h | 44 __entry->eager_cnt = uctxt->egrbufs.alloced;
|
| H A D | file_ops.c | 1126 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in user_init() 1134 cinfo.egrtids = uctxt->egrbufs.alloced; in user_init()
|
| /linux/mm/ |
| H A D | shmem.c | 433 * @alloced: the change in number of pages allocated to inode 439 * But normally info->alloced == inode->i_mapping->nrpages + info->swapped in shmem_recalc_inode() 440 * So mm freed is info->alloced - (inode->i_mapping->nrpages + info->swapped) in shmem_recalc_inode() 444 bool shmem_recalc_inode(struct inode *inode, long alloced, long swapped) in shmem_recalc_inode() 451 info->alloced += alloced; in shmem_recalc_inode() 453 freed = info->alloced - info->swapped - in shmem_recalc_inode() 468 info->alloced -= freed; in shmem_recalc_inode() 1550 if (data_race(info->alloced - info->swapped != inode->i_mapping->nrpages)) 1622 /* Swapin-error markers are not counted in alloced in shmem_writeout() 438 shmem_recalc_inode(struct inode * inode,long alloced,long swapped) shmem_recalc_inode() argument 2439 bool alloced; shmem_get_folio_gfp() local [all...] |
| /linux/drivers/xen/ |
| H A D | gntdev.c | 326 size_t alloced = 0; in gntdev_map_grant_pages() local 377 alloced++; in gntdev_map_grant_pages() 386 alloced++; in gntdev_map_grant_pages() 392 atomic_add(alloced, &map->live_grants); in gntdev_map_grant_pages()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad.c | 342 u32 alloced, prod, q_depth; in bnad_rxq_refill_page() local 354 alloced = 0; in bnad_rxq_refill_page() 399 alloced++; in bnad_rxq_refill_page() 403 if (likely(alloced)) { in bnad_rxq_refill_page() 410 return alloced; in bnad_rxq_refill_page() 416 u32 alloced, prod, q_depth, buff_sz; in bnad_rxq_refill_skb() local 427 alloced = 0; in bnad_rxq_refill_skb() 455 alloced++; in bnad_rxq_refill_skb() 459 if (likely(alloced)) { in bnad_rxq_refill_skb() 466 return alloced; in bnad_rxq_refill_skb()
|
| /linux/kernel/sched/ext/ |
| H A D | cid.c | 516 bool alloced; in scx_bpf_cid_override() 529 alloced = zalloc_cpumask_var(&seen, GFP_KERNEL); in scx_bpf_cid_override() 560 if (!alloced || !node_counts || !cpu_to_cid || !shard_start) { in scx_bpf_cid_override() 479 bool alloced; scx_bpf_cid_override() local
|
| /linux/drivers/dma/ti/ |
| H A D | edma.c | 222 bool alloced; member 1695 echan->alloced = true; in edma_alloc_chan_resources() 1732 if (echan->alloced) { in edma_free_chan_resources() 1734 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/drivers/net/ethernet/atheros/atlx/ |
| H A D | atl1.c | 1765 rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0; in atl1_clean_alloc_flag() 1849 while (!buffer_info->alloced && !next_info->alloced) { in atl1_alloc_rx_buffers() 1851 buffer_info->alloced = 1; in atl1_alloc_rx_buffers() 1876 buffer_info->alloced = 1; in atl1_alloc_rx_buffers() 1996 buffer_info->alloced = 0; in atl1_intr_rx() 2026 buffer_info->alloced = 0; in atl1_intr_rx()
|
| H A D | atl1.h | 596 u16 alloced; /* 1 if skb allocated */ member
|
| /linux/drivers/acpi/apei/ |
| H A D | ghes.c | 1129 int alloced; in ghes_estatus_cache_add() 1134 alloced = atomic_add_return(1, &ghes_estatus_cache_alloced); in ghes_estatus_cache_add() 1135 if (alloced > GHES_ESTATUS_CACHE_ALLOCED_MAX) { in ghes_estatus_cache_add() 1076 int alloced; ghes_estatus_cache_alloc() local
|
| /linux/fs/gfs2/ |
| H A D | bmap.c | 673 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; in __gfs2_iomap_alloc() 712 n = blks - alloced; in __gfs2_iomap_alloc() 716 alloced += n; in __gfs2_iomap_alloc() 781 gfs2_add_inode_blocks(&ip->i_inode, alloced); in __gfs2_iomap_alloc() 669 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; __gfs2_iomap_alloc() local
|
| /linux/include/sound/ |
| H A D | hdaudio.h | 44 unsigned int alloced; member
|