Home
last modified time | relevance | path

Searched refs:krealloc_array (Results 1 – 22 of 22) sorted by relevance

/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.c29 new_map = krealloc_array(*map, new_num, sizeof(*new_map), GFP_KERNEL); in pinctrl_utils_reserve_map()
/linux-6.6.21/lib/
Dfortify_kunit.c195 krealloc_array(orig, 1, (alloc_size) * 2, gfp), \
200 krealloc_array(orig, (alloc_size) * 2, 1, gfp), \
/linux-6.6.21/tools/virtio/linux/
Dkernel.h118 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array() function
/linux-6.6.21/include/linux/
Dslab.h646 static inline __realloc_size(2, 3) void * __must_check krealloc_array(void *p, in krealloc_array() function
/linux-6.6.21/drivers/edac/
Dghes_edac.c216 new = krealloc_array(hw->dimms, hw->num_dimms + 16, in enumerate_dimms()
/linux-6.6.21/drivers/dma-buf/
Ddma-resv.c583 new_fences = krealloc_array(*fences, count, in dma_resv_get_fences()
/linux-6.6.21/fs/overlayfs/
Dparams.c420 l = krealloc_array(ctx->lower, nr_lower, sizeof(*ctx->lower), in ovl_parse_param_lowerdir()
/linux-6.6.21/Documentation/core-api/
Dmemory-allocation.rst152 krealloc_array().
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_est.c317 arr = krealloc_array(ipvs->est_kt_arr, id + 1, in ip_vs_est_add_kthread()
/linux-6.6.21/drivers/pinctrl/renesas/
Dpinctrl-rzv2m.c274 maps = krealloc_array(maps, nmaps, sizeof(*maps), GFP_KERNEL); in rzv2m_dt_subnode_to_map()
Dpinctrl-rzg2l.c314 maps = krealloc_array(maps, nmaps, sizeof(*maps), GFP_KERNEL); in rzg2l_dt_subnode_to_map()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-core.c1779 list = krealloc_array(dict->fwnode_list, in coresight_alloc_device_name()
/linux-6.6.21/drivers/vhost/
Dvringh.c228 new = krealloc_array(iov->iov, new_num, in resize_iovec()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_atomic.c1091 c = krealloc_array(state->connectors, alloc, in drm_atomic_get_connector_state()
/linux-6.6.21/drivers/acpi/arm64/
Diort.c938 new_sids = krealloc_array(sids, count + new_count, in iort_rmr_alloc_sids()
/linux-6.6.21/drivers/usb/gadget/function/
Duvc_configfs.c878 tmp_buf = krealloc_array(xu->desc.baSourceID, num, sizeof(u8), in uvcg_extension_b_nr_in_pins_store()
931 tmp_buf = krealloc_array(xu->desc.bmControls, num, sizeof(u8), in uvcg_extension_b_control_size_store()
/linux-6.6.21/drivers/hwtracing/intel_th/
Dmsu.c2029 rewin = krealloc_array(win, nr_wins, sizeof(*win), GFP_KERNEL); in nr_pages_store()
/linux-6.6.21/drivers/iio/
Dindustrialio-core.c1491 new = krealloc_array(old, cnt + 2, sizeof(*new), GFP_KERNEL); in iio_device_register_sysfs_group()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_debugfs.c2065 new = krealloc_array(tmp, i + 1, sizeof(uint32_t), GFP_KERNEL); in amdgpu_reset_dump_register_list_write()
/linux-6.6.21/sound/core/
Dpcm_lib.c1158 new = krealloc_array(constrs->rules, new_rules, in snd_pcm_hw_rule_add()
/linux-6.6.21/kernel/trace/
Dbpf_trace.c2798 mods = krealloc_array(arr->mods, arr->mods_cap, sizeof(*mods), GFP_KERNEL); in add_module()