Lines Matching defs:entry

132 	struct schpc_replylist	*prev;		/* link to previous entry */
133 struct schpc_replylist *next; /* link to next entry */
179 static void schpc_replylist_unlink(schpc_replylist_t *entry);
2823 schpc_replylist_t *entry;
2826 entry = schpc_replylist_first;
2827 while (entry != NULL) {
2828 if (entry->transid == transid) {
2831 entry = entry->next;
2833 if (entry) {
2838 mutex_enter(&entry->reply_lock);
2839 if (entry->reply_cexit == B_FALSE) {
2847 entry->type = type;
2848 entry->cmd = cmd;
2849 entry->transid = transid;
2850 entry->length = length;
2851 bcopy((caddr_t)pmsg, &entry->reply, length);
2854 entry->reply_recvd = B_TRUE;
2859 cv_signal(&entry->reply_cv);
2861 mutex_exit(&entry->reply_lock);
2907 * arrived; otherwise, timeout and remove the entry from the schpc_replylist.
2972 schpc_replylist_unlink(schpc_replylist_t *entry)
2980 entry->transid);
2983 if (entry->prev) {
2984 entry->prev->next = entry->next;
2985 if (entry->next)
2986 entry->next->prev = entry->prev;
2988 schpc_replylist_first = entry->next;
2989 if (entry->next)
2990 entry->next->prev = NULL;
2992 if (entry == schpc_replylist_last) {
2993 schpc_replylist_last = entry->prev;
2995 kmem_free(entry, sizeof (schpc_replylist_t));
3023 schpc_replylist_t *entry;
3032 entry = kmem_zalloc(sizeof (schpc_replylist_t), KM_SLEEP);
3033 mutex_init(&entry->reply_lock, NULL, MUTEX_DRIVER, NULL);
3034 cv_init(&entry->reply_cv, NULL, CV_DRIVER, NULL);
3035 entry->type = MBOXSC_MSG_REPLY;
3036 entry->cmd = cmd;
3037 entry->transid = transid;
3038 entry->length = length;
3039 entry->reply_recvd = B_FALSE;
3040 entry->reply_cexit = B_FALSE;
3044 entry->prev = schpc_replylist_last;
3045 schpc_replylist_last->next = entry;
3046 schpc_replylist_last = entry;
3048 schpc_replylist_last = schpc_replylist_first = entry;
3068 return (entry);
3087 schpc_replylist_t *entry;
3115 (void *)&request, schpc_timeout_putmsg, &entry);
3131 (void *)&reply, schpc_timeout_getmsg, entry);
3179 schpc_replylist_t *entry;
3215 (void *)&request, schpc_timeout_putmsg, &entry);
3231 (void *)&reply, schpc_timeout_getmsg, entry);
3941 SCHPC_DEBUG1(D_APID, "Slot %d - slot-names entry not found",