Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dbpf-program.c60 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()
[all …]
Dbpf-program.h31 char *attached_path; member
/systemd-251/src/portable/
Dportable.c1074 static const char *attached_path(const LookupPaths *paths, PortableFlags flags) { in attached_path() function
1109 where = attached_path(paths, flags); in attach_unit_file()
1551 where = attached_path(&paths, flags); in portable_detach()
1729 where = attached_path(&paths, flags); in portable_get_state_internal()