Lines Matching refs:tn
832 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add() local
837 add = (tn->tn_member[t] == 0); in txg_list_add()
839 tn->tn_member[t] = 1; in txg_list_add()
840 tn->tn_next[t] = tl->tl_head[t]; in txg_list_add()
841 tl->tl_head[t] = tn; in txg_list_add()
857 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add_tail() local
862 add = (tn->tn_member[t] == 0); in txg_list_add_tail()
869 tn->tn_member[t] = 1; in txg_list_add_tail()
870 tn->tn_next[t] = NULL; in txg_list_add_tail()
871 *tp = tn; in txg_list_add_tail()
885 txg_node_t *tn; in txg_list_remove() local
890 if ((tn = tl->tl_head[t]) != NULL) { in txg_list_remove()
891 ASSERT(tn->tn_member[t]); in txg_list_remove()
892 ASSERT(tn->tn_next[t] == NULL || tn->tn_next[t]->tn_member[t]); in txg_list_remove()
893 p = (char *)tn - tl->tl_offset; in txg_list_remove()
894 tl->tl_head[t] = tn->tn_next[t]; in txg_list_remove()
895 tn->tn_next[t] = NULL; in txg_list_remove()
896 tn->tn_member[t] = 0; in txg_list_remove()
910 txg_node_t *tn, **tp; in txg_list_remove_this() local
915 for (tp = &tl->tl_head[t]; (tn = *tp) != NULL; tp = &tn->tn_next[t]) { in txg_list_remove_this()
916 if ((char *)tn - tl->tl_offset == p) { in txg_list_remove_this()
917 *tp = tn->tn_next[t]; in txg_list_remove_this()
918 tn->tn_next[t] = NULL; in txg_list_remove_this()
919 tn->tn_member[t] = 0; in txg_list_remove_this()
934 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_member() local
937 return (tn->tn_member[t] != 0); in txg_list_member()
947 txg_node_t *tn = tl->tl_head[t]; in txg_list_head() local
950 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset); in txg_list_head()
957 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_next() local
960 tn = tn->tn_next[t]; in txg_list_next()
962 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset); in txg_list_next()