Searched refs:subsys (Results 1 - 15 of 15) sorted by relevance

/lxc/config/init/common/
H A Dlxc-containers.in35 if [ -d "$localstatedir"/lock/subsys ]
37 lockdir="$localstatedir"/lock/subsys
/lxc/src/lxc/
H A Dlxccontainer.h484 * \param subsys cgroup subsystem to retrieve.
486 * subsys into (or \c NULL to determine length of value).
489 * \return Length of \p subsys value, or < 0 on error.
495 int (*get_cgroup_item)(struct lxc_container *c, const char *subsys, char *retv, int inlen);
501 * \param subsys cgroup subsystem to consider.
502 * \param value Value to set for \p subsys.
506 bool (*set_cgroup_item)(struct lxc_container *c, const char *subsys, const char *value);
H A Dlxccontainer.c2574 static bool do_lxcapi_set_cgroup_item(struct lxc_container *c, const char *subsys, const char *value) argument
2587 ret = lxc_cgroup_set(subsys, value, c->name, c->config_path);
2595 static int do_lxcapi_get_cgroup_item(struct lxc_container *c, const char *subsys, char *retv, int inlen) argument
2608 ret = lxc_cgroup_get(subsys, retv, inlen, c->name, c->config_path);
/lxc/templates/
H A Dlxc-centos.in287 rm -f /var/lock/subsys/*
301 rm -f /etc/mtab /var/run/*.{pid,lock} /var/lock/subsys/*
540 mkdir -p /var/lock/subsys/
574 ) 9>/var/lock/subsys/lxc-centos
677 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-centos
H A Dlxc-slackware.in227 rm -f /var/lock/subsys/*
498 mkdir -p /var/lock/subsys/
628 ) 9>/var/lock/subsys/lxc
675 ) 9>/var/lock/subsys/lxc
H A Dlxc-altlinux.in227 mkdir -p @LOCALSTATEDIR@/lock/subsys/
259 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-altlinux
353 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-altlinux
H A Dlxc-openmandriva.in187 mkdir -p @LOCALSTATEDIR@/lock/subsys/
220 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-openmandriva
313 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-openmandriva
H A Dlxc-plamo.in113 mkdir -p @LOCALSTATEDIR@/lock/subsys
146 ) 9> @LOCALSTATEDIR@/lock/subsys/lxc-plamo
283 ) 9> @LOCALSTATEDIR@/lock/subsys/lxc-plamo
H A Dlxc-debian.in348 mkdir -p $LOCALSTATEDIR/lock/subsys/
373 ) 9>$LOCALSTATEDIR/lock/subsys/lxc-debian
487 ) 9>$LOCALSTATEDIR/lock/subsys/lxc-debian
H A Dlxc-opensuse.in259 mkdir -p @LOCALSTATEDIR@/lock/subsys/
284 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-opensuse
397 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-opensuse
H A Dlxc-fedora.in1036 mkdir -p @LOCALSTATEDIR@/lock/subsys/
1069 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-fedora
1175 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-fedora
H A Dlxc-ubuntu.in453 mkdir -p $LOCALSTATEDIR/lock/subsys/
487 ) 9>$LOCALSTATEDIR/lock/subsys/lxc-ubuntu$release
H A Dlxc-sparclinux.in445 mkdir -p @LOCALSTATEDIR@/lock/subsys
549 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-sparclinux-$name
H A Dlxc-gentoo.in43 mkdir -p @LOCALSTATEDIR@/lock/subsys/
64 } 50> "@LOCALSTATEDIR@/lock/subsys/lxc-gentoo-${lock_name}"
H A Dlxc-oracle.in627 mkdir -p @LOCALSTATEDIR@/lock/subsys
797 ) 9>@LOCALSTATEDIR@/lock/subsys/lxc-oracle-$name

Completed in 38 milliseconds