Lines Matching refs:attached_path
60 free(p->attached_path); in bpf_program_free()
223 if (p->attached_path) { in bpf_program_cgroup_attach()
224 if (!path_equal(p->attached_path, path)) in bpf_program_cgroup_attach()
263 free_and_replace(p->attached_path, copy); in bpf_program_cgroup_attach()
275 if (!p->attached_path) in bpf_program_cgroup_detach()
278 fd = open(p->attached_path, O_DIRECTORY|O_RDONLY|O_CLOEXEC); in bpf_program_cgroup_detach()
298 p->attached_path = mfree(p->attached_path); in bpf_program_cgroup_detach()
372 if (!p || !p->attached_path) in bpf_program_serialize_attachment()
377 escaped = cescape(p->attached_path); in bpf_program_serialize_attachment()
403 p->attached_path = mfree(p->attached_path); in bpf_program_serialize_attachment()
470 .attached_path = TAKE_PTR(unescaped), in bpf_program_deserialize_attachment()