Searched refs:new_array (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_handle_array.c45 struct vmci_handle_arr *new_array; local
54 new_array = krealloc(array, new_size, GFP_ATOMIC);
55 if (!new_array)
58 new_array->capacity += capacity_bump;
59 *array_ptr = array = new_array;
/linux-master/drivers/media/rc/
H A Dbpf-lirc.c140 struct bpf_prog_array *new_array; local
163 ret = bpf_prog_array_copy(old_array, NULL, prog, 0, &new_array);
167 rcu_assign_pointer(raw->progs, new_array);
178 struct bpf_prog_array *new_array; local
196 ret = bpf_prog_array_copy(old_array, prog, NULL, 0, &new_array);
205 rcu_assign_pointer(raw->progs, new_array);
/linux-master/kernel/bpf/
H A Dnet_namespace.c107 struct bpf_prog_array *old_array, *new_array; local
136 new_array = bpf_prog_array_alloc(cnt, GFP_KERNEL);
137 if (!new_array) {
141 fill_prog_array(net, type, new_array);
142 rcu_assign_pointer(net->bpf.run_array[type], new_array);
H A Dcore.c2615 struct bpf_prog_array **new_array)
2649 *new_array = NULL;
2678 *new_array = array;
2611 bpf_prog_array_copy(struct bpf_prog_array *old_array, struct bpf_prog *exclude_prog, struct bpf_prog *include_prog, u64 bpf_cookie, struct bpf_prog_array **new_array) argument
/linux-master/mm/
H A Dmemblock.c418 struct memblock_region *new_array, *old_array; local
448 new_array = kmalloc(new_size, GFP_KERNEL);
449 addr = new_array ? __pa(new_array) : 0;
463 new_array = addr ? __va(addr) : NULL;
480 memcpy(new_array, type->regions, old_size);
481 memset(new_array + type->max, 0, old_size);
483 type->regions = new_array;
/linux-master/drivers/virtio/
H A Dvirtio_mem.c399 uint8_t *new_array; local
404 new_array = vzalloc(new_pages * PAGE_SIZE);
405 if (!new_array)
410 memcpy(new_array, vm->bbm.bb_states, old_pages * PAGE_SIZE);
412 vm->bbm.bb_states = new_array;
465 uint8_t *new_array; local
470 new_array = vzalloc(new_pages * PAGE_SIZE);
471 if (!new_array)
476 memcpy(new_array, vm->sbm.mb_states, old_pages * PAGE_SIZE);
478 vm->sbm.mb_states = new_array;
[all...]
/linux-master/arch/powerpc/kernel/
H A Dfadump.c856 struct fadump_memory_range *new_array; local
863 new_array = krealloc(mrange_info->mem_ranges, new_size, GFP_KERNEL);
864 if (new_array == NULL) {
871 mrange_info->mem_ranges = new_array;
/linux-master/net/sched/
H A Dsch_fq.c817 struct rb_root *new_array, u32 new_log)
835 nroot = &new_array[hash_ptr(of->sk, new_log)];
815 fq_rehash(struct fq_sched_data *q, struct rb_root *old_array, u32 old_log, struct rb_root *new_array, u32 new_log) argument
/linux-master/kernel/trace/
H A Dbpf_trace.c2238 struct bpf_prog_array *new_array; local
2262 ret = bpf_prog_array_copy(old_array, NULL, prog, bpf_cookie, &new_array);
2269 rcu_assign_pointer(event->tp_event->prog_array, new_array);
2280 struct bpf_prog_array *new_array; local
2289 ret = bpf_prog_array_copy(old_array, event->prog, NULL, 0, &new_array);
2295 rcu_assign_pointer(event->tp_event->prog_array, new_array);
/linux-master/fs/ext4/
H A Dxattr.c2878 struct ext4_xattr_inode_array *new_array = NULL; local
2881 /* if new_array is NULL, this is essentially offsetof() */
2882 new_array = kmalloc(
2886 if (new_array == NULL)
2888 memcpy(new_array, *ea_inode_array,
2891 *ea_inode_array = new_array;
/linux-master/include/linux/
H A Dbpf.h2018 struct bpf_prog_array **new_array);
/linux-master/drivers/md/
H A Dmd.c309 * The preferred method is to write to the "new_array" module parameter.
5818 * writing to /sys/module/md_mod/parameters/new_array.
10230 module_param_call(new_array, add_named_array, NULL, NULL, S_IWUSR);

Completed in 272 milliseconds