Home
last modified time | relevance | path

Searched refs:krealloc (Results 1 – 25 of 126) sorted by relevance

123456

/linux/scripts/coccinelle/api/
H A Dkfree_mismatch.cocci25 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 Dkernel.h92 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 Dslub_kunit.c267 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 Dslab.c8 return krealloc(objp, new_size, flags); in rust_helper_krealloc()
/linux/scripts/coccinelle/free/
H A Ddevm_free.cocci94 krealloc@p(x, ...)
117 * krealloc@p(x, ...)
/linux/sound/hda/core/
H A Darray.c30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new()
/linux/drivers/firmware/efi/
H A Dcapsule-loader.c61 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 Dkeylist.c21 new_keys = krealloc(old_buf, sizeof(u64) * newsize, GFP_NOFS); in bch2_keylist_realloc()
/linux/arch/powerpc/platforms/pseries/
H A Dpapr_platform_attributes.c103 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 Dmeson-card-utils.c49 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 Dmemory-allocation.rst
/linux/rust/kernel/alloc/
H A Dallocator.rs52 // 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 Dvmci_handle_array.c54 new_array = krealloc(array, new_size, GFP_ATOMIC); in vmci_handle_arr_append_entry()
/linux/fs/smb/server/
H A Dksmbd_work.c123 new = krealloc(work->iov, in __ksmbd_iov_pin_rsp()
/linux/mm/kfence/
H A Dkfence_test.c708 /* 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 Dmod_hdr.c187 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 Dvector.c291 new_container = krealloc(vector->container, in dal_vector_reserve()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_validate_shaders.c163 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 Dgeneric_bandwidth_allocation.c311 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 Dxfs_inode_fork.c415 * 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 Dcomedi_bond.c242 devs = krealloc(devpriv->devs, in do_dev_config()
/linux/kernel/trace/
H A Dtrace_events_inject.c228 *pentry = krealloc(entry, entry_size, GFP_KERNEL); in parse_entry()
/linux/lib/
H A Dtest_parman.c98 prio_array = krealloc(test_parman->prio_array, in test_parman_resize()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_global_state.c162 arr = krealloc(state->global_objs, size, GFP_KERNEL); in intel_atomic_get_global_obj_state()
/linux/security/integrity/ima/
H A Dima_api.c300 tmpbuf = krealloc(iint->ima_hash, length, GFP_NOFS); in ima_collect_measurement()

123456