/Linux-v5.10/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() 159 int num, *indices; in old_dev_ioctl() local 169 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in old_dev_ioctl() 170 if (indices == NULL) in old_dev_ioctl() 173 get_port_ifindices(br, indices, num); in old_dev_ioctl() 174 if (copy_to_user((void __user *)args[1], indices, num*sizeof(int))) in old_dev_ioctl() 176 kfree(indices); in old_dev_ioctl() 312 int *indices; in old_deviceless() local 317 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless() [all …]
|
/Linux-v5.10/mm/ |
D | truncate.c | 60 struct pagevec *pvec, pgoff_t *indices, in truncate_exceptional_pvec_entries() argument 78 lock = !dax && indices[j] < end; in truncate_exceptional_pvec_entries() 84 pgoff_t index = indices[i]; in truncate_exceptional_pvec_entries() 299 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local 331 indices)) { in truncate_inode_pages_range() 344 index = indices[i]; in truncate_inode_pages_range() 369 truncate_exceptional_pvec_entries(mapping, &pvec, indices, end); in truncate_inode_pages_range() 417 min(end - index, (pgoff_t)PAGEVEC_SIZE), indices)) { in truncate_inode_pages_range() 425 if (index == start && indices[0] >= end) { in truncate_inode_pages_range() 436 index = indices[i]; in truncate_inode_pages_range() [all …]
|
D | shmem.c | 845 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unlock_mapping() local 858 PAGEVEC_SIZE, pvec.pages, indices); in shmem_unlock_mapping() 861 index = indices[pvec.nr - 1] + 1; in shmem_unlock_mapping() 909 pgoff_t indices[PAGEVEC_SIZE]; in shmem_undo_range() local 922 pvec.pages, indices); in shmem_undo_range() 928 index = indices[i]; in shmem_undo_range() 993 pvec.pages, indices); in shmem_undo_range() 1005 index = indices[i]; in shmem_undo_range() 1189 struct page **entries, pgoff_t *indices, in shmem_find_swap_entries() argument 1215 indices[ret] = xas.xa_index; in shmem_find_swap_entries() [all …]
|
/Linux-v5.10/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() 157 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb() 206 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov() 230 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov() 364 adapter->ring_feature[RING_F_VMDQ].indices = vmdq_i; in ixgbe_set_dcb_sriov_queues() 371 adapter->ring_feature[RING_F_RSS].indices = 1; in ixgbe_set_dcb_sriov_queues() 395 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues() 403 fcoe->indices = 1; in ixgbe_set_dcb_sriov_queues() [all …]
|
/Linux-v5.10/net/sched/ |
D | sch_dsmark.c | 50 u16 indices; member 59 return index <= p->indices && index > 0; in dsmark_valid_index() 177 for (i = 0; i < p->indices; i++) { in dsmark_walk() 303 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue() 346 u16 indices; in dsmark_init() local 366 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init() 368 if (hweight32(indices) != 1) in dsmark_init() 374 if (indices <= DSMARK_EMBEDDED_SZ) in dsmark_init() 377 p->mv = kmalloc_array(indices, sizeof(*p->mv), GFP_KERNEL); in dsmark_init() 382 for (i = 0; i < indices; i++) { in dsmark_init() [all …]
|
/Linux-v5.10/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.10/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.10/arch/mips/kvm/ |
D | mips.c | 614 static int kvm_mips_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices) in kvm_mips_copy_reg_indices() argument 619 if (copy_to_user(indices, kvm_mips_get_one_regs, in kvm_mips_copy_reg_indices() 622 indices += ARRAY_SIZE(kvm_mips_get_one_regs); in kvm_mips_copy_reg_indices() 625 if (copy_to_user(indices, kvm_mips_get_one_regs_fpu, in kvm_mips_copy_reg_indices() 628 indices += ARRAY_SIZE(kvm_mips_get_one_regs_fpu); in kvm_mips_copy_reg_indices() 632 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 634 ++indices; in kvm_mips_copy_reg_indices() 641 if (copy_to_user(indices, &index, sizeof(index))) in kvm_mips_copy_reg_indices() 643 ++indices; in kvm_mips_copy_reg_indices() 648 if (copy_to_user(indices, kvm_mips_get_one_regs_msa, in kvm_mips_copy_reg_indices() [all …]
|
D | vz.c | 1802 static int kvm_vz_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices) in kvm_vz_copy_reg_indices() argument 1807 if (copy_to_user(indices, kvm_vz_get_one_regs, in kvm_vz_copy_reg_indices() 1810 indices += ARRAY_SIZE(kvm_vz_get_one_regs); in kvm_vz_copy_reg_indices() 1814 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1816 ++indices; in kvm_vz_copy_reg_indices() 1820 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1822 ++indices; in kvm_vz_copy_reg_indices() 1826 if (copy_to_user(indices, &index, sizeof(index))) in kvm_vz_copy_reg_indices() 1828 ++indices; in kvm_vz_copy_reg_indices() 1831 if (copy_to_user(indices, kvm_vz_get_one_regs_contextconfig, in kvm_vz_copy_reg_indices() [all …]
|
/Linux-v5.10/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.10/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.10/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.10/fs/befs/ |
D | super.c | 51 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()
|
/Linux-v5.10/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.10/Documentation/devicetree/bindings/arm/ |
D | arm,scpi.txt | 55 - clock-indices: The identifying number for the clocks(i.e.clock_id) in the 152 clock-indices = <0>, <1>, <2>; 158 clock-indices = <3>, <4>; 201 1 and 2 as clock-indices. scpi_clk has 2 output clocks namely: pxlclk0 202 and pxlclk1 with 3 and 4 as clock-indices.
|
/Linux-v5.10/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.10/drivers/video/fbdev/core/ |
D | tileblit.c | 70 blit.indices = (u32 *) fb_get_buffer_offset(info, &info->pixmap, size); in tile_putcs() 72 blit.indices[i] = (u32)(scr_readw(s++) & charmask); in tile_putcs()
|
/Linux-v5.10/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.10/tools/testing/selftests/kvm/x86_64/ |
D | xss_msr_test.c | 28 if (list->indices[i] == msr_index) { in is_supported_msr()
|
/Linux-v5.10/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 …]
|
/Linux-v5.10/Documentation/filesystems/caching/ |
D | fscache.rst | 104 (5) Cookies are used to represent indices, files and other objects to the 110 recursive, stack space is limited, and indices can only be children of 111 indices. 131 FS-Cache maintains a virtual indexing tree in which all indices, files, objects 164 * The NFS primary index contains per-server indices. Each server index is 170 * The AFS primary index contains per-cell indices. Each cell index contains 171 per-logical-volume indices. Each of volume index contains up to three 172 indices for the read-write, read-only and backup mirrors of those volumes.
|
/Linux-v5.10/Documentation/devicetree/bindings/rtc/ |
D | maxim,ds3231.txt | 13 to specify the clock which they consume. Following indices are allowed:
|
/Linux-v5.10/sound/pci/hda/ |
D | hda_proc.c | 113 int dir, unsigned int wcaps, int indices) in is_stereo_amps() argument 122 if (indices != 1 || dir != HDA_INPUT || in is_stereo_amps() 135 int dir, unsigned int wcaps, int indices) in print_amp_vals() argument 141 stereo = is_stereo_amps(codec, nid, dir, wcaps, indices); in print_amp_vals() 144 for (i = 0; i < indices; i++) { in print_amp_vals()
|
/Linux-v5.10/Documentation/devicetree/bindings/clock/ti/ |
D | fapll.txt | 24 clock-indices = <1>, <2>, <3>, <4>, <5>,
|