| /linux-6.15/include/sound/ |
| H A D | hdaudio.h | 689 void *snd_array_new(struct snd_array *array); 690 void snd_array_free(struct snd_array *array); 691 static inline void snd_array_init(struct snd_array *array, unsigned int size, in snd_array_init() argument 694 array->elem_size = size; in snd_array_init() 695 array->alloc_align = align; in snd_array_init() 698 static inline void *snd_array_elem(struct snd_array *array, unsigned int idx) in snd_array_elem() argument 700 return array->list + idx * array->elem_size; in snd_array_elem() 705 return (unsigned long)(ptr - array->list) / array->elem_size; in snd_array_index() 709 #define snd_array_for_each(array, idx, ptr) \ argument 710 for ((idx) = 0, (ptr) = (array)->list; (idx) < (array)->used; \ [all …]
|
| /linux-6.15/drivers/media/platform/chips-media/wave5/ |
| H A D | wave5-vdi.c | 151 int wave5_vdi_allocate_array(struct vpu_device *vpu_dev, struct vpu_buf *array, unsigned int count, in wave5_vdi_allocate_array() argument 160 if (array[i].size == size) in wave5_vdi_allocate_array() 163 if (array[i].size != 0) in wave5_vdi_allocate_array() 164 wave5_vdi_free_dma_memory(vpu_dev, &array[i]); in wave5_vdi_allocate_array() 169 array[i] = vb_buf; in wave5_vdi_allocate_array() 173 wave5_vdi_free_dma_memory(vpu_dev, &array[i]); in wave5_vdi_allocate_array()
|
| /linux-6.15/lib/tests/ |
| H A D | util_macros_kunit.c | 11 #define FIND_CLOSEST_RANGE_CHECK(from, to, array, exp_idx) \ argument 15 int found = find_closest(i, array, ARRAY_SIZE(array)); \ 118 #define FIND_CLOSEST_DESC_RANGE_CHECK(from, to, array, exp_idx) \ argument 122 int found = find_closest_descending(i, array, \ 123 ARRAY_SIZE(array)); \
|
| /linux-6.15/Documentation/devicetree/bindings/net/ |
| H A D | intel,ixp4xx-hss.yaml | 27 $ref: /schemas/types.yaml#/definitions/phandle-array 36 $ref: /schemas/types.yaml#/definitions/phandle-array 44 $ref: /schemas/types.yaml#/definitions/phandle-array 52 $ref: /schemas/types.yaml#/definitions/phandle-array 60 $ref: /schemas/types.yaml#/definitions/phandle-array 69 $ref: /schemas/types.yaml#/definitions/phandle-array 79 $ref: /schemas/types.yaml#/definitions/phandle-array
|
| /linux-6.15/Documentation/translations/zh_CN/core-api/ |
| H A D | xarray.rst | 207 xa_init_flags(&foo->array, XA_FLAGS_LOCK_BH); 214 xa_lock_bh(&foo->array); 215 err = xa_err(__xa_store(&foo->array, index, entry, GFP_KERNEL)); 218 xa_unlock_bh(&foo->array); 225 xa_lock(&foo->array); 226 __xa_erase(&foo->array, index); 228 xa_unlock(&foo->array);
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_bo_list.c | 75 struct amdgpu_bo_list_entry *array; in amdgpu_bo_list_create() local 88 array = list->entries; in amdgpu_bo_list_create() 112 entry = &array[--first_userptr]; in amdgpu_bo_list_create() 114 entry = &array[last_entry++]; in amdgpu_bo_list_create() 133 sort(array, last_entry, sizeof(struct amdgpu_bo_list_entry), in amdgpu_bo_list_create() 144 amdgpu_bo_unref(&array[i].bo); in amdgpu_bo_list_create() 146 amdgpu_bo_unref(&array[i].bo); in amdgpu_bo_list_create()
|
| /linux-6.15/tools/testing/selftests/kvm/s390/ |
| H A D | cpumodel_subfuncs_test.c | 230 typedef void (*testfunc_t)(u8 (*array)[]); 284 u8 *array = malloc(testlist[idx].array_size); in main() local 286 testlist[idx].test((u8 (*)[testlist[idx].array_size])array); in main() 289 array, testlist[idx].array_size), 0); in main() 292 free(array); in main()
|
| /linux-6.15/include/linux/ |
| H A D | minmax.h | 250 #define __minmax_array(op, array, len) ({ \ argument 251 typeof(&(array)[0]) __array = (array); \ 265 #define min_array(array, len) __minmax_array(min, array, len) argument 274 #define max_array(array, len) __minmax_array(max, array, len) argument
|
| H A D | ptr_ring.h | 307 void **array, int n) in __ptr_ring_consume_batched() argument 316 array[i] = ptr; in __ptr_ring_consume_batched() 373 void **array, int n) in ptr_ring_consume_batched() argument 378 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched() 385 void **array, int n) in ptr_ring_consume_batched_irq() argument 390 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched_irq() 397 void **array, int n) in ptr_ring_consume_batched_any() argument 403 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched_any() 410 void **array, int n) in ptr_ring_consume_batched_bh() argument 415 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched_bh()
|
| /linux-6.15/Documentation/mm/ |
| H A D | memory-model.rst | 38 In the FLATMEM memory model, there is a global `mem_map` array that 40 have entries in the `mem_map` array. The `struct page` objects 44 call :c:func:`free_area_init` function. Yet, the mappings array is not 55 `mem_map` array. 72 array of struct pages. However, it is stored with some other magic 87 The `mem_section` objects are arranged in a two-dimensional array 88 called `mem_sections`. The size and placement of this array depend 93 array is static and has `NR_MEM_SECTIONS` rows. Each row holds a 110 frame. Inside a section, the PFN is the index to the array of pages. 114 page *vmemmap` pointer that points to a virtually contiguous array of [all …]
|
| /linux-6.15/Documentation/netlink/ |
| H A D | genetlink.yaml | 44 type: array 69 type: array 89 type: array 117 type: array 137 type: array 238 type: array 260 type: array 265 type: array 307 type: array 321 type: array [all …]
|
| /linux-6.15/Documentation/staging/ |
| H A D | speculation.rst | 24 int load_array(int *array, unsigned int index) 29 return array[index]; 39 LDR <returnval>, [<array>, <index>] 43 speculatively loads array[index], even if index >= MAX_ARRAY_ELEMS. This 84 int load_array(int *array, unsigned int index) 90 return array[index];
|
| /linux-6.15/tools/perf/ |
| H A D | perf-completion.sh | 242 local -a array 249 array[${#array[@]}+1]="$c" 253 compadd -Q -S '' -a -- array && _ret=0 262 local -a array 273 array[$#array+1]=${c#"$colon_word"} 277 compadd -Q -S '' -a -- array && _ret=0
|
| /linux-6.15/Documentation/leds/ |
| H A D | leds-class-multicolor.rst | 11 controlled via the multi_intensity array file and the latter is controlled 17 array. These files are children under the LED parent node created by the 25 The multi_index file is an array that contains the string list of the colors as 26 they are defined in each multi_* array file. 28 The multi_intensity is an array that can be read or written to for the 29 individual color intensities. All elements within this array must be written in
|
| /linux-6.15/include/trace/stages/ |
| H A D | stage3_trace_output.h | 115 #define __print_array(array, count, el_size) \ argument 119 trace_print_array_seq(p, array, count, el_size); \ 123 #define __print_dynamic_array(array, el_size) \ argument 125 __print_array(__get_dynamic_array(array), \ 126 __get_dynamic_array_len(array) / (el_size), \
|
| /linux-6.15/drivers/scsi/isci/ |
| H A D | unsolicited_frame_control.h | 172 struct scu_unsolicited_frame_header *array; member 195 struct sci_unsolicited_frame array[SCU_MAX_UNSOLICITED_FRAMES]; member 217 u64 *array; member
|
| /linux-6.15/Documentation/networking/ |
| H A D | fib_trie.rst | 15 An internal node, holding an array of child (leaf or tnode) pointers, 22 child array - the "child index". See Level Compression. 26 the child array. See Path Compression. 29 Any given tnode is linked to from the child array of its parent, using 43 contain an arbitrarily large array of links to several children. 44 Conversely, a tnode with a mostly empty child array (see empty_children) 49 the number of positions in the child array of a given tnode that are 85 Analyzes a tnode and optimizes the child array size by either inflating 91 Doubles the size of the child array within a tnode. Used by resize(). 94 Halves the size of the child array within a tnode - the inverse of [all …]
|
| /linux-6.15/sound/soc/sof/ |
| H A D | sof-client-probes.c | 260 u32 num_elems, *array; in sof_probes_dfs_points_write() local 269 ret = parse_int_array_user(from, count, (int **)&array); in sof_probes_dfs_points_write() 273 num_elems = *array; in sof_probes_dfs_points_write() 274 bytes = sizeof(*array) * num_elems; in sof_probes_dfs_points_write() 280 desc = (struct sof_probe_point_desc *)&array[1]; in sof_probes_dfs_points_write() 297 kfree(array); in sof_probes_dfs_points_write() 319 u32 *array; in sof_probes_dfs_points_remove_write() local 326 ret = parse_int_array_user(from, count, (int **)&array); in sof_probes_dfs_points_remove_write() 336 ret = ipc->points_remove(cdev, &array[1], array[0]); in sof_probes_dfs_points_remove_write() 345 kfree(array); in sof_probes_dfs_points_remove_write()
|
| H A D | topology.c | 463 elem = &array->uuid[i]; in sof_parse_uuid_tokens() 567 elem = &array->string[i]; in sof_copy_tuples() 578 elem = &array->value[i]; in sof_copy_tuples() 602 array = (struct snd_soc_tplg_vendor_array *)((u8 *)array + asize); in sof_copy_tuples() 630 elem = &array->string[i]; in sof_parse_string_tokens() 676 elem = &array->value[i]; in sof_parse_word_tokens() 749 array); in sof_parse_token_sets() 754 array); in sof_parse_token_sets() 767 array); in sof_parse_token_sets() 771 array->type); in sof_parse_token_sets() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | percpu_alloc_fail.c | 34 } array SEC(".maps"); 46 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG() 71 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG() 95 e = bpf_map_lookup_elem(&array, &index); in BPF_PROG()
|
| H A D | preempted_bpf_ma_op.c | 23 } array SEC(".maps"); 34 value = bpf_map_lookup_elem(&array, from); in del_array() 51 value = bpf_map_lookup_elem(&array, from); in add_array()
|
| /linux-6.15/Documentation/devicetree/bindings/net/wireless/ |
| H A D | marvell,sd8787.yaml | 38 $ref: /schemas/types.yaml#/definitions/uint8-array 43 $ref: /schemas/types.yaml#/definitions/uint8-array 48 $ref: /schemas/types.yaml#/definitions/uint8-array 53 $ref: /schemas/types.yaml#/definitions/uint8-array 58 $ref: /schemas/types.yaml#/definitions/uint8-array
|
| /linux-6.15/drivers/gpu/drm/msm/registers/ |
| H A D | gen_header.py | 177 if reg.array: 231 if reg.array: 247 if reg.array: 369 self.array = array 373 if array: 385 if self.array: 394 if self.array: 736 if reg.array: 795 array = False 801 array = reg.array [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/sound/ |
| H A D | wlf,arizona.yaml | 38 $ref: /schemas/types.yaml#/definitions/uint32-array 54 $ref: /schemas/types.yaml#/definitions/uint32-array 69 $ref: /schemas/types.yaml#/definitions/uint32-array 86 $ref: /schemas/types.yaml#/definitions/uint32-array 97 $ref: /schemas/types.yaml#/definitions/uint32-array 106 $ref: /schemas/types.yaml#/definitions/uint32-array 115 $ref: /schemas/types.yaml#/definitions/uint32-array
|
| /linux-6.15/Documentation/devicetree/bindings/soundwire/ |
| H A D | qcom,soundwire.yaml | 77 $ref: /schemas/types.yaml#/definitions/uint8-array 87 $ref: /schemas/types.yaml#/definitions/uint8-array 98 $ref: /schemas/types.yaml#/definitions/uint16-array 109 $ref: /schemas/types.yaml#/definitions/uint8-array 120 $ref: /schemas/types.yaml#/definitions/uint8-array 131 $ref: /schemas/types.yaml#/definitions/uint8-array 142 $ref: /schemas/types.yaml#/definitions/uint8-array 160 $ref: /schemas/types.yaml#/definitions/uint8-array 177 $ref: /schemas/types.yaml#/definitions/uint8-array 194 $ref: /schemas/types.yaml#/definitions/uint8-array
|