| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_inode_fork.c | 58 GFP_KERNEL | __GFP_NOLOCKDEP | __GFP_NOFAIL); in xfs_init_local_fork() 387 GFP_KERNEL | __GFP_NOLOCKDEP | __GFP_NOFAIL); in xfs_broot_alloc() 420 ifp->if_broot = kmalloc(new_size, GFP_KERNEL | __GFP_NOFAIL); in xfs_broot_realloc() 432 GFP_KERNEL | __GFP_NOFAIL); in xfs_broot_realloc() 466 GFP_KERNEL | __GFP_NOFAIL); in xfs_idata_realloc() 665 GFP_KERNEL | __GFP_NOLOCKDEP | __GFP_NOFAIL); in xfs_ifork_init_cow()
|
| H A D | xfs_dir2.c | 251 args = kzalloc(sizeof(*args), GFP_KERNEL | __GFP_NOFAIL); in xfs_dir_init() 344 args = kzalloc(sizeof(*args), GFP_KERNEL | __GFP_NOFAIL); in xfs_dir_createname() 441 GFP_KERNEL | __GFP_NOLOCKDEP | __GFP_NOFAIL); in xfs_dir_lookup() 506 args = kzalloc(sizeof(*args), GFP_KERNEL | __GFP_NOFAIL); in xfs_dir_removename() 566 args = kzalloc(sizeof(*args), GFP_KERNEL | __GFP_NOFAIL); in xfs_dir_replace()
|
| H A D | xfs_dir2_sf.c | 279 sfp = kmalloc(mp->m_sb.sb_inodesize, GFP_KERNEL | __GFP_NOFAIL); in xfs_dir2_block_to_sf() 527 buf = kmalloc(old_isize, GFP_KERNEL | __GFP_NOFAIL); in xfs_dir2_sf_addname_hard() 1154 buf = kmalloc(oldsize, GFP_KERNEL | __GFP_NOFAIL); in xfs_dir2_sf_toino4() 1226 buf = kmalloc(oldsize, GFP_KERNEL | __GFP_NOFAIL); in xfs_dir2_sf_toino8()
|
| /linux-6.15/mm/ |
| H A D | fail_page_alloc.c | 32 if (gfp_mask & __GFP_NOFAIL) in should_fail_alloc_page()
|
| H A D | failslab.c | 27 if (gfpflags & __GFP_NOFAIL) in should_failslab()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_refcount_item.c | 153 GFP_KERNEL | __GFP_NOFAIL); in xfs_cui_init() 156 GFP_KERNEL | __GFP_NOFAIL); in xfs_cui_init() 347 cudp = kmem_cache_zalloc(xfs_cud_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_refcount_update_create_done() 478 GFP_KERNEL | __GFP_NOFAIL); in xfs_cui_recover_work()
|
| H A D | xfs_rmap_item.c | 154 GFP_KERNEL | __GFP_NOFAIL); in xfs_rui_init() 157 GFP_KERNEL | __GFP_NOFAIL); in xfs_rui_init() 372 rudp = kmem_cache_zalloc(xfs_rud_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_rmap_update_create_done() 507 ri = kmem_cache_alloc(xfs_rmap_intent_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_rui_recover_work()
|
| H A D | xfs_extfree_item.c | 157 GFP_KERNEL | __GFP_NOFAIL); in xfs_efi_init() 160 GFP_KERNEL | __GFP_NOFAIL); in xfs_efi_init() 457 GFP_KERNEL | __GFP_NOFAIL); in xfs_extent_free_create_done() 460 GFP_KERNEL | __GFP_NOFAIL); in xfs_extent_free_create_done() 621 GFP_KERNEL | __GFP_NOFAIL); in xfs_efi_recover_work()
|
| H A D | xfs_mru_cache.c | 335 mru = kzalloc(sizeof(*mru), GFP_KERNEL | __GFP_NOFAIL); in xfs_mru_cache_create() 342 GFP_KERNEL | __GFP_NOFAIL); in xfs_mru_cache_create()
|
| H A D | xfs_bmap_item.c | 145 buip = kmem_cache_zalloc(xfs_bui_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_bui_init() 312 budp = kmem_cache_zalloc(xfs_bud_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_bmap_update_create_done() 461 GFP_KERNEL | __GFP_NOFAIL); in xfs_bui_recover_work()
|
| H A D | xfs_iunlink_item.c | 163 iup = kmem_cache_zalloc(xfs_iunlink_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_iunlink_log_inode()
|
| H A D | xfs_attr_item.c | 278 attrip = kmem_cache_zalloc(xfs_attri_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_attri_init() 676 sizeof(struct xfs_da_args), GFP_KERNEL | __GFP_NOFAIL); in xfs_attri_recover_work() 861 attrdp = kmem_cache_zalloc(xfs_attrd_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_attr_create_done() 888 GFP_NOFS | __GFP_NOFAIL); in xfs_attr_defer_add()
|
| H A D | xfs_buf.c | 135 bp->b_addr = kmalloc(size, gfp_mask | __GFP_NOFAIL); in xfs_buf_alloc_kmem() 207 gfp_mask |= __GFP_NOFAIL; in xfs_buf_alloc_backing_mem() 266 GFP_KERNEL | __GFP_NOLOCKDEP | __GFP_NOFAIL); in xfs_buf_alloc() 299 GFP_KERNEL | __GFP_NOLOCKDEP | __GFP_NOFAIL); in xfs_buf_alloc() 1786 btp = kzalloc(sizeof(*btp), GFP_KERNEL | __GFP_NOFAIL); in xfs_alloc_buftarg()
|
| H A D | xfs_icreate_item.c | 101 icp = kmem_cache_zalloc(xfs_icreate_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_icreate_log()
|
| H A D | xfs_exchmaps_item.c | 137 xmi_lip = kmem_cache_zalloc(xfs_xmi_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_xmi_init() 256 xmd_lip = kmem_cache_zalloc(xfs_xmd_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_exchmaps_create_done()
|
| H A D | xfs_buf_item.c | 727 GFP_KERNEL | __GFP_NOFAIL); in xfs_buf_item_get_format() 768 bip = kmem_cache_zalloc(xfs_buf_item_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_buf_item_init()
|
| /linux-6.15/Documentation/translations/zh_CN/core-api/ |
| H A D | memory-allocation.rst | 103 * ``GFP_KERNEL | __GFP_NOFAIL`` - 覆盖默认的分配器行为,所有分配请求将无休止地循
|
| /linux-6.15/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_dmem.c | 382 src_pfns = kvcalloc(npages, sizeof(*src_pfns), GFP_KERNEL | __GFP_NOFAIL); in nouveau_dmem_evict_chunk() 383 dst_pfns = kvcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL | __GFP_NOFAIL); in nouveau_dmem_evict_chunk() 384 dma_addrs = kvcalloc(npages, sizeof(*dma_addrs), GFP_KERNEL | __GFP_NOFAIL); in nouveau_dmem_evict_chunk() 398 dpage = alloc_page(GFP_HIGHUSER | __GFP_NOFAIL); in nouveau_dmem_evict_chunk()
|
| /linux-6.15/include/linux/ |
| H A D | gfp_types.h | 265 #define __GFP_NOFAIL ((__force gfp_t)___GFP_NOFAIL) macro
|
| H A D | buffer_head.h | 369 gfp |= __GFP_NOFAIL; in getblk_unmovable() 380 gfp |= __GFP_MOVABLE | __GFP_NOFAIL; in __getblk()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | rcu_pending.c | 364 head = kmalloc(sizeof(*head), GFP_KERNEL|__GFP_NOFAIL); in rcu_pending_enqueue_list() 468 gfp |= __GFP_NOFAIL; in __rcu_pending_enqueue()
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_modeset_lock.c | 149 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL | __GFP_NOFAIL); in drm_modeset_lock_all()
|
| /linux-6.15/fs/erofs/ |
| H A D | fileio.c | 71 GFP_KERNEL | __GFP_NOFAIL); in erofs_fileio_rq_alloc()
|
| /linux-6.15/lib/ |
| H A D | ref_tracker.c | 202 gfp_mask |= __GFP_NOFAIL; in ref_tracker_alloc()
|
| /linux-6.15/lib/tests/ |
| H A D | list-test.c | 29 list4 = kzalloc(sizeof(*list4), GFP_KERNEL | __GFP_NOFAIL); in list_test_list_init() 32 list5 = kmalloc(sizeof(*list5), GFP_KERNEL | __GFP_NOFAIL); in list_test_list_init() 832 list4 = kzalloc(sizeof(*list4), GFP_KERNEL | __GFP_NOFAIL); in hlist_test_init() 835 list5 = kmalloc(sizeof(*list5), GFP_KERNEL | __GFP_NOFAIL); in hlist_test_init()
|