Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 200 of 381) sorted by relevance

12

/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Did_table.c44 u32 c4iw_id_alloc(struct c4iw_id_table *alloc) in c4iw_id_alloc() argument
49 spin_lock_irqsave(&alloc->lock, flags); in c4iw_id_alloc()
51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc()
52 if (obj >= alloc->max) in c4iw_id_alloc()
53 obj = find_first_zero_bit(alloc->table, alloc->max); in c4iw_id_alloc()
55 if (obj < alloc->max) { in c4iw_id_alloc()
56 if (alloc->flags & C4IW_ID_TABLE_F_RANDOM) in c4iw_id_alloc()
57 alloc->last += prandom_u32() % RANDOM_SKIP; in c4iw_id_alloc()
59 alloc->last = obj + 1; in c4iw_id_alloc()
60 if (alloc->last >= alloc->max) in c4iw_id_alloc()
[all …]
Diw_cxgb4.h925 u32 c4iw_id_alloc(struct c4iw_id_table *alloc);
926 void c4iw_id_free(struct c4iw_id_table *alloc, u32 obj);
927 int c4iw_id_table_alloc(struct c4iw_id_table *alloc, u32 start, u32 num,
929 void c4iw_id_table_free(struct c4iw_id_table *alloc);
/linux-4.1.27/sound/isa/gus/
Dgus_mem.c33 void snd_gf1_mem_lock(struct snd_gf1_mem * alloc, int xup) in snd_gf1_mem_lock() argument
36 mutex_lock(&alloc->memory_mutex); in snd_gf1_mem_lock()
38 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_lock()
42 static struct snd_gf1_mem_block *snd_gf1_mem_xalloc(struct snd_gf1_mem * alloc, in snd_gf1_mem_xalloc() argument
51 pblock = alloc->first; in snd_gf1_mem_xalloc()
57 if (pblock == alloc->first) in snd_gf1_mem_xalloc()
58 alloc->first = nblock; in snd_gf1_mem_xalloc()
61 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_xalloc()
67 if (alloc->last == NULL) { in snd_gf1_mem_xalloc()
69 alloc->first = alloc->last = nblock; in snd_gf1_mem_xalloc()
[all …]
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_allocator.c40 u32 mthca_alloc(struct mthca_alloc *alloc) in mthca_alloc() argument
45 spin_lock_irqsave(&alloc->lock, flags); in mthca_alloc()
47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in mthca_alloc()
48 if (obj >= alloc->max) { in mthca_alloc()
49 alloc->top = (alloc->top + alloc->max) & alloc->mask; in mthca_alloc()
50 obj = find_first_zero_bit(alloc->table, alloc->max); in mthca_alloc()
53 if (obj < alloc->max) { in mthca_alloc()
54 set_bit(obj, alloc->table); in mthca_alloc()
55 obj |= alloc->top; in mthca_alloc()
59 spin_unlock_irqrestore(&alloc->lock, flags); in mthca_alloc()
[all …]
Dmthca_uar.c40 uar->index = mthca_alloc(&dev->uar_table.alloc); in mthca_uar_alloc()
51 mthca_free(&dev->uar_table.alloc, uar->index); in mthca_uar_free()
58 ret = mthca_alloc_init(&dev->uar_table.alloc, in mthca_init_uar_table()
67 mthca_alloc_cleanup(&dev->uar_table.alloc); in mthca_init_uar_table()
77 mthca_alloc_cleanup(&dev->uar_table.alloc); in mthca_cleanup_uar_table()
Dmthca_pd.c46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc); in mthca_pd_alloc()
56 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_alloc()
66 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_free()
71 return mthca_alloc_init(&dev->pd_table.alloc, in mthca_init_pd_table()
80 mthca_alloc_cleanup(&dev->pd_table.alloc); in mthca_cleanup_pd_table()
Dmthca_dev.h195 struct mthca_alloc alloc; member
201 struct mthca_alloc alloc; member
227 struct mthca_alloc alloc; member
240 struct mthca_alloc alloc; member
247 struct mthca_alloc alloc; member
254 struct mthca_alloc alloc; member
270 struct mthca_alloc alloc; member
275 struct mthca_alloc alloc; member
414 u32 mthca_alloc(struct mthca_alloc *alloc);
415 void mthca_free(struct mthca_alloc *alloc, u32 obj);
[all …]
Dmthca_mcg.c148 index = mthca_alloc(&dev->mcg_table.alloc); in mthca_multicast_attach()
206 mthca_free(&dev->mcg_table.alloc, index); in mthca_multicast_attach()
286 mthca_free(&dev->mcg_table.alloc, amgm_index_to_free); in mthca_multicast_detach()
305 mthca_free(&dev->mcg_table.alloc, index); in mthca_multicast_detach()
320 err = mthca_alloc_init(&dev->mcg_table.alloc, in mthca_init_mcg_table()
334 mthca_alloc_cleanup(&dev->mcg_table.alloc); in mthca_cleanup_mcg_table()
Dmthca_av.c172 index = mthca_alloc(&dev->av_table.alloc); in mthca_create_ah()
244 mthca_free(&dev->av_table.alloc, in mthca_destroy_ah()
331 err = mthca_alloc_init(&dev->av_table.alloc, in mthca_init_av_table()
361 mthca_alloc_cleanup(&dev->av_table.alloc); in mthca_init_av_table()
373 mthca_alloc_cleanup(&dev->av_table.alloc); in mthca_cleanup_av_table()
Dmthca_srq.c229 srq->srqn = mthca_alloc(&dev->srq_table.alloc); in mthca_alloc_srq()
314 mthca_free(&dev->srq_table.alloc, srq->srqn); in mthca_alloc_srq()
360 mthca_free(&dev->srq_table.alloc, srq->srqn); in mthca_free_srq()
674 err = mthca_alloc_init(&dev->srq_table.alloc, in mthca_init_srq_table()
684 mthca_alloc_cleanup(&dev->srq_table.alloc); in mthca_init_srq_table()
695 mthca_alloc_cleanup(&dev->srq_table.alloc); in mthca_cleanup_srq_table()
Dmthca_cq.c787 cq->cqn = mthca_alloc(&dev->cq_table.alloc); in mthca_init_cq()
890 mthca_free(&dev->cq_table.alloc, cq->cqn); in mthca_init_cq()
955 mthca_free(&dev->cq_table.alloc, cq->cqn); in mthca_free_cq()
965 err = mthca_alloc_init(&dev->cq_table.alloc, in mthca_init_cq_table()
975 mthca_alloc_cleanup(&dev->cq_table.alloc); in mthca_init_cq_table()
983 mthca_alloc_cleanup(&dev->cq_table.alloc); in mthca_cleanup_cq_table()
Dmthca_eq.c514 eq->eqn = mthca_alloc(&dev->eq_table.alloc); in mthca_create_eq()
568 mthca_free(&dev->eq_table.alloc, eq->eqn); in mthca_create_eq()
773 err = mthca_alloc_init(&dev->eq_table.alloc, in mthca_init_eq_table()
884 mthca_alloc_cleanup(&dev->eq_table.alloc); in mthca_init_eq_table()
904 mthca_alloc_cleanup(&dev->eq_table.alloc); in mthca_cleanup_eq_table()
Dmthca_qp.c1291 qp->qpn = mthca_alloc(&dev->qp_table.alloc); in mthca_alloc_qp()
1301 mthca_free(&dev->qp_table.alloc, qp->qpn); in mthca_alloc_qp()
1474 mthca_free(&dev->qp_table.alloc, qp->qpn); in mthca_free_qp()
2266 err = mthca_alloc_init(&dev->qp_table.alloc, in mthca_init_qp_table()
2277 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_init_qp_table()
2297 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_init_qp_table()
2310 mthca_alloc_cleanup(&dev->qp_table.alloc); in mthca_cleanup_qp_table()
/linux-4.1.27/fs/ocfs2/
Dlocalalloc.c51 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc);
54 struct ocfs2_dinode *alloc,
58 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc);
62 struct ocfs2_dinode *alloc,
287 struct ocfs2_dinode *alloc = NULL; in ocfs2_load_local_alloc() local
321 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
322 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_load_local_alloc()
324 if (!(le32_to_cpu(alloc->i_flags) & in ocfs2_load_local_alloc()
341 num_used = ocfs2_local_alloc_count_bits(alloc); in ocfs2_load_local_alloc()
346 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
[all …]
Dlocalalloc.h41 struct ocfs2_dinode *alloc);
DMakefile13 alloc.o \
/linux-4.1.27/arch/cris/arch-v32/mm/
Dintmem.c36 struct intmem_allocation* alloc; in crisv32_intmem_init() local
37 alloc = kmalloc(sizeof *alloc, GFP_KERNEL); in crisv32_intmem_init()
42 alloc->size = MEM_INTMEM_SIZE - RESERVED_SIZE; in crisv32_intmem_init()
43 alloc->offset = 0; in crisv32_intmem_init()
44 alloc->status = STATUS_FREE; in crisv32_intmem_init()
45 list_add_tail(&alloc->entry, &intmem_allocations); in crisv32_intmem_init()
65 struct intmem_allocation* alloc; in crisv32_intmem_alloc() local
66 alloc = kmalloc(sizeof *alloc, GFP_ATOMIC); in crisv32_intmem_alloc()
67 alloc->status = STATUS_FREE; in crisv32_intmem_alloc()
68 alloc->size = allocation->size - size - in crisv32_intmem_alloc()
[all …]
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_alloc_btree.c153 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec()
156 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec()
159 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec()
210 ASSERT(rec->alloc.ar_startblock != 0); in xfs_allocbt_init_key_from_rec()
212 key->alloc.ar_startblock = rec->alloc.ar_startblock; in xfs_allocbt_init_key_from_rec()
213 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_allocbt_init_key_from_rec()
221 ASSERT(key->alloc.ar_startblock != 0); in xfs_allocbt_init_rec_from_key()
223 rec->alloc.ar_startblock = key->alloc.ar_startblock; in xfs_allocbt_init_rec_from_key()
224 rec->alloc.ar_blockcount = key->alloc.ar_blockcount; in xfs_allocbt_init_rec_from_key()
234 rec->alloc.ar_startblock = cpu_to_be32(cur->bc_rec.a.ar_startblock); in xfs_allocbt_init_rec_from_cur()
[all …]
Dxfs_btree.h43 xfs_alloc_key_t alloc; member
50 xfs_alloc_rec_t alloc; member
Dxfs_trans_resv.c130 int alloc, in xfs_calc_finobt_res() argument
139 if (alloc) in xfs_calc_finobt_res()
/linux-4.1.27/tools/perf/util/
Dcache.h49 #define ALLOC_GROW(x, nr, alloc) \ argument
51 if ((nr) > alloc) { \
52 if (alloc_nr(alloc) < (nr)) \
53 alloc = (nr); \
55 alloc = alloc_nr(alloc); \
56 x = xrealloc((x), alloc * sizeof(*(x))); \
Dstrbuf.c22 sb->alloc = sb->len = 0; in strbuf_init()
30 if (sb->alloc) { in strbuf_release()
38 char *res = sb->alloc ? sb->buf : NULL; in strbuf_detach()
49 if (!sb->alloc) in strbuf_grow()
51 ALLOC_GROW(sb->buf, sb->len + extra + 1, sb->alloc); in strbuf_grow()
93 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap); in strbuf_addf()
100 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap); in strbuf_addf()
112 size_t oldalloc = sb->alloc; in strbuf_read()
118 cnt = read(fd, sb->buf + sb->len, sb->alloc - sb->len - 1); in strbuf_read()
Dstrbuf.h45 size_t alloc; member
59 return sb->alloc ? sb->alloc - sb->len - 1 : 0; in strbuf_avail()
65 if (!sb->alloc) in strbuf_setlen()
67 assert(len < sb->alloc); in strbuf_setlen()
Dsigchain.c9 int alloc; member
24 ALLOC_GROW(s->old, s->n + 1, s->alloc); in sigchain_push()
Dhelp.h5 size_t alloc; member
Dhelp.c16 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); in add_cmdname()
28 cmds->alloc = 0; in clean_cmdnames()
262 ALLOC_GROW(cmds->names, cmds->cnt + old->cnt, cmds->alloc); in add_cmd_list()
/linux-4.1.27/arch/xtensa/variants/dc233c/include/variant/
Dtie-asm.h77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
85 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\alloc)) == 0
97 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
115 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
141 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
149 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\alloc)) == 0
161 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
179 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
/linux-4.1.27/mm/
Dmempool.c84 if (pool->alloc == mempool_alloc_slab || pool->alloc == mempool_kmalloc) in poison_element()
88 if (pool->alloc == mempool_alloc_pages) { in poison_element()
107 if (pool->alloc == mempool_alloc_slab) in kasan_poison_element()
109 if (pool->alloc == mempool_kmalloc) in kasan_poison_element()
111 if (pool->alloc == mempool_alloc_pages) in kasan_poison_element()
117 if (pool->alloc == mempool_alloc_slab) in kasan_unpoison_element()
119 if (pool->alloc == mempool_kmalloc) in kasan_unpoison_element()
121 if (pool->alloc == mempool_alloc_pages) in kasan_unpoison_element()
202 pool->alloc = alloc_fn; in mempool_create_node()
211 element = pool->alloc(gfp_mask, pool->pool_data); in mempool_create_node()
[all …]
Dmemblock.c1097 phys_addr_t alloc; in memblock_alloc_base() local
1099 alloc = __memblock_alloc_base(size, align, max_addr); in memblock_alloc_base()
1101 if (alloc == 0) in memblock_alloc_base()
1105 return alloc; in memblock_alloc_base()
1154 phys_addr_t alloc; in memblock_virt_alloc_internal() local
1175 alloc = memblock_find_in_range_node(size, align, min_addr, max_addr, in memblock_virt_alloc_internal()
1177 if (alloc) in memblock_virt_alloc_internal()
1181 alloc = memblock_find_in_range_node(size, align, min_addr, in memblock_virt_alloc_internal()
1183 if (alloc) in memblock_virt_alloc_internal()
1195 memblock_reserve(alloc, size); in memblock_virt_alloc_internal()
[all …]
Dslub.c499 enum track_item alloc) in get_track() argument
508 return p + alloc; in get_track()
512 enum track_item alloc, unsigned long addr) in set_track() argument
514 struct track *p = get_track(s, object, alloc); in set_track()
944 int alloc) in trace() argument
949 alloc ? "alloc" : "free", in trace()
953 if (!alloc) in trace()
4085 struct page *page, enum track_item alloc, in process_slab() argument
4096 add_location(t, s, get_track(s, p, alloc)); in process_slab()
4100 enum track_item alloc) in list_locations() argument
[all …]
/linux-4.1.27/drivers/char/agp/
Dcompat_ioctl.c151 struct agp_allocate32 alloc; in compat_agpioc_allocate_wrap() local
154 if (copy_from_user(&alloc, arg, sizeof(alloc))) in compat_agpioc_allocate_wrap()
157 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in compat_agpioc_allocate_wrap()
162 alloc.key = memory->key; in compat_agpioc_allocate_wrap()
163 alloc.physical = memory->physical; in compat_agpioc_allocate_wrap()
165 if (copy_to_user(arg, &alloc, sizeof(alloc))) { in compat_agpioc_allocate_wrap()
Dfrontend.c877 struct agp_allocate alloc; in agpioc_allocate_wrap() local
880 if (copy_from_user(&alloc, arg, sizeof(struct agp_allocate))) in agpioc_allocate_wrap()
883 if (alloc.type >= AGP_USER_TYPES) in agpioc_allocate_wrap()
886 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in agpioc_allocate_wrap()
891 alloc.key = memory->key; in agpioc_allocate_wrap()
892 alloc.physical = memory->physical; in agpioc_allocate_wrap()
894 if (copy_to_user(arg, &alloc, sizeof(struct agp_allocate))) { in agpioc_allocate_wrap()
/linux-4.1.27/fs/nfs/
Dnfs3acl.c216 struct posix_acl *alloc = NULL, *dfacl = NULL; in nfs3_set_acl() local
222 alloc = dfacl = get_acl(inode, ACL_TYPE_DEFAULT); in nfs3_set_acl()
223 if (IS_ERR(alloc)) in nfs3_set_acl()
229 alloc = acl = get_acl(inode, ACL_TYPE_ACCESS); in nfs3_set_acl()
230 if (IS_ERR(alloc)) in nfs3_set_acl()
237 alloc = acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); in nfs3_set_acl()
238 if (IS_ERR(alloc)) in nfs3_set_acl()
242 posix_acl_release(alloc); in nfs3_set_acl()
246 return PTR_ERR(alloc); in nfs3_set_acl()
/linux-4.1.27/drivers/mmc/core/
Dpwrseq.c22 struct mmc_pwrseq *(*alloc)(struct mmc_host *host, struct device *dev); member
28 .alloc = mmc_pwrseq_simple_alloc,
31 .alloc = mmc_pwrseq_emmc_alloc,
74 pwrseq = match->alloc(host, &pdev->dev); in mmc_pwrseq_alloc()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_mem.c223 drm_radeon_mem_alloc_t *alloc = data; in radeon_mem_alloc() local
231 heap = get_heap(dev_priv, alloc->region); in radeon_mem_alloc()
238 if (alloc->alignment < 12) in radeon_mem_alloc()
239 alloc->alignment = 12; in radeon_mem_alloc()
241 block = alloc_block(*heap, alloc->size, alloc->alignment, file_priv); in radeon_mem_alloc()
246 if (copy_to_user(alloc->region_offset, &block->start, in radeon_mem_alloc()
/linux-4.1.27/arch/ia64/kernel/
Dpal.S32 alloc r3=ar.pfs,1,0,0,0
57 alloc loc1 = ar.pfs,4,5,0,0
100 alloc loc1 = ar.pfs,4,4,4,0
147 alloc loc1 = ar.pfs,4,7,0,0
206 alloc loc1 = ar.pfs,5,7,4,0
265 alloc r3=ar.pfs,1,0,0,0
286 alloc r3=ar.pfs,1,0,0,0
Dentry.S64 alloc loc1=ar.pfs,8,2,3,0
112 alloc r16=ar.pfs,8,2,6,0
143 alloc r16=ar.pfs,8,2,6,0
174 alloc r16=ar.pfs,1,0,0,0
589 alloc loc1=ar.pfs,0,3,1,0
1056 alloc loc0=ar.pfs,2,Nregs-2,2,0
1069 alloc loc0=ar.pfs,2,Nregs-2,2,0
1096 alloc loc0=ar.pfs,2,Nregs-2,2,0
1120 alloc r17=ar.pfs,0,0,0,0 // drop current register frame
1217 alloc loc1=ar.pfs,8,2,1,0
[all …]
Dpci-swiotlb.c34 .alloc = ia64_swiotlb_alloc_coherent,
Dmca_drv_asm.S20 alloc r16=ar.pfs,0,2,3,0 // make a new frame
Desi_stub.S49 alloc loc1=ar.pfs,2,7,8,0
Defi_stub.S47 alloc loc1=ar.pfs,8,7,7,0
Divt.S949 alloc r19=ar.pfs,8,0,0,0 // ensure in0-in7 are writable
1524 alloc r15=ar.pfs,0,0,3,0
1549 alloc r14=ar.pfs,0,0,2,0
1577 alloc r14=ar.pfs,0,0,2,0 // must be first in an insn group
1598 alloc r14=ar.pfs,0,0,2,0 // now it's safe (must be first in insn group!)
1629 alloc r14=ar.pfs,0,0,5,0
1668 alloc r14=ar.pfs,0,0,1,0 // must be first in insn group
1676 alloc r14=ar.pfs,0,0,3,0 // must be first in insn group
Drelocate_kernel.S23 alloc r31=ar.pfs,4,0,0,0
191 alloc loc0=ar.pfs,1,2,0,0
Dhead.S448 alloc r2=ar.pfs,8,0,2,0
460 alloc r16=ar.pfs,1,0,0,0
483 alloc r16=ar.pfs,1,0,0,0
507 alloc r2=ar.pfs,1,4,0,0
672 alloc r2=ar.pfs,1,2,0,0
1075 alloc r16=ar.pfs,1,0,0,0
1101 alloc r16=ar.pfs,1,0,0,0; \
1119 alloc r16=ar.pfs,1,0,0,0;;
Dmca_asm.S267 alloc r14=ar.pfs,0,0,3,0
283 alloc r14=ar.pfs,0,0,0,0 // remove the MCA handler frame
376 alloc r14=ar.pfs,0,0,3,0
397 alloc r14=ar.pfs,0,0,0,0 // remove the INIT handler frame
1084 alloc r14=ar.pfs,1,0,0,0
Dgate.S132 alloc r8=ar.pfs,0,0,3,0
244 alloc r2=ar.pfs,0,0,0,0 // alloc null frame
/linux-4.1.27/arch/arm64/mm/
Dmmu.c92 void *(*alloc)(unsigned long size)) in alloc_init_pte()
97 pte = alloc(PTRS_PER_PTE * sizeof(pte_t)); in alloc_init_pte()
127 void *(*alloc)(unsigned long size)) in alloc_init_pmd()
136 pmd = alloc(PTRS_PER_PMD * sizeof(pmd_t)); in alloc_init_pmd()
171 prot, alloc); in alloc_init_pmd()
192 void *(*alloc)(unsigned long size)) in alloc_init_pud()
198 pud = alloc(PTRS_PER_PUD * sizeof(pud_t)); in alloc_init_pud()
231 alloc_init_pmd(mm, pud, addr, next, phys, prot, alloc); in alloc_init_pud()
244 void *(*alloc)(unsigned long size)) in __create_mapping()
254 alloc_init_pud(mm, pgd, addr, next, phys, prot, alloc); in __create_mapping()
Dproc.S191 .section ".text.init", #alloc, #execinstr
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_uncore_nhmex.c666 int i, idx[2], alloc = 0; in nhmex_mbox_get_constraint() local
673 if (!uncore_box_is_fake(box) && (reg1->alloc & (0x1 << i))) in nhmex_mbox_get_constraint()
682 alloc |= (0x1 << i); in nhmex_mbox_get_constraint()
687 (uncore_box_is_fake(box) || !reg2->alloc) && in nhmex_mbox_get_constraint()
700 reg1->alloc |= alloc; in nhmex_mbox_get_constraint()
702 reg2->alloc = 1; in nhmex_mbox_get_constraint()
706 if (idx[0] != 0xff && !(alloc & 0x1) && in nhmex_mbox_get_constraint()
724 if (alloc & 0x1) in nhmex_mbox_get_constraint()
726 if (alloc & 0x2) in nhmex_mbox_get_constraint()
739 if (reg1->alloc & 0x1) in nhmex_mbox_put_constraint()
[all …]
Dperf_event_intel_uncore_snbep.c650 if (reg1->alloc & (0x1 << i)) in snbep_cbox_put_constraint()
653 reg1->alloc = 0; in snbep_cbox_put_constraint()
662 int i, alloc = 0; in __snbep_cbox_get_constraint() local
673 if (!uncore_box_is_fake(box) && (reg1->alloc & (0x1 << i))) in __snbep_cbox_get_constraint()
682 alloc |= (0x1 << i); in __snbep_cbox_get_constraint()
692 reg1->alloc |= alloc; in __snbep_cbox_get_constraint()
697 if (alloc & (0x1 << i)) in __snbep_cbox_get_constraint()
799 (!uncore_box_is_fake(box) && reg1->alloc)) in snbep_pcu_get_constraint()
825 reg1->alloc = 1; in snbep_pcu_get_constraint()
835 if (uncore_box_is_fake(box) || !reg1->alloc) in snbep_pcu_put_constraint()
[all …]
Dperf_event_intel_uncore.c97 (!uncore_box_is_fake(box) && reg1->alloc)) in uncore_get_constraint()
113 reg1->alloc = 1; in uncore_get_constraint()
133 if (uncore_box_is_fake(box) || !reg1->alloc) in uncore_put_constraint()
138 reg1->alloc = 0; in uncore_put_constraint()
/linux-4.1.27/drivers/md/bcache/
Dalloc.c536 struct bkey *alloc) in pick_data_bucket() argument
549 if (!ret->sectors_free && KEY_PTRS(alloc)) { in pick_data_bucket()
551 bkey_copy(&ret->key, alloc); in pick_data_bucket()
552 bkey_init(alloc); in pick_data_bucket()
575 BKEY_PADDED(key) alloc; in bch_alloc_sectors()
585 bkey_init(&alloc.key); in bch_alloc_sectors()
588 while (!(b = pick_data_bucket(c, k, write_point, &alloc.key))) { in bch_alloc_sectors()
595 if (bch_bucket_alloc_set(c, watermark, &alloc.key, 1, wait)) in bch_alloc_sectors()
606 if (KEY_PTRS(&alloc.key)) in bch_alloc_sectors()
607 bkey_put(c, &alloc.key); in bch_alloc_sectors()
DMakefile4 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
/linux-4.1.27/kernel/power/
Dsnapshot.c1403 unsigned long alloc; in preallocate_image_memory() local
1408 alloc = avail_normal - alloc_normal; in preallocate_image_memory()
1409 if (nr_pages < alloc) in preallocate_image_memory()
1410 alloc = nr_pages; in preallocate_image_memory()
1412 return preallocate_image_pages(alloc, GFP_IMAGE); in preallocate_image_memory()
1435 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction() local
1437 return preallocate_image_pages(alloc, GFP_IMAGE | __GFP_HIGHMEM); in preallocate_highmem_fraction()
1563 unsigned long alloc, save_highmem, pages_highmem, avail_normal; in hibernate_preallocate_memory() local
1655 alloc = count - max_size; in hibernate_preallocate_memory()
1656 if (alloc > pages_highmem) in hibernate_preallocate_memory()
[all …]
/linux-4.1.27/drivers/uwb/
Ddrp-ie.c299 const struct uwb_drp_alloc *alloc; in uwb_drp_ie_to_bm() local
308 alloc = &drp_ie->allocs[cnt]; in uwb_drp_ie_to_bm()
309 zone_bm = le16_to_cpu(alloc->zone_bm); in uwb_drp_ie_to_bm()
310 mas_bm = le16_to_cpu(alloc->mas_bm); in uwb_drp_ie_to_bm()
/linux-4.1.27/Documentation/cma/
Ddebugfs.txt15 - [WO] alloc: Allocate N pages from that CMA area. For example:
17 echo 5 > <debugfs>/cma/cma-2/alloc
/linux-4.1.27/arch/ia64/lib/
Dxor.S22 alloc r31 = ar.pfs, 3, 0, 13, 16
59 alloc r31 = ar.pfs, 4, 0, 20, 24
99 alloc r31 = ar.pfs, 5, 0, 27, 32
142 alloc r31 = ar.pfs, 6, 0, 34, 40
Dflush.S27 alloc r2=ar.pfs,2,0,0,0
79 alloc r2=ar.pfs,2,0,0,0
Dstrnlen_user.S19 alloc r2=ar.pfs,2,0,0,0
Dstrncpy_from_user.S22 alloc r2=ar.pfs,3,0,0,0
Dmemcpy.S49 alloc saved_pfs=ar.pfs,3,Nrot,0,Nrot
182 alloc t3=ar.pfs,3,Nrot,0,Nrot // resize register frame
Dcopy_page.S40 alloc saved_pfs=ar.pfs,3,Nrot-3,0,Nrot
Dstrlen.S84 alloc saved_pfs=ar.pfs,11,0,0,8 // rotating must be multiple of 8
Dstrlen_user.S86 alloc saved_pfs=ar.pfs,11,0,0,8
Dip_fast_csum.S81 alloc r35=ar.pfs,2,2,2,0
Dclear_user.S57 alloc saved_pfs=ar.pfs,2,0,0,0
Dcopy_page_mck.S102 alloc r8 = ar.pfs, 2, Nrot-2, 0, Nrot
Dmemcpy_mck.S110 alloc saved_pfs=ar.pfs,3,Nrot-3,0,Nrot
278 alloc saved_pfs=ar.pfs,3,5,0,8
629 alloc saved_pfs_stack=ar.pfs,3,3,3,0
/linux-4.1.27/drivers/net/ethernet/
Dec_bhf.c126 u8 *alloc; member
350 buf->alloc = dma_alloc_coherent(dev, buf->alloc_len, &buf->alloc_phys, in ec_bhf_alloc_dma_mem()
352 if (buf->alloc == NULL) { in ec_bhf_alloc_dma_mem()
358 buf->buf = buf->alloc + (buf->buf_phys - buf->alloc_phys); in ec_bhf_alloc_dma_mem()
436 dma_free_coherent(dev, priv->rx_buf.alloc_len, priv->rx_buf.alloc, in ec_bhf_open()
454 priv->tx_buf.alloc, priv->tx_buf.alloc_phys); in ec_bhf_stop()
456 priv->rx_buf.alloc, priv->rx_buf.alloc_phys); in ec_bhf_stop()
Djme.c568 txring->alloc = dma_alloc_coherent(&(jme->pdev->dev), in jme_setup_tx_resources()
573 if (!txring->alloc) in jme_setup_tx_resources()
579 txring->desc = (void *)ALIGN((unsigned long)(txring->alloc), in jme_setup_tx_resources()
594 memset(txring->alloc, 0, TX_RING_ALLOC_SIZE(jme->tx_ring_size)); in jme_setup_tx_resources()
603 txring->alloc, in jme_setup_tx_resources()
622 if (txring->alloc) { in jme_free_tx_resources()
640 txring->alloc, in jme_free_tx_resources()
643 txring->alloc = NULL; in jme_free_tx_resources()
805 if (rxring->alloc) { in jme_free_rx_resources()
814 rxring->alloc, in jme_free_rx_resources()
[all …]
/linux-4.1.27/drivers/base/
Dcomponent.c22 size_t alloc; member
237 if (match && match->alloc == num) in component_match_realloc()
251 new->alloc = num; in component_match_realloc()
269 if (!match || match->num == match->alloc) { in component_match_add()
270 size_t new_size = match ? match->alloc + 16 : 15; in component_match_add()
/linux-4.1.27/include/sound/
Dgus.h549 void snd_gf1_mem_lock(struct snd_gf1_mem * alloc, int xup);
550 int snd_gf1_mem_xfree(struct snd_gf1_mem * alloc, struct snd_gf1_mem_block * block);
551 struct snd_gf1_mem_block *snd_gf1_mem_alloc(struct snd_gf1_mem * alloc, int owner,
554 int snd_gf1_mem_free(struct snd_gf1_mem * alloc, unsigned int address);
555 int snd_gf1_mem_free_owner(struct snd_gf1_mem * alloc, int owner);
/linux-4.1.27/arch/sh/include/asm/
Ddma-mapping.h67 if (!ops->alloc) in dma_alloc_attrs()
70 memory = ops->alloc(dev, size, dma_handle, gfp, attrs); in dma_alloc_attrs()
/linux-4.1.27/drivers/scsi/arm/
Dqueue.c73 queue->alloc = q = kmalloc(sizeof(QE_t) * nqueues, GFP_KERNEL); in queue_initialise()
82 return queue->alloc != NULL; in queue_initialise()
94 kfree(queue->alloc); in queue_free()
Dqueue.h17 void *alloc; /* start of allocated mem */ member
/linux-4.1.27/scripts/coccinelle/null/
Dkmerr.cocci63 cocci.print_main("alloc call",p1)
71 msg = "alloc with no test, possible model on line %s" % (p2[0].line)
Deno.cocci39 cocci.print_main("alloc call",p1)
/linux-4.1.27/arch/arm/boot/compressed/
Dpiggy.xzkern.S1 .section .piggydata,#alloc
Dpiggy.gzip.S1 .section .piggydata,#alloc
Dpiggy.lzo.S1 .section .piggydata,#alloc
Dpiggy.lz4.S1 .section .piggydata,#alloc
Dpiggy.lzma.S1 .section .piggydata,#alloc
Dbig-endian.S8 .section ".start", #alloc, #execinstr
/linux-4.1.27/arch/blackfin/mm/
DMakefile5 obj-y := sram-alloc.o isram-driver.o init.o maccess.o
/linux-4.1.27/arch/unicore32/boot/compressed/
Dpiggy.S.in1 .section .piggydata,#alloc
Dhead.S19 .section ".start", #alloc, #execinstr
/linux-4.1.27/sound/oss/
Dsequencer.c421 for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) in find_voice()
422 if (synth_devs[dev]->alloc.map[i] == key) in find_voice()
435 &synth_devs[dev]->alloc); in alloc_voice()
436 synth_devs[dev]->alloc.map[voice] = key; in alloc_voice()
437 synth_devs[dev]->alloc.alloc_times[voice] = in alloc_voice()
438 synth_devs[dev]->alloc.timestamp++; in alloc_voice()
586 for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) in seq_chn_common_event()
587 if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) in seq_chn_common_event()
612 for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) in seq_chn_common_event()
613 if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) in seq_chn_common_event()
Ddev_table.h280 int (*alloc_voice) (int dev, int chn, int note, struct voice_alloc_info *alloc);
284 struct voice_alloc_info alloc; member
Dopl3.c998 static int opl3_alloc_voice(int dev, int chn, int note, struct voice_alloc_info *alloc) in opl3_alloc_voice() argument
1040 if (alloc->map[p] == 0) in opl3_alloc_voice()
1044 if (alloc->alloc_times[p] < best_time) /* Find oldest playing note */ in opl3_alloc_voice()
1046 best_time = alloc->alloc_times[p]; in opl3_alloc_voice()
1157 devc->v_alloc = &opl3_operations.alloc; in opl3_init()
/linux-4.1.27/fs/hpfs/
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
/linux-4.1.27/arch/frv/mm/
DMakefile9 mmu-context.o dma-alloc.o elf-fdpic.o
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
Dgpuobj.c81 ret = imem->alloc(imem, parent, size, align, &parent); in nvkm_gpuobj_create_()
89 if (bar && bar->alloc) { in nvkm_gpuobj_create_()
93 if (!bar->alloc(bar, parent, node, &pargpu)) { in nvkm_gpuobj_create_()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile4 health.o mcg.o cq.o srq.o alloc.o qp.o port.o mr.o pd.o \
/linux-4.1.27/drivers/media/rc/
Drc-main.c133 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table)); in ir_create_table()
134 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_create_table()
135 rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL); in ir_create_table()
140 rc_map->size, rc_map->alloc); in ir_create_table()
169 unsigned int oldalloc = rc_map->alloc; in ir_resize_table()
176 if (rc_map->alloc >= IR_TAB_MAX_SIZE) in ir_resize_table()
200 rc_map->alloc = newalloc; in ir_resize_table()
201 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_resize_table()
387 rc_map->size, rc_map->alloc); in ir_setkeytable()
/linux-4.1.27/arch/x86/include/asm/
Ddma-mapping.h148 if (!ops->alloc) in dma_alloc_attrs()
151 memory = ops->alloc(dev, size, dma_handle, in dma_alloc_attrs()
/linux-4.1.27/arch/arm/mm/
Dproc-v7m.S76 .section ".text.init", #alloc, #execinstr
138 .section ".proc.info.init", #alloc
Dproc-arm9tdmi.S73 .section ".proc.info.init", #alloc
Dproc-arm7tdmi.S79 .section ".proc.info.init", #alloc
Dproc-arm720.S189 .section ".proc.info.init", #alloc
Dproc-arm740.S135 .section ".proc.info.init", #alloc
Dproc-sa110.S202 .section ".proc.info.init", #alloc
Dproc-fa526.S193 .section ".proc.info.init", #alloc
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dbar.h10 int (*alloc)(struct nvkm_bar *, struct nvkm_object *, member
Dinstmem.h28 int (*alloc)(struct nvkm_instmem *, struct nvkm_object *, member
/linux-4.1.27/fs/nilfs2/
DMakefile5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
/linux-4.1.27/arch/unicore32/mm/
Ddma-swiotlb.c35 .alloc = unicore_swiotlb_alloc_coherent,
/linux-4.1.27/arch/sparc/kernel/
Duna_asm_32.S60 .section __ex_table,#alloc
139 .section __ex_table,#alloc
Dmdesc.c65 struct mdesc_handle *(*alloc)(unsigned int mdesc_size); member
126 .alloc = mdesc_memblock_alloc,
164 .alloc = mdesc_kmalloc,
171 struct mdesc_handle *hp = mops->alloc(mdesc_size); in mdesc_alloc()
Dioport.c405 .alloc = sbus_alloc_coherent,
641 .alloc = pci32_alloc_coherent,
/linux-4.1.27/arch/x86/xen/
Dpci-swiotlb-xen.c23 .alloc = xen_swiotlb_alloc_coherent,
/linux-4.1.27/crypto/
Dxts.c287 static struct crypto_instance *alloc(struct rtattr **tb) in alloc() function
345 .alloc = alloc,
Dlrw.c326 static struct crypto_instance *alloc(struct rtattr **tb) in alloc() function
383 .alloc = alloc,
Decb.c168 .alloc = crypto_ecb_alloc,
Dctr.c247 .alloc = crypto_ctr_alloc,
433 .alloc = crypto_rfc3686_alloc,
Dccm.c605 .alloc = crypto_ccm_alloc,
633 .alloc = crypto_ccm_base_alloc,
839 .alloc = crypto_rfc4309_alloc,
Dalgboss.c79 inst = tmpl->alloc(param->tb); in cryptomgr_probe()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
DMakefile3 mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o fw_qos.o icm.o intf.o \
/linux-4.1.27/arch/xtensa/boot/boot-elf/
DMakefile24 --set-section-flags image=contents,alloc,load,load,data \
/linux-4.1.27/drivers/iommu/
Dio-pgtable.c57 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops()
Dio-pgtable.h139 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie); member
Dio-pgtable-arm.c797 .alloc = arm_64_lpae_alloc_pgtable_s1,
802 .alloc = arm_64_lpae_alloc_pgtable_s2,
807 .alloc = arm_32_lpae_alloc_pgtable_s1,
812 .alloc = arm_32_lpae_alloc_pgtable_s2,
/linux-4.1.27/arch/tile/kernel/
Dpci-dma.c325 .alloc = tile_dma_alloc_coherent,
512 .alloc = tile_pci_dma_alloc_coherent,
548 .alloc = tile_swiotlb_alloc_coherent,
563 .alloc = tile_swiotlb_alloc_coherent,
/linux-4.1.27/kernel/
Dresource.c562 struct resource tmp = *new, avail, alloc; in __find_resource() local
590 alloc.flags = avail.flags; in __find_resource()
591 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource()
593 alloc.end = alloc.start + size - 1; in __find_resource()
594 if (resource_contains(&avail, &alloc)) { in __find_resource()
595 new->start = alloc.start; in __find_resource()
596 new->end = alloc.end; in __find_resource()
/linux-4.1.27/drivers/media/radio/
Dradio-isa.h58 struct radio_isa_card *(*alloc)(void); member
Dradio-rtrack2.c103 .alloc = rtrack2_alloc,
Dradio-terratec.c130 .alloc = terratec_alloc,
Dradio-aztech.c121 .alloc = aztech_alloc,
Dradio-typhoon.c133 .alloc = typhoon_alloc,
Dradio-aimslab.c154 .alloc = rtrack_alloc,
Dradio-zoltrix.c206 .alloc = zoltrix_alloc,
Dradio-trust.c203 .alloc = trust_alloc,
/linux-4.1.27/arch/xtensa/boot/boot-redboot/
DMakefile25 --set-section-flags image=contents,alloc,load,load,data \
/linux-4.1.27/drivers/firmware/efi/libstub/
DMakefile39 OBJCOPYFLAGS := --prefix-alloc-sections=.init
/linux-4.1.27/arch/mips/netlogic/common/
Dnlm-dma.c81 .alloc = nlm_dma_alloc_coherent,
/linux-4.1.27/arch/powerpc/lib/
DMakefile12 obj-y += string.o alloc.o crtsavres.o ppc_ksyms.o code-patching.o \
/linux-4.1.27/include/linux/
Dmempool.h21 mempool_alloc_t *alloc; member
Disdn_ppp.h68 void *(*alloc) (struct isdn_ppp_comp_data *); member
Dvt_kern.h156 extern int vt_move_to_console(unsigned int vt, int alloc);
Dirqdomain.h73 int (*alloc)(struct irq_domain *d, unsigned int virq, member
/linux-4.1.27/arch/x86/kernel/
Dpci-swiotlb.c43 .alloc = x86_swiotlb_alloc_coherent,
Dpci-nommu.c92 .alloc = dma_generic_alloc_coherent,
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_io.c550 int idx, int alloc) in lov_io_submit_qin() argument
552 return alloc ? &qin[idx] : &ld->ld_emrg[idx]->emrg_page_list; in lov_io_submit_qin()
584 #define QIN(stripe) lov_io_submit_qin(ld, stripes_qin, stripe, alloc) in lov_io_submit()
587 int alloc = in lov_io_submit() local
605 if (alloc) { in lov_io_submit()
659 if (alloc) { in lov_io_submit()
/linux-4.1.27/net/tipc/
Dname_table.c104 u32 alloc; member
169 nseq->alloc = 1; in tipc_nameseq_create()
275 if (nseq->first_free == nseq->alloc) { in tipc_nameseq_insert_publ()
276 struct sub_seq *sseqs = tipc_subseq_alloc(nseq->alloc * 2); in tipc_nameseq_insert_publ()
284 nseq->alloc * sizeof(struct sub_seq)); in tipc_nameseq_insert_publ()
287 nseq->alloc *= 2; in tipc_nameseq_insert_publ()
/linux-4.1.27/arch/alpha/include/asm/
Ddma-mapping.h21 return get_dma_ops(dev)->alloc(dev, size, dma_handle, gfp, attrs); in dma_alloc_attrs()
/linux-4.1.27/arch/sparc/lib/
Dmemset.S14 #define ALLOC #alloc
181 .section .fixup,#alloc,#execinstr
/linux-4.1.27/drivers/net/ethernet/micrel/
Dksz884x.c1013 int alloc; member
3815 int alloc = info->alloc; in ksz_check_desc_num() local
3819 while (!(alloc & 1)) { in ksz_check_desc_num()
3821 alloc >>= 1; in ksz_check_desc_num()
3823 if (alloc != 1 || shift < MIN_DESC_SHIFT) { in ksz_check_desc_num()
3825 while (alloc) { in ksz_check_desc_num()
3827 alloc >>= 1; in ksz_check_desc_num()
3831 alloc = 1 << shift; in ksz_check_desc_num()
3832 info->alloc = alloc; in ksz_check_desc_num()
3834 info->mask = info->alloc - 1; in ksz_check_desc_num()
[all …]
/linux-4.1.27/arch/sh/kernel/
Ddma-nommu.c66 .alloc = dma_generic_alloc_coherent,
/linux-4.1.27/arch/powerpc/kernel/
Ddma-swiotlb.c50 .alloc = dma_direct_alloc_coherent,
Ddma-iommu.c109 .alloc = dma_iommu_alloc_coherent,
Ddma.c215 .alloc = dma_direct_alloc_coherent,
/linux-4.1.27/tools/perf/Documentation/
Dperf-kmem.txt35 --alloc::
/linux-4.1.27/drivers/misc/
Dvmw_balloon.c156 unsigned int alloc; member
420 STATS_INC(b->stats.alloc); in vmballoon_reserve_page()
728 stats->alloc, stats->alloc_fail, in vmballoon_debug_show()
/linux-4.1.27/arch/mn10300/mm/
DMakefile29 misalignment.o dma-alloc.o $(cacheflush-y)
/linux-4.1.27/arch/s390/include/asm/
Dperf_event.h65 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc)
Ddma-mapping.h70 cpu_addr = ops->alloc(dev, size, dma_handle, flags, attrs); in dma_alloc_attrs()
/linux-4.1.27/arch/openrisc/include/asm/
Ddma-mapping.h50 memory = ops->alloc(dev, size, dma_handle, gfp, attrs); in dma_alloc_attrs()
/linux-4.1.27/arch/sparc/include/asm/
Ddma-mapping.h53 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.1.27/arch/sh/lib64/
Dcopy_page.S75 alloco r2, 0x40 ! alloc destination line 2 lines ahead
/linux-4.1.27/arch/mips/cavium-octeon/
Ddma-octeon.c243 .alloc = octeon_dma_alloc_coherent,
329 .alloc = octeon_dma_alloc_coherent,
/linux-4.1.27/Documentation/filesystems/caching/
Dfscache.txt251 ok=N Number of successful alloc reqs
252 wt=N Number of alloc reqs that waited on lookup completion
253 nbf=N Number of alloc reqs rejected -ENOBUFS
254 int=N Number of alloc reqs aborted -ERESTARTSYS
255 ops=N Number of alloc reqs submitted
256 owt=N Number of alloc reqs waited for CPU time
257 abt=N Number of alloc reqs aborted due to object death
/linux-4.1.27/arch/hexagon/include/asm/
Ddma-mapping.h84 ret = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.1.27/net/core/
Dnet_namespace.c183 static int __peernet2id(struct net *net, struct net *peer, bool alloc) in __peernet2id() argument
195 if (alloc) in __peernet2id()
206 bool alloc = atomic_read(&peer->count) == 0 ? false : true; in peernet2id() local
209 id = __peernet2id(net, peer, alloc); in peernet2id()
/linux-4.1.27/arch/ia64/include/asm/
Ddma-mapping.h35 caddr = ops->alloc(dev, size, daddr, gfp, attrs); in dma_alloc_attrs()
/linux-4.1.27/arch/unicore32/include/asm/
Ddma-mapping.h93 return dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.1.27/include/linux/sunrpc/
Drpc_pipe_fs.h114 struct rpc_pipe_dir_object *(*alloc)(void *),
Dcache.h100 struct cache_head * (*alloc)(void); member
/linux-4.1.27/arch/mips/include/asm/
Ddma-mapping.h77 ret = ops->alloc(dev, size, dma_handle, gfp, attrs); in dma_alloc_attrs()
/linux-4.1.27/arch/arm/include/asm/xen/
Dpage-coherent.h24 return __generic_dma_ops(hwdev)->alloc(hwdev, size, dma_handle, flags, attrs); in xen_alloc_coherent_pages()
/linux-4.1.27/arch/arm/boot/bootp/
Dinit.S19 .section .start,#alloc,#execinstr
/linux-4.1.27/Documentation/devicetree/bindings/soc/fsl/
Dqman.txt121 alloc-ranges = <0 0 0x10 0>;
127 alloc-ranges = <0 0 0x10 0>;
/linux-4.1.27/fs/nfsd/
Dnfs4acl.c469 int alloc; in init_state() local
478 alloc = sizeof(struct posix_ace_state_array) in init_state()
480 state->users = kzalloc(alloc, GFP_KERNEL); in init_state()
483 state->groups = kzalloc(alloc, GFP_KERNEL); in init_state()
/linux-4.1.27/arch/microblaze/include/asm/
Ddma-mapping.h116 memory = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c144 imem->alloc = nvkm_instmem_alloc; in nvkm_instmem_create_()
/linux-4.1.27/arch/mips/loongson/common/
Ddma-swiotlb.c131 .alloc = loongson_dma_alloc_coherent,
/linux-4.1.27/arch/arm64/include/asm/
Ddma-mapping.h122 vaddr = ops->alloc(dev, size, dma_handle, flags, attrs); in dma_alloc_attrs()
/linux-4.1.27/drivers/irqchip/
Dirq-mtk-sysirq.c116 .alloc = mtk_sysirq_domain_alloc,
Dirq-vf610-mscm-ir.c155 .alloc = vf610_mscm_ir_domain_alloc,
/linux-4.1.27/arch/alpha/kernel/
Dpci-noop.c179 .alloc = alpha_noop_alloc_coherent,
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-core.c1003 int alloc; in em28xx_init_usb_xfer() local
1013 alloc = 0; in em28xx_init_usb_xfer()
1016 alloc = 1; in em28xx_init_usb_xfer()
1019 if (alloc) { in em28xx_init_usb_xfer()
/linux-4.1.27/include/media/
Drc-map.h88 unsigned int alloc; /* Size of *scan in bytes */ member
/linux-4.1.27/arch/tile/include/asm/
Ddma-mapping.h126 cpu_addr = dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.1.27/fs/exofs/
Dore_raid.c52 bool alloc; member
127 sp2d->_1p_stripes[i].alloc = true; in _sp2d_alloc()
183 if (sp2d->_1p_stripes[i].alloc) in _sp2d_free()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb.h62 bool alloc; /* allocated by the driver */ member
/linux-4.1.27/arch/mips/boot/compressed/
DMakefile65 --set-section-flags=.image=contents,alloc,load,readonly,data
/linux-4.1.27/arch/hexagon/kernel/
Ddma.c214 .alloc = hexagon_dma_alloc_coherent,
/linux-4.1.27/arch/openrisc/kernel/
Ddma.c234 .alloc = or1k_dma_alloc,
/linux-4.1.27/drivers/video/fbdev/omap/
Domapfb.h62 unsigned alloc:1; /* allocated by the driver */ member
/linux-4.1.27/arch/x86/crypto/
Dfpu.c149 .alloc = crypto_fpu_alloc,
/linux-4.1.27/arch/microblaze/kernel/
Ddma.c184 .alloc = dma_direct_alloc_coherent,
/linux-4.1.27/arch/arm/xen/
Dmm.c171 .alloc = xen_swiotlb_alloc_coherent,
/linux-4.1.27/drivers/usb/host/
Dimx21-dbg.c220 if (etd->alloc) in debug_status_show()
315 etd->alloc, in debug_etd_show()
Dimx21-hcd.h370 int alloc; member
/linux-4.1.27/drivers/s390/cio/
Dcmf.c119 int (*alloc) (struct ccw_device *); member
766 .alloc = alloc_cmb,
1033 .alloc = alloc_cmbe,
1223 ret = cmbops->alloc(cdev); in enable_cmf()
/linux-4.1.27/include/scsi/
Dlibfcoe.h313 int (*alloc) (struct net_device *device); member
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dgf100.c161 priv->base.alloc = nvkm_bar_alloc; in gf100_bar_ctor()
/linux-4.1.27/arch/powerpc/include/asm/
Ddma-mapping.h151 cpu_addr = dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.1.27/kernel/irq/
Dirqdomain.c1029 ret = domain->ops->alloc(domain, irq_base, nr_irqs, arg); in irq_domain_alloc_irqs_recursive()
1069 if (!domain->ops->alloc) { in __irq_domain_alloc_irqs()
1218 if (domain->ops->alloc) in irq_domain_check_hierarchy()
/linux-4.1.27/drivers/input/touchscreen/
Dusbtouchscreen.c99 int (*alloc) (struct usbtouch_usb *usbtouch); member
1282 .alloc = nexio_alloc,
1669 if (type->alloc) { in usbtouch_probe()
1670 err = type->alloc(usbtouch); in usbtouch_probe()
/linux-4.1.27/arch/arm/include/asm/
Ddma-mapping.h222 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Drc.c284 .alloc = rtl_rate_alloc,

12