Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.h913 u32 c4iw_id_alloc(struct c4iw_id_table *alloc);
914 void c4iw_id_free(struct c4iw_id_table *alloc, u32 obj);
915 int c4iw_id_table_alloc(struct c4iw_id_table *alloc, u32 start, u32 num,
917 void c4iw_id_table_free(struct c4iw_id_table *alloc);
/linux-4.4.14/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.4.14/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()
/linux-4.4.14/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.4.14/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.4.14/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_ialloc.h34 uint64_t alloc; /* inode phys. allocation bitmap for member
Dxfs_btree.h43 xfs_alloc_key_t alloc; member
50 xfs_alloc_rec_t alloc; member
/linux-4.4.14/tools/perf/util/
Dcache.h48 #define ALLOC_GROW(x, nr, alloc) \ argument
50 if ((nr) > alloc) { \
51 if (alloc_nr(alloc) < (nr)) \
52 alloc = (nr); \
54 alloc = alloc_nr(alloc); \
55 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()
94 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap); in strbuf_addv()
99 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap_saved); in strbuf_addv()
120 size_t oldalloc = sb->alloc; in strbuf_read()
126 cnt = read(fd, sb->buf + sb->len, sb->alloc - sb->len - 1); in strbuf_read()
Dstrbuf.h46 size_t alloc; member
60 return sb->alloc ? sb->alloc - sb->len - 1 : 0; in strbuf_avail()
66 if (!sb->alloc) in strbuf_setlen()
68 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.4.14/Documentation/DocBook/
Dcrypto-API.xml.db8 API-crypto-alloc-ablkcipher
19 API-ablkcipher-request-alloc
23 API-crypto-alloc-aead
34 API-aead-request-alloc
39 API-crypto-alloc-blkcipher
52 API-crypto-alloc-cipher
59 API-crypto-alloc-hash
72 API-crypto-alloc-ahash
85 API-ahash-request-alloc
89 API-crypto-alloc-shash
[all …]
Dnetworking.xml.db46 API-netdev-alloc-skb
47 API---dev-alloc-pages
48 API---dev-alloc-page
81 API-sk-wmem-alloc-get
82 API-sk-rmem-alloc-get
96 API---alloc-skb
97 API-netdev-alloc-frag
98 API---netdev-alloc-skb
99 API---napi-alloc-skb
145 API-alloc-skb-with-frags
[all …]
Dscsi.xml.db42 API-sdev-evt-alloc
68 API-scsi-alloc-sdev
70 API-scsi-alloc-target
86 API-scsi-host-alloc
122 API-sas-phy-alloc
134 API-sas-end-device-alloc
135 API-sas-expander-alloc
Diio.xml.db2 API-iio-device-alloc
12 API-devm-iio-trigger-alloc
Dkernel-api.xml.db142 API-idr-alloc
143 API-idr-alloc-cyclic
162 API-kmem-cache-alloc
163 API-kmem-cache-alloc-node
233 API-alloc-vm-area
234 API-alloc-pages-exact-nid
249 API-alloc-contig-range
253 API-mempool-alloc
257 API-dma-pool-alloc
287 API-ipc-alloc
[all …]
Dusb.xml.db34 API-usb-alloc-urb
90 API-usb-alloc-dev
97 API-usb-alloc-coherent
116 API-usb-alloc-streams
Dlibata.xml.db48 API-ata-host-alloc
49 API-ata-host-alloc-pinfo
104 API-ata-port-alloc
115 API-ata-sas-port-alloc
Ddevice-drivers.xml.db124 API-alloc-workqueue
125 API-alloc-ordered-workqueue
260 API-devres-alloc-node
368 API-platform-device-alloc
413 API-fence-context-alloc
436 API-dma-alloc-from-coherent
439 API-dmam-alloc-coherent
441 API-dmam-alloc-noncoherent
517 API-mpt-alloc-fw-memory
543 API-mpt-host-page-alloc
[all …]
Dgenericirq.xml.db4 API-irq-alloc-generic-chip
5 API-irq-alloc-domain-generic-chips
Dfilesystems.xml.db13 API-d-alloc
14 API-d-alloc-pseudo
114 API-bio-alloc-bioset
123 API-bio-alloc-pages
D80211.xml.db94 API-cfg80211-testmode-alloc-reply-skb
96 API-cfg80211-testmode-alloc-event-skb
103 API-ieee80211-alloc-hw
Drapidio.xml.db74 API-rio-destid-alloc
94 API-rio-alloc-net
Dgpu.xml.db2 API-drm-dev-alloc
8 API-drm-pci-alloc
115 API-drm-atomic-state-alloc
318 API-drm-fb-helper-alloc-fbi
608 API-intel-lr-context-deferred-alloc
609 API-gen8-ppgtt-alloc-pagetabs
610 API-gen8-ppgtt-alloc-page-directories
611 API-gen8-ppgtt-alloc-page-dirpointers
635 API-guc-client-alloc
Ds390-drivers.xml.db64 API-airq-iv-alloc
Dalsa-driver-api.xml.db25 API-snd-dma-alloc-pages
26 API-snd-dma-alloc-pages-fallback
99 API-snd-pcm-lib-alloc-vmalloc-buffer
100 API-snd-pcm-lib-alloc-vmalloc-32-buffer
Dgadget.xml.db10 API-usb-ep-alloc-request
/linux-4.4.14/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.4.14/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()
205 pool->alloc = alloc_fn; in mempool_create_node()
214 element = pool->alloc(gfp_mask, pool->pool_data); in mempool_create_node()
[all …]
Dmemblock.c1199 phys_addr_t alloc; in memblock_alloc_base() local
1201 alloc = __memblock_alloc_base(size, align, max_addr); in memblock_alloc_base()
1203 if (alloc == 0) in memblock_alloc_base()
1207 return alloc; in memblock_alloc_base()
1256 phys_addr_t alloc; in memblock_virt_alloc_internal() local
1278 alloc = memblock_find_in_range_node(size, align, min_addr, max_addr, in memblock_virt_alloc_internal()
1280 if (alloc) in memblock_virt_alloc_internal()
1284 alloc = memblock_find_in_range_node(size, align, min_addr, in memblock_virt_alloc_internal()
1287 if (alloc) in memblock_virt_alloc_internal()
1305 memblock_reserve(alloc, size); in memblock_virt_alloc_internal()
[all …]
/linux-4.4.14/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.4.14/arch/xtensa/variants/de212/include/variant/
Dtie-asm.h76 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
86 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
104 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
130 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
140 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
158 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.S63 alloc loc1=ar.pfs,8,2,3,0
111 alloc r16=ar.pfs,8,2,6,0
142 alloc r16=ar.pfs,8,2,6,0
172 alloc r16=ar.pfs,1,0,0,0
586 alloc loc1=ar.pfs,0,3,1,0
1045 alloc loc0=ar.pfs,2,Nregs-2,2,0
1058 alloc loc0=ar.pfs,2,Nregs-2,2,0
1085 alloc loc0=ar.pfs,2,Nregs-2,2,0
1109 alloc r17=ar.pfs,0,0,0,0 // drop current register frame
1205 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.S948 alloc r19=ar.pfs,8,0,0,0 // ensure in0-in7 are writable
1522 alloc r15=ar.pfs,0,0,3,0
1547 alloc r14=ar.pfs,0,0,2,0
1575 alloc r14=ar.pfs,0,0,2,0 // must be first in an insn group
1596 alloc r14=ar.pfs,0,0,2,0 // now it's safe (must be first in insn group!)
1627 alloc r14=ar.pfs,0,0,5,0
1666 alloc r14=ar.pfs,0,0,1,0 // must be first in insn group
1674 alloc r14=ar.pfs,0,0,3,0 // must be first in insn group
Dhead.S412 alloc r2=ar.pfs,8,0,2,0
424 alloc r16=ar.pfs,1,0,0,0
447 alloc r16=ar.pfs,1,0,0,0
471 alloc r2=ar.pfs,1,4,0,0
636 alloc r2=ar.pfs,1,2,0,0
1033 alloc r16=ar.pfs,1,0,0,0
1059 alloc r16=ar.pfs,1,0,0,0; \
1077 alloc r16=ar.pfs,1,0,0,0;;
Drelocate_kernel.S23 alloc r31=ar.pfs,4,0,0,0
191 alloc loc0=ar.pfs,1,2,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.4.14/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.c43 struct pci2phy_map *map, *alloc = NULL; in __find_pci2phy_map() local
54 if (!alloc) { in __find_pci2phy_map()
56 alloc = kmalloc(sizeof(struct pci2phy_map), GFP_KERNEL); in __find_pci2phy_map()
59 if (!alloc) in __find_pci2phy_map()
65 map = alloc; in __find_pci2phy_map()
66 alloc = NULL; in __find_pci2phy_map()
73 kfree(alloc); in __find_pci2phy_map()
151 (!uncore_box_is_fake(box) && reg1->alloc)) in uncore_get_constraint()
167 reg1->alloc = 1; in uncore_get_constraint()
187 if (uncore_box_is_fake(box) || !reg1->alloc) in uncore_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 …]
/linux-4.4.14/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.4.14/arch/arm64/mm/
Dmmu.c98 void *(*alloc)(unsigned long size)) in alloc_init_pte()
103 pte = alloc(PTRS_PER_PTE * sizeof(pte_t)); in alloc_init_pte()
133 void *(*alloc)(unsigned long size)) in alloc_init_pmd()
142 pmd = alloc(PTRS_PER_PMD * sizeof(pmd_t)); in alloc_init_pmd()
177 prot, alloc); in alloc_init_pmd()
198 void *(*alloc)(unsigned long size)) in alloc_init_pud()
204 pud = alloc(PTRS_PER_PUD * sizeof(pud_t)); in alloc_init_pud()
237 alloc_init_pmd(mm, pud, addr, next, phys, prot, alloc); in alloc_init_pud()
250 void *(*alloc)(unsigned long size)) in __create_mapping()
260 alloc_init_pud(mm, pgd, addr, next, phys, prot, alloc); in __create_mapping()
Dproc.S143 .section ".text.init", #alloc, #execinstr
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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
/linux-4.4.14/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.c574 txring->alloc = dma_alloc_coherent(&(jme->pdev->dev), in jme_setup_tx_resources()
579 if (!txring->alloc) in jme_setup_tx_resources()
585 txring->desc = (void *)ALIGN((unsigned long)(txring->alloc), in jme_setup_tx_resources()
600 memset(txring->alloc, 0, TX_RING_ALLOC_SIZE(jme->tx_ring_size)); in jme_setup_tx_resources()
607 txring->alloc, in jme_setup_tx_resources()
626 if (txring->alloc) { in jme_free_tx_resources()
644 txring->alloc, in jme_free_tx_resources()
647 txring->alloc = NULL; in jme_free_tx_resources()
809 if (rxring->alloc) { in jme_free_rx_resources()
818 rxring->alloc, in jme_free_rx_resources()
[all …]
/linux-4.4.14/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.4.14/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.4.14/tools/perf/Documentation/
Dperf-kmem.txt35 --alloc::
44 mode selection options - i.e. --slab, --page, --alloc and/or --caller.
/linux-4.4.14/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.4.14/net/core/
Dnet_namespace.c180 static int __peernet2id_alloc(struct net *net, struct net *peer, bool *alloc) in __peernet2id_alloc() argument
183 bool alloc_it = *alloc; in __peernet2id_alloc()
185 *alloc = false; in __peernet2id_alloc()
195 *alloc = true; in __peernet2id_alloc()
217 bool alloc; in peernet2id_alloc() local
221 alloc = atomic_read(&peer->count) == 0 ? false : true; in peernet2id_alloc()
222 id = __peernet2id_alloc(net, peer, &alloc); in peernet2id_alloc()
224 if (alloc && id >= 0) in peernet2id_alloc()
/linux-4.4.14/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.4.14/arch/arm/boot/compressed/
Dpiggy.lz4.S1 .section .piggydata,#alloc
Dpiggy.xzkern.S1 .section .piggydata,#alloc
Dpiggy.lzma.S1 .section .piggydata,#alloc
Dpiggy.gzip.S1 .section .piggydata,#alloc
Dpiggy.lzo.S1 .section .piggydata,#alloc
Dbig-endian.S8 .section ".start", #alloc, #execinstr
/linux-4.4.14/arch/blackfin/mm/
DMakefile5 obj-y := sram-alloc.o isram-driver.o init.o maccess.o
/linux-4.4.14/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.4.14/arch/unicore32/boot/compressed/
Dpiggy.S.in1 .section .piggydata,#alloc
Dhead.S19 .section ".start", #alloc, #execinstr
/linux-4.4.14/fs/hpfs/
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
/linux-4.4.14/arch/frv/mm/
DMakefile9 mmu-context.o dma-alloc.o elf-fdpic.o
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rma.c196 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_destroy_incomplete_window() local
201 err = wait_event_timeout(alloc->allocwq, in scif_destroy_incomplete_window()
202 alloc->state != OP_IN_PROGRESS, in scif_destroy_incomplete_window()
208 if (alloc->state == OP_COMPLETED) { in scif_destroy_incomplete_window()
760 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_send_alloc_request() local
763 alloc->state = OP_IN_PROGRESS; in scif_send_alloc_request()
764 init_waitqueue_head(&alloc->allocwq); in scif_send_alloc_request()
786 struct scif_allocmsg *alloc = &window->alloc_handle; in scif_prep_remote_window() local
801 err = wait_event_timeout(alloc->allocwq, in scif_prep_remote_window()
802 alloc->state != OP_IN_PROGRESS, in scif_prep_remote_window()
[all …]
/linux-4.4.14/drivers/media/rc/
Drc-main.c134 rc_map->alloc = roundup_pow_of_two(size * sizeof(struct rc_map_table)); in ir_create_table()
135 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_create_table()
136 rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL); in ir_create_table()
141 rc_map->size, rc_map->alloc); in ir_create_table()
170 unsigned int oldalloc = rc_map->alloc; in ir_resize_table()
177 if (rc_map->alloc >= IR_TAB_MAX_SIZE) in ir_resize_table()
201 rc_map->alloc = newalloc; in ir_resize_table()
202 rc_map->size = rc_map->alloc / sizeof(struct rc_map_table); in ir_resize_table()
388 rc_map->size, rc_map->alloc); in ir_setkeytable()
/linux-4.4.14/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
/linux-4.4.14/fs/nilfs2/
DMakefile5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
/linux-4.4.14/arch/unicore32/mm/
Ddma-swiotlb.c35 .alloc = unicore_swiotlb_alloc_coherent,
/linux-4.4.14/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.4.14/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.4.14/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,
/linux-4.4.14/drivers/iommu/
Dio-pgtable.c52 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops()
Dio-pgtable.h142 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie); member
Dio-pgtable-arm.c865 .alloc = arm_64_lpae_alloc_pgtable_s1,
870 .alloc = arm_64_lpae_alloc_pgtable_s2,
875 .alloc = arm_32_lpae_alloc_pgtable_s1,
880 .alloc = arm_32_lpae_alloc_pgtable_s2,
/linux-4.4.14/arch/x86/xen/
Dpci-swiotlb-xen.c23 .alloc = xen_swiotlb_alloc_coherent,
/linux-4.4.14/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.4.14/arch/xtensa/boot/boot-elf/
DMakefile24 --set-section-flags image=contents,alloc,load,load,data \
/linux-4.4.14/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.4.14/kernel/
Dresource.c573 struct resource tmp = *new, avail, alloc; in __find_resource() local
601 alloc.flags = avail.flags; in __find_resource()
602 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource()
604 alloc.end = alloc.start + size - 1; in __find_resource()
605 if (resource_contains(&avail, &alloc)) { in __find_resource()
606 new->start = alloc.start; in __find_resource()
607 new->end = alloc.end; in __find_resource()
/linux-4.4.14/drivers/media/radio/
Dradio-isa.h58 struct radio_isa_card *(*alloc)(void); member
Dradio-rtrack2.c103 .alloc = rtrack2_alloc,
Dradio-aztech.c121 .alloc = aztech_alloc,
Dradio-terratec.c130 .alloc = terratec_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.4.14/arch/mips/netlogic/common/
Dnlm-dma.c71 .alloc = nlm_dma_alloc_coherent,
/linux-4.4.14/arch/xtensa/boot/boot-redboot/
DMakefile25 --set-section-flags image=contents,alloc,load,load,data \
/linux-4.4.14/arch/h8300/kernel/
Ddma.c64 .alloc = dma_alloc,
/linux-4.4.14/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);
/linux-4.4.14/arch/powerpc/lib/
DMakefile12 obj-y += string.o alloc.o crtsavres.o ppc_ksyms.o code-patching.o \
/linux-4.4.14/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.4.14/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()
661 if (alloc) { in lov_io_submit()
/linux-4.4.14/arch/x86/kernel/
Dpci-nommu.c92 .alloc = dma_generic_alloc_coherent,
Dpci-swiotlb.c50 .alloc = x86_swiotlb_alloc_coherent,
Ddevicetree.c220 .alloc = dt_irqdomain_alloc,
/linux-4.4.14/arch/sparc/lib/
Dmemset.S14 #define ALLOC #alloc
181 .section .fixup,#alloc,#execinstr
/linux-4.4.14/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.4.14/arch/sh/kernel/
Ddma-nommu.c66 .alloc = dma_generic_alloc_coherent,
/linux-4.4.14/arch/powerpc/kernel/
Ddma-swiotlb.c50 .alloc = __dma_direct_alloc_coherent,
Ddma-iommu.c109 .alloc = dma_iommu_alloc_coherent,
/linux-4.4.14/arch/mn10300/mm/
DMakefile29 misalignment.o dma-alloc.o $(cacheflush-y)
/linux-4.4.14/arch/s390/include/asm/
Dperf_event.h65 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc)
/linux-4.4.14/arch/mips/cavium-octeon/
Ddma-octeon.c235 .alloc = octeon_dma_alloc_coherent,
321 .alloc = octeon_dma_alloc_coherent,
/linux-4.4.14/drivers/firmware/efi/libstub/
DMakefile58 STUBCOPY_FLAGS-$(CONFIG_ARM64) += --prefix-alloc-sections=.init \
/linux-4.4.14/arch/sh/lib64/
Dcopy_page.S75 alloco r2, 0x40 ! alloc destination line 2 lines ahead
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dp1023si-post.dtsi37 alloc-ranges = <0 0 0x10 0>;
42 alloc-ranges = <0 0 0x10 0>;
47 alloc-ranges = <0 0 0x10 0>;
Dp5020si-post.dtsi37 alloc-ranges = <0 0 0x10000 0>;
42 alloc-ranges = <0 0 0x10000 0>;
47 alloc-ranges = <0 0 0x10000 0>;
Dp2041si-post.dtsi37 alloc-ranges = <0 0 0x10 0>;
42 alloc-ranges = <0 0 0x10 0>;
47 alloc-ranges = <0 0 0x10 0>;
Dp3041si-post.dtsi37 alloc-ranges = <0 0 0x10 0>;
42 alloc-ranges = <0 0 0x10 0>;
47 alloc-ranges = <0 0 0x10 0>;
Db4si-post.dtsi37 alloc-ranges = <0 0 0x10000 0>;
42 alloc-ranges = <0 0 0x10000 0>;
47 alloc-ranges = <0 0 0x10000 0>;
Dp5040si-post.dtsi37 alloc-ranges = <0 0 0x10000 0>;
42 alloc-ranges = <0 0 0x10000 0>;
47 alloc-ranges = <0 0 0x10000 0>;
/linux-4.4.14/drivers/nvdimm/
Dlabel.c610 int i, l, alloc, victims, nfree, old_num_resources, nlabel, rc = -ENXIO; in __blk_label_update() local
635 alloc = 0; in __blk_label_update()
640 alloc++; in __blk_label_update()
668 if (nfree - alloc < 0 || nfree - alloc + victims < 1) { in __blk_label_update()
/linux-4.4.14/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.4.14/include/linux/sunrpc/
Drpc_pipe_fs.h114 struct rpc_pipe_dir_object *(*alloc)(void *),
Dcache.h102 struct cache_head * (*alloc)(void); member
/linux-4.4.14/drivers/irqchip/
Dirq-nvic.c82 .alloc = nvic_irq_domain_alloc,
Dirq-mtk-sysirq.c118 .alloc = mtk_sysirq_domain_alloc,
Dirq-vf610-mscm-ir.c178 .alloc = vf610_mscm_ir_domain_alloc,
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-intel_th-devices-msc12 - "single", for contiguous buffer mode (high-order alloc);
/linux-4.4.14/arch/arm/boot/bootp/
Dinit.S19 .section .start,#alloc,#execinstr
/linux-4.4.14/samples/pktgen/
DREADME.rst24 -c : ($SKB_CLONE) SKB clones send before alloc new SKB
/linux-4.4.14/Documentation/devicetree/bindings/soc/fsl/
Dqman.txt121 alloc-ranges = <0 0 0x10 0>;
127 alloc-ranges = <0 0 0x10 0>;
/linux-4.4.14/drivers/misc/
Dvmw_balloon.c227 unsigned int alloc[VMW_BALLOON_NUM_PAGE_SIZES]; member
845 STATS_INC(b->stats.alloc[is_2m_pages]); in vmballoon_inflate()
1208 stats->alloc[true], stats->alloc_fail[true], in vmballoon_debug_show()
1209 stats->alloc[false], stats->alloc_fail[false], in vmballoon_debug_show()
/linux-4.4.14/fs/nfsd/
Dnfs4acl.c457 int alloc; in init_state() local
466 alloc = sizeof(struct posix_ace_state_array) in init_state()
468 state->users = kzalloc(alloc, GFP_KERNEL); in init_state()
471 state->groups = kzalloc(alloc, GFP_KERNEL); in init_state()
/linux-4.4.14/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.4.14/arch/mips/loongson64/common/
Ddma-swiotlb.c126 .alloc = loongson_dma_alloc_coherent,
/linux-4.4.14/arch/alpha/kernel/
Dpci-noop.c170 .alloc = alpha_noop_alloc_coherent,
/linux-4.4.14/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.4.14/arch/hexagon/kernel/
Ddma.c203 .alloc = hexagon_dma_alloc_coherent,
/linux-4.4.14/include/media/
Drc-map.h86 unsigned int alloc; /* Size of *scan in bytes */ member
/linux-4.4.14/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.4.14/arch/mips/boot/compressed/
DMakefile65 --set-section-flags=.image=contents,alloc,load,readonly,data
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb.h62 bool alloc; /* allocated by the driver */ member
/linux-4.4.14/drivers/video/fbdev/omap/
Domapfb.h62 unsigned alloc:1; /* allocated by the driver */ member
/linux-4.4.14/arch/arm/xen/
Dmm.c190 .alloc = xen_swiotlb_alloc_coherent,
/linux-4.4.14/arch/openrisc/kernel/
Ddma.c234 .alloc = or1k_dma_alloc,
/linux-4.4.14/arch/x86/crypto/
Dfpu.c149 .alloc = crypto_fpu_alloc,
/linux-4.4.14/arch/x86/kernel/apic/
Dhtirq.c147 .alloc = htirq_domain_alloc,
/linux-4.4.14/arch/x86/platform/uv/
Duv_irq.c153 .alloc = uv_domain_alloc,
/linux-4.4.14/arch/microblaze/kernel/
Ddma.c185 .alloc = dma_direct_alloc_coherent,
/linux-4.4.14/include/asm-generic/
Ddma-mapping-common.h259 if (!ops->alloc) in dma_alloc_attrs()
262 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/linux-4.4.14/drivers/usb/host/
Dimx21-dbg.c220 if (etd->alloc) in debug_status_show()
315 etd->alloc, in debug_etd_show()
/linux-4.4.14/drivers/s390/cio/
Dcmf.c118 int (*alloc) (struct ccw_device *); member
759 .alloc = alloc_cmb,
1015 .alloc = alloc_cmbe,
1212 ret = cmbops->alloc(cdev); in enable_cmf()
/linux-4.4.14/include/scsi/
Dlibfcoe.h313 int (*alloc) (struct net_device *device); member
/linux-4.4.14/arch/xtensa/kernel/
Dpci-dma.c237 .alloc = xtensa_dma_alloc,

12