/openbmc/linux/net/bridge/ |
H A 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 …]
|
/openbmc/linux/mm/ |
H A D | truncate.c | 60 struct folio_batch *fbatch, pgoff_t *indices) in truncate_folio_batch_exceptionals() argument 84 pgoff_t index = indices[i]; in truncate_folio_batch_exceptionals() 335 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local 364 &fbatch, indices)) { in truncate_inode_pages_range() 365 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range() 404 indices)) { in truncate_inode_pages_range() 422 VM_BUG_ON_FOLIO(!folio_contains(folio, indices[i]), folio); in truncate_inode_pages_range() 427 truncate_folio_batch_exceptionals(mapping, &fbatch, indices); in truncate_inode_pages_range() 500 pgoff_t indices[PAGEVEC_SIZE]; in mapping_try_invalidate() local 508 while (find_lock_entries(mapping, &index, end, &fbatch, indices)) { in mapping_try_invalidate() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8-ss-dma.dtsi | 141 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 153 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>; 213 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 225 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 374 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 386 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; [all …]
|
H A D | imx8-ss-lsio.dtsi | 244 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 264 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 284 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 304 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 324 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 344 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 364 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 384 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
|
H A D | imx8-ss-conn.dtsi | 194 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>,
|
H A D | imx8qm-ss-dma.dtsi | 14 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 26 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>; 39 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>;
|
H A D | imx8-ss-audio.dtsi | 30 clock-indices = <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>, 43 clock-indices = <IMX_LPCG_CLK_4>;
|
H A D | imx8-ss-img.dtsi | 62 clock-indices = <IMX_LPCG_CLK_0>, 74 clock-indices = <IMX_LPCG_CLK_0>,
|
/openbmc/linux/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"
|
/openbmc/linux/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()
|
/openbmc/linux/arch/mips/kvm/ |
H A D | mips.c | 599 static int kvm_mips_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices) in kvm_mips_copy_reg_indices() argument 604 if (copy_to_user(indices, kvm_mips_get_one_regs, in kvm_mips_copy_reg_indices() 607 indices += ARRAY_SIZE(kvm_mips_get_one_regs); in kvm_mips_copy_reg_indices() 610 if (copy_to_user(indices, kvm_mips_get_one_regs_fpu, in kvm_mips_copy_reg_indices() 613 indices += ARRAY_SIZE(kvm_mips_get_one_regs_fpu); in kvm_mips_copy_reg_indices() 617 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 619 ++indices; in kvm_mips_copy_reg_indices() 626 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 628 ++indices; in kvm_mips_copy_reg_indices() 633 if (copy_to_user(indices, kvm_mips_get_one_regs_msa, in kvm_mips_copy_reg_indices() [all …]
|
H A 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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | dm816x-clocks.dtsi | 13 clock-indices = <1>, <2>, <3>, <4>, <5>, 29 clock-indices = <1>, <2>, <3>, <4>; 41 clock-indices = <1>, <2>, <3>; 52 clock-indices = <1>, <2>, <3>, <4>, <5>;
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | nxp,sc16is7xx.txt | 24 - irda-mode-ports: An array that lists the indices of the port that 26 - nxp,modem-control-line-ports: An array that lists the indices of the port that 83 - irda-mode-ports: An array that lists the indices of the port that 85 - nxp,modem-control-line-ports: An array that lists the indices of the port that
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H 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>;
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | propertywatchgentest.cpp | 61 ASSERT_EQ(sizeof(expectedIndicies), sizeof(indices)); in TEST() 83 ASSERT_EQ(indices[i], expectedIndicies[i]); in TEST()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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
|
/openbmc/linux/drivers/net/dsa/ |
H A D | vitesse-vsc73xx-core.c | 973 u8 indices[6]; in vsc73xx_get_strings() local 986 indices[0] = (val & 0x1f); /* RX counter 0 */ in vsc73xx_get_strings() 987 indices[1] = ((val >> 5) & 0x1f); /* RX counter 1 */ in vsc73xx_get_strings() 988 indices[2] = ((val >> 10) & 0x1f); /* RX counter 2 */ in vsc73xx_get_strings() 989 indices[3] = ((val >> 16) & 0x1f); /* TX counter 0 */ in vsc73xx_get_strings() 990 indices[4] = ((val >> 21) & 0x1f); /* TX counter 1 */ in vsc73xx_get_strings() 991 indices[5] = ((val >> 26) & 0x1f); /* TX counter 2 */ in vsc73xx_get_strings() 1006 cnt = vsc73xx_find_counter(vsc, indices[i], false); in vsc73xx_get_strings() 1019 cnt = vsc73xx_find_counter(vsc, indices[i], true); in vsc73xx_get_strings()
|
/openbmc/linux/fs/befs/ |
H A D | super.c | 51 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H 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 = <
|
/openbmc/linux/drivers/gpu/drm/msm/hdmi/ |
H 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()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | devpts.rst | 8 and their indices allocated in one mount are independent from ptys 9 and their indices in all other mounts.
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | get_msr_index_features.c | 34 kvm_get_feature_msr(feature_list->indices[i]); in main()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | tileblit.c | 69 blit.indices = (u32 *) fb_get_buffer_offset(info, &info->pixmap, size); in tile_putcs() 71 blit.indices[i] = (u32)(scr_readw(s++) & charmask); in tile_putcs()
|