Lines Matching refs:dev
46 [ -d /dev/cpuctl/group_def ] || mkdir /dev/cpuctl/group_def;
56 echo 10000 > /dev/cpuctl/group_def/cpu.rt_runtime_us;
57 for task in `cat /dev/cpuctl/tasks`; do
58 echo $task > /dev/cpuctl/group_def/tasks 2>/dev/null 1>&2;
71 killall cpuctl_def_task01 1>/dev/null 2>&1;
72 killall cpuctl_def_task02 1>/dev/null 2>&1;
73 killall cpuctl_task_* 1>/dev/null 2>&1;
75 rm -f cpuctl_task_* 2>/dev/null
76 for task in `cat /dev/cpuctl/group_def/tasks`; do
77 echo $task > /dev/cpuctl/tasks 2>/dev/null 1>&2;
79 rmdir /dev/cpuctl/group* 2> /dev/null
80 umount /dev/cpuctl 2> /dev/null
81 rmdir /dev/cpuctl 2> /dev/null
82 rm -f myfifo 2>/dev/null
90 if [ -e /dev/cpuctl ]
94 mkdir /dev/cpuctl;
96 mkdir /dev/cpuctl
98 mount -t cgroup -ocpu cgroup /dev/cpuctl 2> /dev/null
107 groups=/dev/cpuctl/group*
110 rmdir /dev/cpuctl/group*
115 mkfifo myfifo 2> /dev/null;
127 mkdir /dev/cpuctl/$group;# 2>/dev/null