Searched refs:mapfd (Results 1 – 1 of 1) sorted by relevance
679 int *mapfd) in parse_attach_detach_args() argument695 *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() local717 &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() local739 &progfd, &attach_type, &mapfd); in do_detach()[all …]