Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c46 struct mlxsw_sp_span *span; member
77 return atomic_read(&mlxsw_sp->span->active_entries_count); in mlxsw_sp_span_occ_get()
83 struct mlxsw_sp_span *span; in mlxsw_sp_span_init() local
90 span = kzalloc(struct_size(span, entries, entries_count), GFP_KERNEL); in mlxsw_sp_span_init()
91 if (!span) in mlxsw_sp_span_init()
93 refcount_set(&span->policer_id_base_ref_count, 0); in mlxsw_sp_span_init()
94 span->entries_count = entries_count; in mlxsw_sp_span_init()
95 atomic_set(&span->active_entries_count, 0); in mlxsw_sp_span_init()
96 mutex_init(&span->analyzed_ports_lock); in mlxsw_sp_span_init()
97 INIT_LIST_HEAD(&span->analyzed_ports_list); in mlxsw_sp_span_init()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c123 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdSpanArrayGet() argument
125 return le16_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span].span.arrayRef); in MR_LdSpanArrayGet()
148 static struct MR_LD_SPAN *MR_LdSpanPtrGet(u32 ld, u32 span, in MR_LdSpanPtrGet() argument
151 return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; in MR_LdSpanPtrGet()
379 u32 span, j; in MR_GetSpanBlock() local
381 for (span = 0; span < raid->spanDepth; span++, pSpanBlock++) { in MR_GetSpanBlock()
398 return span; in MR_GetSpanBlock()
430 u32 span, info; in mr_spanset_get_span_block() local
442 for (span = 0; span < raid->spanDepth; span++) in mr_spanset_get_span_block()
443 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. in mr_spanset_get_span_block()
[all …]
Dmbox_defs.h649 adap_span_40ld_t span[SPAN_DEPTH_8_SPANS]; member
662 adap_span_8ld_t span[SPAN_DEPTH_8_SPANS]; member
675 adap_span_8ld_t span[SPAN_DEPTH_4_SPANS]; member
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
Dmbm_test.c18 show_bw_info(unsigned long *bw_imc, unsigned long *bw_resc, int span) in show_bw_info() argument
42 printf("# Span (MB): %d\n", span); in show_bw_info()
47 static int check_results(int span) in check_results() argument
79 show_bw_info(bw_imc, bw_resc, span); in check_results()
114 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd) in mbm_bw_change() argument
120 .span = span, in mbm_bw_change()
138 ret = check_results(span); in mbm_bw_change()
Dcqm_test.c43 unsigned long span) in show_cache_info() argument
51 avg_diff = (long)abs(span - avg_llc_occu_resc); in show_cache_info()
53 diff_percent = (((float)span - avg_llc_occu_resc) / span) * 100; in show_cache_info()
69 printf("# llc_occu_exp (span): %lu\n", span); in show_cache_info()
104 show_cache_info(sum_llc_occu_resc, no_of_bits, param->span); in check_results()
155 .span = cache_size * n / count_of_bits, in cqm_resctrl_val()
161 sprintf(benchmark_cmd[1], "%lu", param.span); in cqm_resctrl_val()
Dcat_test.c56 unsigned long span) in show_cache_info() argument
58 unsigned long allocated_cache_lines = span / 64; in show_cache_info()
111 show_cache_info(sum_llc_perf_miss, no_of_bits, param->span); in check_results()
179 param.span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val()
200 param.span = cache_size * n / count_of_bits; in cat_perf_miss_val()
Dresctrl_tests.c60 int res, c, cpu_no = 1, span = 250, argc_new = argc, i, no_of_bits = 5; in main() local
147 sprintf(benchmark_cmd[1], "%d", span); in main()
165 res = mbm_bw_change(span, cpu_no, bw_report, benchmark_cmd); in main()
174 sprintf(benchmark_cmd[1], "%d", span); in main()
Dresctrl.h56 unsigned long span; member
92 int run_fill_buf(unsigned long span, int malloc_and_init_memory, int memflush,
95 int mbm_bw_change(int span, int cpu_no, char *bw_report, char **benchmark_cmd);
Dfill_buf.c197 int run_fill_buf(unsigned long span, int malloc_and_init_memory, in run_fill_buf() argument
200 unsigned long long cache_size = span; in run_fill_buf()
Dresctrlfs.c314 unsigned long span, buffer_span; in run_benchmark() local
331 span = strtoul(benchmark_cmd[1], NULL, 10); in run_benchmark()
338 buffer_span = span * MB; in run_benchmark()
340 buffer_span = span; in run_benchmark()
/kernel/linux/linux-5.10/Documentation/scheduler/
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
/kernel/linux/linux-5.10/drivers/iio/dac/
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()
/kernel/linux/linux-5.10/arch/sh/mm/
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()
/kernel/linux/linux-5.10/net/mac802154/
Drx.c37 __le16 span, sshort; in ieee802154_subif_frame() local
42 span = wpan_dev->pan_id; in ieee802154_subif_frame()
55 if (mac_cb(skb)->dest.pan_id != span && in ieee802154_subif_frame()
64 if (mac_cb(skb)->dest.pan_id != span && in ieee802154_subif_frame()
/kernel/linux/linux-5.10/include/linux/
Denergy_model.h98 struct em_data_callback *cb, cpumask_t *span);
205 struct em_data_callback *cb, cpumask_t *span) in em_dev_register_perf_domain() argument
/kernel/linux/linux-5.10/include/linux/sched/
Dtopology.h153 unsigned long span[]; member
158 return to_cpumask(sd->span); in sched_domain_span()
/kernel/linux/linux-5.10/Documentation/sphinx-static/
Dtheme_overrides.css106 span.menuselection {
111 code.kbd, code.kbd span {
/kernel/linux/linux-5.10/drivers/perf/
Darm_smmuv3_pmu.c251 int idx, u32 span, u32 sid) in smmu_pmu_set_event_filter() argument
256 evtyper = get_event(event) | span << SMMU_PMCG_SID_SPAN_SHIFT; in smmu_pmu_set_event_filter()
277 u32 span, sid; in smmu_pmu_apply_event_filter() local
281 span = filter_en ? get_filter_span(event) : in smmu_pmu_apply_event_filter()
292 smmu_pmu_set_event_filter(event, idx, span, sid); in smmu_pmu_apply_event_filter()
/kernel/linux/linux-5.10/kernel/sched/
Dtopology.c447 free_cpumask_var(rd->span); in free_rootdomain()
465 cpumask_clear_cpu(rq->cpu, old_rd->span); in rq_attach_root()
479 cpumask_set_cpu(rq->cpu, rd->span); in rq_attach_root()
504 if (!zalloc_cpumask_var(&rd->span, GFP_KERNEL)) in init_rootdomain()
540 free_cpumask_var(rd->span); in init_rootdomain()
975 const struct cpumask *span = sched_domain_span(sd); in build_overlap_sched_groups() local
983 for_each_cpu_wrap(i, span, cpu) { in build_overlap_sched_groups()
1036 !cpumask_subset(sched_domain_span(sibling->child), span)) in build_overlap_sched_groups()
1186 const struct cpumask *span = sched_domain_span(sd); in build_sched_groups() local
1195 for_each_cpu_wrap(i, span, cpu) { in build_sched_groups()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_qdio.c52 unsigned long long now, span; in zfcp_qdio_account() local
56 span = (now - qdio->req_q_time) >> 12; in zfcp_qdio_account()
58 qdio->req_q_util += used * span; in zfcp_qdio_account()
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-sched.c1184 iso_sched->span = urb->number_of_packets * stream->uperiod; in itd_sched_init()
1249 num_itds = 1 + (sched->span + 7) / 8; in itd_urb_transaction()
1466 u32 now, base, next, start, period, span, now2; in iso_stream_schedule() local
1475 span = sched->span; in iso_stream_schedule()
1477 span <<= 3; in iso_stream_schedule()
1602 if (skip >= span) { /* Entirely in the past? */ in iso_stream_schedule()
1604 urb, start + base, span - period, now2 + base, in iso_stream_schedule()
1608 skip = span - period; in iso_stream_schedule()
1612 skip = span; /* Skip the entire URB */ in iso_stream_schedule()
1629 if (unlikely(start + span - period >= mod + wrap)) { in iso_stream_schedule()
[all …]
/kernel/linux/linux-5.10/Documentation/litmus-tests/rcu/
DRCU+sync+read.litmus11 * other things) that an RCU read-side critical section cannot span a grace period.
DRCU+sync+free.litmus15 * other things) that an RCU read-side critical section cannot span a grace period.
/kernel/linux/linux-5.10/mm/
Dpage_io.c99 sector_t *span) in generic_swapfile_activate() argument
180 *span = 1 + highest_block - lowest_block; in generic_swapfile_activate()
/kernel/linux/linux-5.10/Documentation/sphinx/
DrstFlatTable.py87 nodelist = [colSpan(span=int(text))]
98 nodelist = [rowSpan(span=int(text))]

1234