Lines Matching refs:dest

246                 const char *dest,  in mount_legacy_cgroup_hierarchy()  argument
254 to = strjoina(strempty(dest), "/sys/fs/cgroup/", hierarchy); in mount_legacy_cgroup_hierarchy()
256 r = path_is_mount_point(to, dest, 0); in mount_legacy_cgroup_hierarchy()
294 const char *dest, in mount_legacy_cgns_supported() argument
308 r = path_is_mount_point(cgroup_root, dest, AT_SYMLINK_FOLLOW); in mount_legacy_cgns_supported()
401 const char *dest, in mount_legacy_cgns_unsupported() argument
412 cgroup_root = prefix_roota(dest, "/sys/fs/cgroup"); in mount_legacy_cgns_unsupported()
417 r = path_is_mount_point(cgroup_root, dest, AT_SYMLINK_FOLLOW); in mount_legacy_cgns_unsupported()
458 r = mount_legacy_cgroup_hierarchy(dest, controller, controller, true); in mount_legacy_cgns_unsupported()
467 target = path_join(dest, origin); in mount_legacy_cgns_unsupported()
478 r = mount_legacy_cgroup_hierarchy(dest, combined, combined, true); in mount_legacy_cgns_unsupported()
492 … r = mount_legacy_cgroup_hierarchy(dest, SYSTEMD_CGROUP_CONTROLLER_HYBRID, "unified", false); in mount_legacy_cgns_unsupported()
497 r = mount_legacy_cgroup_hierarchy(dest, SYSTEMD_CGROUP_CONTROLLER_LEGACY, "systemd", false); in mount_legacy_cgns_unsupported()
505 static int mount_unified_cgroups(const char *dest) { in mount_unified_cgroups() argument
509 assert(dest); in mount_unified_cgroups()
511 p = prefix_roota(dest, "/sys/fs/cgroup"); in mount_unified_cgroups()
515 r = path_is_mount_point(p, dest, AT_SYMLINK_FOLLOW); in mount_unified_cgroups()
519 p = prefix_roota(dest, "/sys/fs/cgroup/cgroup.procs"); in mount_unified_cgroups()
533 const char *dest, in mount_cgroups() argument
542 return mount_unified_cgroups(dest); in mount_cgroups()
544 …return mount_legacy_cgns_supported(dest, unified_requested, userns, uid_shift, uid_range, selinux_… in mount_cgroups()
546 …return mount_legacy_cgns_unsupported(dest, unified_requested, userns, uid_shift, uid_range, selinu… in mount_cgroups()
566 const char *dest, in mount_systemd_cgroup_writable() argument
573 assert(dest); in mount_systemd_cgroup_writable()
585 root = prefix_roota(dest, "/sys/fs/cgroup"); in mount_systemd_cgroup_writable()
591 root = prefix_roota(dest, "/sys/fs/cgroup/unified"); in mount_systemd_cgroup_writable()
599 root = prefix_roota(dest, "/sys/fs/cgroup/systemd"); in mount_systemd_cgroup_writable()