Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 77 of 77) sorted by relevance

/linux-4.1.27/net/bridge/
Dbr_ioctl.c25 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices() argument
34 indices[i++] = dev->ifindex; in get_bridge_ifindices()
160 int num, *indices; in old_dev_ioctl() local
170 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in old_dev_ioctl()
171 if (indices == NULL) in old_dev_ioctl()
174 get_port_ifindices(br, indices, num); in old_dev_ioctl()
175 if (copy_to_user((void __user *)args[1], indices, num*sizeof(int))) in old_dev_ioctl()
177 kfree(indices); in old_dev_ioctl()
309 int *indices; in old_deviceless() local
314 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless()
[all …]
/linux-4.1.27/net/sched/
Dsch_dsmark.c43 u16 indices; member
50 return index <= p->indices && index > 0; in dsmark_valid_index()
175 for (i = 0; i < p->indices; i++) { in dsmark_walk()
289 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue()
348 u16 indices; in dsmark_init() local
361 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init()
363 if (hweight32(indices) != 1) in dsmark_init()
369 mask = kmalloc(indices * 2, GFP_KERNEL); in dsmark_init()
376 memset(p->mask, 0xff, indices); in dsmark_init()
378 p->value = p->mask + indices; in dsmark_init()
[all …]
DKconfig368 traffic control indices. You will want this feature if you want
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c87 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov()
91 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
98 reg_idx = (vmdq->offset + vmdq->indices) * queues_per_pool; in ixgbe_cache_ring_dcb_sriov()
179 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb()
226 if ((reg_idx & ~vmdq->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
245 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
366 adapter->ring_feature[RING_F_VMDQ].indices = vmdq_i; in ixgbe_set_dcb_sriov_queues()
373 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 …]
Dixgbe_fcoe.c692 fcoe->indices); in ixgbe_configure_fcoe()
698 fcoe_i = fcoe->offset + (i % fcoe->indices); in ixgbe_configure_fcoe()
Dixgbe_main.c3092 else if (adapter->ring_feature[RING_F_RSS].indices == 4) in ixgbe_setup_mtqc()
3320 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_reta()
3349 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_vfreta()
3391 else if (adapter->ring_feature[RING_F_RSS].indices == 4) in ixgbe_setup_mrqc()
3568 int rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_setup_psrtype()
4262 u16 rss_i = adapter->ring_feature[RING_F_RSS].indices - 1; in ixgbe_configure_dcb()
7272 while (txq >= f->indices) in ixgbe_select_queue()
7273 txq -= f->indices; in ixgbe_select_queue()
8347 unsigned int indices = MAX_TX_QUEUES; in ixgbe_probe() local
8396 indices = 4 * MAX_TRAFFIC_CLASS; in ixgbe_probe()
[all …]
Dixgbe.h320 u16 indices; /* current value of indices */ member
Dixgbe_ethtool.c2991 ch->combined_count = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_get_channels()
3010 ch->combined_count = adapter->ring_feature[RING_F_FDIR].indices; in ixgbe_get_channels()
/linux-4.1.27/mm/
Dtruncate.c228 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local
261 indices)) { in truncate_inode_pages_range()
266 index = indices[i]; in truncate_inode_pages_range()
334 min(end - index, (pgoff_t)PAGEVEC_SIZE), indices)) { in truncate_inode_pages_range()
342 if (index == start && indices[0] >= end) { in truncate_inode_pages_range()
352 index = indices[i]; in truncate_inode_pages_range()
459 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_mapping_pages() local
469 indices)) { in invalidate_mapping_pages()
474 index = indices[i]; in invalidate_mapping_pages()
562 pgoff_t indices[PAGEVEC_SIZE]; in invalidate_inode_pages2_range() local
[all …]
Dshmem.c366 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unlock_mapping() local
379 PAGEVEC_SIZE, pvec.pages, indices); in shmem_unlock_mapping()
382 index = indices[pvec.nr - 1] + 1; in shmem_unlock_mapping()
404 pgoff_t indices[PAGEVEC_SIZE]; in shmem_undo_range() local
417 pvec.pages, indices); in shmem_undo_range()
423 index = indices[i]; in shmem_undo_range()
485 pvec.pages, indices); in shmem_undo_range()
497 index = indices[i]; in shmem_undo_range()
1748 pgoff_t indices[PAGEVEC_SIZE]; in shmem_seek_hole_data() local
1756 pvec.nr, pvec.pages, indices); in shmem_seek_hole_data()
[all …]
Dswap.c1079 pgoff_t *indices) in pagevec_lookup_entries() argument
1082 pvec->pages, indices); in pagevec_lookup_entries()
Dfilemap.c1157 struct page **entries, pgoff_t *indices) in find_get_entries() argument
1193 indices[ret] = iter.index; in find_get_entries()
/linux-4.1.27/lib/
Dbuild_OID_registry49 my @indices = ();
70 push @indices, $total_length;
84 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n"
Dradix-tree.c1052 void ***results, unsigned long *indices, in radix_tree_gang_lookup_slot() argument
1064 if (indices) in radix_tree_gang_lookup_slot()
1065 indices[ret] = iter.index; in radix_tree_gang_lookup_slot()
/linux-4.1.27/arch/arm/boot/dts/
Ddm816x-clocks.dtsi13 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>;
Dr8a7794.dtsi575 clock-indices = <R8A7794_CLK_MSIOF0>;
585 clock-indices = <
602 clock-indices = <
619 clock-indices = <
635 clock-indices = <
652 clock-indices = <
664 clock-indices = <
677 clock-indices = <
Dr7s72100.dtsi97 clock-indices = <R7S72100_CLK_MTU2>;
107 clock-indices = <
119 clock-indices = <
131 clock-indices = <
Dsun9i-a80.dtsi253 clock-indices = <0>, <1>, <3>, <5>, <8>, <12>, <13>,
269 clock-indices = <0>, <1>, <17>, <21>, <22>, <23>, <24>;
281 clock-indices = <0>, <1>, <2>, <4>, <5>, <7>, <8>,
293 clock-indices = <1>, <5>, <11>, <12>, <13>, <15>,
306 clock-indices = <0>, <1>, <2>, <3>, <4>,
Dr8a7740.dtsi571 clock-indices = <
586 clock-indices = <
607 clock-indices = <
636 clock-indices = <
653 clock-indices = <
Dr8a7778.dtsi507 clock-indices = <
533 clock-indices = <
553 clock-indices = <
577 clock-indices = <
Dsh73a0.dtsi800 clock-indices = <
818 clock-indices = <
837 clock-indices = <
862 clock-indices = <
883 clock-indices = <
895 clock-indices = <
Dr8a7791.dtsi1103 clock-indices = <R8A7791_CLK_MSIOF0>;
1114 clock-indices = <
1134 clock-indices = <
1152 clock-indices = <
1169 clock-indices = <
1184 clock-indices = <
1201 clock-indices = <
1219 clock-indices = <
1246 clock-indices = <
1269 clock-indices = <
Dr8a7790.dtsi1097 clock-indices = <R8A7790_CLK_MSIOF0>;
1108 clock-indices = <
1130 clock-indices = <
1149 clock-indices = <
1167 clock-indices = <
1182 clock-indices = <
1198 clock-indices = <
1215 clock-indices = <
1241 clock-indices = <
Dr8a7779.dtsi487 clock-indices = <
518 clock-indices = <
539 clock-indices = <
Dr8a73a4.dtsi691 clock-indices = <
711 clock-indices = <
730 clock-indices = <
742 clock-indices = <
Dimx53-tx53.dtsi23 can0 = &can2; /* Make the can interface indices consistent with TX28/TX48 modules */
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Drenesas,cpg-mstp-clocks.txt30 - clock-indices: Indices of the gate clocks into the group (0 to 31)
32 The clocks, clock-output-names and clock-indices properties contain one entry
52 clock-indices = <
Dmaxim,max77686.txt19 to specify the clock which they consume. Following indices are allowed:
Dmaxim,max77802.txt18 to specify the clock which they consume. Following indices are allowed:
Dclock-bindings.txt47 clock-indices: If the identifying number for the clocks in the node
56 clock-indices = <1>, <3>;
/linux-4.1.27/fs/befs/
Dsuper.c53 befs_sb->indices = fsrun_to_cpu(sb, disk_sb->indices); in befs_load_sb()
DKconfig8 on files and directories, and database-like indices on selected
Dbefs.h52 befs_inode_addr indices; member
Dbefs_fs_types.h138 befs_disk_inode_addr indices; member
Ddebug.c194 tmp_run = fsrun_to_cpu(sb, sup->indices); in befs_dump_super_block()
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
Dhdmi_i2c.c110 int indices[MAX_TRANSACTIONS]; in hdmi_i2c_xfer() local
145 indices[i] = index; in hdmi_i2c_xfer()
202 HDMI_DDC_DATA_INDEX(indices[i]) | in hdmi_i2c_xfer()
/linux-4.1.27/arch/arm/include/asm/
Dkvm_host.h156 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices);
169 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices);
/linux-4.1.27/Documentation/DocBook/
D.gitignore14 media-indices.tmpl
/linux-4.1.27/drivers/gpu/drm/mga/
Dmga_state.c913 drm_mga_indices_t *indices = data; in mga_dma_indices() local
917 if (indices->idx < 0 || indices->idx > dma->buf_count) in mga_dma_indices()
920 buf = dma->buflist[indices->idx]; in mga_dma_indices()
923 buf_priv->discard = indices->discard; in mga_dma_indices()
926 if (indices->discard) { in mga_dma_indices()
937 mga_dma_dispatch_indices(dev, buf, indices->start, indices->end); in mga_dma_indices()
/linux-4.1.27/drivers/video/console/
Dtileblit.c69 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-4.1.27/include/linux/
Dpagevec.h28 pgoff_t *indices);
Dradix-tree.h278 void ***results, unsigned long *indices,
Dpagemap.h350 pgoff_t *indices);
Dfb.h355 __u32 *indices; /* array of indices to tile map */ member
/linux-4.1.27/Documentation/devicetree/bindings/mailbox/
Dmailbox.txt29 platforms may define channel indices, in DT headers,
/linux-4.1.27/Documentation/filesystems/caching/
Dfscache.txt103 (5) Cookies are used to represent indices, files and other objects to the
109 recursive, stack space is limited, and indices can only be children of
110 indices.
130 FS-Cache maintains a virtual indexing tree in which all indices, files, objects
163 (*) The NFS primary index contains per-server indices. Each server index is
169 (*) The AFS primary index contains per-cell indices. Each cell index contains
170 per-logical-volume indices. Each of volume index contains up to three
171 indices for the read-write, read-only and backup mirrors of those volumes.
Dnetfs-api.txt9 object types: indices and files. The first is a special type used by
97 the tree. The netfs can even mix indices and data files at the same level, but
103 There are some limits on indices:
183 parent for the non-index object will be queried. Any indices above that
251 required for indices as indices may not contain data. These functions may
264 This function is not required for indices as they're not permitted data.
274 This function is not required for indices as they're not permitted data.
350 Note also that no indices are actually created in a cache until a non-index
839 the cookies for "child" indices, objects and pages have been relinquished
Dobject.txt82 In the above illustration, ICookie and IObject represent indices and DCookie
/linux-4.1.27/Documentation/devicetree/bindings/clock/ti/
Dfapll.txt24 clock-indices = <1>, <2>, <3>, <4>, <5>,
/linux-4.1.27/arch/x86/include/asm/
Damd_nb.h25 unsigned indices; member
/linux-4.1.27/sound/pci/hda/
Dhda_proc.c142 int dir, unsigned int wcaps, int indices) in is_stereo_amps() argument
151 if (indices != 1 || dir != HDA_INPUT || in is_stereo_amps()
164 int dir, unsigned int wcaps, int indices) in print_amp_vals() argument
170 stereo = is_stereo_amps(codec, nid, dir, wcaps, indices); in print_amp_vals()
173 for (i = 0; i < indices; i++) { in print_amp_vals()
Dhda_local.h182 #define HDA_BIND_MUTE_MONO(xname, nid, channel, indices, direction) \ argument
187 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, indices, direction) }
190 #define HDA_BIND_MUTE(xname,nid,indices,dir) \ argument
191 HDA_BIND_MUTE_MONO(xname,nid,3,indices,dir)
Dhda_codec.c2302 int i, indices, err = 0, change = 0; in snd_hda_mixer_bind_switch_put() local
2306 indices = (pval & AMP_VAL_IDX_MASK) >> AMP_VAL_IDX_SHIFT; in snd_hda_mixer_bind_switch_put()
2307 for (i = 0; i < indices; i++) { in snd_hda_mixer_bind_switch_put()
/linux-4.1.27/Documentation/
Dcircular-buffers.txt39 fixed, finite size into which there are two indices:
53 indices should be wrapped to 0 when they reach the end of the buffer, thus
57 required to use the techniques below. The indices can be increased by more
131 [3] To a third party, the order in which the writes to the indices by the
Dremoteproc.txt263 * Please note that these values are used as indices to the rproc_handle_rsc
/linux-4.1.27/arch/x86/kernel/cpu/
Dintel_cacheinfo.c319 l3->indices = (max(max3(sc0, sc1, sc2), sc3) << 10) - 1; in amd_calc_l3_indices()
416 if (index > nb->l3_cache.indices) in amd_set_l3_disable_slot()
562 if (nb && nb->l3_cache.indices) in cache_get_priv_group()
578 if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) in amd_init_l3_cache()
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dti,omap3isp.txt22 cam_xclka and cam_xclkb, at indices 0 and 1,
Dsamsung-fimc.txt28 The indices are 0, 1 for CAM_A_CLKOUT, CAM_B_CLKOUT clocks respectively.
/linux-4.1.27/arch/arm64/include/asm/
Dkvm_host.h173 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices);
/linux-4.1.27/Documentation/DocBook/media/
DMakefile11 media-indices.tmpl \
362 $(MEDIA_OBJ_DIR)/media-indices.tmpl: $(MEDIA_OBJ_DIR)/v4l2.xml
/linux-4.1.27/Documentation/filesystems/
Ddevpts.txt3 such that indices of ptys allocated in one instance are independent of indices
Df2fs.txt369 : It contains file and directory data including their indices.
410 indices, two direct node pointers, two indirect node pointers, and one double
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1495 f->indices = pcs; in fm10k_set_qos_queues()
1505 f->indices = rss_i; in fm10k_set_qos_queues()
1535 f->indices = rss_i; in fm10k_set_rss_queues()
1866 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_cache_ring_qos()
1917 u16 i, rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_init_reta()
Dfm10k.h218 u16 indices; /* current value of indices */ member
Dfm10k_ethtool.c919 rss_i = interface->ring_feature[RING_F_RSS].indices; in fm10k_set_reta()
1022 ch->combined_count = interface->ring_feature[RING_F_RSS].indices; in fm10k_get_channels()
/linux-4.1.27/Documentation/devicetree/bindings/pwm/
Dpwm-samsung.txt38 platform - an array of up to 5 elements being indices of PWM channels
/linux-4.1.27/arch/x86/include/uapi/asm/
Dkvm.h186 __u32 indices[0]; member
/linux-4.1.27/Documentation/devicetree/bindings/timer/
Drenesas,cmt.txt8 channels supported by the CMT model. Channel indices represent the hardware
/linux-4.1.27/arch/s390/mm/
Dpgtable.c213 unsigned long indices[16]; in gmap_radix_tree_free() local
223 indices[nr] = iter.index; in gmap_radix_tree_free()
228 index = indices[i]; in gmap_radix_tree_free()
/linux-4.1.27/drivers/video/fbdev/core/
Dsvgalib.c290 fb_writeb(blit->indices[i], fb2); in svga_tileblit()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-system-cpu166 Description: Disable L3 cache indices
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1997 __be64 indices; in read_eq_indices() local
2002 sizeof(indices), (__be32 *)&indices, in read_eq_indices()
2006 *cidx = (be64_to_cpu(indices) >> 25) & 0xffff; in read_eq_indices()
2007 *pidx = (be64_to_cpu(indices) >> 9) & 0xffff; in read_eq_indices()
/linux-4.1.27/Documentation/fb/
Dapi.txt123 Pixel values are encoded as indices into a colormap that stores red, green and
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt138 __u32 indices[0];
143 user fills in the size of the indices array in nmsrs, and in return
145 the indices array with their numbers.
466 Reads model-specific registers from the vcpu. Supported msr indices can
/linux-4.1.27/Documentation/s390/
DDebugging390.txt327 to make the best use of memory by updating 4 segment indices
332 but only mess with 2 segment indices each time we mess with
/linux-4.1.27/arch/x86/kvm/
Dx86.c2865 if (copy_to_user(user_msr_list->indices, &msrs_to_save, in kvm_arch_dev_ioctl()
2868 if (copy_to_user(user_msr_list->indices + num_msrs_to_save, in kvm_arch_dev_ioctl()
/linux-4.1.27/Documentation/sound/alsa/
DALSA-Configuration.txt114 indices; the first free permitted index is assigned