| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sock_iter_batch.c | 15 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() 79 to_read = nr_soreuse * sizeof(*indices); in do_test() 83 nread = read(iter_fd, indices, onebyone ? sizeof(*indices) : to_read); in do_test() 84 if (nread <= 0 || nread % sizeof(*indices)) in do_test() [all …]
|
| /linux-6.15/mm/ |
| H A D | truncate.c | 63 XA_STATE(xas, &mapping->i_pages, indices[0]); in truncate_folio_batch_exceptionals() 101 xas_set(&xas, indices[j]); in truncate_folio_batch_exceptionals() 107 xas_for_each(&xas, folio, indices[nr-1]) { in truncate_folio_batch_exceptionals() 347 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local 376 &fbatch, indices)) { in truncate_inode_pages_range() 416 indices)) { in truncate_inode_pages_range() 512 pgoff_t indices[PAGEVEC_SIZE]; in mapping_try_invalidate() local 551 clear_shadow_entries(mapping, indices[0], indices[nr-1]); in mapping_try_invalidate() 650 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_inode_pages2_range() local 686 (1 + end - indices[i]), false); in invalidate_inode_pages2_range() [all …]
|
| /linux-6.15/net/bridge/ |
| H A D | br_ioctl.c | 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() 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() 361 if (indices == NULL) in old_deviceless() 366 ret = copy_to_user(argp, indices, in old_deviceless() [all …]
|
| /linux-6.15/arch/arm64/boot/dts/freescale/ |
| H A D | imx8-ss-mipi1.dtsi | 33 clock-indices = <IMX_LPCG_CLK_0>; 44 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 55 clock-indices = <IMX_LPCG_CLK_0>; 65 clock-indices = <IMX_LPCG_CLK_0>; 75 clock-indices = <IMX_LPCG_CLK_0>; 85 clock-indices = <IMX_LPCG_CLK_0>; 95 clock-indices = <IMX_LPCG_CLK_0>; 105 clock-indices = <IMX_LPCG_CLK_0>;
|
| H A D | imx8qm-ss-audio.dtsi | 43 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_2>; 72 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_2>; 118 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; 130 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; 189 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; 200 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; 211 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; 391 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; 396 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; 410 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_0>; [all …]
|
| H A D | imx8-ss-mipi0.dtsi | 47 clock-indices = <IMX_LPCG_CLK_0>; 57 clock-indices = <IMX_LPCG_CLK_0>; 67 clock-indices = <IMX_LPCG_CLK_0>; 77 clock-indices = <IMX_LPCG_CLK_0>; 87 clock-indices = <IMX_LPCG_CLK_0>; 97 clock-indices = <IMX_LPCG_CLK_0>;
|
| H A D | imx8qm-ss-lvds.dtsi | 9 clock-indices = <IMX_LPCG_CLK_4>; 15 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 21 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 58 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
|
| H A D | imx8-ss-audio.dtsi | 331 clock-indices = <IMX_LPCG_CLK_4>; 342 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 428 clock-indices = <IMX_LPCG_CLK_4>; 580 clock-indices = <IMX_LPCG_CLK_0>; 590 clock-indices = <IMX_LPCG_CLK_0>; 600 clock-indices = <IMX_LPCG_CLK_0>; 610 clock-indices = <IMX_LPCG_CLK_0>; 620 clock-indices = <IMX_LPCG_CLK_0>; 630 clock-indices = <IMX_LPCG_CLK_0>; 699 clock-indices = <IMX_LPCG_CLK_4>; [all …]
|
| H A D | imx8-ss-dma.dtsi | 210 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 222 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 234 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 246 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 258 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 270 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 282 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 294 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 306 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 486 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; [all …]
|
| H A D | imx8qm-ss-hsio.dtsi | 123 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>, <IMX_LPCG_CLK_6>; 135 clock-indices = <IMX_LPCG_CLK_4>; 146 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 161 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 175 clock-indices = <IMX_LPCG_CLK_4>; 185 clock-indices = <IMX_LPCG_CLK_4>; 195 clock-indices = <IMX_LPCG_CLK_4>;
|
| H A D | imx8-ss-lvds1.dtsi | 33 clock-indices = <IMX_LPCG_CLK_4>; 44 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 56 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 68 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
|
| H A D | imx8-ss-conn.dtsi | 201 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, 215 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, 229 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, 247 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 269 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 286 clock-indices = <IMX_LPCG_CLK_6>, <IMX_LPCG_CLK_7>; 295 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 321 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 335 clock-indices = <IMX_LPCG_CLK_4>;
|
| H A D | imx8qm-ss-mipi.dtsi | 9 clock-indices = <IMX_LPCG_CLK_0>; 16 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
|
| H A D | imx8-ss-lsio.dtsi | 237 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>,
|
| H A D | imx8-ss-hsio.dtsi | 107 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>, <IMX_LPCG_CLK_6>; 119 clock-indices = <IMX_LPCG_CLK_4>; 129 clock-indices = <IMX_LPCG_CLK_4>; 139 clock-indices = <IMX_LPCG_CLK_4>;
|
| H A D | imx8qm-ss-dma.dtsi | 17 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 43 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 55 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>; 68 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>;
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_lib.c | 65 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov() 232 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov() 400 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues() 408 fcoe->indices = 1; in ixgbe_set_dcb_sriov_queues() 413 fcoe->indices = 0; in ixgbe_set_dcb_sriov_queues() 459 f->indices = rss_i; in ixgbe_set_dcb_queues() 578 fcoe->indices = fcoe_i; in ixgbe_set_sriov_queues() 590 fcoe->offset = fcoe_i - fcoe->indices; in ixgbe_set_sriov_queues() 634 f->indices = rss_i; in ixgbe_set_rss_queues() 652 rss_i = f->indices = f->limit; in ixgbe_set_rss_queues() [all …]
|
| /linux-6.15/drivers/gpu/drm/msm/registers/ |
| H A D | gen_header.py | 135 def indices_varlist(indices): argument 138 def indices_prototype(indices): argument 142 def indices_strides(indices): argument 319 def indices(self): member in Array 321 indices = self.parent.indices() 323 indices = [] 329 return indices 384 def indices(self): member in Reg 386 indices = self.array.indices() 388 indices = [] [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/clock/ |
| H A D | allwinner,sun4i-a10-gates-clk.yaml | 68 clock-indices: 81 - clock-indices 93 clock-indices = <0>; 103 clock-indices = <0>, <1>, 142 clock-indices = <0>, <1>,
|
| H A D | allwinner,sun8i-h3-bus-gates-clk.yaml | 36 clock-indices: 49 - clock-indices 63 clock-indices = <5>, <6>, <8>,
|
| H A D | imx8qxp-lpcg.yaml | 57 clock-indices: 61 supported LPCG clock indices. 69 as the clock-indices property. 96 clock-indices = <IMX_LPCG_CLK_0>,
|
| H A D | renesas,cpg-mstp-clocks.yaml | 45 clock-indices: 58 - clock-indices 73 clock-indices = <
|
| /linux-6.15/lib/ |
| H A D | build_OID_registry | 50 my @indices = (); 71 push @indices, $total_length; 85 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n"
|
| /linux-6.15/tools/testing/radix-tree/ |
| H A D | idr-test.c | 155 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.15/arch/mips/kvm/ |
| H A D | mips.c | 601 if (copy_to_user(indices, kvm_mips_get_one_regs, in kvm_mips_copy_reg_indices() 604 indices += ARRAY_SIZE(kvm_mips_get_one_regs); in kvm_mips_copy_reg_indices() 607 if (copy_to_user(indices, kvm_mips_get_one_regs_fpu, in kvm_mips_copy_reg_indices() 610 indices += ARRAY_SIZE(kvm_mips_get_one_regs_fpu); in kvm_mips_copy_reg_indices() 614 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 616 ++indices; in kvm_mips_copy_reg_indices() 623 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 625 ++indices; in kvm_mips_copy_reg_indices() 633 indices += ARRAY_SIZE(kvm_mips_get_one_regs_msa); in kvm_mips_copy_reg_indices() 637 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() [all …]
|