Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.6.21/arch/powerpc/lib/
Dfeature-fixups-test.S227 #define MAKE_MACRO_TEST(TYPE) \ argument
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##_SECTION(0, 0) \
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/
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 external
[all …]
Dbpf_util.h54 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
58 #define offsetofend(TYPE, MEMBER) \ argument
59 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
Dtest_lirc_mode2.sh31 TYPE=lirc_mode2
35 echo -e ${RED}"FAIL: $TYPE"${NC}
37 echo -e ${GREEN}"PASS: $TYPE"${NC}
/linux-6.6.21/arch/sparc/math-emu/
Dmath_32.c282 #define TYPE(dummy, r, ru, b, bu, a, au) type = (au << 2) | (a << 0) | (bu << 5) | (b << 3) | (ru <… in do_one_mathemu() macro
298 case FSQRTQ: TYPE(3,3,1,3,1,0,0); break; in do_one_mathemu()
302 case FDIVQ: TYPE(3,3,1,3,1,3,1); break; in do_one_mathemu()
303 case FDMULQ: TYPE(3,3,1,2,1,2,1); break; in do_one_mathemu()
304 case FQTOS: TYPE(3,1,1,3,1,0,0); break; in do_one_mathemu()
305 case FQTOD: TYPE(3,2,1,3,1,0,0); break; in do_one_mathemu()
306 case FITOQ: TYPE(3,3,1,1,0,0,0); break; in do_one_mathemu()
307 case FSTOQ: TYPE(3,3,1,1,1,0,0); break; in do_one_mathemu()
308 case FDTOQ: TYPE(3,3,1,2,1,0,0); break; in do_one_mathemu()
309 case FQTOI: TYPE(3,1,0,3,1,0,0); break; in do_one_mathemu()
[all …]
Dmath_64.c176 #define TYPE(ftt, r, ru, b, bu, a, au) type = (au << 2) | (a << 0) | (bu << 5) | (b << 3) | (ru << … in do_mathemu() macro
198 case FABSQ: TYPE(3,3,0,3,0,0,0); break; in do_mathemu()
199 case FSQRTQ: TYPE(3,3,1,3,1,0,0); break; in do_mathemu()
203 case FDIVQ: TYPE(3,3,1,3,1,3,1); break; in do_mathemu()
204 case FDMULQ: TYPE(3,3,1,2,1,2,1); break; in do_mathemu()
205 case FQTOX: TYPE(3,2,0,3,1,0,0); break; in do_mathemu()
206 case FXTOQ: TYPE(3,3,1,2,0,0,0); break; in do_mathemu()
207 case FQTOS: TYPE(3,1,1,3,1,0,0); break; in do_mathemu()
208 case FQTOD: TYPE(3,2,1,3,1,0,0); break; in do_mathemu()
209 case FITOQ: TYPE(3,3,1,1,0,0,0); break; in do_mathemu()
[all …]
/linux-6.6.21/include/linux/
Dstddef.h16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) argument
24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
32 #define offsetofend(TYPE, MEMBER) \ argument
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
93 #define DECLARE_FLEX_ARRAY(TYPE, NAME) \ argument
94 __DECLARE_FLEX_ARRAY(TYPE, NAME)
Dfilter.h138 #define BPF_ENDIAN(TYPE, DST, LEN) \ argument
140 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
220 #define BPF_MOV64_RAW(TYPE, DST, SRC, IMM) \ argument
222 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
228 #define BPF_MOV32_RAW(TYPE, DST, SRC, IMM) \ argument
230 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
527 #define bpf_ctx_range(TYPE, MEMBER) \ argument
528 offsetof(TYPE, MEMBER) ... offsetofend(TYPE, MEMBER) - 1
529 #define bpf_ctx_range_till(TYPE, MEMBER1, MEMBER2) \ argument
530 offsetof(TYPE, MEMBER1) ... offsetofend(TYPE, MEMBER2) - 1
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/
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_str, STR, "'%s'", const char *) \
[all …]
/linux-6.6.21/arch/sparc/include/asm/
Dasm.h10 #define BRANCH32(TYPE, PREDICT, DEST) \ argument
11 TYPE,PREDICT %icc, DEST
12 #define BRANCH32_ANNUL(TYPE, PREDICT, DEST) \ argument
13 TYPE,a,PREDICT %icc, DEST
23 #define BRANCH32(TYPE, PREDICT, DEST) \ argument
24 TYPE DEST
25 #define BRANCH32_ANNUL(TYPE, PREDICT, DEST) \ argument
26 TYPE,a DEST
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_pkt_md_access.c11 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
13 TYPE tmp = *(volatile TYPE *)&skb->FIELD; \
19 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
21 TYPE tmp = *((volatile TYPE *)&skb->FIELD + \
22 TEST_FIELD_OFFSET(skb->FIELD, TYPE)); \
/linux-6.6.21/fs/jfs/
Djfs_btree.h50 #define BT_PAGE(IP, MP, TYPE, ROOT)\ argument
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)\ argument
59 P = (TYPE *)&JFS_IP(IP)->ROOT;\
142 #define BT_GETSEARCH(IP, LEAF, BN, MP, TYPE, P, INDEX, ROOT)\ argument
147 P = (TYPE *)MP->data;\
149 P = (TYPE *)&JFS_IP(IP)->ROOT;\
/linux-6.6.21/tools/lib/bpf/
Dlibbpf_common.h64 #define LIBBPF_OPTS(TYPE, NAME, ...) \ argument
65 struct TYPE NAME = ({ \
66 memset(&NAME, 0, sizeof(struct TYPE)); \
67 (struct TYPE) { \
68 .sz = sizeof(struct TYPE), \
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx.h212 #define CVMX_BUILD_WRITE64(TYPE, ST) \ argument
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) \ argument
227 static inline TYPE##_t cvmx_read64_##TYPE(uint64_t addr) \
229 return *CASTPTR(volatile TYPE##_t, addr); \
/linux-6.6.21/tools/include/nolibc/
Dtypes.h228 #define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD) argument
232 #define container_of(PTR, TYPE, FIELD) ({ \ argument
233 __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \
234 (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \
/linux-6.6.21/arch/mips/crypto/
Dcrc32-mips.c31 #define _ASM_SET_CRC(OP, SZ, TYPE) \ argument
37 ((SZ) << 6) | ((TYPE) << 8)) \
39 ((SZ) << 14) | ((TYPE) << 3)))
40 #define _ASM_UNSET_CRC(op, SZ, TYPE) ".purgem " #op "\n\t" argument
42 #define _ASM_SET_CRC(op, SZ, TYPE) ".set\tcrc\n\t" argument
43 #define _ASM_UNSET_CRC(op, SZ, TYPE) argument
46 #define __CRC32(crc, value, op, SZ, TYPE) \ argument
50 _ASM_SET_CRC(op, SZ, TYPE) \
52 _ASM_UNSET_CRC(op, SZ, TYPE) \
/linux-6.6.21/arch/x86/kernel/fpu/
Dinit.c142 #define CHECK_MEMBER_AT_END_OF(TYPE, MEMBER) \ argument
143 BUILD_BUG_ON(sizeof(TYPE) != \
144 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
/linux-6.6.21/tools/usb/
Dhcd-tests.sh92 for TYPE in $ARGS
103 case $TYPE in
269 echo "Don't understand test type $TYPE"
/linux-6.6.21/tools/include/linux/
Dfilter.h70 #define BPF_ENDIAN(TYPE, DST, LEN) \ argument
72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
116 #define BPF_MOV64_RAW(TYPE, DST, SRC, IMM) \ argument
118 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
124 #define BPF_MOV32_RAW(TYPE, DST, SRC, IMM) \ argument
126 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
/linux-6.6.21/Documentation/userspace-api/media/cec/
Dcec-ioc-adap-g-conn-info.rst71 * .. _`CEC-CONNECTOR-TYPE-NO-CONNECTOR`:
77 * .. _`CEC-CONNECTOR-TYPE-DRM`:
96 * .. _`CEC-DRM-CONNECTOR-TYPE-CARD-NO`:
102 * .. _`CEC-DRM-CONNECTOR-TYPE-CONNECTOR_ID`:
/linux-6.6.21/tools/include/uapi/linux/
Dstddef.h42 #define __DECLARE_FLEX_ARRAY(TYPE, NAME) \ argument
45 TYPE NAME[]; \
/linux-6.6.21/include/uapi/linux/
Dstddef.h47 #define __DECLARE_FLEX_ARRAY(TYPE, NAME) \ argument
50 TYPE NAME[]; \
/linux-6.6.21/include/acpi/platform/
Dacgcc.h69 #define ACPI_FLEX_ARRAY(TYPE, NAME) \ argument
72 TYPE NAME[]; \
/linux-6.6.21/tools/testing/selftests/rseq/
Drseq.h24 #define rseq_sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
28 #define rseq_offsetofend(TYPE, MEMBER) \ argument
29 (offsetof(TYPE, MEMBER) + rseq_sizeof_field(TYPE, MEMBER))
/linux-6.6.21/scripts/genksyms/
Dparse.y109 %token TYPE
259 | TYPE { (*$1)->tag = SYM_TYPEDEF; $$ = $1; }
301 | TYPE
329 | TYPE
380 | TYPE

12345