Home
last modified time | relevance | path

Searched refs:min_t (Results 1 – 25 of 44) sorted by relevance

12

/xen/tools/include/xen-tools/
A Dlibs.h44 #ifndef min_t
45 #define min_t(type, x, y) \ macro
/xen/xen/arch/x86/
A Dcpuid.c315 min_t(uint32_t, p->basic.max_leaf, ARRAY_SIZE(p->basic.raw) - 1); in calculate_host_policy()
317 min_t(uint32_t, p->feat.max_subleaf, ARRAY_SIZE(p->feat.raw) - 1); in calculate_host_policy()
318 p->extd.max_leaf = 0x80000000 | min_t(uint32_t, p->extd.max_leaf & 0xffff, in calculate_host_policy()
665 p->extd.maxphysaddr = min_t(uint8_t, p->extd.maxphysaddr, in recalculate_cpuid_policy()
756 if ( leaf > min_t(uint32_t, p->basic.max_leaf, in guest_cpuid()
771 if ( subleaf > min_t(uint32_t, p->feat.max_subleaf, in guest_cpuid()
813 if ( (leaf & 0xffff) > min_t(uint32_t, p->extd.max_leaf & 0xffff, in guest_cpuid()
A Ddebug.c123 pagecnt = min_t(long, PAGE_SIZE - (addr & ~PAGE_MASK), len); in dbg_rw_guest_mem()
A Dsysctl.c385 nr = min_t(unsigned int, sysctl->u.cpu_featureset.nr_features, in arch_do_sysctl()
A Dnuma.c365 return min_t(unsigned int, in arch_get_dma_bitsize()
A Ddom0_build.c418 d->max_pages = min_t(unsigned long, max_pages, UINT_MAX); in dom0_compute_nr_pages()
/xen/xen/include/xen/
A Dnodemask.h196 return min_t(int, nbits, find_first_bit(srcp->bits, nbits)); in __first_node()
202 return min_t(int, nbits, find_next_bit(srcp->bits, nbits, n+1)); in __next_node()
A Dkernel.h33 #define min_t(type,x,y) \ macro
A Dcpumask.h211 return min_t(int, nr_cpu_ids, find_first_bit(srcp->bits, nr_cpu_ids)); in cpumask_first()
220 return min_t(int, nr_cpu_ids, in cpumask_next()
/xen/xen/include/asm-arm/
A Dgrant_table.h47 min_t(unsigned int, opt_max_grant_frames, PFN_DOWN(_etext - _stext))
/xen/docs/designs/
A Ddmop.pandoc97 size = min_t(size_t, dst_size, bufs[idx].size);
111 size = min_t(size_t, bufs[idx].size, src_size);
/xen/xen/drivers/video/
A Dvesa.c87 vram_remap = min_t(unsigned int, vram_remap, vram_total); in vesa_early_init()
/xen/tools/firmware/hvmloader/
A Dutil.h46 #define min_t(type,x,y) \ macro
A Dpci.c381 unsigned int nr_pages = min_t( in pci_setup()
/xen/xen/drivers/vpci/
A Dmsi.c41 unsigned int vectors = min_t(uint8_t, in control_write()
/xen/tools/tests/vhpet/
A Demul.h123 #define min_t(type, x, y) \ macro
/xen/xen/arch/x86/oprofile/
A Dop_model_ppro.c309 num_counters = min_t(u8, eax.split.num_counters, OP_MAX_COUNTER); in arch_perfmon_setup_counters()
/xen/xen/common/
A Ddomctl.c50 copy_bytes = min_t(unsigned int, guest_bytes, (nbits + 7) / 8); in bitmap_to_xenctl_bitmap()
79 copy_bytes = min_t(unsigned int, guest_bytes, (nbits + 7) / 8); in xenctl_bitmap_to_bitmap()
A Dtrace.c701 extra_word = min_t(int, extra_word, TRACE_EXTRA_MAX); in __trace_var()
/xen/xen/arch/x86/hvm/
A Demulate.c445 count = min_t(unsigned long, in hvmemul_do_io_addr()
762 *reps = min_t(unsigned long, *reps, 4096); in hvmemul_linear_to_phys()
869 reps = *reps_p = min_t(unsigned long, *reps_p, max_reps); in hvmemul_virtual_to_linear()
1068 chunk = min_t(unsigned int, size, PAGE_SIZE - offset); in hvmemul_linear_mmio_access()
1095 chunk = min_t(unsigned int, size, PAGE_SIZE); in hvmemul_linear_mmio_access()
A Ddom0_build.c461 uint64_t end = min_t(uint64_t, MB(1), in pvh_populate_p2m()
807 madt->header.revision = min_t(unsigned char, table->revision, 4); in pvh_setup_acpi_madt()
/xen/xen/common/xz/
A Ddec_lzma2.c354 left = min_t(size_t, dict->limit - dict->pos, *len); in dict_repeat()
1070 dict_limit(&s->dict, min_t(size_t, in xz_dec_lzma2_run()
A Ddec_bcj.c403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
/xen/xen/lib/x86/
A Dcpuid.c165 for ( i = 2; i < min_t(unsigned int, 63, in x86_cpuid_policy_fill_native()
/xen/tools/libxc/
A Dxc_dom_arm.c309 allocsz = min_t(int, 1024*1024, nr_pfns - pfn); in populate_guest_memory()

Completed in 41 milliseconds

12