Lines Matching refs:d_name
323 if (*proc_entry->d_name == '.')
327 for (t_name = proc_entry->d_name; *t_name; t_name++) {
335 snprintf(buffer, MAX_PATH, "/proc/%s/comm", proc_entry->d_name);
353 debug_msg("Found workload pid:%s comm:%s", proc_entry->d_name, buffer);
391 if (strtoi(proc_entry->d_name, &pid)) {
392 err_msg("'%s' is not a valid pid", proc_entry->d_name);
399 err_msg("Error setting sched attributes for pid:%s\n", proc_entry->d_name);
403 debug_msg("Set sched attributes for pid:%s\n", proc_entry->d_name);
943 retval = write(cg_fd, proc_entry->d_name, strlen(proc_entry->d_name));
946 proc_entry->d_name, strerror(errno));
950 debug_msg("Set cgroup attributes for pid:%s\n", proc_entry->d_name);