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 …]
325 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in unlink() localVariable326 if to_delete.0.lock().metadata.file_type == FileType::Dir { in unlink()330 to_delete.0.lock().metadata.nlinks -= 1; in unlink()343 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in rmdir() localVariable344 if to_delete.0.lock().metadata.file_type != FileType::Dir { in rmdir()348 to_delete.0.lock().metadata.nlinks -= 1; in rmdir()
571 let to_delete = inode.children.get(name).ok_or(SystemError::ENOENT)?; in unlink() localVariable573 to_delete.0.lock().metadata.nlinks -= 1; in unlink()