| /linux/scripts/coccinelle/api/ |
| 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/ |
| A D | kernel.h | 91 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() function 128 return krealloc(p, bytes, gfp); in krealloc_array()
|
| /linux/scripts/coccinelle/free/ |
| A D | devm_free.cocci | 94 krealloc@p(x, ...) 117 * krealloc@p(x, ...)
|
| /linux/drivers/firmware/efi/ |
| 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/sound/hda/ |
| A D | array.c | 30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new()
|
| /linux/sound/soc/meson/ |
| 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/drivers/char/tpm/eventlog/ |
| A D | efi.c | 94 tmp = krealloc(log->bios_event_log, in tpm_read_log_efi()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| A D | memory-allocation.rst | 120 用kmalloc()分配的块可以用krealloc()调整大小。与kmalloc_array()类似:以krealloc_array()
|
| /linux/drivers/input/touchscreen/ |
| A D | cyttsp4_core.c | 219 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/net/netfilter/ |
| A D | nf_conntrack_extend.c | 73 new = krealloc(ct->ext, alloc, gfp); in nf_ct_ext_add()
|
| /linux/drivers/pinctrl/ |
| A D | pinctrl-utils.c | 107 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config()
|
| /linux/drivers/gpu/drm/i915/ |
| A D | intel_runtime_pm.c | 91 stacks = krealloc(rpm->debug.owners, in track_intel_runtime_pm_wakeref() 278 s = krealloc(dbg.owners, in print_intel_runtime_pm_wakeref()
|
| /linux/drivers/misc/vmw_vmci/ |
| A D | vmci_handle_array.c | 60 new_array = krealloc(array, new_size, GFP_ATOMIC); in vmci_handle_arr_append_entry()
|
| /linux/mm/kfence/ |
| A D | kfence_test.c | 708 buf = krealloc(buf, size * 3, GFP_KERNEL); /* Grow. */ in test_krealloc() 716 buf = krealloc(buf, size * 2, GFP_KERNEL); /* Shrink. */ in test_krealloc() 721 buf = krealloc(buf, 0, GFP_KERNEL); /* Free. */ in test_krealloc()
|
| /linux/drivers/gpu/drm/ |
| A D | drm_edid_load.c | 250 new_edid = krealloc(edid, (valid_extensions + 1) * EDID_LENGTH, in edid_load()
|
| /linux/drivers/base/regmap/ |
| A D | regcache-rbtree.c | 278 blk = krealloc(rbnode->block, in regcache_rbtree_insert_to_block() 287 present = krealloc(rbnode->cache_present, in regcache_rbtree_insert_to_block()
|
| /linux/include/linux/ |
| A D | slab.h | 182 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __alloc_size(2); 650 return krealloc(p, bytes, flags); in krealloc_array()
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| A D | vector.c | 294 new_container = krealloc(vector->container, in dal_vector_reserve()
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | uefi.c | 104 tmp = krealloc(reduce_power_data, size + tlv_len, GFP_KERNEL); in iwl_uefi_reduce_power_section()
|
| /linux/kernel/kcsan/ |
| A D | debugfs.c | 170 krealloc(report_filterlist.addrs, in insert_report_filterlist()
|
| /linux/fs/xfs/libxfs/ |
| A D | xfs_inode_fork.c | 396 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc() 505 ifp->if_u1.if_data = krealloc(ifp->if_u1.if_data, roundup(new_size, 4), in xfs_idata_realloc()
|
| /linux/lib/ |
| A D | test_kasan.c | 284 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper() 316 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_less_oob_helper() 387 KUNIT_EXPECT_KASAN_FAIL(test, ptr2 = krealloc(ptr1, size2, GFP_KERNEL)); in krealloc_uaf()
|
| /linux/drivers/gpu/drm/vc4/ |
| 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/comedi/drivers/ |
| A D | comedi_bond.c | 242 devs = krealloc(devpriv->devs, in do_dev_config()
|
| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_global_state.c | 116 arr = krealloc(state->global_objs, size, GFP_KERNEL); in intel_atomic_get_global_obj_state()
|