Lines Matching refs:tn

746 	txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset);  in txg_list_add()  local
750 add = (tn->tn_member[t] == 0); in txg_list_add()
752 tn->tn_member[t] = 1; in txg_list_add()
753 tn->tn_next[t] = tl->tl_head[t]; in txg_list_add()
754 tl->tl_head[t] = tn; in txg_list_add()
770 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add_tail() local
774 add = (tn->tn_member[t] == 0); in txg_list_add_tail()
781 tn->tn_member[t] = 1; in txg_list_add_tail()
782 tn->tn_next[t] = NULL; in txg_list_add_tail()
783 *tp = tn; in txg_list_add_tail()
797 txg_node_t *tn; in txg_list_remove() local
801 if ((tn = tl->tl_head[t]) != NULL) { in txg_list_remove()
802 p = (char *)tn - tl->tl_offset; in txg_list_remove()
803 tl->tl_head[t] = tn->tn_next[t]; in txg_list_remove()
804 tn->tn_next[t] = NULL; in txg_list_remove()
805 tn->tn_member[t] = 0; in txg_list_remove()
819 txg_node_t *tn, **tp; in txg_list_remove_this() local
823 for (tp = &tl->tl_head[t]; (tn = *tp) != NULL; tp = &tn->tn_next[t]) { in txg_list_remove_this()
824 if ((char *)tn - tl->tl_offset == p) { in txg_list_remove_this()
825 *tp = tn->tn_next[t]; in txg_list_remove_this()
826 tn->tn_next[t] = NULL; in txg_list_remove_this()
827 tn->tn_member[t] = 0; in txg_list_remove_this()
842 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_member() local
844 return (tn->tn_member[t] != 0); in txg_list_member()
854 txg_node_t *tn = tl->tl_head[t]; in txg_list_head() local
856 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset); in txg_list_head()
863 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_next() local
865 tn = tn->tn_next[t]; in txg_list_next()
867 return (tn == NULL ? NULL : (char *)tn - tl->tl_offset); in txg_list_next()