| /Linux-v5.15/net/bridge/ |
| D | br_ioctl.c | 20 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices() argument 30 indices[i++] = dev->ifindex; in get_bridge_ifindices() 176 int num, *indices; in br_dev_siocdevprivate() local 186 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in br_dev_siocdevprivate() 187 if (indices == NULL) in br_dev_siocdevprivate() 190 get_port_ifindices(br, indices, num); in br_dev_siocdevprivate() 191 if (copy_to_user(argp, indices, num * sizeof(int))) in br_dev_siocdevprivate() 193 kfree(indices); in br_dev_siocdevprivate() 328 int *indices; in old_deviceless() local 333 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless() [all …]
|
| /Linux-v5.15/mm/ |
| D | truncate.c | 59 struct pagevec *pvec, pgoff_t *indices) in truncate_exceptional_pvec_entries() argument 81 pgoff_t index = indices[i]; in truncate_exceptional_pvec_entries() 290 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local 321 &pvec, indices)) { in truncate_inode_pages_range() 322 index = indices[pagevec_count(&pvec) - 1] + 1; in truncate_inode_pages_range() 323 truncate_exceptional_pvec_entries(mapping, &pvec, indices); in truncate_inode_pages_range() 376 indices)) { in truncate_inode_pages_range() 389 index = indices[i]; in truncate_inode_pages_range() 400 truncate_exceptional_pvec_entries(mapping, &pvec, indices); in truncate_inode_pages_range() 471 pgoff_t indices[PAGEVEC_SIZE]; in __invalidate_mapping_pages() local [all …]
|
| /Linux-v5.15/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() 365 adapter->ring_feature[RING_F_VMDQ].indices = vmdq_i; in ixgbe_set_dcb_sriov_queues() 372 adapter->ring_feature[RING_F_RSS].indices = 1; in ixgbe_set_dcb_sriov_queues() 396 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues() 404 fcoe->indices = 1; in ixgbe_set_dcb_sriov_queues() [all …]
|
| /Linux-v5.15/tools/testing/selftests/kvm/x86_64/ |
| 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()
|
| D | xss_msr_test.c | 28 if (list->indices[i] == msr_index) { in is_supported_msr()
|
| /Linux-v5.15/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() 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() 378 p->mv = kmalloc_array(indices, sizeof(*p->mv), GFP_KERNEL); in dsmark_init() 383 for (i = 0; i < indices; i++) { in dsmark_init() [all …]
|
| /Linux-v5.15/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>; 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>;
|
| 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>,
|
| 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-v5.15/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-v5.15/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-v5.15/arch/mips/kvm/ |
| D | mips.c | 602 static int kvm_mips_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices) in kvm_mips_copy_reg_indices() argument 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() 636 if (copy_to_user(indices, kvm_mips_get_one_regs_msa, in kvm_mips_copy_reg_indices() [all …]
|
| D | vz.c | 1800 static int kvm_vz_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices) in kvm_vz_copy_reg_indices() argument 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() 1824 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1826 ++indices; in kvm_vz_copy_reg_indices() 1829 if (copy_to_user(indices, kvm_vz_get_one_regs_contextconfig, in kvm_vz_copy_reg_indices() [all …]
|
| /Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/fs/befs/ |
| D | super.c | 51 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()
|
| /Linux-v5.15/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-v5.15/drivers/gpu/drm/mga/ |
| D | mga_state.c | 911 drm_mga_indices_t *indices = data; in mga_dma_indices() local 915 if (indices->idx < 0 || indices->idx > dma->buf_count) in mga_dma_indices() 918 buf = dma->buflist[indices->idx]; in mga_dma_indices() 921 buf_priv->discard = indices->discard; in mga_dma_indices() 924 if (indices->discard) { in mga_dma_indices() 935 mga_dma_dispatch_indices(dev, buf, indices->start, indices->end); in mga_dma_indices()
|
| /Linux-v5.15/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-v5.15/Documentation/devicetree/bindings/serial/ |
| D | nxp,sc16is7xx.txt | 24 - irda-mode-ports: An array that lists the indices of the port that 60 - irda-mode-ports: An array that lists the indices of the port that
|
| /Linux-v5.15/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 450 The XArray has the ability to tie multiple indices together so that 451 operations on one index affect all indices. For example, storing into [all …]
|