Home
last modified time | relevance | path

Searched refs:span (Results 1 – 25 of 125) sorted by relevance

12345

/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/
A Dprestera_span.c53 list_for_each_entry(entry, &span->entries, list) { in prestera_span_entry_find_by_id()
67 list_for_each_entry(entry, &span->entries, list) { in prestera_span_entry_find_by_port()
171 struct prestera_span *span; in prestera_span_init() local
173 span = kzalloc(sizeof(*span), GFP_KERNEL); in prestera_span_init()
174 if (!span) in prestera_span_init()
177 INIT_LIST_HEAD(&span->entries); in prestera_span_init()
179 sw->span = span; in prestera_span_init()
180 span->sw = sw; in prestera_span_init()
187 struct prestera_span *span = sw->span; in prestera_span_fini() local
189 WARN_ON(!list_empty(&span->entries)); in prestera_span_fini()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_span.c46 struct mlxsw_sp_span *span; member
90 span = kzalloc(struct_size(span, entries, entries_count), GFP_KERNEL); in mlxsw_sp_span_init()
91 if (!span) in mlxsw_sp_span_init()
99 span->mlxsw_sp = mlxsw_sp; in mlxsw_sp_span_init()
100 mlxsw_sp->span = span; in mlxsw_sp_span_init()
117 kfree(mlxsw_sp->span); in mlxsw_sp_span_init()
131 kfree(mlxsw_sp->span); in mlxsw_sp_span_fini()
823 policer_id >= span->policer_id_base + span->entries_count) in mlxsw_sp_span_policer_id_base_set()
1018 struct mlxsw_sp_span *span = mlxsw_sp->span; in mlxsw_sp_span_entry_ops() local
1476 struct mlxsw_sp_span *span = trigger_entry->span; in mlxsw_sp_span_trigger_ops_set() local
[all …]
/linux-6.3-rc2/drivers/scsi/megaraid/
A Dmegaraid_sas_fp.c151 return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; in MR_LdSpanPtrGet()
381 for (span = 0; span < raid->spanDepth; span++, pSpanBlock++) { in MR_GetSpanBlock()
398 return span; in MR_GetSpanBlock()
442 for (span = 0; span < raid->spanDepth; span++) in mr_spanset_get_span_block()
463 return span; in mr_spanset_get_span_block()
509 for (span = 0, span_offset = 0; span < raid->spanDepth; span++) in get_row_from_strip()
562 for (span = 0; span < raid->spanDepth; span++) in get_strip_from_row()
625 for (span = 0, span_offset = 0; span < raid->spanDepth; span++) in get_arm_from_strip()
832 span = 0; in MR_GetPhyParams()
927 span = 0; in mr_get_phy_params_r56_rmw()
[all …]
/linux-6.3-rc2/tools/testing/selftests/resctrl/
A Dmbm_test.c18 show_bw_info(unsigned long *bw_imc, unsigned long *bw_resc, int span) in show_bw_info() argument
43 ksft_print_msg("Span (MB): %d\n", span); in show_bw_info()
50 static int check_results(int span) in check_results() argument
82 ret = show_bw_info(bw_imc, bw_resc, span); in check_results()
117 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd) in mbm_bw_change() argument
123 .span = span, in mbm_bw_change()
138 ret = check_results(span); in mbm_bw_change()
A Dresctrl_tests.c73 static void run_mbm_test(bool has_ben, char **benchmark_cmd, int span, in run_mbm_test() argument
87 res = mbm_bw_change(span, cpu_no, bw_report, benchmark_cmd); in run_mbm_test()
94 static void run_mba_test(bool has_ben, char **benchmark_cmd, int span, in run_mba_test() argument
107 sprintf(benchmark_cmd[1], "%d", span); in run_mba_test()
151 int c, cpu_no = 1, span = 250, argc_new = argc, i, no_of_bits = 0; in main() local
243 sprintf(benchmark_cmd[1], "%d", span); in main()
262 run_mbm_test(has_ben, benchmark_cmd, span, cpu_no, bw_report); in main()
265 run_mba_test(has_ben, benchmark_cmd, span, cpu_no, bw_report); in main()
A Dcmt_test.c73 return show_cache_info(sum_llc_occu_resc, no_of_bits, param->span, in check_results()
124 .span = cache_size * n / count_of_bits, in cmt_resctrl_val()
130 sprintf(benchmark_cmd[1], "%lu", param.span); in cmt_resctrl_val()
A Dresctrl.h64 unsigned long span; member
99 int run_fill_buf(unsigned long span, int malloc_and_init_memory, int memflush,
102 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd);
A Dcat_test.c90 return show_cache_info(sum_llc_perf_miss, no_of_bits, param->span / 64, in check_results()
158 param.span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val()
179 param.span = cache_size * n / count_of_bits; in cat_perf_miss_val()
A Dfill_buf.c195 int run_fill_buf(unsigned long span, int malloc_and_init_memory, in run_fill_buf() argument
198 unsigned long long cache_size = span; in run_fill_buf()
/linux-6.3-rc2/drivers/iommu/iommufd/
A Dpages.c967 if (span.is_used) in pfn_reader_unpin()
971 span.last_hole - span.start_hole + 1); in pfn_reader_unpin()
978 struct interval_tree_double_span_iter *span = &pfns->span; in pfn_reader_fill_span() local
1012 span->last_hole); in pfn_reader_fill_span()
1276 if (span.is_used) { in __iopt_area_unfill_domain()
1278 span.last_used - span.start_used + 1); in __iopt_area_unfill_domain()
1282 span.start_hole, span.last_hole, in __iopt_area_unfill_domain()
1542 if (!span.is_used) { in iopt_pages_unfill_xarray()
1550 span.last_hole); in iopt_pages_unfill_xarray()
1554 span.last_used); in iopt_pages_unfill_xarray()
[all …]
A Ddouble_span.h46 #define interval_tree_for_each_double_span(span, itree1, itree2, first_index, \ argument
48 for (interval_tree_double_span_iter_first(span, itree1, itree2, \
50 !interval_tree_double_span_iter_done(span); \
51 interval_tree_double_span_iter_next(span))
A Dio_pagetable.c72 static bool __alloc_iova_check_hole(struct interval_tree_double_span_iter *span, in __alloc_iova_check_hole() argument
77 if (span->is_used || span->last_hole - span->start_hole < length - 1) in __alloc_iova_check_hole()
80 span->start_hole = ALIGN(span->start_hole, iova_alignment) | in __alloc_iova_check_hole()
82 if (span->start_hole > span->last_hole || in __alloc_iova_check_hole()
83 span->last_hole - span->start_hole < length - 1) in __alloc_iova_check_hole()
88 static bool __alloc_iova_check_used(struct interval_tree_span_iter *span, in __alloc_iova_check_used() argument
93 if (span->is_hole || span->last_used - span->start_used < length - 1) in __alloc_iova_check_used()
96 span->start_used = ALIGN(span->start_used, iova_alignment) | in __alloc_iova_check_used()
98 if (span->start_used > span->last_used || in __alloc_iova_check_used()
99 span->last_used - span->start_used < length - 1) in __alloc_iova_check_used()
A Dioas.c67 struct interval_tree_span_iter span; in iommufd_ioas_iova_ranges() local
83 interval_tree_for_each_span(&span, &ioas->iopt.reserved_itree, 0, in iommufd_ioas_iova_ranges()
85 if (!span.is_hole) in iommufd_ioas_iova_ranges()
89 .start = span.start_hole, in iommufd_ioas_iova_ranges()
90 .last = span.last_hole, in iommufd_ioas_iova_ranges()
A Dvfio_compat.c391 struct interval_tree_span_iter span; in iommufd_fill_cap_iova() local
393 interval_tree_for_each_span(&span, &ioas->iopt.reserved_itree, 0, in iommufd_fill_cap_iova()
397 if (!span.is_hole) in iommufd_fill_cap_iova()
399 range.start = span.start_hole; in iommufd_fill_cap_iova()
400 range.end = span.last_hole; in iommufd_fill_cap_iova()
/linux-6.3-rc2/drivers/iio/dac/
A Dltc2688.c150 return span; in ltc2688_span_get()
160 int span, fs; in ltc2688_scale_get() local
163 if (span < 0) in ltc2688_scale_get()
164 return span; in ltc2688_scale_get()
177 int span; in ltc2688_offset_get() local
180 if (span < 0) in ltc2688_offset_get()
181 return span; in ltc2688_offset_get()
735 u32 span; in ltc2688_span_lookup() local
737 for (span = 0; span < ARRAY_SIZE(ltc2688_span_helper); span++) { in ltc2688_span_lookup()
740 return span; in ltc2688_span_lookup()
[all …]
A Dad5791.c68 int (*get_lin_comp) (unsigned int span);
210 static int ad5791_get_lin_comp(unsigned int span) in ad5791_get_lin_comp() argument
212 if (span <= 10000) in ad5791_get_lin_comp()
214 else if (span <= 12000) in ad5791_get_lin_comp()
216 else if (span <= 16000) in ad5791_get_lin_comp()
218 else if (span <= 19000) in ad5791_get_lin_comp()
224 static int ad5780_get_lin_comp(unsigned int span) in ad5780_get_lin_comp() argument
226 if (span <= 10000) in ad5780_get_lin_comp()
/linux-6.3-rc2/Documentation/translations/zh_CN/scheduler/
A Dsched-domains.rst22 每个调度域管辖数个CPU(存储在->span字段中)。一个调度域的span必须是它的子调度域span
25 CPU出现永远不会被指定任务运行的情况,直到允许的CPU掩码被显式设定。调度域的span字段意味
29 组织,存储在->groups指针中。这些组的CPU掩码的并集必须和调度域span字段一致。->groups
/linux-6.3-rc2/include/linux/
A Dinterval_tree.h82 #define interval_tree_for_each_span(span, itree, first_index, last_index) \ argument
83 for (interval_tree_span_iter_first(span, itree, \
85 !interval_tree_span_iter_done(span); \
86 interval_tree_span_iter_next(span))
/linux-6.3-rc2/Documentation/scheduler/
A Dsched-domains.rst10 Each scheduling domain spans a number of CPUs (stored in the ->span field).
11 A domain's span MUST be a superset of it child's span (this restriction could
12 be relaxed if the need arises), and a base domain for CPU i MUST span at least
13 i. The top domain for each CPU will generally span all CPUs in the system
16 explicitly set. A sched domain's span means "balance process load among these
22 domain's span. The group pointed to by the ->groups pointer MUST contain the CPU
58 The "base" domain will "span" the first level of the hierarchy. In the case
59 of SMT, you'll span all siblings of the physical CPU, with each group being
62 In SMP, the parent of the base domain will span all physical CPUs in the
64 of the SMP domain will span the entire machine, with each group having the
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Dsar.c51 #define RTW89_SAR_SPAN_VALID(span) ((span)->subband_high) argument
87 const struct rtw89_sar_span *span = NULL; in rtw89_query_sar_config_common() local
99 span = &rtw89_sar_overlapping_6ghz[idx]; in rtw89_query_sar_config_common()
102 if (span && RTW89_SAR_SPAN_VALID(span)) { in rtw89_query_sar_config_common()
103 subband_l = span->subband_low; in rtw89_query_sar_config_common()
104 subband_h = span->subband_high; in rtw89_query_sar_config_common()
/linux-6.3-rc2/drivers/platform/surface/aggregator/
A Dssh_parser.h138 struct ssam_span *span) in sshp_buf_span_from() argument
140 span->ptr = buf->ptr + offset; in sshp_buf_span_from()
141 span->len = buf->len - offset; in sshp_buf_span_from()
/linux-6.3-rc2/arch/sh/mm/
A Dpmb.c146 unsigned long span; in pmb_mapping_exists() local
169 span = pmbe->size; in pmb_mapping_exists()
176 span += iter->size; in pmb_mapping_exists()
181 if (size <= span) { in pmb_mapping_exists()
657 unsigned long span, newsize; in pmb_merge() local
661 span = newsize = head->size; in pmb_merge()
665 span += tail->size; in pmb_merge()
667 if (pmb_size_valid(span)) { in pmb_merge()
668 newsize = span; in pmb_merge()
/linux-6.3-rc2/Documentation/sphinx-static/
A Dtheme_rtd_colors.css29 span.menuselection {
33 code.kbd, code.kbd span {
/linux-6.3-rc2/net/mac802154/
A Drx.c57 __le16 span, sshort; in ieee802154_subif_frame() local
62 span = wpan_dev->pan_id; in ieee802154_subif_frame()
86 if (mac_cb(skb)->dest.pan_id != span && in ieee802154_subif_frame()
95 if (mac_cb(skb)->dest.pan_id != span && in ieee802154_subif_frame()
/linux-6.3-rc2/Documentation/devicetree/bindings/interrupt-controller/
A Dmsi-controller.yaml37 A list of <phandle intspec span> tuples, where "phandle" is the
39 interrupt specifier and "span" is the size of the

Completed in 51 milliseconds

12345