Lines Matching defs:entry

1015 		/* clear the array entry */
1327 struct drmach_msglist *prev; /* link to previous entry */
1328 struct drmach_msglist *next; /* link to next entry */
1329 struct drmach_msglist *link; /* link to related entry */
1346 drmach_msglist_t *drmach_msglist_first; /* first entry in msg list */
1347 drmach_msglist_t *drmach_msglist_last; /* last entry in msg list */
1797 * unlink an entry from the message transaction list
1802 drmach_msglist_unlink(drmach_msglist_t *entry)
1805 if (entry->prev) {
1806 entry->prev->next = entry->next;
1807 if (entry->next)
1808 entry->next->prev = entry->prev;
1810 drmach_msglist_first = entry->next;
1811 if (entry->next)
1812 entry->next->prev = NULL;
1814 if (entry == drmach_msglist_last) {
1815 drmach_msglist_last = entry->prev;
1820 drmach_msglist_link(drmach_msglist_t *entry)
1824 entry->prev = drmach_msglist_last;
1825 drmach_msglist_last->next = entry;
1826 drmach_msglist_last = entry;
1828 drmach_msglist_last = drmach_msglist_first = entry;
1841 drmach_msglist_t *found, *entry;
1906 entry = drmach_msglist_first;
1907 while (entry != NULL) {
1908 if (entry->msgid == msgid) {
1909 found = entry;
1910 drmach_msglist_unlink(entry);
1911 entry = NULL;
1913 entry = entry->next;
1938 entry = drmach_msglist_first;
1939 while (entry != NULL) {
1940 if (entry->p_flag == 1) {
1941 entry->f_error = -1;
1942 mutex_enter(&entry->g_lock);
1943 cv_signal(&entry->g_cv);
1944 mutex_exit(&entry->g_lock);
1945 drmach_msglist_unlink(entry);
1947 entry = entry->next;
1958 drmach_msglist_t *entry;
1968 entry = drmach_msglist_first;
1970 while (entry != NULL) {
1971 if (entry->p_flag == 1) {
1972 entry = entry->next;
1979 mutex_enter(&entry->s_lock);
1980 mp = (dr_mbox_msg_t *)entry->o_buf;
1986 php->command, NULL, entry->o_buflen, (void *)mp,
1999 if (--entry->o_nretry <= 0) {
2002 drmach_msglist_unlink(entry);
2005 entry->f_error = err;
2006 entry->p_flag = 1;
2007 cv_signal(&entry->s_cv);
2017 drmach_msglist_unlink(entry);
2019 entry->f_error = err;
2020 entry->p_flag = 1;
2021 cv_signal(&entry->s_cv);
2025 entry->p_flag = 1;
2026 cv_signal(&entry->s_cv);
2029 mutex_exit(&entry->s_lock);
2032 entry = drmach_msglist_first;
2043 entry = drmach_msglist_first;
2044 while (entry != NULL) {
2045 if (entry->p_flag == 0) {
2046 entry->f_error = -1;
2047 mutex_enter(&entry->s_lock);
2048 cv_signal(&entry->s_cv);
2049 mutex_exit(&entry->s_lock);
2050 drmach_msglist_unlink(entry);
2052 entry = entry->next;
2066 drmach_msglist_t *entry;
2069 entry = drmach_msglist_first;
2070 while (entry) {
2071 if (listp == entry) {
2073 entry = NULL;
2075 entry = entry->next;
2119 /* setup transaction list entry */
2175 * If link is set for this entry, check to see if
2176 * the linked entry has been replied to. If not,
2186 * If the reply to the linked entry hasn't been
4230 /* invalidate entry */
4242 * CASM entry structure
7904 * Allocate an entry in the slot1_paused state table.