Lines Matching defs:tn
801 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset);
806 add = (tn->tn_member[t] == 0);
808 tn->tn_member[t] = 1;
809 tn->tn_next[t] = tl->tl_head[t];
810 tl->tl_head[t] = tn;
826 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset);
831 add = (tn->tn_member[t] == 0);
838 tn->tn_member[t] = 1;
839 tn->tn_next[t] = NULL;
840 *tp = tn;
854 txg_node_t *tn;
859 if ((tn = tl->tl_head[t]) != NULL) {
860 ASSERT(tn->tn_member[t]);
861 ASSERT(tn->tn_next[t] == NULL || tn->tn_next[t]->tn_member[t]);
862 p = (char *)tn - tl->tl_offset;
863 tl->tl_head[t] = tn->tn_next[t];
864 tn->tn_next[t] = NULL;
865 tn->tn_member[t] = 0;
879 txg_node_t *tn, **tp;
884 for (tp = &tl->tl_head[t]; (tn = *tp) != NULL; tp = &tn->tn_next[t]) {
885 if ((char *)tn - tl->tl_offset == p) {
886 *tp = tn->tn_next[t];
887 tn->tn_next[t] = NULL;
888 tn->tn_member[t] = 0;
903 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset);
906 return (tn->tn_member[t] != 0);
916 txg_node_t *tn = tl->tl_head[t];
919 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset);
926 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset);
929 tn = tn->tn_next[t];
931 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset);