Searched refs:cur_trans (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | transaction.c | 155 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 = fs_info->running_transaction; in join_transaction() [all …]
|
| H A D | block-group.c | 2529 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_setup_space_cache() local 2532 if (list_empty(&cur_trans->dirty_bgs) || in btrfs_setup_space_cache() 2541 list_for_each_entry_safe(cache, tmp, &cur_trans->dirty_bgs, in btrfs_setup_space_cache() 2567 struct btrfs_transaction *cur_trans = trans->transaction; in btrfs_start_dirty_block_groups() local 2572 struct list_head *io = &cur_trans->io_bgs; in btrfs_start_dirty_block_groups() 2575 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() 2576 if (list_empty(&cur_trans->dirty_bgs)) { in btrfs_start_dirty_block_groups() 2577 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() 2580 list_splice_init(&cur_trans->dirty_bgs, &dirty); in btrfs_start_dirty_block_groups() 2581 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups() [all …]
|
| H A D | disk-io.c | 4635 void btrfs_cleanup_dirty_bgs(struct btrfs_transaction *cur_trans, in btrfs_cleanup_dirty_bgs() argument 4640 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4641 while (!list_empty(&cur_trans->dirty_bgs)) { in btrfs_cleanup_dirty_bgs() 4642 cache = list_first_entry(&cur_trans->dirty_bgs, in btrfs_cleanup_dirty_bgs() 4647 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4650 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4658 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4661 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4663 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs() 4669 while (!list_empty(&cur_trans->io_bgs)) { in btrfs_cleanup_dirty_bgs() [all …]
|
| H A D | extent-tree.c | 2209 struct btrfs_transaction *cur_trans; in check_delayed_ref() local 2214 cur_trans = root->fs_info->running_transaction; in check_delayed_ref() 2215 if (cur_trans) in check_delayed_ref() 2216 refcount_inc(&cur_trans->use_count); in check_delayed_ref() 2218 if (!cur_trans) in check_delayed_ref() 2221 delayed_refs = &cur_trans->delayed_refs; in check_delayed_ref() 2226 btrfs_put_transaction(cur_trans); in check_delayed_ref() 2243 btrfs_put_transaction(cur_trans); in check_delayed_ref() 2277 btrfs_put_transaction(cur_trans); in check_delayed_ref()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A 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()
|