Searched refs:cur_trans (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/fs/btrfs/ |
| D | transaction.c | 155 struct btrfs_transaction *cur_trans = trans->transaction; in switch_commit_roots() local 160 list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits, in switch_commit_roots() 172 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 173 while (!list_empty(&cur_trans->dropped_roots)) { in switch_commit_roots() 174 root = list_first_entry(&cur_trans->dropped_roots, in switch_commit_roots() 177 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 180 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 182 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 235 struct btrfs_transaction *cur_trans; in join_transaction() local 245 cur_trans = fs_info->running_transaction; in join_transaction() [all …]
|
| D | block-group.c | 2516 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_setup_space_cache() local 2519 if (list_empty(&cur_trans->dirty_bgs) || in btrfs_setup_space_cache() 2528 list_for_each_entry_safe(cache, tmp, &cur_trans->dirty_bgs, in btrfs_setup_space_cache() 2554 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_start_dirty_block_groups() local 2559 struct list_head *io = &cur_trans->io_bgs; in btrfs_start_dirty_block_groups() 2563 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() 2564 if (list_empty(&cur_trans->dirty_bgs)) { in btrfs_start_dirty_block_groups() 2565 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() 2568 list_splice_init(&cur_trans->dirty_bgs, &dirty); in btrfs_start_dirty_block_groups() 2569 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() [all …]
|
| D | disk-io.c | 4563 void btrfs_cleanup_dirty_bgs(struct btrfs_transaction *cur_trans, in btrfs_cleanup_dirty_bgs() argument 4568 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4569 while (!list_empty(&cur_trans->dirty_bgs)) { in btrfs_cleanup_dirty_bgs() 4570 cache = list_first_entry(&cur_trans->dirty_bgs, in btrfs_cleanup_dirty_bgs() 4575 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4578 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4586 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4589 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4591 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4597 while (!list_empty(&cur_trans->io_bgs)) { in btrfs_cleanup_dirty_bgs() [all …]
|
| D | extent-tree.c | 2252 struct btrfs_transaction *cur_trans; in check_delayed_ref() local 2257 cur_trans = root->fs_info->running_transaction; in check_delayed_ref() 2258 if (cur_trans) in check_delayed_ref() 2259 refcount_inc(&cur_trans->use_count); in check_delayed_ref() 2261 if (!cur_trans) in check_delayed_ref() 2264 delayed_refs = &cur_trans->delayed_refs; in check_delayed_ref() 2269 btrfs_put_transaction(cur_trans); in check_delayed_ref() 2286 btrfs_put_transaction(cur_trans); in check_delayed_ref() 2320 btrfs_put_transaction(cur_trans); in check_delayed_ref()
|
| /Linux-v5.10/drivers/spi/ |
| D | spi-topcliff-pch.c | 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->len / (*bpw / 8); in pch_spi_set_tx() 577 size = data->cur_trans->len * sizeof(*data->pkt_tx_buff); in pch_spi_set_tx() [all …]
|
| /Linux-v5.10/drivers/i2c/busses/ |
| D | i2c-zx2967.c | 64 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()
|