Home | History | Annotate | Download | only in src

Lines Matching full:attr

19 			  pid_t pid, const char *attr)
29 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr);
32 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr);
77 pid_t pid, const char *attr)
86 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr);
89 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr);
115 #define getselfattr_def(fn, attr) \
118 return getprocattrcon(c, 0, #attr); \
121 #define setselfattr_def(fn, attr) \
124 return setprocattrcon(c, 0, #attr); \
127 #define all_selfattr_def(fn, attr) \
128 getselfattr_def(fn, attr) \
129 setselfattr_def(fn, attr)
131 #define getpidattr_def(fn, attr) \
134 return getprocattrcon(c, pid, #attr); \