Home
last modified time | relevance | path

Searched refs:possible (Results 1 - 25 of 89) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dsetup.c310 * low memory as small as possible before swiotlb_init(), so make in arch_mem_init()
415 int i, possible; in prefill_possible_map() local
417 possible = num_processors + disabled_cpus; in prefill_possible_map()
418 if (possible > nr_cpu_ids) in prefill_possible_map()
419 possible = nr_cpu_ids; in prefill_possible_map()
422 possible, max((possible - num_processors), 0)); in prefill_possible_map()
424 for (i = 0; i < possible; i++) in prefill_possible_map()
429 nr_cpu_ids = possible; in prefill_possible_map()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dsmpboot.c1093 /* Cleanup possible dangling ends... */ in arch_cpuhp_cleanup_kick_cpu()
1309 int i, possible; in prefill_possible_map() local
1313 possible = num_processors; in prefill_possible_map()
1316 possible += disabled_cpus; in prefill_possible_map()
1318 if (possible > i) in prefill_possible_map()
1319 possible = i; in prefill_possible_map()
1322 possible = setup_possible_cpus; in prefill_possible_map()
1324 total_cpus = max_t(int, possible, num_processors + disabled_cpus); in prefill_possible_map()
1327 if (possible > nr_cpu_ids) { in prefill_possible_map()
1329 possible, nr_cpu_id in prefill_possible_map()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dpci_link.c61 u32 possible[ACPI_PCI_LINK_MAX_POSSIBLE]; member
82 * set context (link) possible list from resource list
111 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible()
137 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible()
166 "Found %d possible IRQs\n", in acpi_pci_link_get_possible()
415 * Note that PCI IRQ routers have a list of possible IRQs,
473 if (link->irq.possible[i] == irq) in acpi_irq_pci_sharing_penalty()
505 * reflect the possible and active irqs in the penalty table -- in acpi_irq_penalty_init()
514 if (link->irq.possible[i] < ACPI_MAX_ISA_IRQS) in acpi_irq_penalty_init()
516 possible[ in acpi_irq_penalty_init()
[all...]
/kernel/linux/linux-5.10/scripts/
H A Dheaders_check.pl121 for my $possible ( @file_paths ) {
122 if (not $import_stack{$possible} and open($fh, '<', $possible)) {
123 $import_path = $possible;
/kernel/linux/linux-6.6/usr/include/
H A Dheaders_check.pl121 for my $possible ( @file_paths ) {
122 if (not $import_stack{$possible} and open($fh, '<', $possible)) {
123 $import_path = $possible;
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpci_link.c61 u32 possible[ACPI_PCI_LINK_MAX_POSSIBLE]; member
82 * set context (link) possible list from resource list
112 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible()
138 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible()
167 acpi_handle_debug(handle, "Found %d possible IRQs\n", in acpi_pci_link_get_possible()
411 * Note that PCI IRQ routers have a list of possible IRQs,
469 if (link->irq.possible[i] == irq) in acpi_irq_pci_sharing_penalty()
501 * reflect the possible and active irqs in the penalty table -- in acpi_irq_penalty_init()
510 if (link->irq.possible[i] < ACPI_MAX_ISA_IRQS) in acpi_irq_penalty_init()
512 possible[ in acpi_irq_penalty_init()
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dsetup.c408 * low memory as small as possible before swiotlb_init(), so make in arch_mem_init()
588 int i, possible; in prefill_possible_map() local
590 possible = num_processors + disabled_cpus; in prefill_possible_map()
591 if (possible > nr_cpu_ids) in prefill_possible_map()
592 possible = nr_cpu_ids; in prefill_possible_map()
595 possible, max((possible - num_processors), 0)); in prefill_possible_map()
597 for (i = 0; i < possible; i++) in prefill_possible_map()
602 set_nr_cpu_ids(possible); in prefill_possible_map()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dsmpboot.c1134 * Cleanup possible dangling ends... in do_boot_cpu()
1209 * to avoid impact of possible long unregister time. in native_cpu_up()
1468 int i, possible; in prefill_possible_map() local
1490 possible = num_processors; in prefill_possible_map()
1493 possible += disabled_cpus; in prefill_possible_map()
1495 if (possible > i) in prefill_possible_map()
1496 possible = i; in prefill_possible_map()
1499 possible = setup_possible_cpus; in prefill_possible_map()
1501 total_cpus = max_t(int, possible, num_processors + disabled_cpus); in prefill_possible_map()
1504 if (possible > nr_cpu_id in prefill_possible_map()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Daffinity.c137 int possible, curr_cpu, i, ht; in init_real_cpu_mask() local
147 possible = cpumask_weight(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
156 for (i = 0; i < possible / ht; i++) in init_real_cpu_mask()
162 for (; i < possible; i++) { in init_real_cpu_mask()
628 * starts as possible cpus with threads reset
639 int curr_cpu, possible, i, ret; in hfi1_dev_affinity_init() local
672 possible = cpumask_weight(&entry->def_intr.mask); in hfi1_dev_affinity_init()
675 if (possible == 1) { in hfi1_dev_affinity_init()
1010 int possible, curr_cpu, i; in find_hw_thread_mask() local
1018 possible in find_hw_thread_mask()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Daffinity.c95 int possible, curr_cpu, i, ht; in init_real_cpu_mask() local
105 possible = cpumask_weight(&node_affinity.real_cpu_mask); in init_real_cpu_mask()
114 for (i = 0; i < possible / ht; i++) in init_real_cpu_mask()
120 for (; i < possible; i++) { in init_real_cpu_mask()
584 * starts as possible cpus with threads reset
595 int curr_cpu, possible, i, ret; in hfi1_dev_affinity_init() local
628 possible = cpumask_weight(&entry->def_intr.mask); in hfi1_dev_affinity_init()
631 if (possible == 1) { in hfi1_dev_affinity_init()
966 int possible, curr_cpu, i; in find_hw_thread_mask() local
974 possible in find_hw_thread_mask()
[all...]
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dacpi.c723 * table for possible cpus. in acpi_map_cpu2node()
761 int possible, disabled_cpus; in prefill_possible_map() local
772 possible = available_cpus + additional_cpus; in prefill_possible_map()
774 if (possible > nr_cpu_ids) in prefill_possible_map()
775 possible = nr_cpu_ids; in prefill_possible_map()
778 possible, max((possible - available_cpus), 0)); in prefill_possible_map()
780 for (i = 0; i < possible; i++) in prefill_possible_map()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dacpi.c723 * table for possible cpus. in acpi_map_cpu2node()
761 int possible, disabled_cpus; in prefill_possible_map() local
772 possible = available_cpus + additional_cpus; in prefill_possible_map()
774 if (possible > nr_cpu_ids) in prefill_possible_map()
775 possible = nr_cpu_ids; in prefill_possible_map()
778 possible, max((possible - available_cpus), 0)); in prefill_possible_map()
780 for (i = 0; i < possible; i++) in prefill_possible_map()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dsetup.c653 * to this point is possible to only reserve physical memory in arch_mem_init()
677 * low memory as small as possible before plat_swiotlb_setup(), so in arch_mem_init()
749 int i, possible = num_possible_cpus(); in prefill_possible_map() local
751 if (possible > nr_cpu_ids) in prefill_possible_map()
752 possible = nr_cpu_ids; in prefill_possible_map()
754 for (i = 0; i < possible; i++) in prefill_possible_map()
759 nr_cpu_ids = possible; in prefill_possible_map()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dsetup.c665 * to this point is possible to only reserve physical memory in arch_mem_init()
679 * low memory as small as possible before plat_swiotlb_setup(), so in arch_mem_init()
747 int i, possible = num_possible_cpus(); in prefill_possible_map() local
749 if (possible > nr_cpu_ids) in prefill_possible_map()
750 possible = nr_cpu_ids; in prefill_possible_map()
752 for (i = 0; i < possible; i++) in prefill_possible_map()
757 set_nr_cpu_ids(possible); in prefill_possible_map()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dssinh.S108 fmuls (%sp)+,%fp0 |last fp inst - possible exceptions set
131 fmulx (%sp)+,%fp0 |possible exception
H A Dx_operr.S128 cmpw #0x3FFE,%d0 |this is the only possible exponent value
175 cmpw #0x3FFE,%d0 |this is the only possible exponent value
202 cmpw #0x3FFE,%d0 |this is the only possible exponent value
321 | It is possible to have either inex2 or inex1 exceptions with the
H A Dx_unimp.S69 fsave -(%a7) |capture possible exc state
/kernel/linux/linux-6.6/arch/m68k/fpsp040/
H A Dssinh.S108 fmuls (%sp)+,%fp0 |last fp inst - possible exceptions set
131 fmulx (%sp)+,%fp0 |possible exception
H A Dx_operr.S128 cmpw #0x3FFE,%d0 |this is the only possible exponent value
175 cmpw #0x3FFE,%d0 |this is the only possible exponent value
202 cmpw #0x3FFE,%d0 |this is the only possible exponent value
321 | It is possible to have either inex2 or inex1 exceptions with the
H A Dx_unimp.S69 fsave -(%a7) |capture possible exc state
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dsmp.c933 /* Handle possible pending IPIs */ in __cpu_disable()
972 unsigned int possible, sclp_max, cpu; in smp_fill_possible_mask() local
977 possible = setup_possible_cpus ?: nr_cpu_ids; in smp_fill_possible_mask()
978 possible = min(possible, sclp_max); in smp_fill_possible_mask()
979 for (cpu = 0; cpu < possible && cpu < nr_cpu_ids; cpu++) in smp_fill_possible_mask()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dsmp.c963 /* Handle possible pending IPIs */ in __cpu_disable()
1003 unsigned int possible, sclp_max, cpu; in smp_fill_possible_mask() local
1008 possible = setup_possible_cpus ?: nr_cpu_ids; in smp_fill_possible_mask()
1009 possible = min(possible, sclp_max); in smp_fill_possible_mask()
1010 for (cpu = 0; cpu < possible && cpu < nr_cpu_ids; cpu++) in smp_fill_possible_mask()
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/
H A Dxp.h50 * exceeds the absolute MAXIMUM number of channels possible (eight), then one
53 * The absolute maximum number of channels possible is limited to eight for
64 #error XPC_MAX_NCHANNELS exceeds absolute MAXIMUM possible.
69 * that wants to fit as many msg entries as possible in a given memory size
/kernel/linux/linux-6.6/drivers/misc/sgi-xp/
H A Dxp.h50 * exceeds the absolute MAXIMUM number of channels possible (eight), then one
53 * The absolute maximum number of channels possible is limited to eight for
64 #error XPC_MAX_NCHANNELS exceeds absolute MAXIMUM possible.
69 * that wants to fit as many msg entries as possible in a given memory size
/kernel/linux/linux-6.6/lib/
H A Dcpumask_kunit.c119 EXPECT_FOR_EACH_CPU_BUILTIN_EQ(test, possible); in test_cpumask_iterators_builtin()

Completed in 21 milliseconds

1234