Home
last modified time | relevance | path

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

12345678

/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst47 * 如果分配是从一个原子上下文中进行的,例如中断处理程序,使用 ``GFP_NOWAIT`` 。这个
48 标志可以防止直接回收和IO或文件系统操作。因此,在内存压力下, ``GFP_NOWAIT`` 分配
85 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT`` ) - 乐观分配,不
/linux/drivers/sh/intc/
H A Dcore.c207 d = kzalloc(sizeof(*d), GFP_NOWAIT); in register_intc_controller()
221 GFP_NOWAIT); in register_intc_controller()
247 d->reg = kcalloc(d->nr_reg, sizeof(*d->reg), GFP_NOWAIT); in register_intc_controller()
252 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller()
271 GFP_NOWAIT); in register_intc_controller()
287 GFP_NOWAIT); in register_intc_controller()
/linux/rust/kernel/
H A Dalloc.rs110 pub const GFP_NOWAIT: Flags = Flags(bindings::GFP_NOWAIT); constant
/linux/kernel/time/
H A Dtick-broadcast.c1233 zalloc_cpumask_var(&tick_broadcast_mask, GFP_NOWAIT); in tick_broadcast_init()
1234 zalloc_cpumask_var(&tick_broadcast_on, GFP_NOWAIT); in tick_broadcast_init()
1235 zalloc_cpumask_var(&tmpmask, GFP_NOWAIT); in tick_broadcast_init()
1237 zalloc_cpumask_var(&tick_broadcast_oneshot_mask, GFP_NOWAIT); in tick_broadcast_init()
1238 zalloc_cpumask_var(&tick_broadcast_pending_mask, GFP_NOWAIT); in tick_broadcast_init()
1239 zalloc_cpumask_var(&tick_broadcast_force_mask, GFP_NOWAIT); in tick_broadcast_init()
/linux/rust/bindings/
H A Dbindings_helper.h91 const gfp_t RUST_CONST_HELPER_GFP_NOWAIT = GFP_NOWAIT;
/linux/drivers/md/dm-vdo/
H A Dflush.c105 if ((gfp_mask & GFP_NOWAIT) == GFP_NOWAIT) { in allocate_flush()
398 struct vdo_flush *flush = mempool_alloc(vdo->flusher->flush_pool, GFP_NOWAIT); in vdo_launch_flush()
/linux/tools/testing/radix-tree/
H A Didr-test.c139 assert(idr_alloc(&idr, item, i, i + 1, GFP_NOWAIT) == i); in idr_nowait_test()
445 id = ida_alloc_min(&ida, 256, GFP_NOWAIT); in ida_check_nomem()
447 id = ida_alloc_min(&ida, 1UL << 30, GFP_NOWAIT); in ida_check_nomem()
461 int id = ida_alloc(&ida, GFP_NOWAIT); in ida_check_conv_user()
/linux/drivers/dma/
H A Dloongson2-apb-dma.c338 desc = kzalloc(struct_size(desc, sg, sg_len), GFP_NOWAIT); in ls2x_dma_prep_slave_sg()
350 ldma_sg->hw = dma_pool_alloc(lchan->pool, GFP_NOWAIT, &ldma_sg->llp); in ls2x_dma_prep_slave_sg()
403 desc = kzalloc(struct_size(desc, sg, num_periods), GFP_NOWAIT); in ls2x_dma_prep_dma_cyclic()
416 ldma_sg->hw = dma_pool_alloc(lchan->pool, GFP_NOWAIT, &ldma_sg->llp); in ls2x_dma_prep_dma_cyclic()
H A Dloongson1-apb-dma.c207 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in ls1x_dma_alloc_desc()
255 lli = dma_pool_zalloc(chan->lli_pool, GFP_NOWAIT, &phys); in ls1x_dma_prep_lli()
338 sgl = kmalloc_array(sg_len, sizeof(*sgl), GFP_NOWAIT); in ls1x_dma_prep_dma_cyclic()
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_dump.c162 iter.start = __vmalloc(file_size, GFP_NOWAIT); in etnaviv_core_dump()
232 dev_coredumpv(gpu->dev, iter.start, iter.data - iter.start, GFP_NOWAIT); in etnaviv_core_dump()
/linux/lib/
H A Dref_tracker.c78 GFP_NOWAIT | __GFP_NOWARN); in ref_tracker_get_stats()
162 sbuf = kmalloc(STACK_BUF_SIZE, GFP_NOWAIT | __GFP_NOWARN); in __ref_tracker_dir_pr_ostream()
309 GFP_NOWAIT | __GFP_NOWARN); in ref_tracker_free()
/linux/samples/livepatch/
H A Dlivepatch-shadow-fix2.c51 sizeof(*shadow_count), GFP_NOWAIT, in livepatch_fix2_dummy_check()
/linux/drivers/dca/
H A Ddca-sysfs.c45 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
/linux/crypto/async_tx/
H A Dasync_memcpy.c43 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy()
H A 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/arch/arm/kernel/
H A Dtopology.c95 GFP_NOWAIT); in parse_dt_topology()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_heartbeat.c223 rq = heartbeat_create(ce, GFP_NOWAIT | __GFP_NOWARN); in heartbeat()
285 rq = heartbeat_create(ce, GFP_NOWAIT | __GFP_NOWARN); in __intel_engine_pulse()
/linux/kernel/trace/
H A Dpid_list.c353 chunk = kzalloc(sizeof(*chunk), GFP_NOWAIT); in pid_list_refill_irq()
364 chunk = kzalloc(sizeof(*chunk), GFP_NOWAIT); in pid_list_refill_irq()
/linux/Documentation/core-api/
H A Dmemory-allocation.rst46 handler, use ``GFP_NOWAIT``. This flag prevents direct reclaim and
48 ``GFP_NOWAIT`` allocation is likely to fail. Users of this flag need
100 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT``)- optimistic
/linux/fs/crypto/
H A Dbio.c151 GFP_NOWAIT | __GFP_NOWARN); in fscrypt_zeroout_range()
/linux/drivers/dma/hsu/
H A 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()
/linux/include/linux/
H A Dgfp_types.h380 #define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM | __GFP_NOWARN) macro
/linux/arch/arm/xen/
H A Dp2m.c179 p2m_entry = kzalloc(sizeof(*p2m_entry), GFP_NOWAIT); in __set_phys_to_machine_multi()
/linux/virt/kvm/
H A Dasync_pf.c195 work = kmem_cache_zalloc(async_pf_cache, GFP_NOWAIT | __GFP_NOWARN); in kvm_setup_async_pf()
/linux/fs/nfs/
H A Dnfs4session.c175 return nfs4_find_or_create_slot(tbl, slotid, 0, GFP_NOWAIT); in nfs4_lookup_slot()
252 ret = nfs4_find_or_create_slot(tbl, slotid, 1, GFP_NOWAIT); in nfs4_alloc_slot()

12345678