/external/ltp/testcases/kernel/controllers/cgroup/ |
cgroup_regression_10_1.sh | 9 mount -t cgroup xxx cgroup/ > /dev/null 2>&1 10 mkdir cgroup/0 > /dev/null 2>&1 11 rmdir cgroup/0 > /dev/null 2>&1 12 umount cgroup/ > /dev/null 2>&1
|
cgroup_regression_6_1.sh | 9 mount -t cgroup -o ns xxx cgroup/ > /dev/null 2>&1 10 rmdir cgroup/[1-9]* > /dev/null 2>&1 11 umount cgroup/ > /dev/null 2>&1
|
cgroup_regression_9_1.sh | 9 mount -t cgroup xxx cgroup/ > /dev/null 2>&1 10 cat cgroup/release_agent > /dev/null 2>&1 11 umount cgroup/ > /dev/null 2>&1
|
cgroup_regression_10_2.sh | 9 mount -t cgroup xxx cgroup/ > /dev/null 2>&1 10 umount cgroup/ > /dev/null 2>&1
|
cgroup_regression_9_2.sh | 9 mount -t cgroup xxx cgroup/ > /dev/null 2>&1 10 umount cgroup/ > /dev/null 2>&1
|
cgroup_regression_test.sh | 19 mkdir cgroup/ 38 if mountpoint -q cgroup/; then 39 find cgroup/ -maxdepth 1 -depth -exec rmdir {} + 40 umount cgroup 41 rmdir cgroup 89 # time cat /cgroup/tasks (should be the very first time to read 90 # /cgroup/tasks, otherwise this bug won't be triggered) 102 mount -t cgroup -o none,name=foo cgroup cgroup/ [all...] |
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
cgroup_util.h | 21 extern int cg_create(const char *cgroup); 22 extern int cg_destroy(const char *cgroup); 23 extern int cg_read(const char *cgroup, const char *control, 25 extern int cg_read_strcmp(const char *cgroup, const char *control, 27 extern int cg_read_strstr(const char *cgroup, const char *control, 29 extern long cg_read_long(const char *cgroup, const char *control); 30 long cg_read_key_long(const char *cgroup, const char *control, const char *key); 31 extern int cg_write(const char *cgroup, const char *control, char *buf); 32 extern int cg_run(const char *cgroup, 33 int (*fn)(const char *cgroup, void *arg) [all...] |
cgroup_util.c | 77 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) 81 snprintf(path, sizeof(path), "%s/%s", cgroup, control); 89 int cg_read_strcmp(const char *cgroup, const char *control, 106 if (cg_read(cgroup, control, buf, size)) { 116 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) 120 if (cg_read(cgroup, control, buf, sizeof(buf))) 126 long cg_read_long(const char *cgroup, const char *control) 130 if (cg_read(cgroup, control, buf, sizeof(buf))) 136 long cg_read_key_long(const char *cgroup, const char *control, const char *key) 141 if (cg_read(cgroup, control, buf, sizeof(buf)) [all...] |
test_memcontrol.c | 42 if (cg_write(parent, "cgroup.subtree_control", "+memory")) 48 if (cg_read_strstr(child, "cgroup.controllers", "memory")) 63 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) 66 if (!cg_read_strstr(child2, "cgroup.controllers", "memory")) 85 static int alloc_anon_50M_check(const char *cgroup, void *arg) 96 current = cg_read_long(cgroup, "memory.current"); 103 anon = cg_read_key_long(cgroup, "memory.stat", "anon "); 116 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) 130 current = cg_read_long(cgroup, "memory.current"); 134 file = cg_read_key_long(cgroup, "memory.stat", "file ") [all...] |
/external/ltp/testcases/kernel/controllers/io-throttle/ |
myfunctions-io.sh | 30 mount -t cgroup -o blockio cgroup /dev/blockioctl 32 echo "ERROR: could not mount cgroup filesystem " \ 38 if [ -e /dev/blockioctl/cgroup-$i ]; then 39 rmdir /dev/blockioctl/cgroup-$i 40 echo "WARN: earlier cgroup-$i found and removed" 42 mkdir /dev/blockioctl/cgroup-$i 44 echo "ERROR: could not create cgroup-$i" \ 56 rmdir /dev/blockioctl/cgroup-$i 57 rm -f /tmp/cgroup-$i.ou [all...] |
run_io_throttle_test.sh | 44 # show cgroup i/o bandwidth limits 46 MYGROUP=cgroup-$i 67 /dev/blockioctl/cgroup-$i/${io_throttle_file} 69 echo "ERROR: could not set i/o bandwidth limit for cgroup-$i. Exiting test." 81 echo -n ">> testing $tasks parallel $stream per cgroup " 88 MYGROUP=cgroup-$i 91 echo "ERROR: could not set i/o bandwidth limit for cgroup-$i. Exiting test." 103 MYGROUP=cgroup-$i
|
/external/ltp/testcases/kernel/controllers/ |
cgroup_lib.sh | 18 mntpoint=$(grep cgroup /proc/mounts | grep -w $subsystem | awk '{ print $2 }')
|
/external/ltp/testcases/kernel/controllers/memctl/ |
myfunctions.sh | 26 # mounting it with cgroup filesystem with option memory and # 29 # Functions: setup(): creaes /dev/memctl, mounts cgroup fs on it, creates # 54 # Create /dev/memctl & mount the cgroup file system with memory controller 67 mount -t cgroup -omemory cgroup /dev/memctl 2> /dev/null 70 echo "ERROR: Could not mount cgroup filesystem on /dev/memctl..Exiting test";
|
/external/libnl/lib/cli/cls/ |
cgroup.c | 2 * lib/cli/cls/cgroup.c cgroup classifier module for CLI lib 15 #include <netlink/route/cls/cgroup.h> 20 "Usage: nl-cls-add [...] cgroup [OPTIONS]...\n" 27 " nl-cls-add --dev=eth0 --parent=q_root cgroup\n"); 62 .tm_name = "cgroup",
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
parameters.sh | 26 # cgroup filesystem with option cpu and creating groups in it. # 29 # setup(): creaes /dev/cpuctl, mounts cgroup fs on it, creates # 85 # Create /dev/cpuctl & mount the cgroup file system with cpu controller 98 mount -t cgroup -ocpu cgroup /dev/cpuctl 2> /dev/null 101 echo "ERROR: Could not mount cgroup filesystem on /dev/cpuctl..Exiting test";
|
/external/ltp/testcases/kernel/controllers/memcg/control/ |
memcg_control_test.sh | 131 mount -t cgroup -o memory cgroup $TST_PATH/mnt 2> /dev/null 133 tst_brkm TBROK NULL "Mounting cgroup to temp dir failed"
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
SimpleIOService.java | 41 File cgroup = new File("/proc/self/cgroup"); local 42 try (BufferedReader br = new BufferedReader(new FileReader(cgroup))) { 73 Log.i("SimpleIOService", "cgroup:" + getCgroupCpuset());
|
/external/ltp/testcases/kernel/controllers/cpuacct/ |
cpuacct.sh | 74 mount_point=/dev/cgroup 81 ROD mount -t cgroup -o cpuacct none $mount_point
|
/external/autotest/client/tests/cgroup/ |
cgroup.py | 7 from cgroup_common import Cgroup as CG 10 class cgroup(test.test): class in inherits:test.test 12 Tests the cgroup functionalities. It works by creating a process (which is 22 Try to access different resources which are restricted by cgroup. 24 logging.info('Starting cgroup testing') 61 raise error.TestFail('Can\'t mount any cgroup modules') 84 err += "\nCan't remove cgroup directory" 97 raise error.TestFail("cgroup init failed") 104 raise error.TestFail("Can't create cgroup") 140 # Fill the memory without cgroup limitatio [all...] |
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
cgroup_fj_common.sh | 97 mount_point=`grep -w $subsystem /proc/mounts | grep -w "cgroup" | \ 102 mount_point="/dev/cgroup" 105 ROD mount -t cgroup -o "$subsystem" "ltp_cgroup" "$mount_point"
|
/external/ltp/testcases/kernel/controllers/memcg/stress/ |
memcg_stress_test.sh | 56 mount -t cgroup -omemory memcg /dev/memcg
|
/external/tensorflow/tools/ |
tf_env_collect.sh | 47 num=`cat /proc/1/cgroup | grep docker | wc -l`;
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
sb_bc_parser.cpp | 249 cgroup = 0; 269 cgroup = !cgroup; 270 memset(slots[cgroup], 0, 5*sizeof(slots[0][0])); 282 if (!sh->assign_slot(n, slots[cgroup])) { 365 cgroup = !cgroup; 366 memset(slots[cgroup], 0, 5*sizeof(slots[0][0])); 373 if (!sh->assign_slot(n, slots[cgroup])) { 473 unsigned pgroup = !cgroup, prev_slot = src.sel == ALU_SRC_PS [all...] |
/external/autotest/site_utils/ |
bind_mysql_to_cpuset.sh | 144 proc_list=$(cat ${MOUNT_DIR}/${MYSQL_CPUSET}/cgroup.procs)
|
/external/libnl/lib/route/cls/ |
cgroup.c | 2 * lib/route/cls/cgroup.c Control Groups Classifier 26 #include <netlink/route/cls/cgroup.h> 166 .to_kind = "cgroup",
|