Lines Matching refs:transid

109 static void wait_log_commit(struct btrfs_root *root, int transid);
559 trans->transid); in do_overwrite_item()
2995 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit() argument
2998 int index = transid % 2; in wait_log_commit()
3009 if (!(root->log_transid_committed < transid && in wait_log_commit()
3479 if (inode->logged_trans == trans->transid) in inode_logged()
3497 inode->logged_trans = trans->transid - 1; in inode_logged()
3553 inode->logged_trans = trans->transid - 1; in inode_logged()
3562 inode->logged_trans = trans->transid; in inode_logged()
3866 if (btrfs_dir_transid(src, di) < trans->transid) { in process_dir_items_leaf()
3995 ret = btrfs_search_forward(root, &min_key, path, trans->transid); in log_dir_items()
4093 if (btrfs_header_generation(path->nodes[0]) != trans->transid) { in log_dir_items()
4308 btrfs_set_token_inode_transid(&token, item, trans->transid); in fill_inode_item()
4333 if (!inode_item_dropped && inode->logged_trans == trans->transid) { in log_inode_item()
4376 if (inode->last_reflink_trans < trans->transid) in log_csums()
4462 trans->transid); in copy_items()
4479 inode->last_reflink_trans < trans->transid) in copy_items()
4571 if (btrfs_file_extent_generation(src, extent) < trans->transid && in copy_items()
4573 inode->last_reflink_trans < trans->transid) in copy_items()
4744 btrfs_set_stack_file_extent_generation(&fi, trans->transid); in log_one_extent()
4974 if (em->generation < trans->transid) in btrfs_log_changed_extents()
5501 if (BTRFS_I(inode)->logged_trans == trans->transid) { in log_conflicting_inodes()
5597 ret = btrfs_search_forward(root, min_key, path, trans->transid); in copy_inode_items_to_log()
5624 inode->generation == trans->transid && in copy_inode_items_to_log()
5851 inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode()
5960 if (!xattrs_logged && inode->logged_trans < trans->transid) { in btrfs_log_inode()
5987 inode->logged_trans = trans->transid; in btrfs_log_inode()
6058 if (S_ISDIR(inode->vfs_inode.i_mode) && inode->last_trans < trans->transid) in need_log_inode()
6070 if (inode->logged_trans == trans->transid && in need_log_inode()
6165 ret = btrfs_search_forward(root, &min_key, path, trans->transid); in log_new_dir_dentries()
6190 if (btrfs_dir_transid(leaf, di) < trans->transid) in log_new_dir_dentries()
6392 if (BTRFS_I(inode)->generation >= trans->transid && in log_new_ancestors()
6447 if (inode->generation >= trans->transid && in log_new_ancestors_fast()
6581 if ((btrfs_inode_in_log(inode, trans->transid) && in btrfs_log_inode_parent()
6603 inode->generation < trans->transid && in btrfs_log_inode_parent()
6604 inode->last_unlink_trans < trans->transid) { in btrfs_log_inode_parent()
6653 if (inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode_parent()
6902 inode->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
6909 if (dir->logged_trans == trans->transid) in btrfs_record_unlink_dir()
6916 if (inode->logged_trans == trans->transid) in btrfs_record_unlink_dir()
6934 dir->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
6954 dir->last_unlink_trans = trans->transid; in btrfs_record_snapshot_destroy()
6990 inode->last_unlink_trans = trans->transid; in btrfs_log_new_name()
7022 if (old_dir && old_dir->logged_trans == trans->transid) { in btrfs_log_new_name()