Searched refs:last_trans (Results 1 - 17 of 17) sorted by relevance

/linux-master/fs/btrfs/
H A Dbtrfs_inode.h115 * the log or not (last_trans, last_sub_trans, last_log_commit,
172 u64 last_trans; member in struct:btrfs_inode
396 * to the last_trans value (we have to be pessimistic and assume a
399 * The ->last_trans is protected by the inode's spinlock and we can
401 * last_reflink_trans to ->last_trans only if the former is less than
404 * while ->last_trans was not yet updated in the current transaction,
408 if (inode->last_reflink_trans < inode->last_trans)
409 inode->last_reflink_trans = inode->last_trans;
H A Dtransaction.h195 inode->last_trans = trans->transaction->transid;
H A Dbackref.h401 u64 last_trans; member in struct:btrfs_backref_cache
H A Dctree.h212 u64 last_trans; member in struct:btrfs_root
H A Dtransaction.c408 root->last_trans < trans->transid) || force) {
419 * they find our root->last_trans update
424 if (root->last_trans == trans->transid && !force) {
432 root->last_trans = trans->transid;
439 * Normally we'd use root->last_trans as a flag to decide
442 * But, we have to set root->last_trans before we
448 * When this is zero, they can trust root->last_trans and fly
494 if (root->last_trans == trans->transid &&
1615 * last_trans == cur_transid.
H A Drelocation.c254 if (cache->last_trans == 0) {
255 cache->last_trans = trans->transid;
259 if (cache->last_trans == trans->transid)
294 cache->last_trans = 0;
557 if (cache->last_trans > 0)
824 reloc_root->last_trans = trans->transid;
871 reloc_root->last_trans = trans->transid;
1770 * depend on btrfs_init_reloc_root to update our last_trans.
1778 reloc_root->last_trans = trans->transid;
2121 if (reloc_root->last_trans
[all...]
H A Dsuper.c2280 u64 last_trans; local
2316 last_trans = btrfs_get_last_trans_committed(fs_info);
2317 if (btrfs_super_generation(sb) != last_trans) {
2319 btrfs_super_generation(sb), last_trans);
H A Ddisk-io.c265 u64 last_trans; local
308 last_trans = btrfs_get_last_trans_committed(fs_info);
309 if (unlikely(btrfs_header_generation(eb) <= last_trans)) {
313 eb->start, btrfs_header_generation(eb), last_trans);
661 root->last_trans = 0;
1014 log_root->last_trans = trans->transid;
H A Ddefrag.c142 transid = inode->root->last_trans;
H A Ddelayed-inode.c1897 BTRFS_I(inode)->last_trans = btrfs_stack_inode_transid(inode_item);
H A Dctree.c324 trans->transid != root->last_trans);
557 trans->transid != root->last_trans);
H A Dinode.c3827 BTRFS_I(inode)->last_trans = btrfs_inode_transid(leaf, inode_item);
3849 if (BTRFS_I(inode)->last_trans == btrfs_get_fs_generation(fs_info))
3857 * lost, and set it to last_trans to avoid metadata inconsistencies
3875 * Setting last_unlink_trans to last_trans is a pessimistic approach,
3880 BTRFS_I(inode)->last_unlink_trans = BTRFS_I(inode)->last_trans;
3888 BTRFS_I(inode)->last_reflink_trans = BTRFS_I(inode)->last_trans;
8579 ei->last_trans = 0;
H A Dfile.c1760 * last_trans is <= then the last committed transaction, because we only
1761 * update the last_trans of the inode during ordered extent completion,
1765 if (inode->last_trans <= btrfs_get_last_trans_committed(fs_info) &&
H A Dbackref.c3188 cache->last_trans = 0;
H A Dtree-log.c5367 if (S_ISDIR(inode->vfs_inode.i_mode) && inode->last_trans < trans->transid)
/linux-master/drivers/scsi/
H A Dwd719x.h52 u8 last_trans[3]; /* 56-58 Bytes Transferred in last session */ member in struct:wd719x_scb
/linux-master/include/trace/events/
H A Dbtrfs.h216 __field( u64, last_trans )
226 __entry->last_trans = BTRFS_I(inode)->last_trans;
233 "disk_i_size=%llu last_trans=%llu logged_trans=%llu",
239 __entry->last_trans,

Completed in 655 milliseconds