Home
last modified time | relevance | path

Searched refs:cur_trans (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dtransaction.c174 struct btrfs_transaction *cur_trans; in join_transaction() local
184 cur_trans = fs_info->running_transaction; in join_transaction()
185 if (cur_trans) { in join_transaction()
186 if (cur_trans->aborted) { in join_transaction()
188 return cur_trans->aborted; in join_transaction()
190 if (btrfs_blocked_trans_types[cur_trans->state] & type) { in join_transaction()
194 refcount_inc(&cur_trans->use_count); in join_transaction()
195 atomic_inc(&cur_trans->num_writers); in join_transaction()
196 extwriter_counter_inc(cur_trans, type); in join_transaction()
216 cur_trans = kmalloc(sizeof(*cur_trans), GFP_NOFS); in join_transaction()
[all …]
Ddisk-io.c4487 void btrfs_cleanup_dirty_bgs(struct btrfs_transaction *cur_trans, in btrfs_cleanup_dirty_bgs() argument
4492 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4493 while (!list_empty(&cur_trans->dirty_bgs)) { in btrfs_cleanup_dirty_bgs()
4494 cache = list_first_entry(&cur_trans->dirty_bgs, in btrfs_cleanup_dirty_bgs()
4499 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4502 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4510 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4512 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4514 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4520 while (!list_empty(&cur_trans->io_bgs)) { in btrfs_cleanup_dirty_bgs()
[all …]
Dextent-tree.c3007 struct btrfs_transaction *cur_trans; in check_delayed_ref() local
3012 cur_trans = root->fs_info->running_transaction; in check_delayed_ref()
3013 if (cur_trans) in check_delayed_ref()
3014 refcount_inc(&cur_trans->use_count); in check_delayed_ref()
3016 if (!cur_trans) in check_delayed_ref()
3019 delayed_refs = &cur_trans->delayed_refs; in check_delayed_ref()
3024 btrfs_put_transaction(cur_trans); in check_delayed_ref()
3041 btrfs_put_transaction(cur_trans); in check_delayed_ref()
3074 btrfs_put_transaction(cur_trans); in check_delayed_ref()
3489 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_setup_space_cache() local
[all …]
/linux-4.19.296/drivers/i2c/busses/
Di2c-zx2967.c67 u8 *cur_trans; member
145 *i2c->cur_trans++ = val[i]; in zx2967_i2c_empty_rx_fifo()
157 u8 *buf = i2c->cur_trans; in zx2967_i2c_fill_tx_fifo()
169 i2c->cur_trans = NULL; in zx2967_i2c_fill_tx_fifo()
173 i2c->cur_trans += I2C_FIFO_MAX; in zx2967_i2c_fill_tx_fifo()
286 i2c->cur_trans = msg->buf; in zx2967_i2c_xfer_msg()