Searched refs:BPF_MOV64_IMM (Results 1 – 6 of 6) sorted by relevance
/samples/bpf/ |
D | test_cgrp2_sock.c | 37 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()
|
D | test_cgrp2_attach.c | 48 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()
|
D | sock_example.c | 56 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()
|
D | cookie_uid_helper_example.c | 139 BPF_MOV64_IMM(BPF_REG_4, 0), in prog_load() 149 BPF_MOV64_IMM(BPF_REG_1, 1), in prog_load()
|
D | fds_example.c | 58 BPF_MOV64_IMM(BPF_REG_0, 1), in bpf_prog_create()
|
D | bpf_insn.h | 64 #define BPF_MOV64_IMM(DST, IMM) \ macro
|