/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 47 * 如果分配是从一个原子上下文中进行的,例如中断处理程序,使用 ``GFP_NOWAIT`` 。这个 48 标志可以防止直接回收和IO或文件系统操作。因此,在内存压力下, ``GFP_NOWAIT`` 分配 85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不
|
/openbmc/linux/drivers/sh/intc/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H 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()
|
/openbmc/linux/kernel/time/ |
H A D | tick-broadcast.c | 1231 zalloc_cpumask_var(&tick_broadcast_mask, GFP_NOWAIT); in tick_broadcast_init() 1232 zalloc_cpumask_var(&tick_broadcast_on, GFP_NOWAIT); in tick_broadcast_init() 1233 zalloc_cpumask_var(&tmpmask, GFP_NOWAIT); in tick_broadcast_init() 1235 zalloc_cpumask_var(&tick_broadcast_oneshot_mask, GFP_NOWAIT); in tick_broadcast_init() 1236 zalloc_cpumask_var(&tick_broadcast_pending_mask, GFP_NOWAIT); in tick_broadcast_init() 1237 zalloc_cpumask_var(&tick_broadcast_force_mask, GFP_NOWAIT); in tick_broadcast_init()
|
/openbmc/linux/lib/ |
H A 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()
|
H 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()
|
/openbmc/linux/mm/ |
H A 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()
|
/openbmc/linux/samples/livepatch/ |
H A D | livepatch-shadow-fix2.c | 51 sizeof(*shadow_count), GFP_NOWAIT, in livepatch_fix2_dummy_check()
|
/openbmc/linux/drivers/gpu/drm/ |
H 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()
|
/openbmc/linux/tools/testing/radix-tree/ |
H 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()
|
/openbmc/linux/drivers/dca/ |
H A D | dca-sysfs.c | 43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
|
/openbmc/linux/crypto/async_tx/ |
H A D | async_memcpy.c | 43 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy()
|
H 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()
|
H A 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()
|
/openbmc/linux/drivers/dma/ |
H A 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()
|
H A D | idma64.c | 199 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in idma64_alloc_desc() 203 desc->hw = kcalloc(ndesc, sizeof(*desc->hw), GFP_NOWAIT); in idma64_alloc_desc() 318 hw->lli = dma_pool_alloc(idma64c->pool, GFP_NOWAIT, &hw->llp); in idma64_prep_slave_sg()
|
H 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()
|
/openbmc/linux/security/selinux/ |
H A 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()
|
/openbmc/linux/arch/sparc/kernel/ |
H 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()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | topology.c | 95 GFP_NOWAIT); in parse_dt_topology()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H 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()
|
/openbmc/linux/include/linux/ |
H A D | gfp_types.h | 330 #define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM) macro
|
/openbmc/linux/kernel/trace/ |
H A D | pid_list.c | 357 chunk = kzalloc(sizeof(*chunk), GFP_NOWAIT); in pid_list_refill_irq() 368 chunk = kzalloc(sizeof(*chunk), GFP_NOWAIT); in pid_list_refill_irq()
|
/openbmc/linux/drivers/dma/fsl-dpaa2-qdma/ |
H A 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()
|
/openbmc/linux/fs/crypto/ |
H A D | bio.c | 145 GFP_NOWAIT | __GFP_NOWARN); in fscrypt_zeroout_range()
|