/xen/tools/include/xen-tools/ |
A D | libs.h | 44 #ifndef min_t 45 #define min_t(type, x, y) \ macro
|
/xen/xen/arch/x86/ |
A D | cpuid.c | 315 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 D | debug.c | 123 pagecnt = min_t(long, PAGE_SIZE - (addr & ~PAGE_MASK), len); in dbg_rw_guest_mem()
|
A D | sysctl.c | 385 nr = min_t(unsigned int, sysctl->u.cpu_featureset.nr_features, in arch_do_sysctl()
|
A D | numa.c | 365 return min_t(unsigned int, in arch_get_dma_bitsize()
|
A D | dom0_build.c | 418 d->max_pages = min_t(unsigned long, max_pages, UINT_MAX); in dom0_compute_nr_pages()
|
/xen/xen/include/xen/ |
A D | nodemask.h | 196 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 D | kernel.h | 33 #define min_t(type,x,y) \ macro
|
A D | cpumask.h | 211 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 D | grant_table.h | 47 min_t(unsigned int, opt_max_grant_frames, PFN_DOWN(_etext - _stext))
|
/xen/docs/designs/ |
A D | dmop.pandoc | 97 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 D | vesa.c | 87 vram_remap = min_t(unsigned int, vram_remap, vram_total); in vesa_early_init()
|
/xen/tools/firmware/hvmloader/ |
A D | util.h | 46 #define min_t(type,x,y) \ macro
|
A D | pci.c | 381 unsigned int nr_pages = min_t( in pci_setup()
|
/xen/xen/drivers/vpci/ |
A D | msi.c | 41 unsigned int vectors = min_t(uint8_t, in control_write()
|
/xen/tools/tests/vhpet/ |
A D | emul.h | 123 #define min_t(type, x, y) \ macro
|
/xen/xen/arch/x86/oprofile/ |
A D | op_model_ppro.c | 309 num_counters = min_t(u8, eax.split.num_counters, OP_MAX_COUNTER); in arch_perfmon_setup_counters()
|
/xen/xen/common/ |
A D | domctl.c | 50 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 D | trace.c | 701 extra_word = min_t(int, extra_word, TRACE_EXTRA_MAX); in __trace_var()
|
/xen/xen/arch/x86/hvm/ |
A D | emulate.c | 445 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 D | dom0_build.c | 461 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 D | dec_lzma2.c | 354 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 D | dec_bcj.c | 403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
|
/xen/xen/lib/x86/ |
A D | cpuid.c | 165 for ( i = 2; i < min_t(unsigned int, 63, in x86_cpuid_policy_fill_native()
|
/xen/tools/libxc/ |
A D | xc_dom_arm.c | 309 allocsz = min_t(int, 1024*1024, nr_pfns - pfn); in populate_guest_memory()
|