Home
last modified time | relevance | path

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

/kernel/bpf/
Dsyscall.c4322 #define BPF_LINK_UPDATE_LAST_FIELD link_update.old_prog_fd
4324 static int link_update(union bpf_attr *attr) in link_update() function
4334 flags = attr->link_update.flags; in link_update()
4338 link = bpf_link_get_from_fd(attr->link_update.link_fd); in link_update()
4342 new_prog = bpf_prog_get(attr->link_update.new_prog_fd); in link_update()
4349 old_prog = bpf_prog_get(attr->link_update.old_prog_fd); in link_update()
4355 } else if (attr->link_update.old_prog_fd) { in link_update()
4706 err = link_update(&attr); in __sys_bpf()