Home
last modified time | relevance | path

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

/Linux-v5.4/tools/bpf/bpftool/
Dprog.c679 int *mapfd) in parse_attach_detach_args() argument
695 *mapfd = -1; in parse_attach_detach_args()
703 *mapfd = map_parse_fd(&argc, &argv); in parse_attach_detach_args()
704 if (*mapfd < 0) in parse_attach_detach_args()
705 return *mapfd; in parse_attach_detach_args()
714 int mapfd; in do_attach() local
717 &progfd, &attach_type, &mapfd); in do_attach()
721 err = bpf_prog_attach(progfd, mapfd, attach_type, 0); in do_attach()
736 int mapfd; in do_detach() local
739 &progfd, &attach_type, &mapfd); in do_detach()
[all …]