Lines Matching defs:cpp
548 SetPriority(const ClientProcessPtr cpp, int cmd)
555 if ( (cpp == NULL) || (cpp->pids == NULL) || (cpp->count == 0) ) {
563 for (i = 0; i < cpp->count ; i++) {
564 id_t pid = cpp->pids[i];
621 cpp->boosted = TRUE;
623 cpp->boosted = FALSE;
644 ClientProcessPtr cpp;
654 cpp = malloc(sizeof(ClientProcessRec));
656 if (cpp == NULL)
659 cpp->pids = malloc(sizeof(ConnectionPidRec)*length);
661 if (cpp->pids == NULL) {
662 free(cpp);
666 cpp->count = length;
667 memcpy(cpp->pids, stuff, sizeof(ConnectionPidRec)*length);
668 cpp->boosted = FALSE;
670 priv->process = cpp;
677 ClientProcessPtr cpp = priv->process;
679 if (cpp == NULL)
683 if (LastPids == cpp)
686 if (cpp->pids != NULL)
687 free(cpp->pids);
689 free(cpp);