Home
last modified time | relevance | path

Searched refs:BPF_MOV64_IMM (Results 1 – 6 of 6) sorted by relevance

/samples/bpf/
Dtest_cgrp2_sock.c37 BPF_MOV64_IMM(BPF_REG_0, 1), /* r0 = verdict */ in prog_load()
43 BPF_MOV64_IMM(BPF_REG_3, idx), in prog_load()
44 BPF_MOV64_IMM(BPF_REG_2, offsetof(struct bpf_sock, bound_dev_if)), in prog_load()
58 BPF_MOV64_IMM(BPF_REG_3, mark), in prog_load()
62 BPF_MOV64_IMM(BPF_REG_2, offsetof(struct bpf_sock, mark)), in prog_load()
69 BPF_MOV64_IMM(BPF_REG_3, prio), in prog_load()
70 BPF_MOV64_IMM(BPF_REG_2, offsetof(struct bpf_sock, priority)), in prog_load()
Dtest_cgrp2_attach.c48 BPF_MOV64_IMM(BPF_REG_0, MAP_KEY_PACKETS), /* r0 = 0 */ in prog_load()
55 BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */ in prog_load()
59 BPF_MOV64_IMM(BPF_REG_0, MAP_KEY_BYTES), /* r0 = 1 */ in prog_load()
69 BPF_MOV64_IMM(BPF_REG_0, verdict), /* r0 = verdict */ in prog_load()
Dsock_example.c56 BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */ in test_sock()
58 BPF_MOV64_IMM(BPF_REG_0, 0), /* r0 = 0 */ in test_sock()
Dcookie_uid_helper_example.c139 BPF_MOV64_IMM(BPF_REG_4, 0), in prog_load()
149 BPF_MOV64_IMM(BPF_REG_1, 1), in prog_load()
Dfds_example.c58 BPF_MOV64_IMM(BPF_REG_0, 1), in bpf_prog_create()
Dbpf_insn.h64 #define BPF_MOV64_IMM(DST, IMM) \ macro