/linux-master/include/linux/ |
H A D | fs_parser.h | 127 #define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array)
|
H A D | assoc_array_priv.h | 2 /* Private definitions for the generic associative array implementation. 46 * The tree is navigated by constructing an index key consisting of an array of 76 struct assoc_array *array; member in struct:assoc_array_edit
|
H A D | moduleparam.h | 351 * module_param_string - a char array parameter 492 * module_param_array - a parameter which is an array of some type 493 * @name: the name of the array variable 499 * don't work properly (eg. an array of charp). 502 * array, so the definition must be visible. 508 * module_param_array_named - renamed parameter which is an array of some type 510 * @array: the name of the array variable 518 #define module_param_array_named(name, array, type, nump, perm) \ 519 param_check_##type(name, &(array)[ [all...] |
/linux-master/include/trace/stages/ |
H A D | stage3_trace_output.h | 115 #define __print_array(array, count, el_size) \ 119 trace_print_array_seq(p, array, count, el_size); \
|
/linux-master/tools/perf/tests/ |
H A D | dwarf-unwind.c | 89 * The funcs[MAX_STACK] array index, based on the 164 struct thread *array[2] = {thread, thread}; local 176 _bsearch(array, &thread, 2, sizeof(struct thread **),
|
/linux-master/fs/ext4/ |
H A D | xattr.h | 133 unsigned int count; /* # of used items in the array */ 188 struct ext4_xattr_inode_array **array, 190 extern void ext4_xattr_inode_array_free(struct ext4_xattr_inode_array *array);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | lsm.c | 19 } array SEC(".maps"); 124 value = bpf_map_lookup_elem(&array, &key);
|
/linux-master/drivers/mfd/ |
H A D | si476x-prop.c | 20 const u16 array[], 26 if (element == array[i]) 19 si476x_core_element_is_in_array(u16 element, const u16 array[], size_t size) argument
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fence.h | 31 #include <linux/dma-fence-array.h>
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_sched_job.c | 8 #include <linux/dma-fence-array.h> 208 struct dma_fence_array *array = local 210 struct dma_fence **child = array->fences; 211 unsigned int nchild = array->num_fences; 280 * 0 on success, or an error on failing to expand the array.
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | global_map_resize.c | 35 skel->bss->array[0] = 1; 49 /* set the expected number of elements based on the resized array */ 50 array_len = (desired_sz - sizeof(skel->bss->sum)) / sizeof(skel->bss->array[0]); 60 /* fill the newly resized array with ones, 64 skel->bss->array[i] = 1; 78 /* run the bpf program which will sum the contents of the array. 79 * since the array was filled with ones,verify the sum equals array_len 119 /* set the expected number of elements based on the resized array */ 130 /* fill the newly resized array with ones, 148 /* run the bpf program which will sum the contents of the array [all...] |
H A D | unpriv_bpf_disabled.c | 102 bool array = strstr(map_paths[i], "array") != NULL; local 116 /* need valid prog array value */ 118 /* prog array lookup returns prog id, not fd */ 124 if (!array) 222 char *map_paths[NUM_MAPS] = { PINPATH "array", 246 map_fds[0] = bpf_map__fd(skel->maps.array);
|
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_exec_test.c | 155 struct drm_gem_object *array[] = { &gobj1, &gobj2 }; local 164 ret = drm_exec_prepare_array(&exec, array, ARRAY_SIZE(array),
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 132 u32 array[1 + V4L2_MBUS_CSI2_MAX_DATA_LANES]; local 152 array[i] = bus->data_lanes[i]; 153 if (array[i]) 166 fwnode_property_read_u32_array(fwnode, "data-lanes", array, 177 if (lanes_used & BIT(array[i])) { 180 array[i]); 183 lanes_used |= BIT(array[i]); 186 pr_debug("lane %u position %u\n", i, array[i]); 237 bus->data_lanes[i] = array[i]; 242 "lane-polarities", array, [all...] |
/linux-master/include/kunit/ |
H A D | test.h | 103 * KUNIT_CASE() macro; additionally, every array of test cases should be 228 * @test_cases: a null terminated array of test cases. 259 /* Stores an array of suites, end points one past the end */ 365 * This is done by placing the array of struct kunit_suite * in the 373 __kunit_test_suites(__UNIQUE_ID(array), \ 393 * This macro also suffixes the array and suite declarations it makes with 404 __kunit_init_test_suites(CONCATENATE(__UNIQUE_ID(array), _probe), \ 1506 * KUNIT_ARRAY_PARAM() - Define test parameter generator from an array. 1508 * @array: array o [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | ccwdev.h | 40 /* scan through an array of device ids and return the first 43 * the array must end with an entry containing zero match_flags 46 ccw_device_id_match(const struct ccw_device_id *array, argument 49 const struct ccw_device_id *id = array; 51 for (id = array; id->match_flags; id++) {
|
/linux-master/drivers/dma-buf/ |
H A D | dma-resv.c | 37 #include <linux/dma-fence-array.h> 222 * merely update the pointer to the new array; both existing 225 * old array are protected by RCU and so will not vanish under 555 * @fences: the array of fence ptrs returned (array is krealloc'd to the 582 /* Eventually re-allocate the array */ 622 struct dma_fence_array *array; local 642 array = dma_fence_array_create(count, fences, 645 if (!array) { 652 *fence = &array [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-topology.c | 2594 * Parse the vendor array for specific tokens to construct 2601 struct snd_soc_tplg_vendor_array *array; local 2611 array = (struct snd_soc_tplg_vendor_array *)(pvt_data + off); 2613 off += array->size; 2615 switch (array->type) { 2623 array->uuid); 2626 ret = skl_tplg_get_token(dev, array->value, skl, 2633 tuple_size += sizeof(*array->uuid); 2638 tkn_elem = array->value; 2643 while (tkn_count <= (array 2664 skl_tplg_get_desc_blocks(struct device *dev, struct snd_soc_tplg_vendor_array *array) argument 2875 struct snd_soc_tplg_vendor_array *array; local 3177 skl_tplg_get_str_tkn(struct device *dev, struct snd_soc_tplg_vendor_array *array, struct skl_dev *skl) argument 3463 struct snd_soc_tplg_vendor_array *array; local 3529 struct snd_soc_tplg_vendor_array *array; local [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | srq_cmd.c | 86 xa_lock_irq(&table->array); 87 srq = xa_load(&table->array, srqn); 90 xa_unlock_irq(&table->array); 653 err = xa_err(xa_store_irq(&table->array, srq->srqn, srq, GFP_KERNEL)); 672 tmp = xa_cmpxchg_irq(&table->array, srq->srqn, srq, XA_ZERO_ENTRY, 0); 683 xa_cmpxchg_irq(&table->array, srq->srqn, XA_ZERO_ENTRY, srq, 0); 686 xa_erase_irq(&table->array, srq->srqn); 740 xa_lock(&table->array); 741 srq = xa_load(&table->array, srqn); 744 xa_unlock(&table->array); [all...] |
/linux-master/drivers/platform/x86/intel/ |
H A D | tpmi.c | 446 u32 num_elems, *array; local 454 ret = parse_int_array_user(userbuf, len, (int **)&array); 458 num_elems = *array; 464 punit = array[1]; 465 addr = array[2]; 466 value = array[3]; 496 kfree(array);
|
/linux-master/lib/ |
H A D | test_xarray.c | 228 /* We should see two elements in the array */ 485 /* An array with a reserved entry is not empty */ 911 /* An empty array should assign %base to the first alloc */ 914 /* Erasing it should make the array empty again */ 928 /* Destroying the array should do the same as erasing */ 1898 XA_BUG_ON(xa, node->array != xa); 1993 /* Destroying an empty array is a no-op */ 1997 /* Destroying an array with a single entry */ 2005 /* Destroying an array with a single entry at ULONG_MAX */ 2012 /* Destroying an array wit [all...] |
/linux-master/kernel/bpf/ |
H A D | core.c | 192 /* The jit engine is responsible to provide an array 195 * The idx to this array is the insn_off. Hence, the insn_off 197 * This array has one entry for each xlated bpf insn. 1698 * @regs: is the array of MAX_BPF_EXT_REG eBPF pseudo-registers 1699 * @insn: is the array of eBPF instructions 2010 struct bpf_array *array = container_of(map, struct bpf_array, map); local 2014 if (unlikely(index >= array->map.max_entries)) 2022 prog = READ_ONCE(array->ptrs[index]); 2477 int bpf_prog_array_length(struct bpf_prog_array *array) argument 2482 for (item = array 2488 bpf_prog_array_is_empty(struct bpf_prog_array *array) argument 2498 bpf_prog_array_copy_core(struct bpf_prog_array *array, u32 *prog_ids, u32 request_cnt) argument 2518 bpf_prog_array_copy_to_user(struct bpf_prog_array *array, __u32 __user *prog_ids, u32 cnt) argument 2544 bpf_prog_array_delete_safe(struct bpf_prog_array *array, struct bpf_prog *old_prog) argument 2571 bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index) argument 2591 bpf_prog_array_update_at(struct bpf_prog_array *array, int index, struct bpf_prog *prog) argument 2619 struct bpf_prog_array *array; local 2682 bpf_prog_array_copy_info(struct bpf_prog_array *array, u32 *prog_ids, u32 request_cnt, u32 *prog_cnt) argument [all...] |
/linux-master/net/8021q/ |
H A D | vlan.c | 53 struct net_device **array; local 65 array = vg->vlan_devices_arrays[pidx][vidx]; 66 if (array != NULL) 70 array = kzalloc(size, GFP_KERNEL_ACCOUNT); 71 if (array == NULL) 77 vg->vlan_devices_arrays[pidx][vidx] = array;
|
/linux-master/drivers/power/supply/ |
H A D | ds2760_battery.c | 238 /* array is level at temps 0��C, 10��C, 20��C, 30��C, 40��C 240 static int battery_interpolate(int array[], int temp) argument 245 return array[0]; 247 return array[4]; 252 return array[index] + (((array[index + 1] - array[index]) * dt) / 10);
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cq.c | 152 ret = xa_err(xa_store(&cq_table->array, hr_cq->cqn, hr_cq, GFP_KERNEL)); 166 xa_erase(&cq_table->array, hr_cq->cqn); 185 xa_erase(&cq_table->array, hr_cq->cqn); 458 hr_cq = xa_load(&hr_dev->cq_table.array, 479 hr_cq = xa_load(&hr_dev->cq_table.array, 515 xa_init(&cq_table->array);
|