| /linux/tools/testing/selftests/bpf/prog_tests/ |
| 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/mm/ |
| A D | truncate.c | 43 struct folio_batch *fbatch, pgoff_t *indices) in clear_shadow_entries() argument 58 __clear_shadow_entry(mapping, indices[i], folio); in clear_shadow_entries() 73 struct folio_batch *fbatch, pgoff_t *indices) in truncate_folio_batch_exceptionals() argument 97 pgoff_t index = indices[i]; in truncate_folio_batch_exceptionals() 310 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local 339 &fbatch, indices)) { in truncate_inode_pages_range() 379 indices)) { in truncate_inode_pages_range() 475 pgoff_t indices[PAGEVEC_SIZE]; in mapping_try_invalidate() local 601 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_inode_pages2_range() local 634 unmap_mapping_pages(mapping, indices[i], in invalidate_inode_pages2_range() [all …]
|
| /linux/net/bridge/ |
| 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/arch/arm64/boot/dts/freescale/ |
| 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>;
|
| 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 …]
|
| 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>;
|
| 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>;
|
| 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>; 583 clock-indices = <IMX_LPCG_CLK_0>; 593 clock-indices = <IMX_LPCG_CLK_0>; 603 clock-indices = <IMX_LPCG_CLK_0>; 613 clock-indices = <IMX_LPCG_CLK_0>; 623 clock-indices = <IMX_LPCG_CLK_0>; 633 clock-indices = <IMX_LPCG_CLK_0>; 702 clock-indices = <IMX_LPCG_CLK_4>; [all …]
|
| 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 …]
|
| 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>;
|
| 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>;
|
| A D | imx8qm-ss-mipi.dtsi | 9 clock-indices = <IMX_LPCG_CLK_0>; 16 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
|
| 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>,
|
| A D | imx8qm-ss-dma.dtsi | 14 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 40 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 52 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>; 65 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>;
|
| A D | imx8-ss-img.dtsi | 48 clock-indices = <IMX_LPCG_CLK_0>, 60 clock-indices = <IMX_LPCG_CLK_0>,
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_lib.c | 65 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov() 231 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov() 399 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues() 407 fcoe->indices = 1; in ixgbe_set_dcb_sriov_queues() 412 fcoe->indices = 0; in ixgbe_set_dcb_sriov_queues() 458 f->indices = rss_i; in ixgbe_set_dcb_queues() 577 fcoe->indices = fcoe_i; in ixgbe_set_sriov_queues() 589 fcoe->offset = fcoe_i - fcoe->indices; in ixgbe_set_sriov_queues() 633 f->indices = rss_i; in ixgbe_set_rss_queues() 651 rss_i = f->indices = f->limit; in ixgbe_set_rss_queues() [all …]
|
| /linux/drivers/gpu/drm/msm/registers/ |
| 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/Documentation/devicetree/bindings/clock/ |
| 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>,
|
| A D | allwinner,sun8i-h3-bus-gates-clk.yaml | 36 clock-indices: 49 - clock-indices 63 clock-indices = <5>, <6>, <8>,
|
| 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>,
|
| A D | renesas,cpg-mstp-clocks.yaml | 45 clock-indices: 58 - clock-indices 73 clock-indices = <
|
| /linux/lib/ |
| 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/tools/testing/radix-tree/ |
| 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/arch/mips/kvm/ |
| A D | mips.c | 602 if (copy_to_user(indices, kvm_mips_get_one_regs, in kvm_mips_copy_reg_indices() 605 indices += ARRAY_SIZE(kvm_mips_get_one_regs); in kvm_mips_copy_reg_indices() 608 if (copy_to_user(indices, kvm_mips_get_one_regs_fpu, in kvm_mips_copy_reg_indices() 611 indices += ARRAY_SIZE(kvm_mips_get_one_regs_fpu); in kvm_mips_copy_reg_indices() 615 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 617 ++indices; in kvm_mips_copy_reg_indices() 624 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 626 ++indices; in kvm_mips_copy_reg_indices() 634 indices += ARRAY_SIZE(kvm_mips_get_one_regs_msa); in kvm_mips_copy_reg_indices() 638 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| A D | dm816x-clocks.dtsi | 9 clock-indices = <1>, <2>, <3>, <4>, <5>, 25 clock-indices = <1>, <2>, <3>, <4>; 37 clock-indices = <1>, <2>, <3>; 48 clock-indices = <1>, <2>, <3>, <4>, <5>;
|