/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 47 * 如果分配是从一个原子上下文中进行的,例如中断处理程序,使用 ``GFP_NOWAIT`` 。这个 48 标志可以防止直接回收和IO或文件系统操作。因此,在内存压力下, ``GFP_NOWAIT`` 分配 85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不
|
/linux-6.6.21/drivers/sh/intc/ |
D | core.c | 207 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/ |
D | intel_runtime_pm.c | 65 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/ |
D | tick-broadcast.c | 1207 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/ |
D | ref_tracker.c | 38 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()
|
D | idr.c | 418 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/ |
D | mmu_gather.c | 35 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/ |
D | drm_modeset_lock.c | 89 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/ |
D | idr-test.c | 139 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/ |
D | livepatch-shadow-fix2.c | 51 sizeof(*shadow_count), GFP_NOWAIT, in livepatch_fix2_dummy_check()
|
/linux-6.6.21/security/selinux/ |
D | avc.c | 299 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/ |
D | img-mdc-dma.c | 297 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()
|
D | idma64.c | 195 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()
|
D | sun6i-dma.c | 666 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/ |
D | dca-sysfs.c | 43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
|
/linux-6.6.21/crypto/async_tx/ |
D | async_memcpy.c | 43 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy()
|
D | async_xor.c | 195 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()
|
D | async_pq.c | 190 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/ |
D | adi_64.c | 205 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/ |
D | intel_engine_heartbeat.c | 222 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/ |
D | topology.c | 95 GFP_NOWAIT); in parse_dt_topology()
|
/linux-6.6.21/include/linux/ |
D | gfp_types.h | 328 #define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM) macro
|
/linux-6.6.21/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.c | 102 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/ |
D | bio.c | 145 GFP_NOWAIT | __GFP_NOWARN); in fscrypt_zeroout_range()
|
/linux-6.6.21/drivers/dma/hsu/ |
D | hsu.c | 248 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()
|