| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_span.c | 46 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/ |
| D | megaraid_sas_fp.c | 123 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() 338 dev_err(&instance->pdev->dev, "megasas: span map %x, pDrvRaidMap->totalSize : %x\n", in MR_ValidateMapInfo() 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() 408 * This routine calculates the Span block for given row using spanset. 418 * span - Span number [all …]
|
| D | mbox_defs.h | 595 * adap_span_40ld_t - 40LD span 607 * adap_span_8ld_t - 8LD span 645 * @span : span 649 adap_span_40ld_t span[SPAN_DEPTH_8_SPANS]; member 656 * @span : span 662 adap_span_8ld_t span[SPAN_DEPTH_8_SPANS]; member 669 * @span : span 675 adap_span_8ld_t span[SPAN_DEPTH_4_SPANS]; member
|
| /kernel/linux/linux-4.19/drivers/scsi/megaraid/ |
| D | megaraid_sas_fp.c | 137 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdSpanArrayGet() argument 139 return le16_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span].span.arrayRef); in MR_LdSpanArrayGet() 162 static struct MR_LD_SPAN *MR_LdSpanPtrGet(u32 ld, u32 span, in MR_LdSpanPtrGet() argument 165 return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; in MR_LdSpanPtrGet() 352 dev_err(&instance->pdev->dev, "megasas: span map %x, pDrvRaidMap->totalSize : %x\n", in MR_ValidateMapInfo() 389 u32 span, j; in MR_GetSpanBlock() local 391 for (span = 0; span < raid->spanDepth; span++, pSpanBlock++) { in MR_GetSpanBlock() 409 return span; in MR_GetSpanBlock() 419 * This routine calculates the Span block for given row using spanset. 429 * span - Span number [all …]
|
| D | mbox_defs.h | 600 * adap_span_40ld_t - 40LD span 612 * adap_span_8ld_t - 8LD span 650 * @span : span 654 adap_span_40ld_t span[SPAN_DEPTH_8_SPANS]; member 661 * @span : span 667 adap_span_8ld_t span[SPAN_DEPTH_8_SPANS]; member 674 * @span : span 680 adap_span_8ld_t span[SPAN_DEPTH_4_SPANS]; member
|
| /kernel/linux/linux-4.19/Documentation/scheduler/ |
| D | sched-domains.txt | 6 Each scheduling domain spans a number of CPUs (stored in the ->span field). 7 A domain's span MUST be a superset of it child's span (this restriction could 8 be relaxed if the need arises), and a base domain for CPU i MUST span at least 9 i. The top domain for each CPU will generally span all CPUs in the system 12 explicitly set. A sched domain's span means "balance process load among these 18 domain's span. The intersection of cpumasks from any two of these groups 50 The "base" domain will "span" the first level of the hierarchy. In the case 51 of SMT, you'll span all siblings of the physical CPU, with each group being 54 In SMP, the parent of the base domain will span all physical CPUs in the 56 of the SMP domain will span the entire machine, with each group having the
|
| /kernel/linux/linux-5.10/Documentation/scheduler/ |
| D | sched-domains.rst | 10 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/tools/testing/selftests/resctrl/ |
| D | mbm_test.c | 18 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()
|
| D | cqm_test.c | 43 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()
|
| D | resctrl.h | 45 * @span: Memory bytes accessed in each benchmark iteration 56 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);
|
| D | cat_test.c | 56 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()
|
| D | resctrl_tests.c | 60 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()
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_span.c | 24 mlxsw_sp->span.entries_count = MLXSW_CORE_RES_GET(mlxsw_sp->core, in mlxsw_sp_span_init() 26 mlxsw_sp->span.entries = kcalloc(mlxsw_sp->span.entries_count, in mlxsw_sp_span_init() 29 if (!mlxsw_sp->span.entries) in mlxsw_sp_span_init() 32 for (i = 0; i < mlxsw_sp->span.entries_count; i++) { in mlxsw_sp_span_init() 33 struct mlxsw_sp_span_entry *curr = &mlxsw_sp->span.entries[i]; in mlxsw_sp_span_init() 46 for (i = 0; i < mlxsw_sp->span.entries_count; i++) { in mlxsw_sp_span_fini() 47 struct mlxsw_sp_span_entry *curr = &mlxsw_sp->span.entries[i]; in mlxsw_sp_span_fini() 51 kfree(mlxsw_sp->span.entries); in mlxsw_sp_span_fini() 623 for (i = 0; i < mlxsw_sp->span.entries_count; i++) { in mlxsw_sp_span_entry_create() 624 if (!mlxsw_sp->span.entries[i].ref_count) { in mlxsw_sp_span_entry_create() [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/dac/ |
| D | ad5791.c | 69 int (*get_lin_comp) (unsigned int span); 213 static int ad5791_get_lin_comp(unsigned int span) in ad5791_get_lin_comp() argument 215 if (span <= 10000) in ad5791_get_lin_comp() 217 else if (span <= 12000) in ad5791_get_lin_comp() 219 else if (span <= 16000) in ad5791_get_lin_comp() 221 else if (span <= 19000) in ad5791_get_lin_comp() 227 static int ad5780_get_lin_comp(unsigned int span) in ad5780_get_lin_comp() argument 229 if (span <= 10000) in ad5780_get_lin_comp()
|
| /kernel/linux/linux-5.10/drivers/iio/dac/ |
| D | ad5791.c | 68 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/ |
| D | pmb.c | 146 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() 381 * Link adjacent entries that span multiple PMB in pmb_bolt_mapping() 640 * see if the entries span a contiguous mapping. If so, in pmb_synchronize() 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() [all …]
|
| /kernel/linux/linux-4.19/arch/sh/mm/ |
| D | pmb.c | 146 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() 381 * Link adjacent entries that span multiple PMB in pmb_bolt_mapping() 640 * see if the entries span a contiguous mapping. If so, in pmb_synchronize() 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() [all …]
|
| /kernel/linux/linux-4.19/Documentation/sphinx/ |
| D | rstFlatTable.py | 17 * *column-span*: with the role ``cspan`` a cell can be extended through 20 * *row-span*: with the role ``rspan`` a cell can be extended through 23 * *auto span* rightmost cell of a table row over the missing cells on the 25 can changed from *auto span* to *auto fill*, which automaticly inserts 87 nodelist = [colSpan(span=int(text))] 98 nodelist = [rowSpan(span=int(text))] 367 cspan = elem.get("span") 371 rspan = elem.get("span")
|
| /kernel/linux/linux-5.10/Documentation/sphinx/ |
| D | rstFlatTable.py | 17 * *column-span*: with the role ``cspan`` a cell can be extended through 20 * *row-span*: with the role ``rspan`` a cell can be extended through 23 * *auto span* rightmost cell of a table row over the missing cells on the 25 can changed from *auto span* to *auto fill*, which automaticly inserts 87 nodelist = [colSpan(span=int(text))] 98 nodelist = [rowSpan(span=int(text))] 367 cspan = elem.get("span") 371 rspan = elem.get("span")
|
| /kernel/linux/linux-5.10/kernel/sched/ |
| D | topology.c | 44 printk(KERN_CONT "span=%*pbl level=%s\n", in sched_domain_debug_one() 48 printk(KERN_ERR "ERROR: domain->span does not contain CPU%d\n", cpu); in sched_domain_debug_one() 92 printk(KERN_CONT " %d:{ span=%*pbl", in sched_domain_debug_one() 122 printk(KERN_ERR "ERROR: groups don't span domain->span\n"); in sched_domain_debug_one() 126 printk(KERN_ERR "ERROR: parent span is not a superset of domain->span\n"); in sched_domain_debug_one() 447 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() [all …]
|
| /kernel/linux/linux-4.19/kernel/sched/ |
| D | topology.c | 44 printk(KERN_CONT "span=%*pbl level=%s\n", in sched_domain_debug_one() 48 printk(KERN_ERR "ERROR: domain->span does not contain CPU%d\n", cpu); in sched_domain_debug_one() 77 printk(KERN_CONT " %d:{ span=%*pbl", in sched_domain_debug_one() 107 printk(KERN_ERR "ERROR: groups don't span domain->span\n"); in sched_domain_debug_one() 111 printk(KERN_ERR "ERROR: parent span is not a superset of domain->span\n"); in sched_domain_debug_one() 213 free_cpumask_var(rd->span); in free_rootdomain() 230 cpumask_clear_cpu(rq->cpu, old_rd->span); in rq_attach_root() 244 cpumask_set_cpu(rq->cpu, rd->span); in rq_attach_root() 269 if (!zalloc_cpumask_var(&rd->span, GFP_KERNEL)) in init_rootdomain() 301 free_cpumask_var(rd->span); in init_rootdomain() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | glob.c | 76 * Iterate over each span in the character class. in glob_match() 77 * A span is either a single character a, or a in glob_match() 78 * range a-b. The first span may begin with ']'. in glob_match()
|
| /kernel/linux/linux-4.19/lib/ |
| D | glob.c | 76 * Iterate over each span in the character class. in glob_match() 77 * A span is either a single character a, or a in glob_match() 78 * range a-b. The first span may begin with ']'. in glob_match()
|
| /kernel/linux/linux-5.10/tools/perf/ui/gtk/ |
| D | browser.c | 39 return "<span fgcolor='red'>"; in perf_gtk__get_percent_color() 41 return "<span fgcolor='dark green'>"; in perf_gtk__get_percent_color()
|
| /kernel/linux/linux-4.19/tools/perf/ui/gtk/ |
| D | browser.c | 41 return "<span fgcolor='red'>"; in perf_gtk__get_percent_color() 43 return "<span fgcolor='dark green'>"; in perf_gtk__get_percent_color()
|