Home
last modified time | relevance | path

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

12345678910>>...28

/Linux-v5.15/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()
176 int num, *indices; in br_dev_siocdevprivate() local
186 indices = kcalloc(num, sizeof(int), GFP_KERNEL); in br_dev_siocdevprivate()
187 if (indices == NULL) in br_dev_siocdevprivate()
190 get_port_ifindices(br, indices, num); in br_dev_siocdevprivate()
191 if (copy_to_user(argp, indices, num * sizeof(int))) in br_dev_siocdevprivate()
193 kfree(indices); in br_dev_siocdevprivate()
328 int *indices; in old_deviceless() local
333 indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); in old_deviceless()
[all …]
/Linux-v5.15/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()
178 for (i = 0; i < p->indices; i++) { in dsmark_walk()
304 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue()
347 u16 indices; in dsmark_init() local
367 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init()
369 if (hweight32(indices) != 1) in dsmark_init()
[all …]
/Linux-v5.15/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()
158 rss_i = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_cache_ring_dcb()
206 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
207 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov()
230 /* If we are greater than indices move to next pool */ in ixgbe_cache_ring_sriov()
231 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
[all …]
/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dimx8-ss-dma.dtsi69 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
81 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
93 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
105 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
161 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
173 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
185 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
197 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
Dimx8-ss-lsio.dtsi161 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
181 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
201 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
221 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
241 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
261 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
281 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
301 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
Dimx8-ss-conn.dtsi119 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
133 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
147 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>,
165 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
187 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
/Linux-v5.15/tools/testing/selftests/kvm/x86_64/
Dget_msr_index_features.c23 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_num_index_msrs()
51 list = malloc(sizeof(*list) + old_res * sizeof(list->indices[0])); in test_get_msr_index()
69 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_num_feature_msrs()
86 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_get_msr_feature_list()
118 kvm_get_feature_msr(feature_list->indices[i]); in test_get_msr_feature()
/Linux-v5.15/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>,
Dimx8qxp-lpcg.yaml57 clock-indices:
61 supported LPCG clock indices.
69 as the clock-indices property.
96 clock-indices = <IMX_LPCG_CLK_0>,
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.15/mm/
Dtruncate.c59 struct pagevec *pvec, pgoff_t *indices) in truncate_exceptional_pvec_entries() argument
81 pgoff_t index = indices[i]; in truncate_exceptional_pvec_entries()
290 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() local
321 &pvec, indices)) { in truncate_inode_pages_range()
322 index = indices[pagevec_count(&pvec) - 1] + 1; in truncate_inode_pages_range()
323 truncate_exceptional_pvec_entries(mapping, &pvec, indices); in truncate_inode_pages_range()
376 indices)) { in truncate_inode_pages_range()
389 index = indices[i]; in truncate_inode_pages_range()
400 truncate_exceptional_pvec_entries(mapping, &pvec, indices); in truncate_inode_pages_range()
471 pgoff_t indices[PAGEVEC_SIZE]; in __invalidate_mapping_pages() local
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/pm/inc/
Dsmu11_driver_if_vangogh.h178 uint16_t Voltage[3]; //[mV] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
179 uint16_t Current[3]; //[mA] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
180 uint16_t Power[3]; //[mW] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
208 uint16_t Voltage[3]; //[mV] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
209 uint16_t Current[3]; //[mA] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
210 uint16_t Power[3]; //[mW] indices: VDDCR_VDD, VDDCR_SOC, VDDCR_GFX
Dsmu11_driver_if_cyan_skillfish.h59 uint32_t Voltage[2]; //[mV] indices: VDDCR_VDD, VDDCR_GFX
60 uint32_t Current[2]; //[mA] indices: VDDCR_VDD, VDDCR_GFX
61 uint32_t Power[2]; //[mW] indices: VDDCR_VDD, VDDCR_GFX
/Linux-v5.15/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 …]
/Linux-v5.15/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.15/drivers/nvdimm/
Dbtt.h55 * indices (0, 2) and padding at indices (1, 3), where as the correct/updated
56 * format has log entries at indices (0, 1) and padding at indices (2, 3).
163 * @log_index: Indices of the valid log entries in a log_group
/Linux-v5.15/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()
/Linux-v5.15/include/dt-bindings/power/
Draspberrypi-power.h9 /* These power domain indices are the firmware interface's indices
/Linux-v5.15/Documentation/devicetree/bindings/firmware/
Darm,scpi.yaml143 clock-indices:
154 - clock-indices
190 clock-indices = <0>, <1>, <2>;
197 clock-indices = <3>, <4>;
/Linux-v5.15/include/uapi/rdma/
Drdma_user_rxe.h196 * It contains the producer and consumer indices. Is also
200 * producer and consumer indices in separate cache lines
201 * the kernel should always mask the indices to avoid accessing
/Linux-v5.15/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.15/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.15/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 …]

12345678910>>...28