Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/btrfs/
H A Dtransaction.c178 struct btrfs_transaction *cur_trans = trans->transaction; in switch_commit_roots() local
186 ASSERT(cur_trans->state == TRANS_STATE_COMMIT_DOING); in switch_commit_roots()
193 list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits, in switch_commit_roots()
203 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
204 while (!list_empty(&cur_trans->dropped_roots)) { in switch_commit_roots()
205 root = list_first_entry(&cur_trans->dropped_roots, in switch_commit_roots()
208 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
211 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
213 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
268 struct btrfs_transaction *cur_trans; in join_transaction() local
467 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_add_dropped_root() local
520 struct btrfs_transaction *cur_trans; wait_current_trans() local
570 struct btrfs_transaction *cur_trans; start_transaction() local
909 struct btrfs_transaction *cur_trans = NULL, *t; btrfs_wait_for_commit() local
973 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_should_end_transaction() local
1010 struct btrfs_transaction *cur_trans = trans->transaction; __btrfs_end_transaction() local
1973 struct btrfs_transaction *cur_trans; btrfs_commit_transaction_async() local
1999 struct btrfs_transaction *cur_trans = trans->transaction; cleanup_transaction() local
2130 struct btrfs_transaction *cur_trans = trans->transaction; add_pending_snapshot() local
2153 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_commit_transaction() local
[all...]
H A Dblock-group.c3263 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_setup_space_cache() local
3266 if (list_empty(&cur_trans->dirty_bgs) || in btrfs_setup_space_cache()
3275 list_for_each_entry_safe(cache, tmp, &cur_trans->dirty_bgs, in btrfs_setup_space_cache()
3301 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_start_dirty_block_groups() local
3306 struct list_head *io = &cur_trans->io_bgs; in btrfs_start_dirty_block_groups()
3309 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3310 if (list_empty(&cur_trans->dirty_bgs)) { in btrfs_start_dirty_block_groups()
3311 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3314 list_splice_init(&cur_trans->dirty_bgs, &dirty); in btrfs_start_dirty_block_groups()
3315 spin_unlock(&cur_trans in btrfs_start_dirty_block_groups()
3467 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_write_dirty_block_groups() local
[all...]
H A Ddisk-io.c4801 void btrfs_cleanup_dirty_bgs(struct btrfs_transaction *cur_trans, in btrfs_cleanup_dirty_bgs() argument
4806 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4807 while (!list_empty(&cur_trans->dirty_bgs)) { in btrfs_cleanup_dirty_bgs()
4808 cache = list_first_entry(&cur_trans->dirty_bgs, in btrfs_cleanup_dirty_bgs()
4813 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4816 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4824 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4827 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4829 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4835 while (!list_empty(&cur_trans in btrfs_cleanup_dirty_bgs()
4874 btrfs_cleanup_one_transaction(struct btrfs_transaction *cur_trans, struct btrfs_fs_info *fs_info) btrfs_cleanup_one_transaction() argument
[all...]
H A Dextent-tree.c2228 struct btrfs_transaction *cur_trans; in check_delayed_ref() local
2233 cur_trans = root->fs_info->running_transaction; in check_delayed_ref()
2234 if (cur_trans) in check_delayed_ref()
2235 refcount_inc(&cur_trans->use_count); in check_delayed_ref()
2237 if (!cur_trans) in check_delayed_ref()
2240 delayed_refs = &cur_trans->delayed_refs; in check_delayed_ref()
2245 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2252 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2268 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2302 btrfs_put_transaction(cur_trans); in check_delayed_ref()
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dtransaction.c155 struct btrfs_transaction *cur_trans = trans->transaction; in switch_commit_roots() local
161 list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits, in switch_commit_roots()
173 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
174 while (!list_empty(&cur_trans->dropped_roots)) { in switch_commit_roots()
175 root = list_first_entry(&cur_trans->dropped_roots, in switch_commit_roots()
178 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
181 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
183 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots()
275 struct btrfs_transaction *cur_trans; in join_transaction() local
285 cur_trans in join_transaction()
465 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_add_dropped_root() local
517 struct btrfs_transaction *cur_trans; wait_current_trans() local
566 struct btrfs_transaction *cur_trans; start_transaction() local
844 struct btrfs_transaction *cur_trans = NULL, *t; btrfs_wait_for_commit() local
918 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_should_end_transaction() local
953 struct btrfs_transaction *cur_trans = trans->transaction; __btrfs_end_transaction() local
1901 struct btrfs_transaction *cur_trans; btrfs_commit_transaction_async() local
1947 struct btrfs_transaction *cur_trans = trans->transaction; cleanup_transaction() local
2081 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_commit_transaction() local
[all...]
H A Dblock-group.c2546 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_setup_space_cache() local
2549 if (list_empty(&cur_trans->dirty_bgs) || in btrfs_setup_space_cache()
2558 list_for_each_entry_safe(cache, tmp, &cur_trans->dirty_bgs, in btrfs_setup_space_cache()
2584 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_start_dirty_block_groups() local
2589 struct list_head *io = &cur_trans->io_bgs; in btrfs_start_dirty_block_groups()
2592 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2593 if (list_empty(&cur_trans->dirty_bgs)) { in btrfs_start_dirty_block_groups()
2594 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
2597 list_splice_init(&cur_trans->dirty_bgs, &dirty); in btrfs_start_dirty_block_groups()
2598 spin_unlock(&cur_trans in btrfs_start_dirty_block_groups()
2750 struct btrfs_transaction *cur_trans = trans->transaction; btrfs_write_dirty_block_groups() local
[all...]
H A Ddisk-io.c4670 void btrfs_cleanup_dirty_bgs(struct btrfs_transaction *cur_trans, in btrfs_cleanup_dirty_bgs() argument
4675 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4676 while (!list_empty(&cur_trans->dirty_bgs)) { in btrfs_cleanup_dirty_bgs()
4677 cache = list_first_entry(&cur_trans->dirty_bgs, in btrfs_cleanup_dirty_bgs()
4682 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4685 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4693 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4696 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4698 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4704 while (!list_empty(&cur_trans in btrfs_cleanup_dirty_bgs()
4717 btrfs_cleanup_one_transaction(struct btrfs_transaction *cur_trans, struct btrfs_fs_info *fs_info) btrfs_cleanup_one_transaction() argument
[all...]
H A Dextent-tree.c2218 struct btrfs_transaction *cur_trans; in check_delayed_ref() local
2223 cur_trans = root->fs_info->running_transaction; in check_delayed_ref()
2224 if (cur_trans) in check_delayed_ref()
2225 refcount_inc(&cur_trans->use_count); in check_delayed_ref()
2227 if (!cur_trans) in check_delayed_ref()
2230 delayed_refs = &cur_trans->delayed_refs; in check_delayed_ref()
2235 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2252 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2286 btrfs_put_transaction(cur_trans); in check_delayed_ref()
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-topcliff-pch.c150 * @cur_trans: The current transfer that this SPI driver is
180 struct spi_transfer *cur_trans; member
364 data->cur_trans = NULL; in pch_spi_handler()
554 if (data->cur_trans->speed_hz) { in pch_spi_set_tx()
556 pch_spi_set_baud_rate(data->master, data->cur_trans->speed_hz); in pch_spi_set_tx()
560 if (data->cur_trans->bits_per_word && in pch_spi_set_tx()
561 (data->current_msg->spi->bits_per_word != data->cur_trans->bits_per_word)) { in pch_spi_set_tx()
564 data->cur_trans->bits_per_word); in pch_spi_set_tx()
565 *bpw = data->cur_trans->bits_per_word; in pch_spi_set_tx()
574 data->bpw_len = data->cur_trans in pch_spi_set_tx()
[all...]
/kernel/linux/linux-6.6/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
365 data->cur_trans = NULL; in pch_spi_handler()
526 if (data->cur_trans->speed_hz) { in pch_spi_set_tx()
528 pch_spi_set_baud_rate(data->master, data->cur_trans->speed_hz); in pch_spi_set_tx()
532 if (data->cur_trans->bits_per_word && in pch_spi_set_tx()
533 (data->current_msg->spi->bits_per_word != data->cur_trans->bits_per_word)) { in pch_spi_set_tx()
536 data->cur_trans->bits_per_word); in pch_spi_set_tx()
537 *bpw = data->cur_trans->bits_per_word; in pch_spi_set_tx()
546 data->bpw_len = data->cur_trans in pch_spi_set_tx()
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-zx2967.c64 u8 *cur_trans; member
141 *i2c->cur_trans++ = val[i]; in zx2967_i2c_empty_rx_fifo()
153 u8 *buf = i2c->cur_trans; in zx2967_i2c_fill_tx_fifo()
165 i2c->cur_trans = NULL; in zx2967_i2c_fill_tx_fifo()
169 i2c->cur_trans += I2C_FIFO_MAX; in zx2967_i2c_fill_tx_fifo()
282 i2c->cur_trans = msg->buf; in zx2967_i2c_xfer_msg()

Completed in 36 milliseconds