Home
last modified time | relevance | path

Searched full:indices (Results 1 – 25 of 787) sorted by relevance

12345678910>>...32

/linux-6.8/tools/testing/selftests/bpf/prog_tests/
Dsock_iter_batch.c15 int first_idx, second_idx, indices[nr_soreuse]; in do_test() local
58 to_read = (nr_soreuse - 1) * sizeof(*indices); in do_test()
62 nread = read(iter_fd, indices, onebyone ? sizeof(*indices) : to_read); in do_test()
63 if (nread <= 0 || nread % sizeof(*indices)) in do_test()
68 first_idx = indices[0]; in do_test()
69 for (i = 0; i < nread / sizeof(*indices); i++) in do_test()
70 ASSERT_EQ(indices[i], first_idx, "first_idx"); in do_test()
72 ASSERT_EQ(nread, onebyone ? sizeof(*indices) : to_read, "nread"); in do_test()
79 to_read = nr_soreuse * sizeof(*indices); in do_test()
83 nread = read(iter_fd, indices, onebyone ? sizeof(*indices) : to_read); in do_test()
[all …]
/linux-6.8/net/bridge/
Dbr_ioctl.c21 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices() argument
31 indices[i++] = dev->ifindex; in get_bridge_ifindices()
197 int num, *indices; in br_dev_siocdevprivate() local
207 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in br_dev_siocdevprivate()
208 if (indices == NULL) in br_dev_siocdevprivate()
211 get_port_ifindices(br, indices, num); in br_dev_siocdevprivate()
212 if (copy_to_user(argp, indices, array_size(num, sizeof(int)))) in br_dev_siocdevprivate()
214 kfree(indices); in br_dev_siocdevprivate()
355 int *indices; in old_deviceless() local
360 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless()
[all …]
/linux-6.8/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c38 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_dcb_sriov()
49 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_dcb_sriov()
65 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov()
69 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
77 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
158 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb()
206 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
207 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov()
230 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
231 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
[all …]
/linux-6.8/arch/arm64/boot/dts/freescale/
Dimx8-ss-dma.dtsi224 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
236 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
248 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
260 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
272 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
284 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
296 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
308 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
320 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
469 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
[all …]
Dimx8-ss-lsio.dtsi237 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
257 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
277 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
297 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
317 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
337 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
357 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
377 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
Dimx8-ss-conn.dtsi194 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
208 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
222 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
240 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
262 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
279 clock-indices = <IMX_LPCG_CLK_6>, <IMX_LPCG_CLK_7>;
288 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
/linux-6.8/mm/
Dtruncate.c60 struct folio_batch *fbatch, pgoff_t *indices) in truncate_folio_batch_exceptionals() argument
84 pgoff_t index = indices[i]; in truncate_folio_batch_exceptionals()
326 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local
355 &fbatch, indices)) { in truncate_inode_pages_range()
356 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range()
395 indices)) { in truncate_inode_pages_range()
413 VM_BUG_ON_FOLIO(!folio_contains(folio, indices[i]), folio); in truncate_inode_pages_range()
418 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range()
491 pgoff_t indices[PAGEVEC_SIZE]; in mapping_try_invalidate() local
499 while (find_lock_entries(mapping, &index, end, &fbatch, indices)) { in mapping_try_invalidate()
[all …]
/linux-6.8/Documentation/devicetree/bindings/clock/
Dimx8qxp-lpcg.yaml57 clock-indices:
61 supported LPCG clock indices.
69 as the clock-indices property.
96 clock-indices = <IMX_LPCG_CLK_0>,
Dallwinner,sun4i-a10-gates-clk.yaml68 clock-indices:
81 - clock-indices
93 clock-indices = <0>;
103 clock-indices = <0>, <1>,
142 clock-indices = <0>, <1>,
Drenesas,cpg-mstp-clocks.yaml45 clock-indices:
58 - clock-indices
73 clock-indices = <
Dallwinner,sun8i-h3-bus-gates-clk.yaml36 clock-indices:
49 - clock-indices
63 clock-indices = <5>, <6>, <8>,
/linux-6.8/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
Dsmu11_driver_if_vangogh.h178 uint16_t Voltage[3]; //[mV] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
179 uint16_t Current[3]; //[mA] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
180 uint16_t Power[3]; //[mW] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
208 uint16_t Voltage[3]; //[mV] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
209 uint16_t Current[3]; //[mA] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
210 uint16_t Power[3]; //[mW] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
Dsmu11_driver_if_cyan_skillfish.h59 uint32_t Voltage[2]; //[mV] indices: VDDCR_VDD, VDDCR_GFX
60 uint32_t Current[2]; //[mA] indices: VDDCR_VDD, VDDCR_GFX
61 uint32_t Power[2]; //[mW] indices: VDDCR_VDD, VDDCR_GFX
Dsmu13_driver_if_v13_0_5.h96 uint16_t Voltage[2]; //[mV] indices: VDDCR_VDD, VDDCR_SOC
97 uint16_t Current[2]; //[mA] indices: VDDCR_VDD, VDDCR_SOC
99 uint16_t Power[2]; //[mW] indices: VDDCR_VDD, VDDCR_SOC
/linux-6.8/Documentation/core-api/
Dxarray.rst21 The XArray implementation is efficient when the indices used are densely
23 perform well. The XArray is optimised for small indices, but still has
24 good performance with large indices. If your index can be larger than
52 occupy a range of indices. Once stored to, looking up any index in
91 of indices. If you do this, some of the other operations will behave
94 indices. Storing into one index may result in the entry retrieved by
95 some, but not all of the other indices changing.
130 affect all indices covered by that entry. Querying the mark on any
454 The XArray has the ability to tie multiple indices together so that
455 operations on one index affect all indices. For example, storing into
[all …]
/linux-6.8/arch/openrisc/include/asm/
Dfixmap.h59 * kernel oops. Illegal ranges of incoming indices are caught too.
65 * except when someone tries to use fixaddr indices in an in fix_to_virt()
67 * out-of-range indices). in fix_to_virt()
/linux-6.8/Documentation/ABI/testing/
Dsysfs-driver-intel-m10-bmc-sec-update35 Description: Read only. Returns a list of indices for canceled code
43 Description: Read only. Returns a list of indices for canceled code
51 Description: Read only. Returns a list of indices for canceled code
/linux-6.8/drivers/nvdimm/
Dbtt.h55 * indices (0, 2) and padding at indices (1, 3), where as the correct/updated
56 * format has log entries at indices (0, 1) and padding at indices (2, 3).
163 * @log_index: Indices of the valid log entries in a log_group
/linux-6.8/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c53 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
54 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
61 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init()
/linux-6.8/include/dt-bindings/power/
Draspberrypi-power.h9 /* These power domain indices are the firmware interface's indices
/linux-6.8/Documentation/devicetree/bindings/firmware/
Darm,scpi.yaml145 clock-indices:
156 - clock-indices
192 clock-indices = <0>, <1>, <2>;
199 clock-indices = <3>, <4>;
/linux-6.8/tools/testing/radix-tree/
Didr-test.c155 int indices[] = {4, 7, 9, 15, 65, 128, 1000, 99999, 0}; in idr_get_next_test() local
157 for(i = 0; indices[i]; i++) { in idr_get_next_test()
158 struct item *item = item_create(indices[i], 0); in idr_get_next_test()
159 assert(idr_alloc(&idr, item, indices[i], indices[i+1], in idr_get_next_test()
160 GFP_KERNEL) == indices[i]); in idr_get_next_test()
163 for(i = 0, nextid = 0; indices[i]; i++) { in idr_get_next_test()
165 assert(nextid == indices[i]); in idr_get_next_test()
/linux-6.8/arch/arm/boot/dts/renesas/
Dr7s72100.dtsi420 clock-indices = <R7S72100_CLK_MTU2>;
430 clock-indices = <
442 clock-indices = <R7S72100_CLK_OSTM0 R7S72100_CLK_OSTM1>;
451 clock-indices = <R7S72100_CLK_CEU R7S72100_CLK_RTC>;
460 clock-indices = <R7S72100_CLK_ETHER R7S72100_CLK_USB0 R7S72100_CLK_USB1>;
469 clock-indices = <R7S72100_CLK_MMCIF>;
478 clock-indices = <
491 clock-indices = <
502 clock-indices = <
/linux-6.8/include/uapi/rdma/
Drdma_user_rxe.h212 * It contains the producer and consumer indices. Is also
216 * producer and consumer indices in separate cache lines
217 * the kernel should always mask the indices to avoid accessing
/linux-6.8/Documentation/filesystems/
Ddevpts.rst8 and their indices allocated in one mount are independent from ptys
9 and their indices in all other mounts.

12345678910>>...32