| /linux-6.15/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-6.15/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-6.15/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-6.15/rust/helpers/ |
| H A D | slab.c | 8 return krealloc(objp, new_size, flags); in rust_helper_krealloc()
|
| /linux-6.15/scripts/coccinelle/free/ |
| H A D | devm_free.cocci | 94 krealloc@p(x, ...) 117 * krealloc@p(x, ...)
|
| /linux-6.15/sound/hda/ |
| H A D | array.c | 30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new()
|
| /linux-6.15/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-6.15/fs/bcachefs/ |
| H A D | keylist.c | 21 new_keys = krealloc(old_buf, sizeof(u64) * newsize, GFP_NOFS); in bch2_keylist_realloc()
|
| /linux-6.15/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-6.15/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-6.15/Documentation/translations/zh_CN/core-api/ |
| H A D | memory-allocation.rst | 120 用kmalloc()分配的块可以用krealloc()调整大小。与kmalloc_array()类似:以krealloc_array()
|
| /linux-6.15/drivers/pinctrl/ |
| H A D | pinctrl-utils.c | 96 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config()
|
| /linux-6.15/rust/kernel/alloc/ |
| H A D | allocator.rs | 66 const KREALLOC: Self = Self(bindings::krealloc);
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_conntrack_extend.c | 117 new = krealloc(ct->ext, alloc, gfp); in nf_ct_ext_add()
|
| /linux-6.15/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-6.15/fs/smb/server/ |
| H A D | ksmbd_work.c | 123 new = krealloc(work->iov, in __ksmbd_iov_pin_rsp()
|
| /linux-6.15/mm/kfence/ |
| H A D | kfence_test.c | 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()
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | vector.c | 291 new_container = krealloc(vector->container, in dal_vector_reserve()
|
| /linux-6.15/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-6.15/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-6.15/fs/xfs/libxfs/ |
| H A D | xfs_inode_fork.c | 431 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_broot_realloc() 465 ifp->if_data = krealloc(ifp->if_data, new_size, in xfs_idata_realloc()
|
| /linux-6.15/drivers/soundwire/ |
| H A D | generic_bandwidth_allocation.c | 304 rates = krealloc(group->rates, in sdw_add_element_group_count() 312 lanes = krealloc(group->lanes, in sdw_add_element_group_count()
|
| /linux-6.15/drivers/comedi/drivers/ |
| H A D | comedi_bond.c | 242 devs = krealloc(devpriv->devs, in do_dev_config()
|
| /linux-6.15/drivers/pinctrl/berlin/ |
| H A D | berlin.c | 232 pctrl->functions = krealloc(pctrl->functions, in berlin_pinctrl_build_state()
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_events_inject.c | 228 *pentry = krealloc(entry, entry_size, GFP_KERNEL); in parse_entry()
|