Searched refs:alloced (Results 1 - 66 of 66) sorted by relevance

/linux-4.1.27/sound/hda/
H A Darray.c22 if (array->used >= array->alloced) { snd_array_new()
23 int num = array->alloced + array->alloc_align; snd_array_new()
32 array->alloced = num; snd_array_new()
46 array->alloced = 0; snd_array_free()
/linux-4.1.27/lib/mpi/
H A Dmpiutil.c48 a->alloced = nlimbs; mpi_alloc()
79 a->alloced = nlimbs; mpi_assign_limb_space()
90 if (nlimbs <= a->alloced) mpi_resize()
97 memcpy(p, a->d, a->alloced * sizeof(mpi_limb_t)); mpi_resize()
105 a->alloced = nlimbs; mpi_resize()
H A Dmpi-internal.h70 if (a->alloced < b) RESIZE_IF_NEEDED()
H A Dmpi-pow.c111 if (res->alloced < size) { mpi_powm()
/linux-4.1.27/include/linux/
H A Dshmem_fs.h17 unsigned long alloced; /* data pages alloced to file */ member in struct:shmem_inode_info
H A Diova.h30 struct rb_node *cached32_node; /* Save last alloced node */
H A Dmpi.h48 int alloced; /* array size (# of allocated limbs) */ member in struct:gcry_mpi
H A Dhugetlb.h27 /* both alloced and reserved pages. */
H A Dblkdev.h168 struct request_list *rl; /* rl this rq is alloced from */
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcommonring.c165 u16 n_items, u16 *alloced) brcmf_commonring_reserve_for_write_multiple()
181 *alloced = min_t(u16, n_items, available - 1); brcmf_commonring_reserve_for_write_multiple()
182 if (*alloced + commonring->w_ptr > commonring->depth) brcmf_commonring_reserve_for_write_multiple()
183 *alloced = commonring->depth - commonring->w_ptr; brcmf_commonring_reserve_for_write_multiple()
184 commonring->w_ptr += *alloced; brcmf_commonring_reserve_for_write_multiple()
164 brcmf_commonring_reserve_for_write_multiple(struct brcmf_commonring *commonring, u16 n_items, u16 *alloced) brcmf_commonring_reserve_for_write_multiple() argument
H A Dcommonring.h59 u16 n_items, u16 *alloced);
H A Dmsgbuf.c891 u16 alloced; brcmf_msgbuf_rxbuf_data_post() local
902 &alloced); brcmf_msgbuf_rxbuf_data_post()
908 for (i = 0; i < alloced; i++) { brcmf_msgbuf_rxbuf_data_post()
916 brcmf_commonring_write_cancel(commonring, alloced - i); brcmf_msgbuf_rxbuf_data_post()
926 brcmf_commonring_write_cancel(commonring, alloced - i); brcmf_msgbuf_rxbuf_data_post()
998 u16 alloced; brcmf_msgbuf_rxbuf_ctrl_post() local
1010 &alloced); brcmf_msgbuf_rxbuf_ctrl_post()
1017 for (i = 0; i < alloced; i++) { brcmf_msgbuf_rxbuf_ctrl_post()
1025 brcmf_commonring_write_cancel(commonring, alloced - i); brcmf_msgbuf_rxbuf_ctrl_post()
1035 brcmf_commonring_write_cancel(commonring, alloced - i); brcmf_msgbuf_rxbuf_ctrl_post()
/linux-4.1.27/fs/gfs2/
H A Dtrans.c92 int alloced = tr->tr_alloced; gfs2_trans_end() local
99 if (alloced) { gfs2_trans_end()
115 if (alloced && !tr->tr_attached) gfs2_trans_end()
121 if (alloced) gfs2_trans_end()
H A Dbmap.c459 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; gfs2_bmap_alloc() local
507 n = blks - alloced; gfs2_bmap_alloc()
511 alloced += n; gfs2_bmap_alloc()
581 gfs2_add_inode_blocks(&ip->i_inode, alloced); gfs2_bmap_alloc()
H A Dglops.c95 * tr->alloced is not set since the transaction structure is gfs2_ail_empty_gl()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Ddma.c442 u16 align_bits, uint *alloced, dma_alloc_consistent()
449 *alloced = size; dma_alloc_consistent()
470 u16 *alignbits, uint *alloced, dma_ringalloc()
477 va = dma_alloc_consistent(di, size, *alignbits, alloced, descpa); dma_ringalloc()
488 alloced, descpa); dma_ringalloc()
498 uint alloced = 0; dma64_alloc() local
510 &alloced, &di->txdpaorig); dma64_alloc()
522 di->txdalloc = alloced; dma64_alloc()
525 &alloced, &di->rxdpaorig); dma64_alloc()
537 di->rxdalloc = alloced; dma64_alloc()
441 dma_alloc_consistent(struct dma_info *di, uint size, u16 align_bits, uint *alloced, dma_addr_t *pap) dma_alloc_consistent() argument
469 dma_ringalloc(struct dma_info *di, u32 boundary, uint size, u16 *alignbits, uint *alloced, dma_addr_t *descpa) dma_ringalloc() argument
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dsec_bulk.c397 int npools, alloced = 0; enc_pools_add_pages() local
421 for (j = 0; j < PAGES_PER_POOL && alloced < npages; j++) { enc_pools_add_pages()
427 alloced++; enc_pools_add_pages()
430 LASSERT(alloced == npages); enc_pools_add_pages()
/linux-4.1.27/drivers/md/
H A Draid1.h148 /* DO NOT PUT ANY NEW FIELDS HERE - bios array is contiguously alloced*/
H A Dbitmap.h161 * in emergencies (when map cannot be alloced), hijack the map
H A Ddm-ioctl.c1672 #define DM_PARAMS_KMALLOC 0x0001 /* Params alloced with kmalloc */
1673 #define DM_PARAMS_VMALLOC 0x0002 /* Params alloced with vmalloc */
H A Dbitmap.c113 /* if page was hijacked, unmark the flag so it might get alloced next time */
H A Ddm.c1324 * The clone is *NOT* freed actually here because it is alloced end_clone_request()
/linux-4.1.27/net/rds/
H A Dib_ring.c144 * returns the oldest alloced ring entry. This will be the next one
H A Diw_ring.c145 * returns the oldest alloced ring entry. This will be the next one
H A Dtcp.c218 rdsdebug("alloced tc %p\n", conn->c_transport_data); rds_tcp_conn_alloc()
H A Dtcp_recv.c180 rdsdebug("alloced tinc %p\n", tinc); rds_tcp_data_recv()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf-vmalloc.c174 printk(KERN_ERR "memory is not alloced/mmapped.\n"); __videobuf_iolock()
H A Dvideobuf-dma-contig.c251 dev_err(q->dev, "memory is not alloced/mmapped.\n"); __videobuf_iolock()
/linux-4.1.27/drivers/dma/
H A Dedma.c114 bool alloced; member in struct:edma_chan
830 echan->alloced = true; edma_alloc_chan_resources()
865 if (echan->alloced) { edma_free_chan_resources()
867 echan->alloced = false; edma_free_chan_resources()
/linux-4.1.27/arch/microblaze/mm/
H A Dconsistent.c57 * in this mirror region will not be cached. It's alloced from the same
/linux-4.1.27/include/sound/
H A Dhdaudio.h29 unsigned int alloced; member in struct:snd_array
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad.c366 u32 alloced, prod, q_depth; bnad_rxq_refill_page() local
378 alloced = 0; bnad_rxq_refill_page()
417 alloced++; bnad_rxq_refill_page()
421 if (likely(alloced)) { bnad_rxq_refill_page()
428 return alloced; bnad_rxq_refill_page()
434 u32 alloced, prod, q_depth, buff_sz; bnad_rxq_refill_skb() local
445 alloced = 0; bnad_rxq_refill_skb()
466 alloced++; bnad_rxq_refill_skb()
470 if (likely(alloced)) { bnad_rxq_refill_skb()
477 return alloced; bnad_rxq_refill_skb()
/linux-4.1.27/mm/
H A Dshmem.c229 * But normally info->alloced == inode->i_mapping->nrpages + info->swapped
230 * So mm freed is info->alloced - (inode->i_mapping->nrpages + info->swapped)
239 freed = info->alloced - info->swapped - inode->i_mapping->nrpages; shmem_recalc_inode()
244 info->alloced -= freed; shmem_recalc_inode()
1043 int alloced = 0; shmem_getpage_gfp() local
1197 info->alloced++; shmem_getpage_gfp()
1201 alloced = true; shmem_getpage_gfp()
1227 if (alloced) shmem_getpage_gfp()
1243 info->alloced--; shmem_getpage_gfp()
H A Dzsmalloc.c1572 * Find alloced object in zspage from index object and
/linux-4.1.27/drivers/isdn/sc/
H A Dinit.c427 * Release any memory we alloced sc_exit()
/linux-4.1.27/drivers/net/arcnet/
H A Darc-rimi.c208 * re-reserve the memory region - arcrimi_probe() alloced this reqion arcrimi_found()
/linux-4.1.27/drivers/acpi/apei/
H A Dghes.c556 int alloced; ghes_estatus_cache_alloc() local
561 alloced = atomic_add_return(1, &ghes_estatus_cache_alloced); ghes_estatus_cache_alloc()
562 if (alloced > GHES_ESTATUS_CACHE_ALLOCED_MAX) { ghes_estatus_cache_alloc()
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
H A Datl1.c1785 rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0; atl1_clean_alloc_flag()
1869 while (!buffer_info->alloced && !next_info->alloced) { atl1_alloc_rx_buffers()
1871 buffer_info->alloced = 1; atl1_alloc_rx_buffers()
1885 buffer_info->alloced = 1; atl1_alloc_rx_buffers()
2009 buffer_info->alloced = 0; atl1_intr_rx()
2039 buffer_info->alloced = 0; atl1_intr_rx()
H A Datl1.h609 u16 alloced; /* 1 if skb allocated */ member in struct:atl1_buffer
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_driver.h215 char *flipbuf; /* Our flip buffer, alloced if board is found */
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-bootmem.h41 /* minimum alignment of bootmem alloced blocks */
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c235 /* After we have alloced the backing store might not be able to vmw_sou_backing_alloc()
H A Dvmwgfx_fence.c969 * @event: Event to be posted. This event should've been alloced
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_btree.h220 int allocated; /* count of alloced */
/linux-4.1.27/fs/xfs/
H A Dxfs_mount.h58 xfs_agnumber_t m_agirotor; /* last ag dir inode alloced */
/linux-4.1.27/drivers/video/fbdev/
H A Dxilinxfb.c149 int fb_alloced; /* Flag, was the fb memory alloced? */
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c61 * in BSS, and not dynamically alloced, so that it ends up in
/linux-4.1.27/net/9p/
H A Dtrans_virtio.c458 * alloced memory and payload onto the user buffer. p9_virtio_zc_request()
/linux-4.1.27/drivers/staging/dgap/
H A Ddgap.h589 char *flipbuf; /* Our flip buffer, alloced if */
591 char *flipflagbuf; /* Our flip flag buffer, alloced */
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_svc.h43 struct list_head sgpg_q; /* queue of alloced sgpgs */
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dobd_support.h777 OBD_ALLOC_POST(ptr, size, "slab-alloced"); \
/linux-4.1.27/drivers/usb/atm/
H A Dusbatm.c1174 vdbg(&intf->dev, "%s: alloced buffer 0x%p buf size %u urb 0x%p", usbatm_usb_probe()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_state.c3180 * - Free any alloced GART memory.
3181 * - Free any alloced radeon surfaces.
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_kernel.h271 /* base of memory alloced for ipath_kregbase, for free */
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c2202 netdev_err(dev, "slice-%d: alloced only %d small bufs\n", myri10ge_allocate_rings()
2209 netdev_err(dev, "slice-%d: alloced only %d big bufs\n", myri10ge_allocate_rings()
2782 /* Free any DMA resources we've alloced and clear out the skb slot */ myri10ge_unmap_tx_dma()
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Ddebug.c107 * An 'alloced' message is marked incomplete by oring the 'Size' field queueAllocMsg()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c826 return 0; /* alloced already */ atl1e_setup_ring_resources()
/linux-4.1.27/fs/ocfs2/cluster/
H A Dtcp.c456 sclog(sc, "alloced\n"); sc_alloc()
/linux-4.1.27/arch/powerpc/kernel/
H A Deeh.c124 * not dynamically alloced, so that it ends up in RMO where RTAS
/linux-4.1.27/kernel/trace/
H A Dring_buffer.c4960 pr_info(" alloced bytes: %ld\n", total_alloc); for_each_online_cpu()
4997 " alloced and written from above\n"); for_each_online_cpu()
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dsunhme.c1171 * Say a skb data area is at 0xf001b010, and its size alloced is
/linux-4.1.27/drivers/net/ethernet/neterion/
H A Ds2io.c751 * memory that was alloced till the init_shared_mem()
853 * should free any memory that was alloced till the init_shared_mem()
/linux-4.1.27/block/
H A Dcfq-iosched.c3630 cfq_log_cfqq(cfqd, cfqq, "alloced"); cfq_find_alloc_queue()
/linux-4.1.27/fs/btrfs/
H A Dextent_io.c4644 /* One for when we alloced the page */ btrfs_release_extent_buffer_page()
/linux-4.1.27/drivers/scsi/
H A Dpmcraid.c4693 * pmcraid_release_control_blocks - releases buffers alloced for control blocks
/linux-4.1.27/kernel/
H A Dworkqueue.c3417 /* initialize newly alloced @pwq which is associated with @wq and @pool */ init_pwq()

Completed in 5803 milliseconds