Lines Matching refs:tn

831 	txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset);  in txg_list_add()  local
836 add = (tn->tn_member[t] == 0); in txg_list_add()
838 tn->tn_member[t] = 1; in txg_list_add()
839 tn->tn_next[t] = tl->tl_head[t]; in txg_list_add()
840 tl->tl_head[t] = tn; in txg_list_add()
856 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add_tail() local
861 add = (tn->tn_member[t] == 0); in txg_list_add_tail()
868 tn->tn_member[t] = 1; in txg_list_add_tail()
869 tn->tn_next[t] = NULL; in txg_list_add_tail()
870 *tp = tn; in txg_list_add_tail()
884 txg_node_t *tn; in txg_list_remove() local
889 if ((tn = tl->tl_head[t]) != NULL) { in txg_list_remove()
890 ASSERT(tn->tn_member[t]); in txg_list_remove()
891 ASSERT(tn->tn_next[t] == NULL || tn->tn_next[t]->tn_member[t]); in txg_list_remove()
892 p = (char *)tn - tl->tl_offset; in txg_list_remove()
893 tl->tl_head[t] = tn->tn_next[t]; in txg_list_remove()
894 tn->tn_next[t] = NULL; in txg_list_remove()
895 tn->tn_member[t] = 0; in txg_list_remove()
909 txg_node_t *tn, **tp; in txg_list_remove_this() local
914 for (tp = &tl->tl_head[t]; (tn = *tp) != NULL; tp = &tn->tn_next[t]) { in txg_list_remove_this()
915 if ((char *)tn - tl->tl_offset == p) { in txg_list_remove_this()
916 *tp = tn->tn_next[t]; in txg_list_remove_this()
917 tn->tn_next[t] = NULL; in txg_list_remove_this()
918 tn->tn_member[t] = 0; in txg_list_remove_this()
933 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_member() local
936 return (tn->tn_member[t] != 0); in txg_list_member()
946 txg_node_t *tn = tl->tl_head[t]; in txg_list_head() local
949 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset); in txg_list_head()
956 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_next() local
959 tn = tn->tn_next[t]; in txg_list_next()
961 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset); in txg_list_next()