Home
last modified time | relevance | path

Searched refs:EMIT (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/net/
H A Dbpf_jit_comp32.c64 #define EMIT(bytes, len) \ macro
67 #define EMIT1(b1) EMIT(b1, 1)
68 #define EMIT2(b1, b2) EMIT((b1) + ((b2) << 8), 2)
69 #define EMIT3(b1, b2, b3) EMIT((b1) + ((b2) << 8) + ((b3) << 16), 3)
71 EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4)
74 do { EMIT1(b1); EMIT(off, 4); } while (0)
76 do { EMIT2(b1, b2); EMIT(off, 4); } while (0)
78 do { EMIT3(b1, b2, b3); EMIT(off, 4); } while (0)
80 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0)
1926 EMIT(0xC6, 1); break; in do_jit()
[all …]
H A Dbpf_jit_comp.c37 #define EMIT(bytes, len) \ macro
40 #define EMIT1(b1) EMIT(b1, 1)
41 #define EMIT2(b1, b2) EMIT((b1) + ((b2) << 8), 2)
42 #define EMIT3(b1, b2, b3) EMIT((b1) + ((b2) << 8) + ((b3) << 16), 3)
43 #define EMIT4(b1, b2, b3, b4) EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4)
46 do { EMIT1(b1); EMIT(off, 4); } while (0)
48 do { EMIT2(b1, b2); EMIT(off, 4); } while (0)
50 do { EMIT3(b1, b2, b3); EMIT(off, 4); } while (0)
52 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0)
55 #define EMIT_ENDBR() EMIT(gen_endbr(), 4)
[all …]