Home | History | Annotate | Download | only in mail

Lines Matching defs:t_head

57 	struct message *t_head;		/* head of the thread */
110 (void)printf("current_thread.t_head=%p\n", current_thread.t_head);
121 (void)printf("current_thread.t_head=%p\n", current_thread.t_head);
164 mp->m_plink->m_clink != current_thread.t_head;
265 return &message_array.t_head[msgnum - 1];
273 i = (int)(mp - message_array.t_head);
278 return &message_array.t_head[i + 1];
330 return current_thread.t_head ? current_thread.t_head->m_depth : 0;
366 if ((mp = tp->t_head) == NULL || mp->m_size == 0)
376 i = reindex_core(tp->t_head);
380 for (mp = first_message(tp->t_head); mp; mp = next_message(mp))
388 for (mp = first_message(tp->t_head); mp; mp = next_message(mp))
419 if ((mp = thread->t_head) == NULL || mp->m_size == 0)
440 * as it needs access to current_thread.t_head.
448 message_array.t_head = nmessage; /* for assert check in thread_fix_new_links */
455 FIX_LINK(current_thread.t_head);
478 tp->t_head = mp;
486 * It is here as it needs access to current_thread.t_head.
497 assert(message_array.t_head == message);
499 message_array.t_head = message;
509 if (message_array.t_head[i].m_depth == 0 &&
510 message_array.t_head[i].m_flink == NULL) {
511 lastmp = &message_array.t_head[i];
520 assert(message_array.t_head[i].m_depth != 0 ||
521 message_array.t_head[i].m_flink != NULL);
555 assert(current_thread.t_head != NULL);
556 if (current_thread.t_head->m_depth == 0)
593 mp = current_thread.t_head;
608 mp = current_thread.t_head;
626 if (mp->m_plink->m_clink == current_thread.t_head)
727 for (mp = first_message(current_thread.t_head);
794 if (current_thread.t_head->m_plink)
795 current_thread.t_head->m_plink->m_clink = marray[0].mp;
797 current_thread.t_head = marray[0].mp;
942 assert(mp == current_thread.t_head);
1015 * left (current_thread.t_head), then
1017 * left (current_thread.t_head).
1019 if (current_thread.t_head == child) {
1020 current_thread.t_head = child->m_flink;
1021 assert(current_thread.t_head != NULL);
1030 parent->m_clink = current_thread.t_head;
1104 for (mp = first_message(current_thread.t_head); mp; mp = next_message(mp))
1202 parent = current_thread.t_head->m_plink;
1209 assert(current_thread.t_head->m_depth > 0);
1212 current_thread.t_head = mp;
1239 current_thread.t_head = child;
1262 current_thread.t_head = mp;
1281 thread_start = tp->t_head;
1295 current_thread.t_head = lastmp;
1639 kp->loadfn(marray, mcount, current_thread.t_head, str,
1661 thread_on_reference(current_thread.t_head);
1677 thread_fix_new_links(message_array.t_head, 0, message_array.t_msgCount);
1724 depth = current_thread.t_head->m_depth;
1725 for (mp = first_message(current_thread.t_head); mp; mp = next_message(mp)) {