Home
last modified time | relevance | path

Searched refs:primer (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/
Dsyscall.c2326 void bpf_link_cleanup(struct bpf_link_primer *primer) in bpf_link_cleanup() argument
2328 primer->link->prog = NULL; in bpf_link_cleanup()
2329 bpf_link_free_id(primer->id); in bpf_link_cleanup()
2330 fput(primer->file); in bpf_link_cleanup()
2331 put_unused_fd(primer->fd); in bpf_link_cleanup()
2451 int bpf_link_prime(struct bpf_link *link, struct bpf_link_primer *primer) in bpf_link_prime() argument
2474 primer->link = link; in bpf_link_prime()
2475 primer->file = file; in bpf_link_prime()
2476 primer->fd = fd; in bpf_link_prime()
2477 primer->id = id; in bpf_link_prime()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dbpf.h1382 int bpf_link_prime(struct bpf_link *link, struct bpf_link_primer *primer);
1383 int bpf_link_settle(struct bpf_link_primer *primer);
1384 void bpf_link_cleanup(struct bpf_link_primer *primer);
1625 struct bpf_link_primer *primer) in bpf_link_prime() argument
1630 static inline int bpf_link_settle(struct bpf_link_primer *primer) in bpf_link_settle() argument
1635 static inline void bpf_link_cleanup(struct bpf_link_primer *primer) in bpf_link_cleanup() argument
/kernel/linux/linux-5.10/Documentation/kernel-hacking/
Dhacking.rst14 requirements for kernel code: its goal is to serve as a primer for Linux