Home
last modified time | relevance | path

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

12345678910>>...47

/kernel/linux/linux-4.19/net/bridge/
Dbr_ioctl.c24 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()
163 int num, *indices; in old_dev_ioctl() local
173 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in old_dev_ioctl()
174 if (indices == NULL) in old_dev_ioctl()
177 get_port_ifindices(br, indices, num); in old_dev_ioctl()
178 if (copy_to_user((void __user *)args[1], indices, num*sizeof(int))) in old_dev_ioctl()
180 kfree(indices); in old_dev_ioctl()
317 int *indices; in old_deviceless() local
322 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/net/sched/
Dsch_dsmark.c29 * x:indices-1 indices use entry [indices-1]
31 * x:y y+1 use entry [y & (indices-1)]
33 * 0xffff 0x10000 use entry [indices-1]
49 u16 indices; member
58 return index <= p->indices && index > 0; in dsmark_valid_index()
175 for (i = 0; i < p->indices; i++) { in dsmark_walk()
300 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue()
343 u16 indices; in dsmark_init() local
362 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init()
364 if (hweight32(indices) != 1) in dsmark_init()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Drenesas,cpg-mstp-clocks.txt33 - clock-indices: Indices of the gate clocks into the group (0 to 31)
35 The clocks, clock-output-names and clock-indices properties contain one entry
55 clock-indices = <
/kernel/linux/linux-5.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>,
/kernel/linux/linux-5.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()
296 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local
328 indices)) { in truncate_inode_pages_range()
341 index = indices[i]; in truncate_inode_pages_range()
366 truncate_exceptional_pvec_entries(mapping, &pvec, indices, end); in truncate_inode_pages_range()
414 min(end - index, (pgoff_t)PAGEVEC_SIZE), indices)) { in truncate_inode_pages_range()
422 if (index == start && indices[0] >= end) { in truncate_inode_pages_range()
433 index = indices[i]; in truncate_inode_pages_range()
[all …]
/kernel/linux/linux-4.19/mm/
Dtruncate.c62 struct pagevec *pvec, pgoff_t *indices, in truncate_exceptional_pvec_entries() argument
80 lock = !dax && indices[j] < end; in truncate_exceptional_pvec_entries()
86 pgoff_t index = indices[i]; in truncate_exceptional_pvec_entries()
301 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local
333 indices)) { in truncate_inode_pages_range()
346 index = indices[i]; in truncate_inode_pages_range()
371 truncate_exceptional_pvec_entries(mapping, &pvec, indices, end); in truncate_inode_pages_range()
419 min(end - index, (pgoff_t)PAGEVEC_SIZE), indices)) { in truncate_inode_pages_range()
427 if (index == start && indices[0] >= end) { in truncate_inode_pages_range()
438 index = indices[i]; in truncate_inode_pages_range()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/arch/openrisc/include/asm/
Dfixmap.h63 * kernel oops. Illegal ranges of incoming indices are caught too.
69 * except when someone tries to use fixaddr indices in an in fix_to_virt()
71 * out-of-range indices). in fix_to_virt()
/kernel/linux/linux-4.19/tools/testing/radix-tree/
Didr-test.c163 int indices[] = {4, 7, 9, 15, 65, 128, 1000, 99999, 0}; in idr_get_next_test() local
165 for(i = 0; indices[i]; i++) { in idr_get_next_test()
166 struct item *item = item_create(indices[i], 0); in idr_get_next_test()
167 assert(idr_alloc(&idr, item, indices[i], indices[i+1], in idr_get_next_test()
168 GFP_KERNEL) == indices[i]); in idr_get_next_test()
171 for(i = 0, nextid = 0; indices[i]; i++) { in idr_get_next_test()
173 assert(nextid == indices[i]); in idr_get_next_test()
/kernel/linux/linux-5.10/include/dt-bindings/power/
Draspberrypi-power.h9 /* These power domain indices are the firmware interface's indices
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-4.19/include/dt-bindings/power/
Draspberrypi-power.h12 /* These power domain indices are the firmware interface's indices
/kernel/linux/linux-4.19/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c61 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
62 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
69 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init()
/kernel/linux/linux-5.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.
/kernel/linux/linux-4.19/drivers/nvdimm/
Dbtt.h64 * indices (0, 2) and padding at indices (1, 3), where as the correct/updated
65 * format has log entries at indices (0, 1) and padding at indices (2, 3).
172 * @log_index: Indices of the valid log entries in a log_group
/kernel/linux/linux-4.19/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.
/kernel/linux/linux-4.19/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 = <
483 clock-indices = <
494 clock-indices = <

12345678910>>...47