Searched refs:alloc (Results 51 - 75 of 462) sorted by relevance

1234567891011>>

/linux-master/drivers/media/radio/
H A Dradio-isa.h45 struct radio_isa_card *(*alloc)(void); member in struct:radio_isa_ops
/linux-master/arch/xtensa/boot/boot-elf/
H A DMakefile20 --set-section-flags image=contents,alloc,load,load,data \
/linux-master/drivers/misc/lkdtm/
H A DMakefile26 --rename-section .noinstr.text=.rodata,alloc,readonly,load,contents
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_system_manager.c56 .alloc = vmw_sys_man_alloc,
/linux-master/drivers/tee/amdtee/
H A Dshm_pool.c55 .alloc = pool_op_alloc,
/linux-master/arch/xtensa/boot/boot-redboot/
H A DMakefile18 --set-section-flags image=contents,alloc,load,load,data \
/linux-master/arch/x86/kernel/apic/
H A Dmsi.c167 * @alloc: The allocation info structure to initialize
176 int nvec, msi_alloc_info_t *alloc)
180 init_irq_alloc_info(alloc, NULL);
184 alloc->type = X86_IRQ_ALLOC_TYPE_PCI_MSI;
188 alloc->type = X86_IRQ_ALLOC_TYPE_PCI_MSIX;
175 x86_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec, msi_alloc_info_t *alloc) argument
/linux-master/drivers/firmware/efi/libstub/
H A DMakefile120 --rename-section .bss=.bss.efistub,load,alloc
137 STUBCOPY_FLAGS-$(CONFIG_ARM64) += --prefix-alloc-sections=.init \
144 STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \
150 STUBCOPY_FLAGS-$(CONFIG_LOONGARCH) += --prefix-alloc-sections=.init \
/linux-master/drivers/xen/xenbus/
H A Dxenbus_comms.c211 void *alloc; member in union:__anon50::__anon51
264 state.alloc = kmalloc(len, GFP_NOIO | __GFP_HIGH);
265 if (!state.alloc)
271 state.body = state.alloc;
319 state.alloc = NULL;
325 kfree(state.alloc);
326 state.alloc = NULL;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Drx.c164 u32 contig, alloc; local
173 alloc = xsk_buff_alloc_batch(rq->xsk_pool, buffs + ix, wqe_bulk);
175 alloc = xsk_buff_alloc_batch(rq->xsk_pool, buffs + ix, contig);
176 if (likely(alloc == contig))
177 alloc += xsk_buff_alloc_batch(rq->xsk_pool, buffs, wqe_bulk - contig);
180 for (i = 0; i < alloc; i++) {
195 return alloc;
/linux-master/drivers/thunderbolt/
H A Dlc.c532 u32 val, alloc; local
545 alloc = val & TB_LC_SNK_ALLOCATION_SNK0_MASK;
546 if (!alloc || alloc == TB_LC_SNK_ALLOCATION_SNK0_CM)
549 alloc = (val & TB_LC_SNK_ALLOCATION_SNK1_MASK) >>
551 if (!alloc || alloc == TB_LC_SNK_ALLOCATION_SNK1_CM)
/linux-master/drivers/md/bcache/
H A Dalloc.c568 struct bkey *alloc)
584 if (!ret->sectors_free && KEY_PTRS(alloc)) {
586 bkey_copy(&ret->key, alloc);
587 bkey_init(alloc);
614 BKEY_PADDED(key) alloc;
620 * and then retry. KEY_PTRS() indicates whether alloc points to
624 bkey_init(&alloc.key);
627 while (!(b = pick_data_bucket(c, k, write_point, &alloc.key))) {
634 if (bch_bucket_alloc_set(c, watermark, &alloc.key, wait))
645 if (KEY_PTRS(&alloc
565 pick_data_bucket(struct cache_set *c, const struct bkey *search, unsigned int write_point, struct bkey *alloc) argument
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_av.c172 index = mthca_alloc(&dev->av_table.alloc);
247 mthca_free(&dev->av_table.alloc,
333 err = mthca_alloc_init(&dev->av_table.alloc,
363 mthca_alloc_cleanup(&dev->av_table.alloc);
375 mthca_alloc_cleanup(&dev->av_table.alloc);
/linux-master/arch/x86/events/intel/
H A Duncore_nhmex.c673 int i, idx[2], alloc = 0; local
680 if (!uncore_box_is_fake(box) && (reg1->alloc & (0x1 << i)))
689 alloc |= (0x1 << i);
694 (uncore_box_is_fake(box) || !reg2->alloc) &&
702 * on each event, this avoids the need for reg->alloc.
707 reg1->alloc |= alloc;
709 reg2->alloc = 1;
713 if (idx[0] != 0xff && !(alloc & 0x1) &&
731 if (alloc
[all...]
/linux-master/kernel/power/
H A Dsnapshot.c1682 unsigned long alloc; local
1687 alloc = avail_normal - alloc_normal;
1688 if (nr_pages < alloc)
1689 alloc = nr_pages;
1691 return preallocate_image_pages(alloc, GFP_IMAGE);
1712 unsigned long alloc = __fraction(nr_pages, highmem, total); local
1714 return preallocate_image_pages(alloc, GFP_IMAGE | __GFP_HIGHMEM);
1838 unsigned long alloc, save_highmem, pages_highmem, avail_normal; local
1938 alloc = count - max_size;
1939 if (alloc > pages_highme
[all...]
/linux-master/arch/powerpc/boot/dts/fsl/
H A Dp1023si-post.dtsi37 alloc-ranges = <0 0 0x10 0>;
42 alloc-ranges = <0 0 0x10 0>;
47 alloc-ranges = <0 0 0x10 0>;
/linux-master/mm/kfence/
H A Dkfence_test.c246 void *alloc; local
281 alloc = kmem_cache_alloc(test_cache, gfp);
283 alloc = kmalloc(size, gfp);
285 if (is_kfence_address(alloc)) {
286 struct slab *slab = virt_to_slab(alloc);
296 KUNIT_EXPECT_EQ(test, obj_to_index(s, slab, alloc), 0U);
300 return alloc;
301 if (policy == ALLOCATE_LEFT && PAGE_ALIGNED(alloc))
302 return alloc;
303 if (policy == ALLOCATE_RIGHT && !PAGE_ALIGNED(alloc))
[all...]
/linux-master/include/linux/
H A Dio-pgtable.h104 * @alloc: Custom page allocator.
116 void *(*alloc)(void *cookie, size_t size, gfp_t gfp); member in struct:io_pgtable_cfg
121 * Optional hook used to free page tables allocated with the @alloc
122 * hook. Must be non-NULL if @alloc is not NULL, must be NULL
280 * @alloc: Allocate a set of page tables described by cfg.
285 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie); member in struct:io_pgtable_init_fns
/linux-master/include/net/tc_act/
H A Dtc_ife.h45 int (*alloc)(struct tcf_meta_info *, void *, gfp_t); member in struct:tcf_meta_ops
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_kvdl.c59 err = kvdl->kvdl_ops->alloc(mlxsw_sp, kvdl->priv, type,
/linux-master/drivers/tee/
H A Dtee_shm_pool.c51 .alloc = pool_op_gen_alloc,
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_preempt_mgr.c89 .alloc = amdgpu_preempt_mgr_new,
/linux-master/arch/s390/include/asm/
H A Dperf_event.h68 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc)
/linux-master/drivers/md/dm-vdo/
H A DMakefile25 memory-alloc.o \
/linux-master/arch/arm64/kernel/pi/
H A DMakefile39 $(obj)/lib-%.pi.o: OBJCOPYFLAGS += --prefix-alloc-sections=.init

Completed in 249 milliseconds

1234567891011>>