/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | memory-allocation.rst | 47 * 如果分配是从一个原子上下文中进行的,例如中断处理程序,使用 ``GFP_NOWAIT`` 。这个 48 标志可以防止直接回收和IO或文件系统操作。因此,在内存压力下, ``GFP_NOWAIT`` 分配 85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不
|
/linux-6.3-rc2/drivers/sh/intc/ |
A 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.3-rc2/drivers/gpu/drm/i915/ |
A 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.3-rc2/kernel/time/ |
A D | tick-broadcast.c | 1151 zalloc_cpumask_var(&tick_broadcast_mask, GFP_NOWAIT); in tick_broadcast_init() 1152 zalloc_cpumask_var(&tick_broadcast_on, GFP_NOWAIT); in tick_broadcast_init() 1153 zalloc_cpumask_var(&tmpmask, GFP_NOWAIT); in tick_broadcast_init() 1155 zalloc_cpumask_var(&tick_broadcast_oneshot_mask, GFP_NOWAIT); in tick_broadcast_init() 1156 zalloc_cpumask_var(&tick_broadcast_pending_mask, GFP_NOWAIT); in tick_broadcast_init() 1157 zalloc_cpumask_var(&tick_broadcast_force_mask, GFP_NOWAIT); in tick_broadcast_init()
|
/linux-6.3-rc2/mm/ |
A D | mmu_gather.c | 35 batch = (void *)__get_free_pages(GFP_NOWAIT | __GFP_NOWARN, 0); in tlb_next_batch() 262 *batch = (struct mmu_table_batch *)__get_free_page(GFP_NOWAIT | __GFP_NOWARN); in tlb_remove_table()
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A 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.3-rc2/tools/testing/radix-tree/ |
A 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.3-rc2/samples/livepatch/ |
A D | livepatch-shadow-fix2.c | 51 sizeof(*shadow_count), GFP_NOWAIT, in livepatch_fix2_dummy_check()
|
/linux-6.3-rc2/drivers/dma/ |
A D | img-mdc-dma.c | 298 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()
|
A 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()
|
A 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.3-rc2/drivers/dca/ |
A D | dca-sysfs.c | 43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
|
/linux-6.3-rc2/crypto/async_tx/ |
A D | async_memcpy.c | 43 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy()
|
A 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()
|
/linux-6.3-rc2/security/selinux/ |
A D | avc.c | 301 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.3-rc2/arch/sparc/kernel/ |
A 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.3-rc2/mm/kasan/ |
A D | tags.c | 143 save_stack_info(cache, object, GFP_NOWAIT, true); in kasan_save_free_info()
|
A D | generic.c | 491 alloc_meta->aux_stack[0] = kasan_save_stack(GFP_NOWAIT, can_alloc); in __kasan_record_aux_stack() 521 kasan_set_track(&free_meta->free_track, GFP_NOWAIT); in kasan_save_free_info()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A 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.3-rc2/arch/arm/kernel/ |
A D | topology.c | 95 GFP_NOWAIT); in parse_dt_topology()
|
/linux-6.3-rc2/drivers/dma/fsl-dpaa2-qdma/ |
A D | dpaa2-qdma.c | 100 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.3-rc2/drivers/tty/serial/cpm_uart/ |
A D | cpm_uart_cpm2.c | 118 mem_addr = kzalloc(memsz, GFP_NOWAIT); in cpm_uart_allocbuf()
|
/linux-6.3-rc2/include/linux/ |
A D | gfp_types.h | 331 #define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM) macro
|
/linux-6.3-rc2/lib/ |
A 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.3-rc2/Documentation/core-api/ |
A D | memory-allocation.rst | 46 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
|