Lines Matching defs:newtd
321 struct chfs_tmp_dnode *newtd)
323 uint64_t end_ofs = newtd->node->ofs + newtd->node->size;
328 node = rb_tree_find_node(&rii->tdi_root, &newtd->node->ofs);
349 if (tmp_td->version == newtd->version) {
353 chfs_kill_td(chmp, newtd);
358 chfs_add_tmp_dnode_to_tdi(this, newtd);
362 if (tmp_td->version < newtd->version &&
363 tmp_td->node->ofs >= newtd->node->ofs &&
366 if (chfs_check_td_node(chmp, newtd)) {
368 chfs_kill_td(chmp, newtd);
381 if (tmp_td->version < newtd->version) {
394 if (tmp_td->version > newtd->version &&
395 tmp_td->node->ofs <= newtd->node->ofs &&
405 chfs_kill_td(chmp, newtd);
416 chfs_kill_td(chmp, newtd);
425 chfs_add_tmp_dnode_to_tdi(newtdi, newtd);
430 chfs_remove_tmp_dnode_from_tdi(newtdi, newtd);
431 chfs_add_tmp_dnode_to_tdi(tmp_tdi, newtd);
440 if (this->tmpnode->node->ofs + this->tmpnode->node->size > newtd->node->ofs) {
441 newtd->overlapped = 1;