| /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 | 125 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array() 119 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) krealloc_array() function
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | vector.c | 292 new_container = krealloc_array(vector->container, in dal_vector_reserve()
|
| /linux/drivers/soundwire/ |
| H A D | generic_bandwidth_allocation.c | 310 rates = krealloc_array(group->rates, group->max_size + 1, in sdw_add_element_group_count() 317 lanes = krealloc_array(group->lanes, group->max_size + 1, in sdw_add_element_group_count()
|
| /linux/security/landlock/ |
| H A D | tsync.c | 264 works = krealloc_array(s->works, new_capacity, sizeof(s->works[0]), in tsync_works_grow_by()
|
| /linux/include/linux/ |
| H A D | slab.h | 1253 void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t flags); 1255 #define krealloc_array(p, new_n, new_size, flags) alloc_hooks(krealloc_array_noprof(p, new_n, new_s… macro
|
| /linux/Documentation/core-api/ |
| H A D | memory-allocation.rst | 155 krealloc_array().
|
| /linux/fs/overlayfs/ |
| H A D | params.c | 355 l = krealloc_array(ctx->lower, nr, sizeof(*l), GFP_KERNEL_ACCOUNT); in ovl_ctx_realloc_lower()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_est.c | 335 arr = krealloc_array(ipvs->est_kt_arr, id + 1, in ip_vs_est_add_kthread()
|
| /linux/drivers/clk/renesas/ |
| H A D | renesas-cpg-mssr.c | 1223 new_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, sizeof(*new), gfp); in resize_iovec()
|
| /linux/drivers/firewire/ |
| H A D | core-transaction.c | 1065 krealloc_array(buffer_on_kernel_heap, next_size, in handle_fcp_region_request()
|
| /linux/net/rds/ |
| H A D | send.c | 994 tmp_iov = krealloc_array(vct->vec, vct->len, in rds_rm_size()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_lib.c | 3047 krealloc_array(vsi_stat->tx_ring_stats, req_txq, in ice_vsi_realloc_stat_arrays() 3066 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 | 2029 rewin = krealloc_array(win, nr_wins, sizeof(*win), GFP_KERNEL); in nr_pages_store()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | uvc_configfs.c | 880 tmp_buf = krealloc_array(xu->desc.baSourceID, num, sizeof(u8), in uvcg_extension_b_nr_in_pins_store() 933 tmp_buf = krealloc_array(xu->desc.bmControls, num, sizeof(u8), in uvcg_extension_b_control_size_store()
|
| /linux/drivers/media/platform/amphion/ |
| H A D | vdec.c | 329 new_slots = krealloc_array(vdec->slots, vdec->slot_count * 2, in vdec_attach_frame_store()
|
| /linux/sound/soc/sof/ |
| H A D | topology.c | 1312 new_tuples = krealloc_array(swidget->tuples, in sof_widget_parse_tokens()
|
| /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 | 853 tab = krealloc_array(tab, size, sizeof(*poke), GFP_KERNEL); in bpf_jit_add_poke_descriptor()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 2705 mods = krealloc_array(arr->mods, arr->mods_cap, sizeof(*mods), GFP_KERNEL); in add_module()
|
| H A D | trace.c | 7929 tr_topts = krealloc_array(tr->topts, tr->nr_topts + 1, sizeof(*tr->topts), in create_trace_option_files()
|