Searched refs:TYPE (Results 1 - 25 of 79) sorted by relevance

1234

/linux-master/arch/powerpc/lib/
H A Dfeature-fixups-test.S227 #define MAKE_MACRO_TEST(TYPE) \
228 globl(ftr_fixup_test_ ##TYPE##_macros) \
231 BEGIN_##TYPE##_SECTION \
235 END_##TYPE##_SECTION(0, 1) \
239 BEGIN_##TYPE##_SECTION \
243 END_##TYPE##_SECTION(0, 0) \
247 BEGIN_##TYPE##_SECTION \
250 BEGIN_##TYPE##_SECTION_NESTED(80) \
253 END_##TYPE##_SECTION_NESTED(0, 1, 80) \
256 END_##TYPE##_SECTIO
[all...]
/linux-master/include/linux/
H A Dstddef.h16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
21 * @TYPE: The structure containing the field of interest
24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER))
29 * @TYPE: The type of the structure
32 #define offsetofend(TYPE, MEMBER) \
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
86 * @TYPE
[all...]
H A Dcache.h99 #define CACHELINE_ASSERT_GROUP_MEMBER(TYPE, GROUP, MEMBER) \
100 BUILD_BUG_ON(!(offsetof(TYPE, MEMBER) >= \
101 offsetofend(TYPE, __cacheline_group_begin__##GROUP) && \
102 offsetofend(TYPE, MEMBER) <= \
103 offsetof(TYPE, __cacheline_group_end__##GROUP)))
107 #define CACHELINE_ASSERT_GROUP_SIZE(TYPE, GROUP, SIZE) \
108 BUILD_BUG_ON(offsetof(TYPE, __cacheline_group_end__##GROUP) - \
109 offsetofend(TYPE, __cacheline_group_begin__##GROUP) > \
/linux-master/arch/sparc/include/asm/
H A Dasm.h10 #define BRANCH32(TYPE, PREDICT, DEST) \
11 TYPE,PREDICT %icc, DEST
12 #define BRANCH32_ANNUL(TYPE, PREDICT, DEST) \
13 TYPE,a,PREDICT %icc, DEST
23 #define BRANCH32(TYPE, PREDICT, DEST) \
24 TYPE DEST
25 #define BRANCH32_ANNUL(TYPE, PREDICT, DEST) \
26 TYPE,a DEST
/linux-master/tools/include/uapi/linux/
H A Dstddef.h35 * @TYPE: The type of each flexible array element
42 #define __DECLARE_FLEX_ARRAY(TYPE, NAME) \
45 TYPE NAME[]; \
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_util.h54 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER))
58 #define offsetofend(TYPE, MEMBER) \
59 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
H A Dtest_tunnel.sh76 ip link add dev $DEV_NS type $TYPE seq $tun_key \
82 ip link add dev $DEV type $TYPE $tun_key external
98 ip link add dev $DEV_NS type $TYPE seq flowlabel 0xbcdef key 2 \
106 ip link add dev $DEV type $TYPE external
117 ip link add dev $DEV_NS type $TYPE seq key 2 \
122 ip link add dev $DEV_NS type $TYPE seq key 2 \
130 ip link add dev $DEV type $TYPE external
147 ip link add dev $DEV_NS type $TYPE seq key 2 \
152 ip link add dev $DEV_NS type $TYPE seq key 2 \
160 ip link add dev $DEV type $TYPE externa
[all...]
H A Dtest_lirc_mode2.sh31 TYPE=lirc_mode2
35 echo -e ${RED}"FAIL: $TYPE"${NC}
37 echo -e ${GREEN}"PASS: $TYPE"${NC}
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_pkt_md_access.c11 #define TEST_FIELD(TYPE, FIELD, MASK) \
13 TYPE tmp = *(volatile TYPE *)&skb->FIELD; \
19 #define TEST_FIELD(TYPE, FIELD, MASK) \
21 TYPE tmp = *((volatile TYPE *)&skb->FIELD + \
22 TEST_FIELD_OFFSET(skb->FIELD, TYPE)); \
/linux-master/include/acpi/platform/
H A Dacgcc.h69 #define ACPI_FLEX_ARRAY(TYPE, NAME) \
72 TYPE NAME[]; \
/linux-master/include/uapi/linux/
H A Dstddef.h40 * @TYPE: The type of each flexible array element
47 #define __DECLARE_FLEX_ARRAY(TYPE, NAME) \
50 TYPE NAME[]; \
/linux-master/tools/lib/bpf/
H A Dlibbpf_common.h64 #define LIBBPF_OPTS(TYPE, NAME, ...) \
65 struct TYPE NAME = ({ \
66 memset(&NAME, 0, sizeof(struct TYPE)); \
67 (struct TYPE) { \
68 .sz = sizeof(struct TYPE), \
/linux-master/fs/jfs/
H A Djfs_btree.h50 #define BT_PAGE(IP, MP, TYPE, ROOT)\
51 (BT_IS_ROOT(MP) ? (TYPE *)&JFS_IP(IP)->ROOT : (TYPE *)(MP)->data)
54 #define BT_GETPAGE(IP, BN, MP, TYPE, SIZE, P, RC, ROOT)\
59 P = (TYPE *)&JFS_IP(IP)->ROOT;\
142 #define BT_GETSEARCH(IP, LEAF, BN, MP, TYPE, P, INDEX, ROOT)\
147 P = (TYPE *)MP->data;\
149 P = (TYPE *)&JFS_IP(IP)->ROOT;\
/linux-master/tools/testing/selftests/kvm/
H A Dguest_print_test.c27 TYPE(test_type_i64, I64, "%ld", int64_t) \
28 TYPE(test_type_u64, U64u, "%lu", uint64_t) \
29 TYPE(test_type_x64, U64x, "0x%lx", uint64_t) \
30 TYPE(test_type_X64, U64X, "0x%lX", uint64_t) \
31 TYPE(test_type_u32, U32u, "%u", uint32_t) \
32 TYPE(test_type_x32, U32x, "0x%x", uint32_t) \
33 TYPE(test_type_X32, U32X, "0x%X", uint32_t) \
34 TYPE(test_type_int, INT, "%d", int) \
35 TYPE(test_type_char, CHAR, "%c", char) \
36 TYPE(test_type_st
40 #define TYPE macro
42 #undef TYPE macro
63 #define TYPE macro
66 #undef TYPE macro
72 #define TYPE macro
79 #undef TYPE macro
[all...]
/linux-master/arch/sparc/math-emu/
H A Dmath_32.c282 #define TYPE(dummy, r, ru, b, bu, a, au) type = (au << 2) | (a << 0) | (bu << 5) | (b << 3) | (ru << 8) | (r << 6) macro
298 case FSQRTQ: TYPE(3,3,1,3,1,0,0); break;
302 case FDIVQ: TYPE(3,3,1,3,1,3,1); break;
303 case FDMULQ: TYPE(3,3,1,2,1,2,1); break;
304 case FQTOS: TYPE(3,1,1,3,1,0,0); break;
305 case FQTOD: TYPE(3,2,1,3,1,0,0); break;
306 case FITOQ: TYPE(3,3,1,1,0,0,0); break;
307 case FSTOQ: TYPE(3,3,1,1,1,0,0); break;
308 case FDTOQ: TYPE(3,3,1,2,1,0,0); break;
309 case FQTOI: TYPE(
[all...]
H A Dmath_64.c176 #define TYPE(ftt, r, ru, b, bu, a, au) type = (au << 2) | (a << 0) | (bu << 5) | (b << 3) | (ru << 8) | (r << 6) | (ftt << 9) macro
198 case FABSQ: TYPE(3,3,0,3,0,0,0); break;
199 case FSQRTQ: TYPE(3,3,1,3,1,0,0); break;
203 case FDIVQ: TYPE(3,3,1,3,1,3,1); break;
204 case FDMULQ: TYPE(3,3,1,2,1,2,1); break;
205 case FQTOX: TYPE(3,2,0,3,1,0,0); break;
206 case FXTOQ: TYPE(3,3,1,2,0,0,0); break;
207 case FQTOS: TYPE(3,1,1,3,1,0,0); break;
208 case FQTOD: TYPE(3,2,1,3,1,0,0); break;
209 case FITOQ: TYPE(
[all...]
/linux-master/tools/include/nolibc/
H A Dtypes.h207 #define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD)
211 #define container_of(PTR, TYPE, FIELD) ({ \
212 __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \
213 (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \
/linux-master/drivers/md/dm-vdo/
H A Dmemory-alloc.h64 * @TYPE: The type of objects to allocate. This type determines the alignment of the allocation.
70 #define vdo_allocate(COUNT, TYPE, WHAT, PTR) \
71 __vdo_do_allocation(COUNT, sizeof(TYPE), 0, __alignof__(TYPE), WHAT, PTR)
/linux-master/arch/x86/kernel/fpu/
H A Dinit.c137 * Enforce that 'MEMBER' is the last field of 'TYPE'.
139 * Align the computed size with alignment of the TYPE,
142 #define CHECK_MEMBER_AT_END_OF(TYPE, MEMBER) \
143 BUILD_BUG_ON(sizeof(TYPE) != \
144 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
/linux-master/arch/loongarch/include/uapi/asm/
H A Dkvm.h77 #define LOONGARCH_REG_64(TYPE, REG) (TYPE | KVM_REG_SIZE_U64 | (REG << LOONGARCH_REG_SHIFT))
/linux-master/arch/mips/crypto/
H A Dcrc32-mips.c31 #define _ASM_SET_CRC(OP, SZ, TYPE) \
37 ((SZ) << 6) | ((TYPE) << 8)) \
39 ((SZ) << 14) | ((TYPE) << 3)))
40 #define _ASM_UNSET_CRC(op, SZ, TYPE) ".purgem " #op "\n\t"
42 #define _ASM_SET_CRC(op, SZ, TYPE) ".set\tcrc\n\t"
43 #define _ASM_UNSET_CRC(op, SZ, TYPE)
46 #define __CRC32(crc, value, op, SZ, TYPE) \
50 _ASM_SET_CRC(op, SZ, TYPE) \
52 _ASM_UNSET_CRC(op, SZ, TYPE) \
/linux-master/tools/usb/
H A Dhcd-tests.sh92 for TYPE in $ARGS
103 case $TYPE in
269 echo "Don't understand test type $TYPE"
/linux-master/lib/zlib_inflate/
H A Dinflate.h29 TYPE, /* i: waiting for type bits, including last-flag bit */ enumerator in enum:__anon673
58 NAME -> COMMENT -> HCRC -> TYPE
59 (zlib) -> DICTID or TYPE
60 DICTID -> DICT -> TYPE
62 TYPE -> STORED or TABLE or LEN or CHECK
63 STORED -> COPY -> TYPE
66 LEN -> LENEXT or LIT or TYPE
/linux-master/tools/usb/usbip/libsrc/
H A Dlist.h124 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx.h212 #define CVMX_BUILD_WRITE64(TYPE, ST) \
213 static inline void cvmx_write64_##TYPE(uint64_t addr, TYPE##_t val) \
215 *CASTPTR(volatile TYPE##_t, addr) = val; \
226 #define CVMX_BUILD_READ64(TYPE, LT) \
227 static inline TYPE##_t cvmx_read64_##TYPE(uint64_t addr) \
229 return *CASTPTR(volatile TYPE##_t, addr); \

Completed in 358 milliseconds

1234