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

12

/linux-master/sound/hda/
H A Darray.c23 if (array->used >= array->alloced) {
24 int num = array->alloced + array->alloc_align;
25 int oldsize = array->alloced * array->elem_size;
35 array->alloced = num;
49 array->alloced = 0;
/linux-master/lib/crypto/mpi/
H A Dmpiutil.c105 a->alloced = nlimbs;
136 a->alloced = nlimbs;
147 if (nlimbs <= a->alloced)
154 memcpy(p, a->d, a->alloced * sizeof(mpi_limb_t));
162 a->alloced = nlimbs;
238 mpi_assign_limb_space(w, u->d, u->alloced);
242 u->alloced = 0;
307 if (a->alloced > b->alloced)
308 nlimbs = b->alloced;
[all...]
H A Dmpi-mul.c46 if (w->alloced < wsize) {
H A Dmpi-bit.c88 for (i = a->nlimbs; i < a->alloced; i++)
107 for (i = a->nlimbs; i < a->alloced; i++)
H A Dmpi-add.c32 if (w->alloced < wsize)
H A Dmpi-internal.h57 if ((a)->alloced < (b)) \
H A Dmpi-pow.c104 if (res->alloced < size) {
H A Dmpicoder.c145 if (val->alloced < nlimbs)
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_tqp_stats.h30 bool alloced; member in struct:hclge_comm_tqp
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommonring.c144 u16 n_items, u16 *alloced)
160 *alloced = min_t(u16, n_items, available - 1);
161 if (*alloced + commonring->w_ptr > commonring->depth)
162 *alloced = commonring->depth - commonring->w_ptr;
163 commonring->w_ptr += *alloced;
143 brcmf_commonring_reserve_for_write_multiple(struct brcmf_commonring *commonring, u16 n_items, u16 *alloced) argument
H A Dcommonring.h49 u16 n_items, u16 *alloced);
H A Dmsgbuf.c909 u16 alloced; local
920 &alloced);
926 for (i = 0; i < alloced; i++) {
934 brcmf_commonring_write_cancel(commonring, alloced - i);
944 brcmf_commonring_write_cancel(commonring, alloced - i);
1017 u16 alloced; local
1029 &alloced);
1036 for (i = 0; i < alloced; i++) {
1044 brcmf_commonring_write_cancel(commonring, alloced - i);
1054 brcmf_commonring_write_cancel(commonring, alloced
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dinit.c1108 for (e = 0; e < rcd->egrbufs.alloced; e++) {
1116 rcd->egrbufs.alloced = 0;
1846 rcd->egrbufs.alloced < rcd->egrbufs.count) {
1855 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].addr =
1857 rcd->egrbufs.rcvtids[rcd->egrbufs.alloced].dma =
1859 rcd->egrbufs.alloced++;
1896 rcd->egrbufs.alloced = 0;
1904 rcd->egrbufs.alloced++;
1923 rcd->ctxt, rcd->egrbufs.alloced,
1932 rounddown_pow_of_two(rcd->egrbufs.alloced /
[all...]
H A Dtrace_ctxts.h44 __entry->eager_cnt = uctxt->egrbufs.alloced;
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddma.c442 u16 align_bits, uint *alloced,
449 *alloced = size;
470 u16 *alignbits, uint *alloced,
477 va = dma_alloc_consistent(di, size, *alignbits, alloced, descpa);
488 alloced, descpa);
498 uint alloced = 0; local
510 &alloced, &di->txdpaorig);
522 di->txdalloc = alloced;
525 &alloced, &di->rxdpaorig);
537 di->rxdalloc = alloced;
441 dma_alloc_consistent(struct dma_info *di, uint size, u16 align_bits, uint *alloced, dma_addr_t *pap) argument
469 dma_ringalloc(struct dma_info *di, u32 boundary, uint size, u16 *alignbits, uint *alloced, dma_addr_t *descpa) argument
[all...]
/linux-master/include/linux/
H A Dshmem_fs.h24 unsigned long alloced; /* data pages alloced to file */ member in struct:shmem_inode_info
H A Dmpi.h30 int alloced; /* array size (# of allocated limbs) */ member in struct:gcry_mpi
/linux-master/mm/
H A Dshmem.c415 * @alloced: the change in number of pages allocated to inode
421 * But normally info->alloced == inode->i_mapping->nrpages + info->swapped
422 * So mm freed is info->alloced - (inode->i_mapping->nrpages + info->swapped)
424 static void shmem_recalc_inode(struct inode *inode, long alloced, long swapped) argument
430 info->alloced += alloced;
432 freed = info->alloced - info->swapped -
444 info->alloced -= freed;
1127 if (info->alloced - info->swapped != inode->i_mapping->nrpages)
1196 if (info->alloced)
1967 bool alloced; local
[all...]
/linux-master/drivers/xen/
H A Dgntdev.c322 size_t alloced = 0; local
373 alloced++;
382 alloced++;
388 atomic_add(alloced, &map->live_grants);
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbnad.c341 u32 alloced, prod, q_depth; local
353 alloced = 0;
398 alloced++;
402 if (likely(alloced)) {
409 return alloced;
415 u32 alloced, prod, q_depth, buff_sz; local
426 alloced = 0;
454 alloced++;
458 if (likely(alloced)) {
465 return alloced;
[all...]
/linux-master/drivers/dma/ti/
H A Dedma.c222 bool alloced; member in struct:edma_chan
1695 echan->alloced = true;
1732 if (echan->alloced) {
1734 echan->alloced = false;
2591 if (echan[i].alloced)
2616 if (echan[i].alloced) {
/linux-master/drivers/acpi/apei/
H A Dghes.c802 int alloced; local
807 alloced = atomic_add_return(1, &ghes_estatus_cache_alloced);
808 if (alloced > GHES_ESTATUS_CACHE_ALLOCED_MAX) {
/linux-master/drivers/net/ethernet/atheros/atlx/
H A Datl1.c1764 rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0;
1848 while (!buffer_info->alloced && !next_info->alloced) {
1850 buffer_info->alloced = 1;
1864 buffer_info->alloced = 1;
1988 buffer_info->alloced = 0;
2018 buffer_info->alloced = 0;
H A Datl1.h596 u16 alloced; /* 1 if skb allocated */ member in struct:atl1_buffer
/linux-master/fs/gfs2/
H A Dbmap.c668 unsigned n, i, blks, alloced = 0, iblks = 0, branch_start = 0; local
707 n = blks - alloced;
711 alloced += n;
776 gfs2_add_inode_blocks(&ip->i_inode, alloced);

Completed in 299 milliseconds

12