Searched refs:cur_trans (Results 1 - 5 of 5) sorted by relevance

/linux-master/fs/btrfs/
H A Dtransaction.c176 struct btrfs_transaction *cur_trans = trans->transaction; local
184 ASSERT(cur_trans->state == TRANS_STATE_COMMIT_DOING);
191 list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits,
201 spin_lock(&cur_trans->dropped_roots_lock);
202 while (!list_empty(&cur_trans->dropped_roots)) {
203 root = list_first_entry(&cur_trans->dropped_roots,
206 spin_unlock(&cur_trans->dropped_roots_lock);
209 spin_lock(&cur_trans->dropped_roots_lock);
211 spin_unlock(&cur_trans->dropped_roots_lock);
266 struct btrfs_transaction *cur_trans; local
465 struct btrfs_transaction *cur_trans = trans->transaction; local
518 struct btrfs_transaction *cur_trans; local
598 struct btrfs_transaction *cur_trans; local
940 struct btrfs_transaction *cur_trans = NULL, *t; local
1004 struct btrfs_transaction *cur_trans = trans->transaction; local
1054 struct btrfs_transaction *cur_trans = trans->transaction; local
1975 struct btrfs_transaction *cur_trans; local
2001 struct btrfs_transaction *cur_trans = trans->transaction; local
2132 struct btrfs_transaction *cur_trans = trans->transaction; local
2155 struct btrfs_transaction *cur_trans = trans->transaction; local
[all...]
H A Dblock-group.c3274 struct btrfs_transaction *cur_trans = trans->transaction; local
3277 if (list_empty(&cur_trans->dirty_bgs) ||
3286 list_for_each_entry_safe(cache, tmp, &cur_trans->dirty_bgs,
3312 struct btrfs_transaction *cur_trans = trans->transaction; local
3317 struct list_head *io = &cur_trans->io_bgs;
3320 spin_lock(&cur_trans->dirty_bgs_lock);
3321 if (list_empty(&cur_trans->dirty_bgs)) {
3322 spin_unlock(&cur_trans->dirty_bgs_lock);
3325 list_splice_init(&cur_trans->dirty_bgs, &dirty);
3326 spin_unlock(&cur_trans
3478 struct btrfs_transaction *cur_trans = trans->transaction; local
[all...]
H A Ddisk-io.c4752 void btrfs_cleanup_dirty_bgs(struct btrfs_transaction *cur_trans, argument
4757 spin_lock(&cur_trans->dirty_bgs_lock);
4758 while (!list_empty(&cur_trans->dirty_bgs)) {
4759 cache = list_first_entry(&cur_trans->dirty_bgs,
4764 spin_unlock(&cur_trans->dirty_bgs_lock);
4767 spin_lock(&cur_trans->dirty_bgs_lock);
4775 spin_unlock(&cur_trans->dirty_bgs_lock);
4778 spin_lock(&cur_trans->dirty_bgs_lock);
4780 spin_unlock(&cur_trans->dirty_bgs_lock);
4786 while (!list_empty(&cur_trans
4825 btrfs_cleanup_one_transaction(struct btrfs_transaction *cur_trans, struct btrfs_fs_info *fs_info) argument
[all...]
H A Dextent-tree.c2297 struct btrfs_transaction *cur_trans; local
2302 cur_trans = root->fs_info->running_transaction;
2303 if (cur_trans)
2304 refcount_inc(&cur_trans->use_count);
2306 if (!cur_trans)
2309 delayed_refs = &cur_trans->delayed_refs;
2314 btrfs_put_transaction(cur_trans);
2321 btrfs_put_transaction(cur_trans);
2337 btrfs_put_transaction(cur_trans);
2371 btrfs_put_transaction(cur_trans);
[all...]
/linux-master/drivers/spi/
H A Dspi-topcliff-pch.c151 * @cur_trans: The current transfer that this SPI driver is
181 struct spi_transfer *cur_trans; member in struct:pch_spi_data
365 data->cur_trans = NULL;
526 if (data->cur_trans->speed_hz) {
528 pch_spi_set_baud_rate(data->host, data->cur_trans->speed_hz);
532 if (data->cur_trans->bits_per_word &&
533 (data->current_msg->spi->bits_per_word != data->cur_trans->bits_per_word)) {
536 data->cur_trans->bits_per_word);
537 *bpw = data->cur_trans->bits_per_word;
546 data->bpw_len = data->cur_trans
[all...]

Completed in 369 milliseconds