Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 33) sorted by relevance

12

/DragonStub/inc/dragonstub/linux/
H A Dbyteorder_little_endian.h16 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument
17 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument
18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument
19 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument
20 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument
21 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument
22 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument
23 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument
24 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument
25 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument
[all …]
H A Dconst.h26 #define _UL(x) (_AC(x, UL)) argument
27 #define _ULL(x) (_AC(x, ULL)) argument
29 #define _BITUL(x) (_UL(1) << (x)) argument
30 #define _BITULL(x) (_ULL(1) << (x)) argument
32 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) argument
33 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) argument
42 #define __is_constexpr(x) \ argument
H A Dpfn.h22 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) argument
23 #define PFN_UP(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT) argument
24 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) argument
25 #define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT) argument
26 #define PHYS_PFN(x) ((unsigned long)((x) >> PAGE_SHIFT)) argument
H A Dswab.h18 #define ___constant_swab16(x) ((__u16)( \ argument
22 #define ___constant_swab32(x) ((__u32)( \ argument
28 #define ___constant_swab64(x) ((__u64)( \ argument
38 #define ___constant_swahw32(x) ((__u32)( \ argument
42 #define ___constant_swahb32(x) ((__u32)( \ argument
106 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) argument
108 #define __swab16(x) \ argument
119 #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) argument
121 #define __swab32(x) \ argument
132 #define __swab64(x) (__u64)__builtin_bswap64((__u64)(x)) argument
[all …]
H A Dmath.h12 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
22 #define round_up(x, y) ((((x)-1) | __round_mask(x, y)) + 1) argument
32 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
60 #define roundup(x, y) \ argument
73 #define rounddown(x, y) \ argument
85 #define DIV_ROUND_CLOSEST(x, divisor) \ argument
98 #define DIV_ROUND_CLOSEST_ULL(x, divisor) \ argument
H A Dhex.h8 #define hex_asc_lo(x) hex_asc[((x)&0x0f)] argument
9 #define hex_asc_hi(x) hex_asc[((x)&0xf0) >> 4] argument
19 #define hex_asc_upper_lo(x) hex_asc_upper[((x)&0x0f)] argument
20 #define hex_asc_upper_hi(x) hex_asc_upper[((x)&0xf0) >> 4] argument
H A Dcompiler.h7 #define likely(x) __builtin_expect(!!(x), 1) argument
8 #define unlikely(x) __builtin_expect(!!(x), 0) argument
9 #define likely_notrace(x) likely(x) argument
10 #define unlikely_notrace(x) unlikely(x) argument
H A Dalign.h8 #define ALIGN_UP(x, a) __ALIGN_KERNEL((x), (a)) argument
9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument
10 #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) argument
13 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
H A Dbyteorder.h137 #define ___htonl(x) __cpu_to_be32(x) argument
138 #define ___htons(x) __cpu_to_be16(x) argument
139 #define ___ntohl(x) __be32_to_cpu(x) argument
140 #define ___ntohs(x) __be16_to_cpu(x) argument
142 #define htonl(x) ___htonl(x) argument
143 #define ntohl(x) ___ntohl(x) argument
144 #define htons(x) ___htons(x) argument
145 #define ntohs(x) ___ntohs(x) argument
H A Derr.h28 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) argument
H A Dctype.h24 #define __ismask(x) (_ctype[(int)(unsigned char)(x)]) argument
/DragonStub/apps/lib/libfdt/
H A Dlibfdt_env.h31 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument
32 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument
33 #define CPU_TO_FDT32(x) \ argument
36 #define CPU_TO_FDT64(x) \ argument
42 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu()
46 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16()
51 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu()
55 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32()
60 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu()
64 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
H A Dlibfdt_internal.h10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) argument
11 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) argument
/DragonStub/inc/dragonstub/
H A Dcompiler_types.h39 #define __must_hold(x) __attribute__((context(x, 1, 1))) argument
40 #define __acquires(x) __attribute__((context(x, 0, 1))) argument
41 #define __cond_acquires(x) __attribute__((context(x, 0, -1))) argument
42 #define __releases(x) __attribute__((context(x, 1, 0))) argument
43 #define __acquire(x) __context__(x, 1) argument
44 #define __release(x) __context__(x, -1) argument
45 #define __cond_lock(x, c) \ argument
70 #define __chk_user_ptr(x) (void)0 argument
71 #define __chk_io_ptr(x) (void)0 argument
73 #define __must_hold(x) argument
[all …]
H A Dminmax.h21 #define __typecheck(x, y) (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) argument
23 #define __no_side_effects(x, y) (__is_constexpr(x) && __is_constexpr(y)) argument
25 #define __safe_cmp(x, y) (__typecheck(x, y) && __no_side_effects(x, y)) argument
27 #define __cmp(x, y, op) ((x)op(y) ? (x) : (y)) argument
29 #define __cmp_once(x, y, unique_x, unique_y, op) \ argument
36 #define __careful_cmp(x, y, op) \ argument
77 #define min(x, y) __careful_cmp(x, y, <) argument
84 #define max(x, y) __careful_cmp(x, y, >) argument
92 #define min3(x, y, z) min((typeof(x))min(x, y), z) argument
100 #define max3(x, y, z) max((typeof(x))max(x, y), z) argument
[all …]
H A Dcompiler_attributes.h34 #define __aligned(x) __attribute__((__aligned__(x))) argument
45 #define __alloc_size__(x, ...) __attribute__((__alloc_size__(x, ##__VA_ARGS__))) argument
193 #define __mode(x) __attribute__((__mode__(x))) argument
/DragonStub/inc/
H A Deficompiler.h42 #define ALIGN(x) __declspec(align(x)) argument
44 #define ALIGN(x) __attribute__((__aligned__(x))) argument
49 #define __attribute__(x) argument
/DragonStub/lib/arm/
H A Dedk2asm.h2 #define ASM_PFX(x) x argument
3 #define GCC_ASM_EXPORT(x) \ argument
/DragonStub/apps/lib/
H A Dstring.c20 #define TOLOWER(x) ((x) | 0x20) argument
133 #define HASZERO(x) ((x)-ONES & ~(x)&HIGHS) argument
H A Dcmdline.c24 int x, inc_counter, upper_range; in get_range() local
/DragonStub/inc/ia64/
H A Defibind.h225 #define INTERFACE_DECL(x) argument
228 #define INTERFACE_DECL(x) struct x argument
230 #define INTERFACE_DECL(x) typedef struct x argument
/DragonStub/inc/ia32/
H A Defibind.h278 #define INTERFACE_DECL(x) argument
281 #define INTERFACE_DECL(x) struct x argument
283 #define INTERFACE_DECL(x) typedef struct x argument
/DragonStub/inc/dragonstub/linux/arch/riscv/asm/
H A Dasm.h12 #define __ASM_STR(x) #x argument
/DragonStub/inc/x86_64/
H A Defibind.h291 #define INTERFACE_DECL(x) argument
294 #define INTERFACE_DECL(x) struct x argument
296 #define INTERFACE_DECL(x) typedef struct x argument
/DragonStub/lib/
H A Dinit.c237 #define HASZERO(x) ((x)-ONES & ~(x) & HIGHS) argument

12