/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 | 31 new_map = krealloc_array(*map, new_num, sizeof(*new_map), GFP_KERNEL); in pinctrl_utils_reserve_map()
|
/linux/tools/virtio/linux/ |
H A D | kernel.h | 118 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 D | ghes_edac.c | 216 new = krealloc_array(hw->dimms, hw->num_dimms + 16, in enumerate_dimms()
|
/linux/drivers/dma-buf/ |
H A D | dma-resv.c | 590 new_fences = krealloc_array(*fences, count, in dma_resv_get_fences()
|
/linux/include/linux/ |
H A D | slab.h | 979 #define krealloc_array(...) alloc_hooks(krealloc_array_noprof(__VA_ARGS__)) macro
|
/linux/lib/ |
H A D | fortify_kunit.c | 246 krealloc_array(orig, 1, (alloc_size) * 2, gfp), \ 251 krealloc_array(orig, (alloc_size) * 2, 1, gfp), \
|
/linux/Documentation/core-api/ |
H A D | memory-allocation.rst | 155 krealloc_array().
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 318 arr = krealloc_array(ipvs->est_kt_arr, id + 1, in ip_vs_est_add_kthread()
|
/linux/fs/overlayfs/ |
H A D | params.c | 327 l = krealloc_array(ctx->lower, nr, sizeof(*l), GFP_KERNEL_ACCOUNT); in ovl_ctx_realloc_lower()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-core.c | 1357 list = krealloc_array(dict->fwnode_list, in coresight_alloc_device_name()
|
/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzv2m.c | 273 maps = krealloc_array(maps, nmaps, sizeof(*maps), GFP_KERNEL); in rzv2m_dt_subnode_to_map()
|
/linux/drivers/clk/renesas/ |
H A D | renesas-cpg-mssr.c | 1023 ids = krealloc_array(ids, (num + 1), sizeof(*ids), GFP_KERNEL); in cpg_mssr_reserved_init()
|
/linux/drivers/vhost/ |
H A D | vringh.c | 228 new = krealloc_array(iov->iov, new_num, in resize_iovec()
|
/linux/drivers/gpu/drm/ |
H A D | drm_atomic.c | 1084 c = krealloc_array(state->connectors, alloc, in drm_atomic_get_connector_state()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lib.c | 2968 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 D | msu.c | 2036 rewin = krealloc_array(win, nr_wins, sizeof(*win), GFP_KERNEL); in nr_pages_store()
|
/linux/sound/core/ |
H A D | pcm_lib.c | 1178 new = krealloc_array(constrs->rules, new_rules, in snd_pcm_hw_rule_add()
|
/linux/kernel/bpf/ |
H A D | core.c | 857 tab = krealloc_array(tab, size, sizeof(*poke), GFP_KERNEL); in bpf_jit_add_poke_descriptor()
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 2880 mods = krealloc_array(arr->mods, arr->mods_cap, sizeof(*mods), GFP_KERNEL); in add_module()
|