Lines Matching refs:transid

109 static void wait_log_commit(struct btrfs_root *root, int transid);
559 trans->transid); in do_overwrite_item()
2855 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit() argument
2858 int index = transid % 2; in wait_log_commit()
2869 if (!(root->log_transid_committed < transid && in wait_log_commit()
3334 if (inode->logged_trans == trans->transid) in inode_logged()
3352 inode->logged_trans = trans->transid - 1; in inode_logged()
3408 inode->logged_trans = trans->transid - 1; in inode_logged()
3417 inode->logged_trans = trans->transid; in inode_logged()
3735 if (btrfs_dir_transid(src, di) < trans->transid) { in process_dir_items_leaf()
3824 ret = btrfs_search_forward(root, &min_key, path, trans->transid); in log_dir_items()
3940 if (btrfs_header_generation(path->nodes[0]) != trans->transid) { in log_dir_items()
4224 btrfs_set_token_inode_transid(&token, item, trans->transid); in fill_inode_item()
4249 if (!inode_item_dropped && inode->logged_trans == trans->transid) { in log_inode_item()
4292 if (inode->last_reflink_trans < trans->transid) in log_csums()
4415 trans->transid); in copy_items()
4432 inode->last_reflink_trans < trans->transid) in copy_items()
4524 if (btrfs_file_extent_generation(src, extent) < trans->transid && in copy_items()
4526 inode->last_reflink_trans < trans->transid) in copy_items()
4697 btrfs_set_stack_file_extent_generation(&fi, trans->transid); in log_one_extent()
4927 if (em->generation < trans->transid) in btrfs_log_changed_extents()
5368 if (S_ISDIR(inode->vfs_inode.i_mode) && inode->last_trans < trans->transid) in need_log_inode()
5380 if (inode->logged_trans == trans->transid && in need_log_inode()
5464 ret = btrfs_search_forward(root, &min_key, path, trans->transid); in log_new_dir_dentries()
5490 if (btrfs_dir_transid(leaf, di) < trans->transid) in log_new_dir_dentries()
5847 ret = btrfs_search_forward(root, min_key, path, trans->transid); in copy_inode_items_to_log()
5874 (inode->generation == trans->transid || in copy_inode_items_to_log()
6485 if (full_dir_logging && inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode()
6600 if (!xattrs_logged && inode->logged_trans < trans->transid) { in btrfs_log_inode()
6635 inode->logged_trans = trans->transid; in btrfs_log_inode()
6852 if (BTRFS_I(inode)->generation >= trans->transid && in log_new_ancestors()
6907 if (inode->generation >= trans->transid && in log_new_ancestors_fast()
7041 if ((btrfs_inode_in_log(inode, trans->transid) && in btrfs_log_inode_parent()
7063 inode->generation < trans->transid && in btrfs_log_inode_parent()
7064 inode->last_unlink_trans < trans->transid) { in btrfs_log_inode_parent()
7113 if (inode->last_unlink_trans >= trans->transid) { in btrfs_log_inode_parent()
7362 inode->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
7369 if (dir->logged_trans == trans->transid) in btrfs_record_unlink_dir()
7376 if (inode->logged_trans == trans->transid) in btrfs_record_unlink_dir()
7394 dir->last_unlink_trans = trans->transid; in btrfs_record_unlink_dir()
7414 dir->last_unlink_trans = trans->transid; in btrfs_record_snapshot_destroy()
7450 inode->last_unlink_trans = trans->transid; in btrfs_log_new_name()
7482 if (old_dir && old_dir->logged_trans == trans->transid) { in btrfs_log_new_name()