Searched refs:cur_trans (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/fs/btrfs/ |
| D | transaction.c | 160 struct btrfs_transaction *cur_trans = trans->transaction; in switch_commit_roots() local 166 list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits, in switch_commit_roots() 176 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 177 while (!list_empty(&cur_trans->dropped_roots)) { in switch_commit_roots() 178 root = list_first_entry(&cur_trans->dropped_roots, in switch_commit_roots() 181 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 184 spin_lock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 186 spin_unlock(&cur_trans->dropped_roots_lock); in switch_commit_roots() 281 struct btrfs_transaction *cur_trans; in join_transaction() local 291 cur_trans = fs_info->running_transaction; in join_transaction() [all …]
|
| D | block-group.c | 2817 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_setup_space_cache() local 2820 if (list_empty(&cur_trans->dirty_bgs) || in btrfs_setup_space_cache() 2829 list_for_each_entry_safe(cache, tmp, &cur_trans->dirty_bgs, in btrfs_setup_space_cache() 2855 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_start_dirty_block_groups() local 2860 struct list_head *io = &cur_trans->io_bgs; in btrfs_start_dirty_block_groups() 2864 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() 2865 if (list_empty(&cur_trans->dirty_bgs)) { in btrfs_start_dirty_block_groups() 2866 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() 2869 list_splice_init(&cur_trans->dirty_bgs, &dirty); in btrfs_start_dirty_block_groups() 2870 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() [all …]
|
| D | disk-io.c | 4843 void btrfs_cleanup_dirty_bgs(struct btrfs_transaction *cur_trans, in btrfs_cleanup_dirty_bgs() argument 4848 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4849 while (!list_empty(&cur_trans->dirty_bgs)) { in btrfs_cleanup_dirty_bgs() 4850 cache = list_first_entry(&cur_trans->dirty_bgs, in btrfs_cleanup_dirty_bgs() 4855 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4858 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4866 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4869 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4871 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4877 while (!list_empty(&cur_trans->io_bgs)) { in btrfs_cleanup_dirty_bgs() [all …]
|
| D | extent-tree.c | 2211 struct btrfs_transaction *cur_trans; in check_delayed_ref() local 2216 cur_trans = root->fs_info->running_transaction; in check_delayed_ref() 2217 if (cur_trans) in check_delayed_ref() 2218 refcount_inc(&cur_trans->use_count); in check_delayed_ref() 2220 if (!cur_trans) in check_delayed_ref() 2223 delayed_refs = &cur_trans->delayed_refs; in check_delayed_ref() 2228 btrfs_put_transaction(cur_trans); in check_delayed_ref() 2245 btrfs_put_transaction(cur_trans); in check_delayed_ref() 2279 btrfs_put_transaction(cur_trans); in check_delayed_ref()
|
| /Linux-v5.15/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 …]
|