Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst120 用kmalloc()分配的块可以用krealloc()调整大小。与kmalloc_array()类似:以krealloc_array()
/linux/drivers/pinctrl/
H A Dpinctrl-utils.c31 new_map = krealloc_array(*map, new_num, sizeof(*new_map), GFP_KERNEL); in pinctrl_utils_reserve_map()
/linux/tools/virtio/linux/
H A 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/drivers/edac/
H A Dghes_edac.c216 new = krealloc_array(hw->dimms, hw->num_dimms + 16, in enumerate_dimms()
/linux/drivers/dma-buf/
H A Ddma-resv.c590 new_fences = krealloc_array(*fences, count, in dma_resv_get_fences()
/linux/include/linux/
H A Dslab.h979 #define krealloc_array(...) alloc_hooks(krealloc_array_noprof(__VA_ARGS__)) macro
/linux/lib/
H A Dfortify_kunit.c246 krealloc_array(orig, 1, (alloc_size) * 2, gfp), \
251 krealloc_array(orig, (alloc_size) * 2, 1, gfp), \
/linux/Documentation/core-api/
H A Dmemory-allocation.rst155 krealloc_array().
/linux/net/netfilter/ipvs/
H A Dip_vs_est.c318 arr = krealloc_array(ipvs->est_kt_arr, id + 1, in ip_vs_est_add_kthread()
/linux/fs/overlayfs/
H A Dparams.c327 l = krealloc_array(ctx->lower, nr, sizeof(*l), GFP_KERNEL_ACCOUNT); in ovl_ctx_realloc_lower()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c1357 list = krealloc_array(dict->fwnode_list, in coresight_alloc_device_name()
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzv2m.c273 maps = krealloc_array(maps, nmaps, sizeof(*maps), GFP_KERNEL); in rzv2m_dt_subnode_to_map()
/linux/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c1023 ids = krealloc_array(ids, (num + 1), sizeof(*ids), GFP_KERNEL); in cpg_mssr_reserved_init()
/linux/drivers/vhost/
H A Dvringh.c228 new = krealloc_array(iov->iov, new_num, in resize_iovec()
/linux/drivers/gpu/drm/
H A Ddrm_atomic.c1084 c = krealloc_array(state->connectors, alloc, in drm_atomic_get_connector_state()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_lib.c2968 krealloc_array(vsi_stat->tx_ring_stats, req_txq, in ice_vsi_realloc_stat_arrays()
2987 krealloc_array(vsi_stat->rx_ring_stats, req_rxq, in ice_vsi_realloc_stat_arrays()
/linux/drivers/hwtracing/intel_th/
H A Dmsu.c2036 rewin = krealloc_array(win, nr_wins, sizeof(*win), GFP_KERNEL); in nr_pages_store()
/linux/sound/core/
H A Dpcm_lib.c1178 new = krealloc_array(constrs->rules, new_rules, in snd_pcm_hw_rule_add()
/linux/kernel/bpf/
H A Dcore.c857 tab = krealloc_array(tab, size, sizeof(*poke), GFP_KERNEL); in bpf_jit_add_poke_descriptor()
/linux/kernel/trace/
H A Dbpf_trace.c2880 mods = krealloc_array(arr->mods, arr->mods_cap, sizeof(*mods), GFP_KERNEL); in add_module()