Lines Matching refs:callp
929 mp_call_t *callp = NULL;
935 queue_remove_first(&cqp->queue, callp, typeof(callp), link);
938 return callp;
942 mp_call_free(mp_call_t *callp)
948 queue_enter_first(&cqp->queue, callp, typeof(callp), link);
955 mp_call_t *callp = NULL;
959 queue_remove_first(&cqp->queue, callp, typeof(callp), link);
960 return callp;
966 mp_call_t *callp)
968 queue_enter(&cqp->queue, callp, typeof(callp), link);
992 mp_call_t *callp;
1000 callp = (mp_call_t *) kalloc(sizeof(mp_call_t));
1001 mp_call_free(callp);
1016 mp_call_t *callp;
1022 while ((callp = mp_call_dequeue_locked(cqp)) != NULL) {
1024 call = *callp;
1025 mp_call_free(callp);
1153 mp_call_t *callp = NULL;
1157 if (callp == NULL)
1158 callp = mp_call_alloc();
1165 if (callp == NULL) {
1173 callp->countp = NULL;
1175 if (callp == NULL) {
1189 callp->countp = &mp_cpus_calls;
1191 callp->func = action_func;
1192 callp->arg0 = arg0;
1193 callp->arg1 = arg1;
1194 mp_call_enqueue_locked(cqp, callp);