Lines Matching refs:transid
116 static void wait_log_commit(struct btrfs_root *root, int transid);
358 .transid = gen in process_one_buffer()
589 trans->transid); in overwrite_item()
2409 .transid = gen, in replay_one_buffer()
2630 check.transid = ptr_gen; in walk_down_log_tree()
2801 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit() argument
2804 int index = transid % 2; in wait_log_commit()
2815 if (!(root->log_transid_committed < transid && in wait_log_commit()
3321 if (inode->logged_trans == trans->transid) in inode_logged()
3339 inode->logged_trans = trans->transid - 1; in inode_logged()
3395 inode->logged_trans = trans->transid - 1; in inode_logged()
3404 inode->logged_trans = trans->transid; in inode_logged()
3759 if (btrfs_dir_transid(src, di) < trans->transid) { in process_dir_items_leaf()
3847 ret = btrfs_search_forward(root, &min_key, path, trans->transid); in log_dir_items()
3965 if (btrfs_header_generation(path->nodes[0]) != trans->transid) { in log_dir_items()
4244 btrfs_set_token_inode_transid(&token, item, trans->transid); in fill_inode_item()
4271 if (!inode_item_dropped && inode->logged_trans == trans->transid) { in log_inode_item()
4314 if (inode->last_reflink_trans < trans->transid) in log_csums()
4433 trans->transid); in copy_items()
4450 inode->last_reflink_trans < trans->transid) in copy_items()
4543 if (btrfs_file_extent_generation(src, extent) < trans->transid && in copy_items()
4545 inode->last_reflink_trans < trans->transid) in copy_items()
4720 btrfs_set_stack_file_extent_generation(&fi, trans->transid); in log_one_extent()
4954 if (em->generation < trans->transid) in btrfs_log_changed_extents()
5400 if (S_ISDIR(inode->vfs_inode.i_mode) && inode->last_trans < trans->transid) in need_log_inode()
5518 if (btrfs_dir_transid(leaf, di) < trans->transid) in log_new_dir_dentries()
5897 ret = btrfs_search_forward(root, min_key, path, trans->transid); in copy_inode_items_to_log()
5924 (inode->generation == trans->transid || in copy_inode_items_to_log()
6534 if (full_dir_logging && inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode()
6648 if (!xattrs_logged && inode->logged_trans < trans->transid) { in btrfs_log_inode()
6683 inode->logged_trans = trans->transid; in btrfs_log_inode()
6897 if (BTRFS_I(inode)->generation >= trans->transid && in log_new_ancestors()
6952 if (inode->generation >= trans->transid && in log_new_ancestors_fast()
7085 if (btrfs_root_generation(&root->root_item) == trans->transid) { in btrfs_log_inode_parent()
7095 if ((btrfs_inode_in_log(inode, trans->transid) && in btrfs_log_inode_parent()
7117 inode->generation < trans->transid && in btrfs_log_inode_parent()
7118 inode->last_unlink_trans < trans->transid) { in btrfs_log_inode_parent()
7167 if (inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode_parent()
7414 inode->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
7446 dir->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
7466 dir->last_unlink_trans = trans->transid; in btrfs_record_snapshot_destroy()
7484 dir->last_unlink_trans = trans->transid; in btrfs_record_new_subvolume()
7520 inode->last_unlink_trans = trans->transid; in btrfs_log_new_name()
7552 if (old_dir && old_dir->logged_trans == trans->transid) { in btrfs_log_new_name()