Searched refs:ncursor (Results 1 – 3 of 3) sorted by relevance
856 hammer_cursor_t ncursor; in hammer_push_cursor() local862 ncursor = kmalloc(sizeof(*ncursor), hmp->m_misc, M_WAITOK | M_ZERO); in hammer_push_cursor()863 bcopy(ocursor, ncursor, sizeof(*ocursor)); in hammer_push_cursor()871 if (ncursor->parent) in hammer_push_cursor()876 if (ncursor->flags & HAMMER_CURSOR_TRACKED) in hammer_push_cursor()877 TAILQ_INSERT_TAIL(&node->cursor_list, ncursor, deadlk_entry); in hammer_push_cursor()878 if ((ip = ncursor->ip) != NULL) { in hammer_push_cursor()881 if (ncursor->iprec) in hammer_push_cursor()882 hammer_ref(&ncursor->iprec->lock); in hammer_push_cursor()883 return(ncursor); in hammer_push_cursor()[all …]
2346 hammer_cursor_t ncursor; in hammer_btree_do_propagation() local2373 ncursor = hammer_push_cursor(cursor); in hammer_btree_do_propagation()2374 error = hammer_btree_mirror_propagate(ncursor, mirror_tid); in hammer_btree_do_propagation()2376 hammer_pop_cursor(cursor, ncursor); in hammer_btree_do_propagation()
1091 void hammer_pop_cursor(hammer_cursor_t ocursor, hammer_cursor_t ncursor);