/kvm-unit-tests/lib/asm-generic/ |
H A D | atomic.h | 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 15 #define atomic_add_fetch(ptr, n) __sync_add_and_fetch(ptr, n) argument 16 #define atomic_sub_fetch(ptr, n) __sync_sub_and_fetch(ptr, n) argument 17 #define atomic_and_fetch(ptr, n) __sync_and_and_fetch(ptr, n) argument 18 #define atomic_or_fetch(ptr, n) __sync_or_and_fetch(ptr, n) argument 19 #define atomic_xor_fetch(ptr, n) __sync_xor_and_fetch(ptr, n) argument
|
/kvm-unit-tests/lib/powerpc/asm/ |
H A D | ppc_asm.h | 7 #define SAVE_GPR(n, base) std n,GPR0+8*(n)(base) argument 8 #define REST_GPR(n, base) ld n,GPR0+8*(n)(base) argument
|
/kvm-unit-tests/lib/ |
H A D | string.c | 48 int strncmp(const char *a, const char *b, size_t n) in strncmp() 57 int strncasecmp(const char *a, const char *b, size_t n) in strncasecmp() 118 void *memset(void *s, int c, size_t n) in memset() 129 void *memcpy(void *dest, const void *src, size_t n) in memcpy() 141 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() 155 void *memmove(void *dest, const void *src, size_t n) in memmove() 171 void *memchr(const void *s, int c, size_t n) in memchr() 306 size_t n = strlen(pattern); in simple_glob() local
|
H A D | bitops.h | 39 #define upper_32_bits(n) ((u32)(((n) >> 16) >> 16)) argument 40 #define lower_32_bits(n) ((u32)(n)) argument 80 static inline bool is_power_of_2(unsigned long n) in is_power_of_2()
|
H A D | alloc_page.c | 359 int reserve_pages(phys_addr_t addr, size_t n) in reserve_pages() 379 void unreserve_pages(phys_addr_t addr, size_t n) in unreserve_pages() 465 static void _page_alloc_init_area(u8 n, pfn_t start_pfn, pfn_t top_pfn) in _page_alloc_init_area() 531 static void __page_alloc_init_area(u8 n, pfn_t cutoff, pfn_t base_pfn, pfn_t *top_pfn) in __page_alloc_init_area() 552 void page_alloc_init_area(u8 n, phys_addr_t base_pfn, phys_addr_t top_pfn) in page_alloc_init_area()
|
H A D | ldiv32.c | 15 int n = 0; in __clzsi2() local 44 int n = __builtin_clzll(den) - __builtin_clzll(num); in __udivmoddi4() local
|
H A D | rand.c | 125 static void sha256_hash(unsigned int n, const uint32_t (*input)[n], uint32_t (*hash)[8]) in sha256_hash()
|
H A D | printf.c | 159 static void print_int(pstream_t *ps, long long n, int base, strprops_t props) in print_int() 194 static void print_unsigned(pstream_t *ps, unsigned long long n, int base, in print_unsigned() 457 int n; in binstr() local
|
H A D | devicetree.h | 30 #define dt_for_each_subnode(n, s) \ argument
|
H A D | report.c | 84 void report_prefix_popn(int n) in report_prefix_popn()
|
/kvm-unit-tests/arm/ |
H A D | debug.c | 78 static void write_dbgbcr(int n, uint32_t bcr) in write_dbgbcr() 118 static void write_dbgbvr(int n, uint64_t bvr) in write_dbgbvr() 158 static void write_dbgwcr(int n, uint32_t wcr) in write_dbgwcr() 198 static void write_dbgwvr(int n, uint64_t wvr) in write_dbgwvr()
|
/kvm-unit-tests/x86/ |
H A D | smptest.c | 9 int n = (long)data; in ipi_test() local
|
H A D | kvmclock.c | 56 # define do_div(n,base) ({ \ argument 65 u32 __attribute__((weak)) __div64_32(u64 *n, u32 base) in __div64_32() 98 # define do_div(n,base) ({ \ argument
|
H A D | vmware_backdoors.c | 88 #define RDPMC_ARG(n, m, sf) {.usermode = m, \ argument
|
H A D | debug.c | 21 static volatile unsigned int n; variable
|
/kvm-unit-tests/lib/libfdt/ |
H A D | libfdt_internal.h | 36 static inline const struct fdt_reserve_entry *fdt_mem_rsv_(const void *fdt, int n) in fdt_mem_rsv_() 44 static inline struct fdt_reserve_entry *fdt_mem_rsv_w_(void *fdt, int n) in fdt_mem_rsv_w_()
|
H A D | libfdt_env.h | 29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument
|
H A D | fdt_ro.c | 40 const char *s, *n; in fdt_get_string() local 160 static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n) in fdt_mem_rsv() 175 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv()
|
/kvm-unit-tests/lib/arm/ |
H A D | gic-v3.c | 169 unsigned long n = SZ_64K >> PAGE_SHIFT; in gicv3_lpi_alloc_tables() local 195 void gicv3_lpi_set_clr_pending(int rdist, int n, bool set) in gicv3_lpi_set_clr_pending()
|
/kvm-unit-tests/lib/s390x/ |
H A D | malloc_io.c | 46 int n; in alloc_io_mem() local
|
H A D | css_lib.c | 80 int i, n; in get_chsc_scsc() local
|
/kvm-unit-tests/lib/linux/ |
H A D | psci.h | 26 #define PSCI_0_2_FN(n) (PSCI_0_2_FN_BASE + (n)) argument 30 #define PSCI_0_2_FN64(n) (PSCI_0_2_FN64_BASE + (n)) argument
|
/kvm-unit-tests/lib/arm64/ |
H A D | gic-v3-its.c | 116 unsigned long n; in its_create_device() local
|
/kvm-unit-tests/s390x/ |
H A D | adtl-status.c | 40 static bool memisset(void *s, int c, size_t n) in memisset()
|
/kvm-unit-tests/lib/arm64/asm/ |
H A D | pgtable-hwdef.h | 22 #define PGTABLE_LEVEL_SHIFT(n) \ argument
|