/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/cm/util/ |
H A D | cgroups_linux.go | 33 func GetPids(cgroupPath string) ([]int, error) { 37 path, err := filepath.Rel("/", cgroupPath) 44 dir, err = getCgroupV1Path(cgroupPath) 54 func getCgroupV1Path(cgroupPath string) (string, error) { 55 cgroupPath = libcontainerutils.CleanPath(cgroupPath) 57 mnt, root, err := libcontainercgroups.FindCgroupMountpointAndRoot(cgroupPath, "devices") 64 if filepath.IsAbs(cgroupPath) { 66 return filepath.Join(root, mnt, cgroupPath), nil 74 return filepath.Join(parentPath, cgroupPath), nil
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/ |
H A D | CgroupV1SubsystemController.java | 45 public void setPath(String cgroupPath) { in setPath() argument 46 if (root != null && cgroupPath != null) { in setPath() 48 if (!cgroupPath.equals("/")) { in setPath() 49 path = mountPoint + cgroupPath; in setPath() 56 if (root.equals(cgroupPath)) { in setPath() 60 if (cgroupPath.startsWith(root)) { in setPath() 61 if (cgroupPath.length() > root.length()) { in setPath() 62 String cgroupSubstr = cgroupPath.substring(root.length()); in setPath()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/ |
H A D | CgroupV1SubsystemController.java | 45 public void setPath(String cgroupPath) { in setPath() argument 46 if (root != null && cgroupPath != null) { in setPath() 48 if (!cgroupPath.equals("/")) { in setPath() 49 path = mountPoint + cgroupPath; in setPath() 56 if (root.equals(cgroupPath)) { in setPath() 60 if (cgroupPath.startsWith(root)) { in setPath() 61 if (cgroupPath.length() > root.length()) { in setPath() 62 String cgroupSubstr = cgroupPath.substring(root.length()); in setPath()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/ |
H A D | CgroupV1SubsystemController.java | 45 public void setPath(String cgroupPath) { in setPath() argument 46 if (root != null && cgroupPath != null) { in setPath() 48 if (!cgroupPath.equals("/")) { in setPath() 49 path = mountPoint + cgroupPath; in setPath() 56 if (root.equals(cgroupPath)) { in setPath() 60 if (cgroupPath.startsWith(root)) { in setPath() 61 if (cgroupPath.length() > root.length()) { in setPath() 62 String cgroupSubstr = cgroupPath.substring(root.length()); in setPath()
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/opencontainers/runc/libcontainer/cgroups/fscommon/ |
H A D | fscommon_test.go | 25 cgroupPath := filepath.Join(memoryCgroupMount, cgroupName) 26 if err := os.MkdirAll(cgroupPath, 0755); err != nil { 29 defer os.RemoveAll(cgroupPath) 31 if _, err := os.Stat(filepath.Join(cgroupPath, memoryLimit)); err != nil { 38 if err := WriteFile(cgroupPath, memoryLimit, strconv.Itoa(limit)); err != nil {
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/linux/classes/jdk/internal/platform/ |
H A D | CgroupInfo.java | 43 private String cgroupPath; field in CgroupInfo 80 return cgroupPath; in getCgroupPath() 83 public void setCgroupPath(String cgroupPath) { in setCgroupPath() argument 84 this.cgroupPath = cgroupPath; in setCgroupPath()
|
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e_node/ |
H A D | node_container_manager_test.go | 272 cgroupPath := "" 274 cgroupPath = cm.ParseSystemdToCgroupName(kubeReservedCgroup).ToSystemd() 276 cgroupPath = cgroupManager.Name(cm.NewCgroupName(cm.RootCgroupName, kubeReservedCgroup)) 282 …if err := expectFileValToEqual(filepath.Join(subsystems.MountPoints["cpu"], cgroupPath, "cpu.weigh… 286 …if err := expectFileValToEqual(filepath.Join(subsystems.MountPoints["cpu"], cgroupPath, "cpu.share… 297 …if err := expectFileValToEqual(filepath.Join(subsystems.MountPoints["pids"], cgroupPath, "pids.max… 302 cgroupPath = cm.ParseSystemdToCgroupName(systemReservedCgroup).ToSystemd() 304 cgroupPath = cgroupManager.Name(cm.NewCgroupName(cm.RootCgroupName, systemReservedCgroup)) 311 …if err := expectFileValToEqual(filepath.Join(subsystems.MountPoints["cpu"], cgroupPath, "cpu.weigh… 315 …if err := expectFileValToEqual(filepath.Join(subsystems.MountPoints["cpu"], cgroupPath, "cpu.share… [all …]
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/opencontainers/runc/libcontainer/cgroups/ |
H A D | v1_utils.go | 56 func tryDefaultPath(cgroupPath, subsystem string) string { argument 57 if !strings.HasPrefix(defaultPrefix, cgroupPath) { 114 func FindCgroupMountpoint(cgroupPath, subsystem string) (string, error) { argument 120 if path := tryDefaultPath(cgroupPath, subsystem); path != "" { 124 mnt, _, err := FindCgroupMountpointAndRoot(cgroupPath, subsystem) 128 func FindCgroupMountpointAndRoot(cgroupPath, subsystem string) (string, string, error) { argument 138 return findCgroupMountpointAndRootFromMI(mi, cgroupPath, subsystem) 141 func findCgroupMountpointAndRootFromMI(mounts []*mountinfo.Info, cgroupPath, subsystem string) (str… argument 143 if strings.HasPrefix(mi.Mountpoint, cgroupPath) {
|
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/opencontainers/runc/libcontainer/cgroups/ |
H A D | v1_utils.go | 56 func tryDefaultPath(cgroupPath, subsystem string) string { argument 57 if !strings.HasPrefix(defaultPrefix, cgroupPath) { 114 func FindCgroupMountpoint(cgroupPath, subsystem string) (string, error) { argument 120 if path := tryDefaultPath(cgroupPath, subsystem); path != "" { 124 mnt, _, err := FindCgroupMountpointAndRoot(cgroupPath, subsystem) 128 func FindCgroupMountpointAndRoot(cgroupPath, subsystem string) (string, string, error) { argument 138 return findCgroupMountpointAndRootFromMI(mi, cgroupPath, subsystem) 141 func findCgroupMountpointAndRootFromMI(mounts []*mountinfo.Info, cgroupPath, subsystem string) (str… argument 143 if strings.HasPrefix(mi.Mountpoint, cgroupPath) {
|
/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/github.com/opencontainers/runc/libcontainer/cgroups/ |
H A D | v1_utils.go | 56 func tryDefaultPath(cgroupPath, subsystem string) string { argument 57 if !strings.HasPrefix(defaultPrefix, cgroupPath) { 114 func FindCgroupMountpoint(cgroupPath, subsystem string) (string, error) { argument 120 if path := tryDefaultPath(cgroupPath, subsystem); path != "" { 124 mnt, _, err := FindCgroupMountpointAndRoot(cgroupPath, subsystem) 128 func FindCgroupMountpointAndRoot(cgroupPath, subsystem string) (string, string, error) { argument 138 return findCgroupMountpointAndRootFromMI(mi, cgroupPath, subsystem) 141 func findCgroupMountpointAndRootFromMI(mounts []*mountinfo.Info, cgroupPath, subsystem string) (str… argument 143 if strings.HasPrefix(mi.Mountpoint, cgroupPath) {
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/ |
H A D | SubSystem.java | 48 public void setPath(String cgroupPath) { in setPath() argument 49 if (root != null && cgroupPath != null) { in setPath() 51 if (cgroupPath.equals("/")) { in setPath() 52 path = mountPoint + cgroupPath; in setPath() 59 if (root.equals(cgroupPath)) { in setPath() 63 if (root.indexOf(cgroupPath) == 0) { in setPath() 64 if (cgroupPath.length() > root.length()) { in setPath() 65 String cgroupSubstr = cgroupPath.substring(root.length()); in setPath()
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/vendor/github.com/opencontainers/runc/libcontainer/cgroups/ |
H A D | v1_utils.go | 51 func tryDefaultPath(cgroupPath, subsystem string) string { argument 52 if !strings.HasPrefix(defaultPrefix, cgroupPath) { 94 func FindCgroupMountpoint(cgroupPath, subsystem string) (string, error) { argument 100 if path := tryDefaultPath(cgroupPath, subsystem); path != "" { 104 mnt, _, err := FindCgroupMountpointAndRoot(cgroupPath, subsystem) 108 func FindCgroupMountpointAndRoot(cgroupPath, subsystem string) (string, string, error) { argument 124 return findCgroupMountpointAndRootFromReader(f, cgroupPath, subsystem) 127 func findCgroupMountpointAndRootFromReader(reader io.Reader, cgroupPath, subsystem string) (string,… argument 135 if strings.HasPrefix(fields[4], cgroupPath) {
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/cgroups/ |
H A D | v1_utils.go | 51 func tryDefaultPath(cgroupPath, subsystem string) string { argument 52 if !strings.HasPrefix(defaultPrefix, cgroupPath) { 94 func FindCgroupMountpoint(cgroupPath, subsystem string) (string, error) { argument 100 if path := tryDefaultPath(cgroupPath, subsystem); path != "" { 104 mnt, _, err := FindCgroupMountpointAndRoot(cgroupPath, subsystem) 108 func FindCgroupMountpointAndRoot(cgroupPath, subsystem string) (string, string, error) { argument 124 return findCgroupMountpointAndRootFromReader(f, cgroupPath, subsystem) 127 func findCgroupMountpointAndRootFromReader(reader io.Reader, cgroupPath, subsystem string) (string,… argument 135 if strings.HasPrefix(fields[4], cgroupPath) {
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/cgroups/ |
H A D | v1_utils.go | 51 func tryDefaultPath(cgroupPath, subsystem string) string { argument 52 if !strings.HasPrefix(defaultPrefix, cgroupPath) { 94 func FindCgroupMountpoint(cgroupPath, subsystem string) (string, error) { argument 100 if path := tryDefaultPath(cgroupPath, subsystem); path != "" { 104 mnt, _, err := FindCgroupMountpointAndRoot(cgroupPath, subsystem) 108 func FindCgroupMountpointAndRoot(cgroupPath, subsystem string) (string, string, error) { argument 124 return findCgroupMountpointAndRootFromReader(f, cgroupPath, subsystem) 127 func findCgroupMountpointAndRootFromReader(reader io.Reader, cgroupPath, subsystem string) (string,… argument 135 if strings.HasPrefix(fields[4], cgroupPath) {
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/cgroups/ |
H A D | v1_utils.go | 51 func tryDefaultPath(cgroupPath, subsystem string) string { argument 52 if !strings.HasPrefix(defaultPrefix, cgroupPath) { 94 func FindCgroupMountpoint(cgroupPath, subsystem string) (string, error) { argument 100 if path := tryDefaultPath(cgroupPath, subsystem); path != "" { 104 mnt, _, err := FindCgroupMountpointAndRoot(cgroupPath, subsystem) 108 func FindCgroupMountpointAndRoot(cgroupPath, subsystem string) (string, string, error) { argument 124 return findCgroupMountpointAndRootFromReader(f, cgroupPath, subsystem) 127 func findCgroupMountpointAndRootFromReader(reader io.Reader, cgroupPath, subsystem string) (string,… argument 135 if strings.HasPrefix(fields[4], cgroupPath) {
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/containerd/containerd/containerd-1.4.3/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/vendor/github.com/containerd/containerd/runtime/v1/shim/client/ |
H A D | client_linux.go | 35 func setCgroup(cgroupPath string, cmd *exec.Cmd) error { 36 cg, err := cgroups.Load(cgroups.V1, cgroups.StaticPath(cgroupPath)) 38 return errors.Wrapf(err, "failed to load cgroup %s", cgroupPath) 43 return errors.Wrapf(err, "failed to join cgroup %s", cgroupPath)
|