Home
last modified time | relevance | path

Searched full:indices (Results 1 – 25 of 647) sorted by relevance

12345678910>>...26

/Linux-v5.10/net/bridge/
Dbr_ioctl.c20 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/net/sched/
Dsch_dsmark.c30 * x:indices-1 indices use entry [indices-1]
32 * x:y y+1 use entry [y & (indices-1)]
34 * 0xffff 0x10000 use entry [indices-1]
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()
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c38 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_dcb_sriov()
49 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_dcb_sriov()
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()
205 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
206 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov()
229 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
230 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
[all …]
/Linux-v5.10/mm/
Dtruncate.c60 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 …]
/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-gates-clk.yaml68 clock-indices:
81 - clock-indices
93 clock-indices = <0>;
103 clock-indices = <0>, <1>,
142 clock-indices = <0>, <1>,
Drenesas,cpg-mstp-clocks.yaml45 clock-indices:
58 - clock-indices
73 clock-indices = <
Dallwinner,sun8i-h3-bus-gates-clk.yaml36 clock-indices:
49 - clock-indices
63 clock-indices = <5>, <6>, <8>,
/Linux-v5.10/Documentation/core-api/
Dxarray.rst21 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 …]
Dcircular-buffers.rst39 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
129 (3) To a third party, the order in which the writes to the indices by the
/Linux-v5.10/arch/openrisc/include/asm/
Dfixmap.h59 * kernel oops. Illegal ranges of incoming indices are caught too.
65 * except when someone tries to use fixaddr indices in an in fix_to_virt()
67 * out-of-range indices). in fix_to_virt()
/Linux-v5.10/drivers/nvdimm/
Dbtt.h56 * indices (0, 2) and padding at indices (1, 3), where as the correct/updated
57 * format has log entries at indices (0, 1) and padding at indices (2, 3).
164 * @log_index: Indices of the valid log entries in a log_group
/Linux-v5.10/include/dt-bindings/power/
Draspberrypi-power.h9 /* These power domain indices are the firmware interface's indices
/Linux-v5.10/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c53 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
54 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
61 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init()
Dclk-simple-gates.c43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()
44 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup()
50 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup()
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Darm,scpi.txt55 - 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/tools/testing/radix-tree/
Didr-test.c155 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/drivers/infiniband/sw/rxe/
Drxe_queue.h16 * producer and consumer indices match the maximum capacity
22 * the producer and consumer indices. Is also contains a copy
28 * the kernel should always mask the indices to avoid accessing
/Linux-v5.10/arch/arm/boot/dts/
Dr7s72100.dtsi413 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 = <
Ddm816x-clocks.dtsi9 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-v5.10/Documentation/filesystems/caching/
Dnetfs-api.rst11 object types: indices and files. The first is a special type used by
86 Indices are used for two purposes:
97 the tree. The netfs can even mix indices and data files at the same level, but
103 There are some limits on indices:
167 parent for the non-index object will be queried. Any indices above that
214 required for indices as indices may not contain data. These functions may
227 This function is not required for indices as they're not permitted data.
237 This function is not required for indices as they're not permitted data.
321 object_size. For indices, this should be 0. This value will be passed to the
330 Note also that no indices are actually created in a cache until a non-index
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/
Dsmu12_driver_if.h182 uint16_t Voltage[2]; //[mV] indices: VDDCR_VDD, VDDCR_SOC
183 uint16_t Current[2]; //[mA] indices: VDDCR_VDD, VDDCR_SOC
184 uint16_t Power[2]; //[mW] indices: VDDCR_VDD, VDDCR_SOC
/Linux-v5.10/drivers/gpu/drm/savage/
Dsavage_state.c351 DRM_ERROR("vertex indices (%u-%u) out of range (0-%u)\n", in savage_dispatch_dma_prim()
381 /* Can emit up to 255 indices (85 triangles) at once. */ in savage_dispatch_dma_prim()
384 /* Need to reorder indices for correct flat in savage_dispatch_dma_prim()
494 DRM_ERROR("vertex indices (%u-%u) out of range (0-%u)\n", in savage_dispatch_vb_prim()
572 DRM_ERROR("wrong number of indices %u in TRILIST\n", n); in savage_dispatch_dma_idx()
580 ("wrong number of indices %u in TRIFAN/STRIP\n", n); in savage_dispatch_dma_idx()
633 /* Can emit up to 255 indices (85 triangles) at once. */ in savage_dispatch_dma_idx()
636 /* check indices */ in savage_dispatch_dma_idx()
646 /* Need to reorder indices for correct flat in savage_dispatch_dma_idx()
711 DRM_ERROR("wrong number of indices %u in TRILIST\n", n); in savage_dispatch_vb_idx()
[all …]
/Linux-v5.10/arch/xtensa/include/asm/
Dfixmap.h35 * physical memory with fixmap indices.
58 * kernel oops. Illegal ranges of incoming indices are caught too.
/Linux-v5.10/Documentation/devicetree/bindings/reset/
Dxlnx,zynqmp-reset.txt41 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/Documentation/devicetree/bindings/serial/
Dnxp,sc16is7xx.txt24 - 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

12345678910>>...26