Home
last modified time | relevance | path

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

123456

/linux-6.6.21/scripts/coccinelle/api/
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-6.6.21/tools/virtio/linux/
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-6.6.21/scripts/coccinelle/free/
Ddevm_free.cocci94 krealloc@p(x, ...)
117 * krealloc@p(x, ...)
/linux-6.6.21/sound/hda/
Darray.c30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new()
/linux-6.6.21/drivers/firmware/efi/
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-6.6.21/rust/kernel/
Dallocator.rs39 unsafe { bindings::krealloc(ptr as *const core::ffi::c_void, size, flags) as *mut u8 } in krealloc_aligned()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dpapr_platform_attributes.c103 temp_buf = krealloc(buf, esi_buf_size, GFP_KERNEL); in papr_get_attr()
271 temp_esi_buf = krealloc(esi_buf, esi_buf_size, GFP_KERNEL); in papr_init()
/linux-6.6.21/sound/soc/meson/
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-6.6.21/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst120 用kmalloc()分配的块可以用krealloc()调整大小。与kmalloc_array()类似:以krealloc_array()
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-utils.c94 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config()
/linux-6.6.21/net/netfilter/
Dnf_conntrack_extend.c117 new = krealloc(ct->ext, alloc, gfp); in nf_ct_ext_add()
/linux-6.6.21/drivers/misc/vmw_vmci/
Dvmci_handle_array.c60 new_array = krealloc(array, new_size, GFP_ATOMIC); in vmci_handle_arr_append_entry()
/linux-6.6.21/drivers/input/touchscreen/
Dcyttsp4_core.c219 p = krealloc(si->si_ptrs.cydata, si->si_ofs.cydata_size, GFP_KERNEL); in cyttsp4_si_get_cydata()
294 p = krealloc(si->si_ptrs.test, si->si_ofs.test_size, GFP_KERNEL); in cyttsp4_si_get_test_data()
353 p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); in cyttsp4_si_get_pcfg_data()
405 p = krealloc(si->si_ptrs.opcfg, si->si_ofs.opcfg_size, GFP_KERNEL); in cyttsp4_si_get_opcfg_data()
494 p = krealloc(si->si_ptrs.ddata, si->si_ofs.ddata_size, GFP_KERNEL); in cyttsp4_si_get_ddata()
521 p = krealloc(si->si_ptrs.mdata, si->si_ofs.mdata_size, GFP_KERNEL); in cyttsp4_si_get_mdata()
553 p = krealloc(si->btn, si->si_ofs.btn_keys_size, in cyttsp4_si_get_btn_data()
598 p = krealloc(si->xy_mode, si->si_ofs.mode_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
603 p = krealloc(si->xy_data, si->si_ofs.data_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
608 p = krealloc(si->btn_rec_data, in cyttsp4_si_get_op_data_ptrs()
/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_runtime_pm.c92 stacks = krealloc(rpm->debug.owners, in track_intel_runtime_pm_wakeref()
279 s = krealloc(dbg.owners, in print_intel_runtime_pm_wakeref()
/linux-6.6.21/mm/kfence/
Dkfence_test.c710 buf = krealloc(buf, size * 3, GFP_KERNEL); /* Grow. */ in test_krealloc()
718 buf = krealloc(buf, size * 2, GFP_KERNEL); /* Shrink. */ in test_krealloc()
723 buf = krealloc(buf, 0, GFP_KERNEL); /* Free. */ in test_krealloc()
/linux-6.6.21/include/linux/
Dslab.h226 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __realloc_size(2);
656 return krealloc(p, bytes, flags); in krealloc_array()
/linux-6.6.21/fs/smb/server/
Dksmbd_work.c126 new = krealloc(work->iov, in __ksmbd_iov_pin_rsp()
/linux-6.6.21/drivers/base/regmap/
Dregcache-rbtree.c278 blk = krealloc(rbnode->block, in regcache_rbtree_insert_to_block()
287 present = krealloc(rbnode->cache_present, in regcache_rbtree_insert_to_block()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c187 ret = krealloc(mod_hdr_acts->actions, new_sz, GFP_KERNEL); in mlx5e_mod_hdr_alloc()
/linux-6.6.21/kernel/kcsan/
Ddebugfs.c170 krealloc(report_filterlist.addrs, in insert_report_filterlist()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c291 new_container = krealloc(vector->container, in dal_vector_reserve()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_inode_fork.c414 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
518 ifp->if_u1.if_data = krealloc(ifp->if_u1.if_data, new_size, in xfs_idata_realloc()
/linux-6.6.21/drivers/gpu/drm/vc4/
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-6.6.21/drivers/comedi/drivers/
Dcomedi_bond.c242 devs = krealloc(devpriv->devs, in do_dev_config()
/linux-6.6.21/arch/powerpc/kexec/
Dranges.c183 mem_rngs = krealloc(*mem_ranges, size, GFP_KERNEL); in realloc_mem_ranges()

123456