Home
last modified time | relevance | path

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

12

/linux-3.4.99/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()
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()
310 int *indices; in old_deviceless() local
315 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless()
[all …]
/linux-3.4.99/net/sched/
Dsch_dsmark.c43 u16 indices; member
50 return (index <= p->indices && index > 0); in dsmark_valid_index()
174 for (i = 0; i < p->indices; i++) { in dsmark_walk()
288 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue()
347 u16 indices; in dsmark_init() local
360 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init()
362 if (hweight32(indices) != 1) in dsmark_init()
368 mask = kmalloc(indices * 2, GFP_KERNEL); in dsmark_init()
375 memset(p->mask, 0xff, indices); in dsmark_init()
377 p->value = p->mask + indices; in dsmark_init()
[all …]
/linux-3.4.99/Documentation/
Dprio_tree.txt19 suitable for storing vmas with different radix indices (vm_pgoff).
23 2 different ways: 1) All vmas with the same radix _and_ heap indices are
25 index, but different heap indices and if the regular radix-priority-search
27 vmas using heap and size indices instead of heap and radix indices. For
33 in figure we have 3 overflow-sub-trees corresponding to radix indices
37 are indexed using heap and radix indices whereas the overflow-sub-trees below
39 indexed using heap and size indices. In overflow-sub-trees the size_index
81 is indexed properly using heap and radix indices.
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
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c191 for (i = 0; i < f->indices; i++, fcoe_rx_i++, fcoe_tx_i++) { in ixgbe_cache_ring_fcoe()
282 adapter->num_rx_queues = f->indices; in ixgbe_set_rss_queues()
283 adapter->num_tx_queues = f->indices; in ixgbe_set_rss_queues()
305 f_fdir->indices = min_t(int, num_online_cpus(), f_fdir->indices); in ixgbe_set_fdir_queues()
315 adapter->num_tx_queues = f_fdir->indices; in ixgbe_set_fdir_queues()
316 adapter->num_rx_queues = f_fdir->indices; in ixgbe_set_fdir_queues()
342 f->indices = min_t(int, num_online_cpus(), f->indices); in ixgbe_set_fcoe_queues()
357 adapter->num_rx_queues += f->indices; in ixgbe_set_fcoe_queues()
358 adapter->num_tx_queues += f->indices; in ixgbe_set_fcoe_queues()
403 f->indices = dev->tc_to_txq[tc].count; in ixgbe_set_dcb_queues()
[all …]
Dixgbe_fcoe.c674 if (adapter->ring_feature[RING_F_FCOE].indices) { in ixgbe_configure_fcoe()
677 fcoe_i = f->mask + i % f->indices; in ixgbe_configure_fcoe()
773 adapter->ring_feature[RING_F_FCOE].indices = IXGBE_FCRETA_SIZE; in ixgbe_fcoe_enable()
825 adapter->ring_feature[RING_F_FCOE].indices = 0; in ixgbe_fcoe_disable()
/linux-3.4.99/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
/linux-3.4.99/Documentation/DocBook/
D.gitignore13 media-indices.tmpl
/linux-3.4.99/drivers/gpu/drm/mga/
Dmga_state.c914 drm_mga_indices_t *indices = data; in mga_dma_indices() local
918 if (indices->idx < 0 || indices->idx > dma->buf_count) in mga_dma_indices()
921 buf = dma->buflist[indices->idx]; in mga_dma_indices()
924 buf_priv->discard = indices->discard; in mga_dma_indices()
927 if (indices->discard) { in mga_dma_indices()
938 mga_dma_dispatch_indices(dev, buf, indices->start, indices->end); in mga_dma_indices()
/linux-3.4.99/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-3.4.99/arch/x86/include/asm/
Damd_nb.h25 unsigned indices; member
Dkvm.h166 __u32 indices[0]; member
/linux-3.4.99/sound/pci/hda/
Dhda_local.h178 #define HDA_BIND_MUTE_MONO(xname, nid, channel, indices, direction) \ argument
183 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, indices, direction) }
186 #define HDA_BIND_MUTE(xname,nid,indices,dir) \ argument
187 HDA_BIND_MUTE_MONO(xname,nid,3,indices,dir)
/linux-3.4.99/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
95 the tree. The netfs can even mix indices and data files at the same level, but
101 There are some limits on indices:
181 parent for the non-index object will be queried. Any indices above that
249 required for indices as indices may not contain data. These functions may
262 This function is not required for indices as they're not permitted data.
272 This function is not required for indices as they're not permitted data.
347 Note also that no indices are actually created in a cache until a non-index
766 the cookies for "child" indices, objects and pages have been relinquished
/linux-3.4.99/mm/
Dshmem.c317 struct page **pages, pgoff_t *indices) in shmem_find_get_pages_and_swap() argument
326 (void ***)pages, indices, start, nr_pages); in shmem_find_get_pages_and_swap()
353 indices[ret] = indices[i]; in shmem_find_get_pages_and_swap()
400 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unlock_mapping() local
413 PAGEVEC_SIZE, pvec.pages, indices); in shmem_unlock_mapping()
416 index = indices[pvec.nr - 1] + 1; in shmem_unlock_mapping()
435 pgoff_t indices[PAGEVEC_SIZE]; in shmem_truncate_range() local
447 pvec.pages, indices); in shmem_truncate_range()
454 index = indices[i]; in shmem_truncate_range()
495 pvec.pages, indices); in shmem_truncate_range()
[all …]
/linux-3.4.99/Documentation/DocBook/media/
DMakefile11 media-indices.tmpl \
360 $(MEDIA_OBJ_DIR)/media-indices.tmpl: $(MEDIA_OBJ_DIR)/v4l2.xml
/linux-3.4.99/Documentation/filesystems/
Ddevpts.txt3 such that indices of ptys allocated in one instance are independent of indices
/linux-3.4.99/include/linux/
Dradix-tree.h227 void ***results, unsigned long *indices,
/linux-3.4.99/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h105 int indices; member
/linux-3.4.99/lib/
Dradix-tree.c1036 void ***results, unsigned long *indices, in radix_tree_gang_lookup_slot() argument
1048 if (indices) in radix_tree_gang_lookup_slot()
1049 indices[ret] = iter.index; in radix_tree_gang_lookup_slot()
/linux-3.4.99/arch/x86/kernel/cpu/
Dintel_cacheinfo.c326 l3->indices = (max(max3(sc0, sc1, sc2), sc3) << 10) - 1; in amd_calc_l3_indices()
339 if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) in amd_init_l3_cache()
438 if (index > nb->l3_cache.indices) in amd_set_l3_disable_slot()

12