/linux/net/bridge/ |
A D | br_ioctl.c | 30 indices[i++] = dev->ifindex; in get_bridge_ifindices() 177 int num, *indices; in br_dev_siocdevprivate() local 187 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in br_dev_siocdevprivate() 188 if (indices == NULL) in br_dev_siocdevprivate() 191 get_port_ifindices(br, indices, num); in br_dev_siocdevprivate() 194 kfree(indices); in br_dev_siocdevprivate() 329 int *indices; in old_deviceless() local 334 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless() 335 if (indices == NULL) in old_deviceless() 340 ret = copy_to_user((void __user *)args[1], indices, in old_deviceless() [all …]
|
/linux/mm/ |
A D | truncate.c | 63 struct pagevec *pvec, pgoff_t *indices) in truncate_exceptional_pvec_entries() argument 87 pgoff_t index = indices[i]; in truncate_exceptional_pvec_entries() 300 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local 331 &pvec, indices)) { in truncate_inode_pages_range() 332 index = indices[pagevec_count(&pvec) - 1] + 1; in truncate_inode_pages_range() 386 indices)) { in truncate_inode_pages_range() 399 index = indices[i]; in truncate_inode_pages_range() 481 pgoff_t indices[PAGEVEC_SIZE]; in __invalidate_mapping_pages() local 494 index = indices[i]; in __invalidate_mapping_pages() 626 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_inode_pages2_range() local [all …]
|
/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/net/sched/ |
A D | sch_dsmark.c | 50 u16 indices; member 59 return index <= p->indices && index > 0; in dsmark_valid_index() 178 for (i = 0; i < p->indices; i++) { in dsmark_walk() 304 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue() 347 u16 indices; in dsmark_init() local 367 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init() 369 if (hweight32(indices) != 1) in dsmark_init() 375 if (indices <= DSMARK_EMBEDDED_SZ) in dsmark_init() 383 for (i = 0; i < indices; i++) { in dsmark_init() 387 p->indices = indices; in dsmark_init() [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | get_msr_index_features.c | 23 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_num_index_msrs() 51 list = malloc(sizeof(*list) + old_res * sizeof(list->indices[0])); in test_get_msr_index() 69 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_num_feature_msrs() 86 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_get_msr_feature_list() 118 kvm_get_feature_msr(feature_list->indices[i]); in test_get_msr_feature()
|
/linux/arch/arm64/boot/dts/freescale/ |
A D | imx8-ss-dma.dtsi | 69 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 81 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 93 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 105 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 161 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 173 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 185 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 197 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
|
A D | imx8-ss-lsio.dtsi | 161 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 181 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 201 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 221 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 241 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 261 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 281 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 301 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
|
A D | imx8-ss-conn.dtsi | 119 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, 133 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, 147 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, 165 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 187 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
|
A D | imx8-ss-audio.dtsi | 30 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>, 43 clock-indices = <IMX_LPCG_CLK_4>;
|
A D | imx8-ss-img.dtsi | 62 clock-indices = <IMX_LPCG_CLK_0>, 74 clock-indices = <IMX_LPCG_CLK_0>,
|
/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 | 45 my @indices = (); 66 push @indices, $total_length; 80 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 | 607 if (copy_to_user(indices, kvm_mips_get_one_regs, in kvm_mips_copy_reg_indices() 610 indices += ARRAY_SIZE(kvm_mips_get_one_regs); in kvm_mips_copy_reg_indices() 613 if (copy_to_user(indices, kvm_mips_get_one_regs_fpu, in kvm_mips_copy_reg_indices() 616 indices += ARRAY_SIZE(kvm_mips_get_one_regs_fpu); in kvm_mips_copy_reg_indices() 620 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 622 ++indices; in kvm_mips_copy_reg_indices() 629 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 631 ++indices; in kvm_mips_copy_reg_indices() 639 indices += ARRAY_SIZE(kvm_mips_get_one_regs_msa); in kvm_mips_copy_reg_indices() 643 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() [all …]
|
A D | vz.c | 1805 if (copy_to_user(indices, kvm_vz_get_one_regs, in kvm_vz_copy_reg_indices() 1808 indices += ARRAY_SIZE(kvm_vz_get_one_regs); in kvm_vz_copy_reg_indices() 1812 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1814 ++indices; in kvm_vz_copy_reg_indices() 1818 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1820 ++indices; in kvm_vz_copy_reg_indices() 1826 ++indices; in kvm_vz_copy_reg_indices() 1844 indices += ARRAY_SIZE(kvm_vz_get_one_regs_htw); in kvm_vz_copy_reg_indices() 1851 ++indices; in kvm_vz_copy_reg_indices() 1857 ++indices; in kvm_vz_copy_reg_indices() [all …]
|
/linux/drivers/net/dsa/ |
A D | vitesse-vsc73xx-core.c | 931 u8 indices[6]; in vsc73xx_get_strings() local 944 indices[0] = (val & 0x1f); /* RX counter 0 */ in vsc73xx_get_strings() 945 indices[1] = ((val >> 5) & 0x1f); /* RX counter 1 */ in vsc73xx_get_strings() 946 indices[2] = ((val >> 10) & 0x1f); /* RX counter 2 */ in vsc73xx_get_strings() 947 indices[3] = ((val >> 16) & 0x1f); /* TX counter 0 */ in vsc73xx_get_strings() 948 indices[4] = ((val >> 21) & 0x1f); /* TX counter 1 */ in vsc73xx_get_strings() 949 indices[5] = ((val >> 26) & 0x1f); /* TX counter 2 */ in vsc73xx_get_strings() 964 cnt = vsc73xx_find_counter(vsc, indices[i], false); in vsc73xx_get_strings() 977 cnt = vsc73xx_find_counter(vsc, indices[i], true); in vsc73xx_get_strings()
|
/linux/arch/arm/boot/dts/ |
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>;
|
A D | r7s72100.dtsi | 413 clock-indices = <R7S72100_CLK_MTU2>; 423 clock-indices = < 435 clock-indices = <R7S72100_CLK_OSTM0 R7S72100_CLK_OSTM1>; 444 clock-indices = <R7S72100_CLK_CEU R7S72100_CLK_RTC>; 453 clock-indices = <R7S72100_CLK_ETHER R7S72100_CLK_USB0 R7S72100_CLK_USB1>; 462 clock-indices = <R7S72100_CLK_MMCIF>; 471 clock-indices = < 484 clock-indices = < 495 clock-indices = <
|
/linux/Documentation/devicetree/bindings/reset/ |
A D | xlnx,zynqmp-reset.txt | 41 For list of all valid reset indices for Zynq UltraScale+ MPSoC see 43 For list of all valid reset indices for Versal see
|
/linux/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi_i2c.c | 99 int indices[MAX_TRANSACTIONS]; in msm_hdmi_i2c_xfer() local 134 indices[i] = index; in msm_hdmi_i2c_xfer() 191 HDMI_DDC_DATA_INDEX(indices[i]) | in msm_hdmi_i2c_xfer()
|
/linux/fs/befs/ |
A D | super.c | 51 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()
|
/linux/Documentation/devicetree/bindings/firmware/ |
A D | arm,scpi.yaml | 143 clock-indices: 154 - clock-indices 190 clock-indices = <0>, <1>, <2>; 197 clock-indices = <3>, <4>;
|