Searched refs:to_delete (Results 1 – 3 of 3) sorted by relevance
164 struct bt_node_t *to_delete = NULL, *to_delete_son = NULL; in bt_delete() local166 to_delete = this_node; in bt_delete()169 to_delete = bt_get_minimum(this_node->right); in bt_delete()172 this_node->value = to_delete->value; in bt_delete()175 if (to_delete->left != NULL) in bt_delete()176 to_delete_son = to_delete->left; in bt_delete()178 to_delete_son = to_delete->right; in bt_delete()181 to_delete_son->parent = to_delete->parent; in bt_delete()183 if (to_delete->parent == NULL) in bt_delete()187 if (to_delete->parent->left == to_delete) in bt_delete()[all …]
329 let to_delete = inode.children.get(name).ok_or(-(ENOENT as i32))?; in unlink() localVariable330 if to_delete.0.lock().metadata.file_type == FileType::Dir { in unlink()334 to_delete.0.lock().metadata.nlinks -= 1; in unlink()347 let to_delete = inode.children.get(name).ok_or(-(ENOENT as i32))?; in rmdir() localVariable348 if to_delete.0.lock().metadata.file_type != FileType::Dir { in rmdir()352 to_delete.0.lock().metadata.nlinks -= 1; in rmdir()
571 let to_delete = inode.children.get(name).ok_or(-(ENOENT as i32))?; in unlink() localVariable573 to_delete.0.lock().metadata.nlinks -= 1; in unlink()