Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 113) sorted by relevance

12345

/xen/xen/include/acpi/cpufreq/
A Dcpufreq.h64 unsigned int max; /* in kHz */ member
175 unsigned int min, unsigned int max) in cpufreq_verify_within_limits() argument
179 if (policy->max < min) in cpufreq_verify_within_limits()
180 policy->max = min; in cpufreq_verify_within_limits()
181 if (policy->min > max) in cpufreq_verify_within_limits()
182 policy->min = max; in cpufreq_verify_within_limits()
183 if (policy->max > max) in cpufreq_verify_within_limits()
184 policy->max = max; in cpufreq_verify_within_limits()
185 if (policy->min > policy->max) in cpufreq_verify_within_limits()
186 policy->min = policy->max; in cpufreq_verify_within_limits()
/xen/stubdom/vtpmmgr/
A Dmarshal.h65 if (*pos + 1 > max) in unpack3_BYTE()
95 if (*pos + 2 > max) in unpack3_UINT16()
119 if (*pos + 4 > max) in unpack3_UINT32()
262 if (*pos + size > max) in unpack3_BUFFER()
299 if (size > max || *pos + size > max) in unpack3_PTR()
309 #define unpack3_VPTR(ptr, pos, max, buf, size, alloc) unpack3_PTR(ptr, pos, max, (void*)(buf), size… argument
367 if (*pos + 4 > max) in unpack3_TPM_VERSION()
687 unpack3_TPM_PCR_SELECTION(ptr, pos, max, in unpack3_TPM_PCR_INFO_LONG()
918 unpack3_UINT16(ptr, pos, max, tag) || in unpack3_TPM_RQU_HEADER()
919 unpack3_UINT32(ptr, pos, max, size) || in unpack3_TPM_RQU_HEADER()
[all …]
/xen/tools/fuzz/x86_instruction_emulator/
A Dafl-harness.c15 int max, count; in main() local
53 max = argc - optind; in main()
55 if ( !max ) /* No positional parameters. Use stdin. */ in main()
57 max = 1; in main()
69 for( count = 0; count < max; count++ ) in main()
111 if ( max == 1 ) in main()
/xen/xen/drivers/cpufreq/
A Dcpufreq_misc_governors.c48 if (policy->max < per_cpu(cpu_set_freq, cpu)) in cpufreq_governor_userspace()
49 ret = __cpufreq_driver_target(policy, policy->max, in cpufreq_governor_userspace()
78 if (freq > policy->max) in write_userspace_scaling_setspeed()
79 freq = policy->max; in write_userspace_scaling_setspeed()
147 ret = __cpufreq_driver_target(policy, policy->max, in cpufreq_governor_performance()
A Dcpufreq_ondemand.c102 unsigned int max; in dbs_check_cpu() local
109 max = policy->max; in dbs_check_cpu()
112 __cpufreq_driver_target(policy, max,CPUFREQ_RELATION_H); in dbs_check_cpu()
149 if (policy->cur == max) in dbs_check_cpu()
151 __cpufreq_driver_target(policy, max, CPUFREQ_RELATION_H); in dbs_check_cpu()
299 if (policy->max < this_dbs_info->cur_policy->cur) in cpufreq_governor_dbs()
301 policy->max, CPUFREQ_RELATION_H); in cpufreq_governor_dbs()
A Dutility.c238 policy->max = policy->cpuinfo.max_freq = max_freq; in cpufreq_frequency_table_cpuinfo()
264 if ((freq >= policy->min) && (freq <= policy->max)) in cpufreq_frequency_table_verify()
266 else if ((next_larger > freq) && (freq > policy->max)) in cpufreq_frequency_table_verify()
271 policy->max = next_larger; in cpufreq_frequency_table_verify()
311 if ((freq < policy->min) || (freq > policy->max)) in cpufreq_frequency_table_target()
450 if (policy->min > data->min && policy->min > policy->max) in __cpufreq_set_policy()
459 data->max = policy->max; in __cpufreq_set_policy()
/xen/xen/arch/x86/cpu/mtrr/
A Dmain.c103 int i, max; in init_table() local
105 max = num_var_ranges; in init_table()
106 if ((usage_table = xmalloc_array(unsigned int, max)) == NULL) { in init_table()
110 for (i = 0; i < max; i++) in init_table()
484 int i, max; in mtrr_del_page() local
492 max = num_var_ranges; in mtrr_del_page()
496 for (i = 0; i < max; ++i) { in mtrr_del_page()
509 if (reg >= max) { in mtrr_del_page()
A Dgeneric.c297 int i, max; in generic_get_free_region() local
301 max = num_var_ranges; in generic_get_free_region()
302 if (replace_reg >= 0 && replace_reg < max) in generic_get_free_region()
304 for (i = 0; i < max; ++i) { in generic_get_free_region()
/xen/xen/include/public/io/
A Dsndif.h897 uint32_t max; member
901 uint32_t max; member
905 uint32_t max; member
909 uint32_t max; member
/xen/xen/include/asm-x86/
A Dbitops.h326 static always_inline unsigned int __scanbit(unsigned long val, unsigned int max) in __scanbit() argument
328 if ( __builtin_constant_p(max) && max == BITS_PER_LONG ) in __scanbit()
333 [in] "r" (val), [max] "r" (max)); in __scanbit()
336 : "=&r" (val) : "r" (val), "r" (max) ); in __scanbit()
/xen/tools/ocaml/xenstored/
A Dselect.mli23 (** [use_poll true] will use poll based select with max fds number limitation
24 eliminated; [use_poll false] will use standard [Unix.select] with max fd
26 standard [Unix.select] with max fd number setting untouched. *)
A Doxenstored.conf.in23 # one point is issued after each conflict-max-history-seconds, so this
25 conflict-max-history-seconds = 0.05
64 quota-path-max = 1024
/xen/tools/include/xen-tools/
A Dlibs.h34 #ifndef max
35 #define max(x, y) \ macro
/xen/tools/python/
A Dpylintrc147 max-args=15
150 max-locals=15
153 max-returns=6
156 max-branchs=12
159 max-statements=50
162 max-parents=7
165 max-attributes=7
171 max-public-methods=20
249 max-line-length=80
252 max-module-lines=1000
/xen/xen/tools/kconfig/
A Dnconf.gui.c277 total_width = max(msg_width, btns_width); in btn_dialog()
385 prompt_width = max(prompt_width, len); in dialog_inputbox()
389 prompt_width = max(prompt_width, strlen(title)); in dialog_inputbox()
393 prompt_lines = max(win_lines-6, 0); in dialog_inputbox()
394 prompt_width = max(win_cols-7, 0); in dialog_inputbox()
574 total_cols = max(total_cols, len+2); in show_scroll_win()
584 text_lines = max(win_lines-4, 0); in show_scroll_win()
585 text_cols = max(win_cols-2, 0); in show_scroll_win()
/xen/tools/firmware/hvmloader/
A Dpci.c90 uint64_t base, max; in pci_setup() member
418 high_mem_resource.max = 1ull << cpu_phys_addr(); in pci_setup()
420 mem_resource.max = pci_mem_end; in pci_setup()
422 io_resource.max = 0x10000; in pci_setup()
450 && (mmio_total > (mem_resource.max - mem_resource.base)); in pci_setup()
501 if ( (base < resource->base) || (base > resource->max) ) in pci_setup()
/xen/xen/arch/x86/
A Dcpuid.c169 xstate_size = max(xstate_size, in recalculate_xstate()
177 xstate_size = max(xstate_size, in recalculate_xstate()
185 xstate_size = max(xstate_size, in recalculate_xstate()
193 xstate_size = max(xstate_size, in recalculate_xstate()
558 const struct cpuid_policy *max = is_pv_domain(d) in recalculate_cpuid_policy() local
564 if ( !max ) in recalculate_cpuid_policy()
573 p->basic.max_leaf = min(p->basic.max_leaf, max->basic.max_leaf); in recalculate_cpuid_policy()
574 p->feat.max_subleaf = min(p->feat.max_subleaf, max->feat.max_subleaf); in recalculate_cpuid_policy()
582 cpuid_policy_to_featureset(max, max_fs); in recalculate_cpuid_policy()
662 p->basic.clflush_size = max->basic.clflush_size; in recalculate_cpuid_policy()
[all …]
/xen/xen/common/libelf/
A Dlibelf-tools.c133 uint64_t max = elf->size / sizeof(Elf32_Shdr); in elf_shdr_count() local
135 if ( max > UINT_MAX ) in elf_shdr_count()
136 max = UINT_MAX; in elf_shdr_count()
137 if ( count > max ) in elf_shdr_count()
140 count = max; in elf_shdr_count()
/xen/docs/features/
A Dintel_psr_mba.pandoc74 lower bandwidth. The max throttling value (MBA_MAX) supported can be
112 indicates that the max COS of MBA may be different from CAT). In some
114 of PSR features but within the others. For instance, let's assume the max
115 COS of MBA is 8 but the max COS of L3 CAT is 16, when a domain is assigned
117 the HW works as default value is set since COS 9 is beyond the max COS (8)
142 Different sockets may have different MBA capabilities (like max COS)
189 `thrtl_max` is the max throttling value to be set, i.e. MBA_MAX.
211 linear mode, the max throttling value (MBA_MAX) and so on.
/xen/tools/firmware/rombios/32bit/
A Dpmm.c294 uint32_t size, max = 0; in pmm_max_avail_length() local
302 if ( size > max ) in pmm_max_avail_length()
303 max = size; in pmm_max_avail_length()
306 return (max / PARAGRAPH_LENGTH); in pmm_max_avail_length()
/xen/tools/tests/x86_emulator/
A Dsimd.c200 # define max __builtin_ia32_pfmax macro
410 # define max(x, y) __builtin_ia32_maxps256(x, y) macro
435 # define max(x, y) __builtin_ia32_maxps(x, y) macro
457 # define max(x, y) __builtin_ia32_maxpd256(x, y) macro
484 # define max(x, y) __builtin_ia32_maxpd(x, y) macro
748 # define max(x, y) __builtin_ia32_pmaxsw128(x, y) macro
827 # define max(x, y) __builtin_ia32_pmaxsw256(x, y) macro
840 # define max(x, y) __builtin_ia32_pmaxsd256(x, y) macro
1486 #if defined(max) && defined(min) in simd_test()
1491 y = max(src, inv); in simd_test()
[all …]
/xen/tools/libxc/
A Dxc_cpuid_x86.c294 xen_cpuid_leaf_t *host = NULL, *max = NULL, *cur = NULL; in xc_cpuid_xend_policy() local
315 (max = calloc(nr_leaves, sizeof(*max))) == NULL || in xc_cpuid_xend_policy()
338 &nr_max, max, &nr_msrs, NULL); in xc_cpuid_xend_policy()
362 const xen_cpuid_leaf_t *max_leaf = find_leaf(max, nr_max, xend); in xc_cpuid_xend_policy()
422 free(max); in xc_cpuid_xend_policy()
A Dxc_offline_page.c45 int max; member
183 if (backup->max == backup->cur) in backup_ptes()
186 backup->max * 2 * sizeof(struct pte_backup_entry)); in backup_ptes()
190 backup->max *= 2; in backup_ptes()
549 old_ptes.max = DEFAULT_BACKUP_COUNT; in xc_exchange_page()
A Dxc_core.c76 uint16_t max; member
96 strtab->max = PAGE_SIZE; in xc_core_strtab_init()
125 if ( strtab->length + len > strtab->max ) in xc_core_strtab_get()
128 if ( strtab->max > UINT16_MAX / 2 ) in xc_core_strtab_get()
135 tmp = realloc(strtab->strings, strtab->max * 2); in xc_core_strtab_get()
143 strtab->max *= 2; in xc_core_strtab_get()
/xen/xen/arch/x86/boot/
A Ddefs.h40 #define max(x,y) ({ \ macro

Completed in 43 milliseconds

12345