/linux/scripts/coccinelle/api/ |
H A D | kfree_mismatch.cocci | 25 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\| 38 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 68 * E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\| 82 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|
|
/linux/tools/virtio/linux/ |
H A D | kernel.h | 92 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() function 125 return krealloc(p, bytes, gfp); in krealloc_array()
|
/linux/lib/tests/ |
H A D | slub_kunit.c | 267 p = krealloc(p, 40, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing() 272 p = krealloc(p, 56, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing() 283 p = krealloc(p, 112, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
|
/linux/rust/helpers/ |
H A D | slab.c | 8 return krealloc(objp, new_size, flags); in rust_helper_krealloc()
|
/linux/scripts/coccinelle/free/ |
H A D | devm_free.cocci | 94 krealloc@p(x, ...) 117 * krealloc@p(x, ...)
|
/linux/sound/hda/core/ |
H A D | array.c | 30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new()
|
/linux/drivers/firmware/efi/ |
H A D | capsule-loader.c | 61 temp_page = krealloc(cap_info->pages, in __efi_capsule_setup_info() 69 temp_page = krealloc(cap_info->phys, in __efi_capsule_setup_info()
|
/linux/fs/bcachefs/ |
H A D | keylist.c | 21 new_keys = krealloc(old_buf, sizeof(u64) * newsize, GFP_NOFS); in bch2_keylist_realloc()
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | papr_platform_attributes.c | 103 temp_buf = krealloc(buf, esi_buf_size, GFP_KERNEL); in papr_get_attr() 273 temp_esi_buf = krealloc(esi_buf, esi_buf_size, GFP_KERNEL); in papr_init()
|
/linux/sound/soc/meson/ |
H A D | meson-card-utils.c | 49 links = krealloc(priv->card.dai_link, in meson_card_reallocate_links() 55 ldata = krealloc(priv->link_data, in meson_card_reallocate_links()
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst |
|
/linux/rust/kernel/alloc/ |
H A D | allocator.rs | 52 // which together with the slab guarantees means the `krealloc` will return a properly aligned in aligned_size() 59 /// One of the following: `krealloc`, `vrealloc`, `kvrealloc`. 65 // INVARIANT: `krealloc` satisfies the type invariants. 66 const KREALLOC: Self = Self(bindings::krealloc); 104 // - `self.0` is one of `krealloc`, `vrealloc`, `kvrealloc` and thus only requires that in call() 109 // - `self.0` is one of `krealloc`, `vrealloc`, `kvrealloc`. in call()
|
/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_handle_array.c | 54 new_array = krealloc(array, new_size, GFP_ATOMIC); in vmci_handle_arr_append_entry()
|
/linux/fs/smb/server/ |
H A D | ksmbd_work.c | 123 new = krealloc(work->iov, in __ksmbd_iov_pin_rsp()
|
/linux/mm/kfence/ |
H A D | kfence_test.c | 708 /* Test krealloc(). */ 727 buf = krealloc(buf, size * 3, GFP_KERNEL); /* Grow. */ in test_krealloc() 735 buf = krealloc(buf, size * 2, GFP_KERNEL); /* Shrink. */ in test_krealloc() 740 buf = krealloc(buf, 0, GFP_KERNEL); /* Free. */ in test_krealloc() 744 READ_ONCE(*expect.addr); /* Ensure krealloc() actually freed earlier KFENCE object. */ in test_krealloc()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mod_hdr.c | 187 ret = krealloc(mod_hdr_acts->actions, new_sz, GFP_KERNEL); in mlx5e_mod_hdr_alloc()
|
/linux/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | vector.c | 291 new_container = krealloc(vector->container, in dal_vector_reserve()
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_validate_shaders.c | 163 temp_samples = krealloc(validated_shader->texture_samples, in record_texture_sample() 293 krealloc(validated_shader->uniform_addr_offsets, in require_uniform_address_uniform()
|
/linux/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 311 rates = krealloc(group->rates, in sdw_add_element_group_count() 319 lanes = krealloc(group->lanes, in sdw_add_element_group_count()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_fork.c | 415 * it. We don't trust krealloc not to nop on realloc-down. in xfs_broot_realloc() 428 * Growing the iroot means we can krealloc. This may get us the same in xfs_broot_realloc() 431 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_broot_realloc() 445 * use krealloc() or kmalloc() to adjust the size of the buffer 465 ifp->if_data = krealloc(ifp->if_data, new_size, in xfs_idata_realloc()
|
/linux/drivers/comedi/drivers/ |
H A D | comedi_bond.c | 242 devs = krealloc(devpriv->devs, in do_dev_config()
|
/linux/kernel/trace/ |
H A D | trace_events_inject.c | 228 *pentry = krealloc(entry, entry_size, GFP_KERNEL); in parse_entry()
|
/linux/lib/ |
H A D | test_parman.c | 98 prio_array = krealloc(test_parman->prio_array, in test_parman_resize()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_global_state.c | 162 arr = krealloc(state->global_objs, size, GFP_KERNEL); in intel_atomic_get_global_obj_state()
|
/linux/security/integrity/ima/ |
H A D | ima_api.c | 300 tmpbuf = krealloc(iint->ima_hash, length, GFP_NOFS); in ima_collect_measurement()
|