| /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\|
|
| H A D | kvmalloc.cocci | 80 ... when != krealloc(E, ...)
|
| /linux/tools/virtio/linux/ |
| H A D | kernel.h | 99 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in __get_free_page() 132 return krealloc(p, bytes, gfp); 93 static inline void *krealloc(void *p, size_t s, gfp_t gfp) krealloc() function
|
| /linux/scripts/coccinelle/free/ |
| H A D | devm_free.cocci | 103 krealloc@p(x, ...) 126 * krealloc@p(x, ...)
|
| /linux/lib/tests/ |
| H A D | slub_kunit.c | 272 p = krealloc(p, 40, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing() 277 p = krealloc(p, 56, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing() 288 p = krealloc(p, 112, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
|
| /linux/sound/hda/core/ |
| H A D | array.c | 30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new()
|
| /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() 58 ldata = krealloc(priv->link_data, in meson_card_reallocate_links()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | memory-allocation.rst | 120 用kmalloc()分配的块可以用krealloc()调整大小。与kmalloc_array()类似:以krealloc_array()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-utils.c | 96 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config()
|
| /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/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/fs/smb/server/ |
| H A D | ksmbd_work.c | 39 new = krealloc(work->iov, sizeof(*new) * new_alloc_cnt, in ksmbd_reserve_iov()
|
| H A D | ndr.c | 21 data = krealloc(n->data, n->offset + sz + 1024, KSMBD_DEFAULT_GFP); in try_to_realloc_ndr_blob()
|
| /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/comedi/drivers/ |
| H A D | comedi_bond.c | 242 devs = krealloc(devpriv->devs, in do_dev_config()
|
| /linux/drivers/pinctrl/berlin/ |
| H A D | berlin.c | 233 new_functions = krealloc(pctrl->functions, in berlin_pinctrl_build_state()
|
| /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/net/netlink/ |
| H A D | policy.c | 50 state = krealloc(state, struct_size(state, policies, n_alloc), in add_policy()
|
| /linux/security/integrity/ima/ |
| H A D | ima_api.c | 307 tmpbuf = krealloc(iint->ima_hash, length, GFP_NOFS); in ima_collect_measurement()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_counter.c | 126 arr = krealloc(counter->block_list, (counter->block_list_len + 1) * in prestera_counter_block_list_add()
|
| /linux/drivers/pinctrl/aspeed/ |
| H A D | pinctrl-aspeed.c | 175 expanded = krealloc(found, len + delta + 1, GFP_KERNEL); in get_defined_attribute()
|
| /linux/drivers/clk/tegra/ |
| H A D | clk-tegra124-emc.c | 453 tegra->timings = krealloc(tegra->timings, size, GFP_KERNEL); in load_timings_from_dt()
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-smbios-base.c | 411 new_da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * in parse_da_table()
|