/linux-6.1.9/net/bridge/ |
D | br_ioctl.c | 21 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.1.9/mm/ |
D | truncate.c | 61 struct folio_batch *fbatch, pgoff_t *indices) in truncate_folio_batch_exceptionals() argument 85 pgoff_t index = indices[i]; in truncate_folio_batch_exceptionals() 336 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local 365 &fbatch, indices)) { in truncate_inode_pages_range() 366 index = indices[folio_batch_count(&fbatch) - 1] + 1; in truncate_inode_pages_range() 367 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range() 405 indices)) { in truncate_inode_pages_range() 418 index = indices[i]; in truncate_inode_pages_range() 430 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range() 505 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_mapping_pagevec() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 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() 207 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov() 231 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov() 368 adapter->ring_feature[RING_F_VMDQ].indices = vmdq_i; in ixgbe_set_dcb_sriov_queues() 375 adapter->ring_feature[RING_F_RSS].indices = 1; in ixgbe_set_dcb_sriov_queues() 399 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues() 407 fcoe->indices = 1; in ixgbe_set_dcb_sriov_queues() [all …]
|
/linux-6.1.9/net/sched/ |
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() 300 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue() 343 u16 indices; in dsmark_init() local 363 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init() 365 if (hweight32(indices) != 1) in dsmark_init() 371 if (indices <= DSMARK_EMBEDDED_SZ) in dsmark_init() 374 p->mv = kmalloc_array(indices, sizeof(*p->mv), GFP_KERNEL); in dsmark_init() 379 for (i = 0; i < indices; i++) { in dsmark_init() [all …]
|
/linux-6.1.9/arch/arm64/boot/dts/freescale/ |
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>; 165 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 177 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 189 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 201 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
|
D | imx8-ss-lsio.dtsi | 177 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 197 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 217 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 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>,
|
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>,
|
D | imx8-ss-audio.dtsi | 30 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>, 43 clock-indices = <IMX_LPCG_CLK_4>;
|
D | imx8-ss-img.dtsi | 62 clock-indices = <IMX_LPCG_CLK_0>, 74 clock-indices = <IMX_LPCG_CLK_0>,
|
/linux-6.1.9/Documentation/devicetree/bindings/clock/ |
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>,
|
D | allwinner,sun8i-h3-bus-gates-clk.yaml | 36 clock-indices: 49 - clock-indices 63 clock-indices = <5>, <6>, <8>,
|
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>,
|
D | renesas,cpg-mstp-clocks.yaml | 45 clock-indices: 58 - clock-indices 73 clock-indices = <
|
/linux-6.1.9/lib/ |
D | build_OID_registry | 45 my @indices = (); 66 push @indices, $total_length; 80 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n"
|
/linux-6.1.9/tools/testing/radix-tree/ |
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.1.9/arch/mips/kvm/ |
D | mips.c | 609 static int kvm_mips_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices) in kvm_mips_copy_reg_indices() argument 614 if (copy_to_user(indices, kvm_mips_get_one_regs, in kvm_mips_copy_reg_indices() 617 indices += ARRAY_SIZE(kvm_mips_get_one_regs); in kvm_mips_copy_reg_indices() 620 if (copy_to_user(indices, kvm_mips_get_one_regs_fpu, in kvm_mips_copy_reg_indices() 623 indices += ARRAY_SIZE(kvm_mips_get_one_regs_fpu); in kvm_mips_copy_reg_indices() 627 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 629 ++indices; in kvm_mips_copy_reg_indices() 636 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 638 ++indices; in kvm_mips_copy_reg_indices() 643 if (copy_to_user(indices, kvm_mips_get_one_regs_msa, in kvm_mips_copy_reg_indices() [all …]
|
D | vz.c | 1806 static int kvm_vz_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices) in kvm_vz_copy_reg_indices() argument 1811 if (copy_to_user(indices, kvm_vz_get_one_regs, in kvm_vz_copy_reg_indices() 1814 indices += ARRAY_SIZE(kvm_vz_get_one_regs); 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() 1824 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1826 ++indices; in kvm_vz_copy_reg_indices() 1830 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1832 ++indices; in kvm_vz_copy_reg_indices() 1835 if (copy_to_user(indices, kvm_vz_get_one_regs_contextconfig, in kvm_vz_copy_reg_indices() [all …]
|
/linux-6.1.9/arch/arm/boot/dts/ |
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>;
|
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-6.1.9/drivers/net/dsa/ |
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-6.1.9/Documentation/ABI/testing/ |
D | sysfs-driver-intel-m10-bmc-sec-update | 35 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.1.9/Documentation/devicetree/bindings/reset/ |
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-6.1.9/fs/befs/ |
D | super.c | 51 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()
|
/linux-6.1.9/drivers/gpu/drm/msm/hdmi/ |
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-6.1.9/Documentation/devicetree/bindings/firmware/ |
D | arm,scpi.yaml | 145 clock-indices: 156 - clock-indices 192 clock-indices = <0>, <1>, <2>; 199 clock-indices = <3>, <4>;
|