/kvm-unit-tests/lib/asm-generic/ |
H A D | atomic.h | 5 #define atomic_fetch_inc(ptr) __sync_fetch_and_add(ptr, 1) argument 6 #define atomic_fetch_dec(ptr) __sync_fetch_and_add(ptr, -1) argument 7 #define atomic_fetch_add(ptr, n) __sync_fetch_and_add(ptr, n) argument 8 #define atomic_fetch_sub(ptr, n) __sync_fetch_and_sub(ptr, n) argument 9 #define atomic_fetch_and(ptr, n) __sync_fetch_and_and(ptr, n) argument 10 #define atomic_fetch_or(ptr, n) __sync_fetch_and_or(ptr, n) argument 11 #define atomic_fetch_xor(ptr, n) __sync_fetch_and_xor(ptr, n) argument 13 #define atomic_inc_fetch(ptr) __sync_add_and_fetch(ptr, 1) argument 14 #define atomic_dec_fetch(ptr) __sync_add_and_fetch(ptr, -1) argument 15 #define atomic_add_fetch(ptr, n) __sync_add_and_fetch(ptr, n) argument [all …]
|
/kvm-unit-tests/lib/s390x/asm/ |
H A D | bitops.h | 21 const volatile unsigned long *ptr) in test_bit() 31 const volatile unsigned long *ptr) in test_bit_inv()
|
/kvm-unit-tests/lib/ |
H A D | alloc.c | 14 void *ptr; in calloc() local 23 void free(void *ptr) in free()
|
H A D | vmalloc.c | 47 uintptr_t ptr; in do_alloc_vpages() local 165 uintptr_t ptr, page, i; in vm_free() local
|
H A D | libcflat.h | 127 #define container_of(ptr, type, member) ({ \ argument
|
H A D | efi.c | 56 static void efi_free_pool(void *ptr) in efi_free_pool()
|
H A D | string.c | 278 long atol(const char *ptr) in atol()
|
/kvm-unit-tests/lib/arm/ |
H A D | gic-v3.c | 17 void *ptr = gicv3_data.redist_bases[i]; in gicv3_set_redist_base() local 181 void *ptr; in gicv3_lpi_alloc_tables() local 197 u8 *ptr = gicv3_data.lpi_pend[rdist]; in gicv3_lpi_set_clr_pending() local 211 void *ptr; in gicv3_lpi_rdist_ctrl() local
|
/kvm-unit-tests/x86/ |
H A D | lam.c | 83 static void test_ptr(u64* ptr, bool is_mmio) in test_ptr() 116 u64 *ptr; in test_invlpg() local
|
H A D | eventinj.c | 46 struct descriptor_table_ptr ptr; in flush_idt_page() local
|
H A D | pmu.c | 601 static void do_rdpmc_fast(void *ptr) in do_rdpmc_fast()
|
H A D | realmode.c | 163 u16 ptr; member
|
/kvm-unit-tests/lib/s390x/ |
H A D | mmu.c | 198 void *ptr; in dat_get_and_invalidate() local 287 unsigned long old, *ptr; in protect_dat_entry() local 295 unsigned long old, *ptr; in unprotect_dat_entry() local
|
H A D | sclp-console.c | 172 unsigned char *ptr, *end, ch; in lm_print() local
|
/kvm-unit-tests/powerpc/ |
H A D | tm.c | 18 static void cpu_has_tm(int fdtnode, u64 regval __unused, void *ptr) in cpu_has_tm()
|
/kvm-unit-tests/s390x/ |
H A D | edat.c | 31 static bool check_pgm_prot(void *ptr) in check_pgm_prot()
|
H A D | pv-icptcode.c | 282 uint32_t *ptr = 0; in run_icpt_122_tests_prefix() local
|
/kvm-unit-tests/lib/x86/ |
H A D | atomic.h | 73 static inline u64 atomic64_read(atomic64_t *ptr) in atomic64_read()
|
H A D | processor.h | 766 static inline void lgdt(const struct descriptor_table_ptr *ptr) in lgdt() 771 static inline int lgdt_safe(const struct descriptor_table_ptr *ptr) in lgdt_safe() 776 static inline int lgdt_fep_safe(const struct descriptor_table_ptr *ptr) in lgdt_fep_safe() 781 static inline void sgdt(struct descriptor_table_ptr *ptr) in sgdt() 786 static inline void lidt(const struct descriptor_table_ptr *ptr) in lidt() 791 static inline int lidt_safe(const struct descriptor_table_ptr *ptr) in lidt_safe() 796 static inline int lidt_fep_safe(const struct descriptor_table_ptr *ptr) in lidt_fep_safe() 801 static inline void sidt(struct descriptor_table_ptr *ptr) in sidt()
|
/kvm-unit-tests/arm/ |
H A D | mte.c | 160 for (unsigned long ptr = start; ptr < end; ptr += 16) { in mte_set_tag() local
|
H A D | gic.c | 880 void *ptr; in test_its_pending_migration() local
|
/kvm-unit-tests/riscv/ |
H A D | sbi-fwft.c | 232 unsigned long *ptr = malloc(sizeof(unsigned long)); in adue_check() local
|
H A D | sbi-sse.c | 225 void *ptr; in sse_test_attrs() local
|
/kvm-unit-tests/lib/libfdt/ |
H A D | fdt_sw.c | 327 void *ptr; in fdt_property() local
|
/kvm-unit-tests/lib/arm64/ |
H A D | gic-v3-its-cmd.c | 150 static u64 its_cmd_ptr_to_offset(struct its_cmd_block *ptr) in its_cmd_ptr_to_offset()
|