/Linux-v4.19/drivers/misc/vmw_vmci/ |
D | vmci_handle_array.c | 54 struct vmci_handle_arr *new_array; in vmci_handle_arr_append_entry() local 58 new_array = krealloc(array, new_size, GFP_ATOMIC); in vmci_handle_arr_append_entry() 59 if (!new_array) in vmci_handle_arr_append_entry() 62 new_array->capacity = new_capacity; in vmci_handle_arr_append_entry() 63 *array_ptr = array = new_array; in vmci_handle_arr_append_entry()
|
/Linux-v4.19/tools/perf/util/ |
D | parse-events.y | 660 struct parse_events_array new_array; variable 662 new_array.nr_ranges = $1.nr_ranges + $3.nr_ranges; 663 new_array.ranges = malloc(sizeof(new_array.ranges[0]) * 664 new_array.nr_ranges); 665 ABORT_ON(!new_array.ranges); 666 memcpy(&new_array.ranges[0], $1.ranges, 667 $1.nr_ranges * sizeof(new_array.ranges[0])); 668 memcpy(&new_array.ranges[$1.nr_ranges], $3.ranges, 669 $3.nr_ranges * sizeof(new_array.ranges[0])); 672 $$ = new_array;
|
/Linux-v4.19/drivers/media/rc/ |
D | bpf-lirc.c | 110 struct bpf_prog_array *new_array; in lirc_bpf_attach() local 133 ret = bpf_prog_array_copy(old_array, NULL, prog, &new_array); in lirc_bpf_attach() 137 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_attach() 148 struct bpf_prog_array *new_array; in lirc_bpf_detach() local 166 ret = bpf_prog_array_copy(old_array, prog, NULL, &new_array); in lirc_bpf_detach() 175 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_detach()
|
/Linux-v4.19/mm/ |
D | memblock.c | 393 struct memblock_region *new_array, *old_array; in memblock_double_array() local 433 new_array = kmalloc(new_size, GFP_KERNEL); in memblock_double_array() 434 addr = new_array ? __pa(new_array) : 0; in memblock_double_array() 448 new_array = addr ? __va(addr) : NULL; in memblock_double_array() 465 memcpy(new_array, type->regions, old_size); in memblock_double_array() 466 memset(new_array + type->max, 0, old_size); in memblock_double_array() 468 type->regions = new_array; in memblock_double_array()
|
/Linux-v4.19/kernel/trace/ |
D | bpf_trace.c | 965 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() local 989 ret = bpf_prog_array_copy(old_array, NULL, prog, &new_array); in perf_event_attach_bpf_prog() 995 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_attach_bpf_prog() 1006 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() local 1015 ret = bpf_prog_array_copy(old_array, event->prog, NULL, &new_array); in perf_event_detach_bpf_prog() 1021 rcu_assign_pointer(event->tp_event->prog_array, new_array); in perf_event_detach_bpf_prog()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | fadump.c | 888 struct fad_crash_memory_ranges *new_array; in allocate_crash_memory_ranges() local 895 new_array = krealloc(crash_memory_ranges, new_size, GFP_KERNEL); in allocate_crash_memory_ranges() 896 if (new_array == NULL) { in allocate_crash_memory_ranges() 902 crash_memory_ranges = new_array; in allocate_crash_memory_ranges()
|
/Linux-v4.19/net/sched/ |
D | sch_fq.c | 605 struct rb_root *new_array, u32 new_log) in fq_rehash() argument 623 nroot = &new_array[hash_ptr(of->sk, new_log)]; in fq_rehash()
|
/Linux-v4.19/fs/ext4/ |
D | xattr.c | 2820 struct ext4_xattr_inode_array *new_array = NULL; in ext4_expand_inode_array() local 2824 new_array = kmalloc( in ext4_expand_inode_array() 2828 if (new_array == NULL) in ext4_expand_inode_array() 2830 memcpy(new_array, *ea_inode_array, in ext4_expand_inode_array() 2833 *ea_inode_array = new_array; in ext4_expand_inode_array()
|
/Linux-v4.19/kernel/bpf/ |
D | core.c | 1643 struct bpf_prog_array **new_array) in bpf_prog_array_copy() argument 1678 *new_array = NULL; in bpf_prog_array_copy() 1700 *new_array = array; in bpf_prog_array_copy()
|
/Linux-v4.19/include/linux/ |
D | bpf.h | 382 struct bpf_prog_array **new_array);
|
/Linux-v4.19/drivers/md/ |
D | md.c | 9436 module_param_call(new_array, add_named_array, NULL, NULL, S_IWUSR);
|