Searched refs:link_update (Results 1 – 1 of 1) sorted by relevance
4322 #define BPF_LINK_UPDATE_LAST_FIELD link_update.old_prog_fd4324 static int link_update(union bpf_attr *attr) in link_update() function4334 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()