/Linux-v6.6/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-v6.6/mm/ |
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 …]
|
/Linux-v6.6/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-v6.6/arch/arm64/boot/dts/freescale/ |
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 …]
|
D | imx8-ss-lsio.dtsi | 240 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 260 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 280 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 300 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 320 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 340 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 360 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, 380 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
|
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>,
|
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>;
|
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-v6.6/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-v6.6/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-v6.6/arch/mips/kvm/ |
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 …]
|
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-v6.6/Documentation/devicetree/bindings/serial/ |
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
|
/Linux-v6.6/arch/arm/boot/dts/ti/omap/ |
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>;
|
/Linux-v6.6/drivers/net/dsa/ |
D | vitesse-vsc73xx-core.c | 930 u8 indices[6]; in vsc73xx_get_strings() local 943 indices[0] = (val & 0x1f); /* RX counter 0 */ in vsc73xx_get_strings() 944 indices[1] = ((val >> 5) & 0x1f); /* RX counter 1 */ in vsc73xx_get_strings() 945 indices[2] = ((val >> 10) & 0x1f); /* RX counter 2 */ in vsc73xx_get_strings() 946 indices[3] = ((val >> 16) & 0x1f); /* TX counter 0 */ in vsc73xx_get_strings() 947 indices[4] = ((val >> 21) & 0x1f); /* TX counter 1 */ in vsc73xx_get_strings() 948 indices[5] = ((val >> 26) & 0x1f); /* TX counter 2 */ in vsc73xx_get_strings() 963 cnt = vsc73xx_find_counter(vsc, indices[i], false); in vsc73xx_get_strings() 976 cnt = vsc73xx_find_counter(vsc, indices[i], true); in vsc73xx_get_strings()
|
/Linux-v6.6/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-v6.6/fs/befs/ |
D | super.c | 51 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()
|
/Linux-v6.6/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-v6.6/arch/arm/boot/dts/renesas/ |
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-v6.6/Documentation/filesystems/ |
D | devpts.rst | 8 and their indices allocated in one mount are independent from ptys 9 and their indices in all other mounts.
|
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/ |
D | get_msr_index_features.c | 34 kvm_get_feature_msr(feature_list->indices[i]); in main()
|
/Linux-v6.6/drivers/video/fbdev/core/ |
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()
|
/Linux-v6.6/rust/alloc/ |
D | slice.rs | 362 let mut indices: Vec<_> = in sort_by_cached_key() localVariable 367 indices.sort_unstable(); in sort_by_cached_key() 369 let mut index = indices[i].1; in sort_by_cached_key() 371 index = indices[index as usize].1; in sort_by_cached_key() 373 indices[i].1 = index; in sort_by_cached_key()
|
/Linux-v6.6/Documentation/core-api/ |
D | xarray.rst | 21 The XArray implementation is efficient when the indices used are densely 23 perform well. The XArray is optimised for small indices, but still has 24 good performance with large indices. If your index can be larger than 52 occupy a range of indices. Once stored to, looking up any index in 91 of indices. If you do this, some of the other operations will behave 94 indices. Storing into one index may result in the entry retrieved by 95 some, but not all of the other indices changing. 130 affect all indices covered by that entry. Querying the mark on any 454 The XArray has the ability to tie multiple indices together so that 455 operations on one index affect all indices. For example, storing into [all …]
|