Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dtransaction.c279 if (cur_trans) { in join_transaction()
312 cur_trans = kmalloc(sizeof(*cur_trans), GFP_NOFS); in join_transaction()
313 if (!cur_trans) in join_transaction()
327 kfree(cur_trans); in join_transaction()
333 kfree(cur_trans); in join_transaction()
353 memset(&cur_trans->delayed_refs, 0, sizeof(cur_trans->delayed_refs)); in join_transaction()
524 if (cur_trans && is_transaction_blocked(cur_trans)) { in wait_current_trans()
919 cur_trans = t; in btrfs_wait_for_commit()
935 if (!cur_trans) { in btrfs_wait_for_commit()
948 cur_trans = t; in btrfs_wait_for_commit()
[all …]
H A Dblock-group.c3286 if (list_empty(&cur_trans->dirty_bgs) || in btrfs_setup_space_cache()
3329 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3330 if (list_empty(&cur_trans->dirty_bgs)) { in btrfs_start_dirty_block_groups()
3335 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3380 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3424 &cur_trans->dirty_bgs); in btrfs_start_dirty_block_groups()
3459 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3473 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_start_dirty_block_groups()
3512 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_write_dirty_block_groups()
3575 wait_event(cur_trans->writer_wait, in btrfs_write_dirty_block_groups()
[all …]
H A Ddisk-io.c4811 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4818 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4821 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()
4832 spin_lock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4834 spin_unlock(&cur_trans->dirty_bgs_lock); in btrfs_cleanup_dirty_bgs()
4840 while (!list_empty(&cur_trans->io_bgs)) { in btrfs_cleanup_dirty_bgs()
4886 ASSERT(list_empty(&cur_trans->io_bgs)); in btrfs_cleanup_one_transaction()
4898 cur_trans->state = TRANS_STATE_UNBLOCKED; in btrfs_cleanup_one_transaction()
4909 cur_trans->state =TRANS_STATE_COMPLETED; in btrfs_cleanup_one_transaction()
[all …]
H A Dextent-tree.c2239 struct btrfs_transaction *cur_trans; in check_delayed_ref() local
2244 cur_trans = root->fs_info->running_transaction; in check_delayed_ref()
2245 if (cur_trans) in check_delayed_ref()
2246 refcount_inc(&cur_trans->use_count); in check_delayed_ref()
2248 if (!cur_trans) in check_delayed_ref()
2251 delayed_refs = &cur_trans->delayed_refs; in check_delayed_ref()
2256 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2263 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2279 btrfs_put_transaction(cur_trans); in check_delayed_ref()
2313 btrfs_put_transaction(cur_trans); in check_delayed_ref()
/openbmc/linux/drivers/spi/
H A Dspi-topcliff-pch.c181 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()
630 data->cur_trans = NULL; in pch_spi_nomore_transfer()
701 if (!data->cur_trans->rx_buf) in pch_spi_copy_rx_data()
724 if (!data->cur_trans->rx_buf) in pch_spi_copy_rx_data_for_dma()
1160 if (data->cur_trans == NULL) { in pch_spi_process_messages()
1161 data->cur_trans = in pch_spi_process_messages()
1168 data->cur_trans = in pch_spi_process_messages()
1177 if (!data->cur_trans->len) in pch_spi_process_messages()
[all …]