Lines Matching defs:bytes
51 static u8 *emit_code(u8 *ptr, u32 bytes, unsigned int len)
54 *ptr = bytes;
56 *(u16 *)ptr = bytes;
58 *(u32 *)ptr = bytes;
64 #define EMIT(bytes, len) \
65 do { prog = emit_code(prog, bytes, len); cnt += len; } while (0)
233 /* dst = imm (4 bytes)*/
265 /* zero out high 4 bytes */
382 /* Emit 'ror %ax, 8' to swap lower 2 bytes */
394 /* Emit 'bswap eax' to swap lower 4 bytes */
403 /* Emit 'bswap eax' to swap lower 4 bytes */
407 /* Emit 'bswap edx' to swap lower 4 bytes */
763 /* skip the next two instructions (4 bytes) when < 32 */
816 /* skip the next two instructions (5 bytes) when < 32 */
869 /* skip the next two instructions (4 bytes) when < 32 */
1190 /* Maximum number of bytes emitted while JITing one eBPF insn */
1565 * - 0-1 jit-insn (3 bytes each) to restore the esp pointer if there
1567 * - 0-2 jit-insns (3 bytes each) to handle the return value.
2439 * backwards two bytes. Explicitly handling
2556 * each BPF instruction is translated to less than 64 bytes