Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/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.6.21/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.6.21/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.6.21/kernel/time/
Dtick-broadcast.c1207 zalloc_cpumask_var(&tick_broadcast_mask, GFP_NOWAIT); in tick_broadcast_init()
1208 zalloc_cpumask_var(&tick_broadcast_on, GFP_NOWAIT); in tick_broadcast_init()
1209 zalloc_cpumask_var(&tmpmask, GFP_NOWAIT); in tick_broadcast_init()
1211 zalloc_cpumask_var(&tick_broadcast_oneshot_mask, GFP_NOWAIT); in tick_broadcast_init()
1212 zalloc_cpumask_var(&tick_broadcast_pending_mask, GFP_NOWAIT); in tick_broadcast_init()
1213 zalloc_cpumask_var(&tick_broadcast_force_mask, GFP_NOWAIT); in tick_broadcast_init()
/linux-6.6.21/lib/
Dref_tracker.c38 GFP_NOWAIT | __GFP_NOWARN); in ref_tracker_get_stats()
104 sbuf = kmalloc(STACK_BUF_SIZE, GFP_NOWAIT | __GFP_NOWARN); in __ref_tracker_dir_pr_ostream()
241 GFP_NOWAIT | __GFP_NOWARN); in ref_tracker_free()
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.6.21/mm/
Dmmu_gather.c35 batch = (void *)__get_free_page(GFP_NOWAIT | __GFP_NOWARN); in tlb_next_batch()
263 *batch = (struct mmu_table_batch *)__get_free_page(GFP_NOWAIT | __GFP_NOWARN); in tlb_remove_table()
/linux-6.6.21/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.6.21/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.6.21/samples/livepatch/
Dlivepatch-shadow-fix2.c51 sizeof(*shadow_count), GFP_NOWAIT, in livepatch_fix2_dummy_check()
/linux-6.6.21/security/selinux/
Davc.c299 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
306 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
312 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
318 GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_decision_alloc()
346 xp_node = kmem_cache_zalloc(avc_xperms_cachep, GFP_NOWAIT | __GFP_NOWARN); in avc_xperms_alloc()
500 node = kmem_cache_zalloc(avc_node_cachep, GFP_NOWAIT | __GFP_NOWARN); in avc_alloc_node()
/linux-6.6.21/drivers/dma/
Dimg-mdc-dma.c297 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_memcpy()
306 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, &curr_phys); in mdc_prep_dma_memcpy()
385 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_cyclic()
400 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_dma_cyclic()
468 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_slave_sg()
480 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, in mdc_prep_slave_sg()
Didma64.c195 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in idma64_alloc_desc()
199 desc->hw = kcalloc(ndesc, sizeof(*desc->hw), GFP_NOWAIT); in idma64_alloc_desc()
314 hw->lli = dma_pool_alloc(idma64c->pool, GFP_NOWAIT, &hw->llp); in idma64_prep_slave_sg()
Dsun6i-dma.c666 txd = kzalloc(sizeof(*txd), GFP_NOWAIT); in sun6i_dma_prep_dma_memcpy()
670 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_memcpy()
724 txd = kzalloc(sizeof(*txd), GFP_NOWAIT); in sun6i_dma_prep_slave_sg()
729 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_slave_sg()
807 txd = kzalloc(sizeof(*txd), GFP_NOWAIT); in sun6i_dma_prep_dma_cyclic()
812 v_lli = dma_pool_alloc(sdev->pool, GFP_DMA32 | GFP_NOWAIT, &p_lli); in sun6i_dma_prep_dma_cyclic()
/linux-6.6.21/drivers/dca/
Ddca-sysfs.c43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
/linux-6.6.21/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()
Dasync_pq.c190 unmap = dmaengine_get_unmap_data(device->dev, disks, GFP_NOWAIT); in async_gen_syndrome()
312 unmap = dmaengine_get_unmap_data(device->dev, disks, GFP_NOWAIT); in async_syndrome_val()
/linux-6.6.21/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.6.21/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c222 rq = heartbeat_create(ce, GFP_NOWAIT | __GFP_NOWARN); in heartbeat()
284 rq = heartbeat_create(ce, GFP_NOWAIT | __GFP_NOWARN); in __intel_engine_pulse()
/linux-6.6.21/arch/arm/kernel/
Dtopology.c95 GFP_NOWAIT); in parse_dt_topology()
/linux-6.6.21/include/linux/
Dgfp_types.h328 #define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM) macro
/linux-6.6.21/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c102 comp_temp = kzalloc(sizeof(*comp_temp), GFP_NOWAIT); in dpaa2_qdma_request_desc()
106 dma_pool_alloc(dpaa2_chan->fd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
112 dma_pool_alloc(dpaa2_chan->fl_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
118 dma_pool_alloc(dpaa2_chan->sdd_pool, GFP_NOWAIT, in dpaa2_qdma_request_desc()
/linux-6.6.21/fs/crypto/
Dbio.c145 GFP_NOWAIT | __GFP_NOWARN); in fscrypt_zeroout_range()
/linux-6.6.21/drivers/dma/hsu/
Dhsu.c248 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in hsu_dma_alloc_desc()
252 desc->sg = kcalloc(nents, sizeof(*desc->sg), GFP_NOWAIT); in hsu_dma_alloc_desc()

123456789