Lines Matching refs:procfs
322 DIR *procfs; in set_comm_sched_attr() local
331 procfs = opendir("/proc"); in set_comm_sched_attr()
332 if (!procfs) { in set_comm_sched_attr()
337 while ((proc_entry = readdir(procfs))) { in set_comm_sched_attr()
355 closedir(procfs); in set_comm_sched_attr()
696 DIR *procfs; in set_comm_cgroup() local
732 procfs = opendir("/proc"); in set_comm_cgroup()
733 if (!procfs) { in set_comm_cgroup()
738 while ((proc_entry = readdir(procfs))) { in set_comm_cgroup()
754 closedir(procfs); in set_comm_cgroup()
759 closedir(procfs); in set_comm_cgroup()