Home
last modified time | relevance | path

Searched refs:GFP_NOWAIT (Results 1 – 25 of 202) sorted by relevance

123456789

/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst47 * 如果分配是从一个原子上下文中进行的,例如中断处理程序,使用 ``GFP_NOWAIT`` 。这个
48 标志可以防止直接回收和IO或文件系统操作。因此,在内存压力下, ``GFP_NOWAIT`` 分配
85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不
/linux-6.1.9/drivers/sh/intc/
Dcore.c207 d = kzalloc(sizeof(*d), GFP_NOWAIT); in register_intc_controller()
222 GFP_NOWAIT); in register_intc_controller()
248 d->reg = kcalloc(d->nr_reg, sizeof(*d->reg), GFP_NOWAIT); in register_intc_controller()
253 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller()
272 GFP_NOWAIT); in register_intc_controller()
288 GFP_NOWAIT); in register_intc_controller()
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_runtime_pm.c65 return stack_depot_save(entries, n, GFP_NOWAIT | __GFP_NOWARN); in __save_depot_stack()
94 GFP_NOWAIT | __GFP_NOWARN); in track_intel_runtime_pm_wakeref()
136 buf = kmalloc(PAGE_SIZE, GFP_NOWAIT | __GFP_NOWARN); in untrack_intel_runtime_pm_wakeref()
172 buf = kmalloc(PAGE_SIZE, GFP_NOWAIT | __GFP_NOWARN); in __print_intel_runtime_pm_wakeref()
281 GFP_NOWAIT | __GFP_NOWARN); in print_intel_runtime_pm_wakeref()
/linux-6.1.9/kernel/time/
Dtick-broadcast.c1147 zalloc_cpumask_var(&tick_broadcast_mask, GFP_NOWAIT); in tick_broadcast_init()
1148 zalloc_cpumask_var(&tick_broadcast_on, GFP_NOWAIT); in tick_broadcast_init()
1149 zalloc_cpumask_var(&tmpmask, GFP_NOWAIT); in tick_broadcast_init()
1151 zalloc_cpumask_var(&tick_broadcast_oneshot_mask, GFP_NOWAIT); in tick_broadcast_init()
1152 zalloc_cpumask_var(&tick_broadcast_pending_mask, GFP_NOWAIT); in tick_broadcast_init()
1153 zalloc_cpumask_var(&tick_broadcast_force_mask, GFP_NOWAIT); in tick_broadcast_init()
/linux-6.1.9/mm/
Dmmu_gather.c31 batch = (void *)__get_free_pages(GFP_NOWAIT | __GFP_NOWARN, 0); in tlb_next_batch()
224 *batch = (struct mmu_table_batch *)__get_free_page(GFP_NOWAIT | __GFP_NOWARN); in tlb_remove_table()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_modeset_lock.c89 return stack_depot_save(entries, n, GFP_NOWAIT | __GFP_NOWARN); in __drm_stack_depot_save()
99 buf = kmalloc(PAGE_SIZE, GFP_NOWAIT | __GFP_NOWARN); in __drm_stack_depot_print()
/linux-6.1.9/tools/testing/radix-tree/
Didr-test.c139 assert(idr_alloc(&idr, item, i, i + 1, GFP_NOWAIT) == i); in idr_nowait_test()
444 id = ida_alloc_min(&ida, 256, GFP_NOWAIT); in ida_check_nomem()
446 id = ida_alloc_min(&ida, 1UL << 30, GFP_NOWAIT); in ida_check_nomem()
460 int id = ida_alloc(&ida, GFP_NOWAIT); in ida_check_conv_user()
/linux-6.1.9/samples/livepatch/
Dlivepatch-shadow-fix2.c51 sizeof(*shadow_count), GFP_NOWAIT, in livepatch_fix2_dummy_check()
/linux-6.1.9/drivers/dma/
Dimg-mdc-dma.c298 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_memcpy()
307 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, &curr_phys); in mdc_prep_dma_memcpy()
386 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_cyclic()
401 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_dma_cyclic()
469 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_slave_sg()
481 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_slave_sg()
Didma64.c191 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in idma64_alloc_desc()
195 desc->hw = kcalloc(ndesc, sizeof(*desc->hw), GFP_NOWAIT); in idma64_alloc_desc()
310 hw->lli = dma_pool_alloc(idma64c->pool, GFP_NOWAIT, &hw->llp); in idma64_prep_slave_sg()
Dsun6i-dma.c665 txd = kzalloc(sizeof(*txd), GFP_NOWAIT); in sun6i_dma_prep_dma_memcpy()
669 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_memcpy()
723 txd = kzalloc(sizeof(*txd), GFP_NOWAIT); in sun6i_dma_prep_slave_sg()
728 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_slave_sg()
806 txd = kzalloc(sizeof(*txd), GFP_NOWAIT); in sun6i_dma_prep_dma_cyclic()
811 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_cyclic()
/linux-6.1.9/drivers/dca/
Ddca-sysfs.c43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
/linux-6.1.9/crypto/async_tx/
Dasync_memcpy.c43 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy()
Dasync_xor.c195 unmap = dmaengine_get_unmap_data(device->dev, src_cnt+1, GFP_NOWAIT); in async_xor_offs()
328 unmap = dmaengine_get_unmap_data(device->dev, src_cnt, GFP_NOWAIT); in async_xor_val_offs()
/linux-6.1.9/security/selinux/
Davc.c301 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
308 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
314 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
320 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
348 xp_node = kmem_cache_zalloc(avc_xperms_cachep, GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_alloc()
504 node = kmem_cache_zalloc(avc_node_cachep, GFP_NOWAIT | __GFP_NOWARN); in avc_alloc_node()
/linux-6.1.9/arch/sparc/kernel/
Dadi_64.c205 mm->context.tag_store = kzalloc(size, GFP_NOWAIT|__GFP_NOWARN); in alloc_tag_store()
284 tags = kzalloc(size, GFP_NOWAIT|__GFP_NOWARN); in alloc_tag_store()
/linux-6.1.9/mm/kasan/
Dtags.c143 save_stack_info(cache, object, GFP_NOWAIT, true); in kasan_save_free_info()
Dgeneric.c481 alloc_meta->aux_stack[0] = kasan_save_stack(GFP_NOWAIT, can_alloc); in __kasan_record_aux_stack()
511 kasan_set_track(&free_meta->free_track, GFP_NOWAIT); in kasan_save_free_info()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c194 rq = heartbeat_create(ce, GFP_NOWAIT | __GFP_NOWARN); in heartbeat()
256 rq = heartbeat_create(ce, GFP_NOWAIT | __GFP_NOWARN); in __intel_engine_pulse()
/linux-6.1.9/arch/arm/kernel/
Dtopology.c95 GFP_NOWAIT); in parse_dt_topology()
/linux-6.1.9/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c100 comp_temp = kzalloc(sizeof(*comp_temp), GFP_NOWAIT); in dpaa2_qdma_request_desc()
104 dma_pool_alloc(dpaa2_chan->fd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
110 dma_pool_alloc(dpaa2_chan->fl_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
116 dma_pool_alloc(dpaa2_chan->sdd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
/linux-6.1.9/include/linux/
Dgfp_types.h335 #define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM) macro
/linux-6.1.9/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm2.c118 mem_addr = kzalloc(memsz, GFP_NOWAIT); in cpm_uart_allocbuf()
/linux-6.1.9/lib/
Didr.c418 bitmap = kzalloc(sizeof(*bitmap), GFP_NOWAIT); in ida_alloc_range()
445 bitmap = kzalloc(sizeof(*bitmap), GFP_NOWAIT); in ida_alloc_range()
/linux-6.1.9/Documentation/core-api/
Dmemory-allocation.rst46 handler, use ``GFP_NOWAIT``. This flag prevents direct reclaim and
48 ``GFP_NOWAIT`` allocation is likely to fail. Allocations which
99 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT``)- optimistic

123456789