Searched refs:lmk_procprio_cmd (Results 1 – 1 of 1) sorted by relevance
130 int lmk_procprio_cmd[4]; in write_oomadj_to_lmkd() local143 lmk_procprio_cmd[0] = htonl(1); in write_oomadj_to_lmkd()144 lmk_procprio_cmd[1] = htonl(getpid()); in write_oomadj_to_lmkd()145 lmk_procprio_cmd[2] = htonl(getuid()); in write_oomadj_to_lmkd()146 lmk_procprio_cmd[3] = htonl(oomadj); in write_oomadj_to_lmkd()148 int written = write(sock, lmk_procprio_cmd, sizeof(lmk_procprio_cmd)); in write_oomadj_to_lmkd()