Home | History | Annotate | Download | only in chfs

Lines Matching defs:tmp_td

347 		struct chfs_tmp_dnode *tmp_td = this->tmpnode;
348 while (tmp_td) {
349 if (tmp_td->version == newtd->version) {
351 if (!chfs_check_td_node(chmp, tmp_td)) {
356 chfs_remove_tmp_dnode_from_tdi(this, tmp_td);
357 chfs_kill_td(chmp, tmp_td);
362 if (tmp_td->version < newtd->version &&
363 tmp_td->node->ofs >= newtd->node->ofs &&
364 tmp_td->node->ofs + tmp_td->node->size <= end_ofs) {
372 while (tmp_td && tmp_td->node->ofs + tmp_td->node->size <= end_ofs) {
376 if (tmp_td->next) {
377 next_td = tmp_td->next;
381 if (tmp_td->version < newtd->version) {
382 chfs_remove_tmp_dnode_from_tdi(this, tmp_td);
383 chfs_kill_td(chmp, tmp_td);
390 tmp_td = next_td;
394 if (tmp_td->version > newtd->version &&
395 tmp_td->node->ofs <= newtd->node->ofs &&
396 tmp_td->node->ofs + tmp_td->node->size >= end_ofs) {
398 if (!chfs_check_td_node(chmp, tmp_td)) {
400 (unsigned long long)tmp_td->version);
402 (unsigned long long)tmp_td->node->ofs,
403 tmp_td->node->size);
409 chfs_remove_tmp_dnode_from_tdi(this, tmp_td);
410 chfs_kill_td(chmp, tmp_td);
419 tmp_td = tmp_td->next;
927 struct chfs_tmp_dnode *tmp_td = this->tmpnode;
928 while (tmp_td) {
929 struct chfs_tmp_dnode *next_td = tmp_td->next;
932 if (chfs_check_td_node(chmp, tmp_td)) {
934 chfs_remove_tmp_dnode_from_tdi(this, tmp_td);
935 chfs_kill_td(chmp, tmp_td);
940 if (tmp_td->version > high_ver) {
941 high_ver = tmp_td->version;
943 rii->latest_ref = tmp_td->node->nref;
947 ret = chfs_add_full_dnode_to_inode(chmp, ip, tmp_td->node);
952 while (tmp_td) {
953 next_td = tmp_td->next;
955 chfs_free_full_dnode(tmp_td->node);
956 chfs_remove_tmp_dnode_from_tdi(this, tmp_td);
957 chfs_kill_td(chmp, tmp_td);
958 tmp_td = next_td;
971 * Shouldn't obsolete tmp_td here, because tmp_td->node
973 chfs_remove_tmp_dnode_from_tdi(this, tmp_td);
974 chfs_free_tmp_dnode(tmp_td);
976 tmp_td = next_td;