Lines Matching defs:who
46 static int OsPermissionToCheck(unsigned int pid, unsigned int who)
54 } else if ((pgroupID == OS_USER_PRIVILEGE_PROCESS_GROUP) && (pid != who)) {
271 int SysSetProcessPriority(int which, int who, int prio)
279 if (who == 0) {
280 who = (int)LOS_GetCurrProcessID();
293 ret = OsPermissionToCheck(who, LOS_GetCurrProcessID());
298 return LOS_SetProcessPriority(who, prio);
325 int SysGetProcessPriority(int which, int who)
327 if (who == 0) {
328 who = (int)LOS_GetCurrProcessID();
331 return OsGetProcessPriority(which, who);