Home
last modified time | relevance | path

Searched refs:transid (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c259 __le16 transid; member
271 __le16 transid; member
435 return le16_to_cpu(cmd->header.transid) & KVASER_USB_HYDRA_TRANSID_MASK; in kvaser_usb_hydra_get_cmd_transid()
439 u16 transid) in kvaser_usb_hydra_set_cmd_transid() argument
441 cmd->header.transid = in kvaser_usb_hydra_set_cmd_transid()
442 cpu_to_le16(transid & KVASER_USB_HYDRA_TRANSID_MASK); in kvaser_usb_hydra_set_cmd_transid()
449 le16_to_cpu(cmd->header.transid) >> in kvaser_usb_hydra_get_cmd_src_he()
481 u16 transid; in kvaser_usb_hydra_get_next_transid() local
486 transid = card_data->transid; in kvaser_usb_hydra_get_next_transid()
487 if (transid >= KVASER_USB_HYDRA_MAX_TRANSID) in kvaser_usb_hydra_get_next_transid()
[all …]
Dkvaser_usb.h61 u16 transid; member
186 u16 transid);
Dkvaser_usb_leaf.c535 u16 transid) in kvaser_usb_leaf_frame_to_cmd() argument
544 cmd->u.tx_can.tid = transid & 0xff; in kvaser_usb_leaf_frame_to_cmd()
/linux-6.1.9/fs/btrfs/
Dtransaction.h29 u64 transid; member
119 u64 transid; member
174 inode->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans()
215 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid);
Dtransaction.c174 fs_info->last_reloc_trans = trans->transid; in switch_commit_roots()
372 cur_trans->transid = fs_info->generation; in join_transaction()
394 root->last_trans < trans->transid) || force) { in record_root_in_trans()
410 if (root->last_trans == trans->transid && !force) { in record_root_in_trans()
418 root->last_trans = trans->transid; in record_root_in_trans()
480 if (root->last_trans == trans->transid && in btrfs_record_root_in_trans()
672 h->transid = cur_trans->transid; in start_transaction()
690 h->transid, num_bytes, 1); in start_transaction()
828 u64 transid = commit->transid; in wait_for_commit() local
859 if (!commit || commit->transid > transid) { in wait_for_commit()
[all …]
Dtree-log.h69 WRITE_ONCE(trans->fs_info->last_trans_log_full_commit, trans->transid); in btrfs_set_log_full_commit()
75 trans->transid; in btrfs_need_log_full_commit()
Dtree-log.c109 static void wait_log_commit(struct btrfs_root *root, int transid);
559 trans->transid); in do_overwrite_item()
2855 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit() argument
2858 int index = transid % 2; in wait_log_commit()
2869 if (!(root->log_transid_committed < transid && in wait_log_commit()
3334 if (inode->logged_trans == trans->transid) in inode_logged()
3352 inode->logged_trans = trans->transid - 1; in inode_logged()
3408 inode->logged_trans = trans->transid - 1; in inode_logged()
3417 inode->logged_trans = trans->transid; in inode_logged()
3735 if (btrfs_dir_transid(src, di) < trans->transid) { in process_dir_items_leaf()
[all …]
Dctree.c209 trans->transid != fs_info->running_transaction->transid); in btrfs_copy_root()
211 trans->transid != root->last_trans); in btrfs_copy_root()
227 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root()
238 WARN_ON(btrfs_header_generation(buf) > trans->transid); in btrfs_copy_root()
419 trans->transid != fs_info->running_transaction->transid); in __btrfs_cow_block()
421 trans->transid != root->last_trans); in __btrfs_cow_block()
443 btrfs_set_header_generation(cow, trans->transid); in __btrfs_cow_block()
488 WARN_ON(trans->transid != btrfs_header_generation(parent)); in __btrfs_cow_block()
494 trans->transid); in __btrfs_cow_block()
537 if (btrfs_header_generation(buf) == trans->transid && in should_cow_block()
[all …]
Dfile.c48 u64 transid; member
111 if (defrag->transid < entry->transid) in __btrfs_add_inode_defrag()
112 entry->transid = defrag->transid; in __btrfs_add_inode_defrag()
145 u64 transid; in btrfs_add_inode_defrag() local
155 transid = trans->transid; in btrfs_add_inode_defrag()
157 transid = inode->root->last_trans; in btrfs_add_inode_defrag()
164 defrag->transid = transid; in btrfs_add_inode_defrag()
293 ret = btrfs_defrag_file(inode, NULL, &range, defrag->transid, in __btrfs_run_defrag_inode()
987 trans->transid); in btrfs_mark_extent_written()
995 trans->transid); in btrfs_mark_extent_written()
[all …]
Ddir-item.c86 btrfs_set_dir_transid(leaf, dir_item, trans->transid); in btrfs_insert_xattr_item()
146 btrfs_set_dir_transid(leaf, dir_item, trans->transid); in btrfs_insert_dir_item()
Ddisk-io.c962 fs_info->running_transaction->transid) { in btrfs_clean_tree_block()
1219 btrfs_set_root_generation(&root->root_item, trans->transid); in btrfs_create_tree()
1336 log_root->last_trans = trans->transid; in btrfs_add_log_tree()
1873 u64 transid; in transaction_kthread() local
1900 transid = cur->transid; in transaction_kthread()
1910 if (transid == trans->transid) { in transaction_kthread()
3959 u64 transid = 0; in btrfs_read_dev_super() local
3971 if (!latest || btrfs_super_generation(super) > transid) { in btrfs_read_dev_super()
3976 transid = btrfs_super_generation(super); in btrfs_read_dev_super()
4540 trans->transid, dirty_bytes); in warn_about_uncommitted_trans()
[all …]
Dioctl.c666 btrfs_set_root_generation(root_item, trans->transid); in create_subvol()
678 btrfs_set_root_ctransid(root_item, trans->transid); in create_subvol()
679 btrfs_set_root_otransid(root_item, trans->transid); in create_subvol()
2480 sh.transid = found_transid; in copy_to_sk()
4001 u64 transid; in btrfs_ioctl_start_sync() local
4009 transid = root->fs_info->last_trans_committed; in btrfs_ioctl_start_sync()
4012 transid = trans->transid; in btrfs_ioctl_start_sync()
4016 if (copy_to_user(argp, &transid, sizeof(transid))) in btrfs_ioctl_start_sync()
4024 u64 transid; in btrfs_ioctl_wait_sync() local
4027 if (copy_from_user(&transid, argp, sizeof(transid))) in btrfs_ioctl_wait_sync()
[all …]
Dreflink.c546 if (extent_gen == trans->transid && disko > 0) in btrfs_clone()
547 BTRFS_I(src)->last_reflink_trans = trans->transid; in btrfs_clone()
549 BTRFS_I(inode)->last_reflink_trans = trans->transid; in btrfs_clone()
Drelocation.c250 cache->last_trans = trans->transid; in update_backref_cache()
254 if (cache->last_trans == trans->transid) in update_backref_cache()
339 root->fs_info->running_transaction->transid) in btrfs_should_ignore_reloc_root()
793 btrfs_set_root_generation(root_item, trans->transid); in create_reloc_root()
818 reloc_root->last_trans = trans->transid; in create_reloc_root()
865 reloc_root->last_trans = trans->transid; in btrfs_init_reloc_root()
1764 reloc_root->last_trans = trans->transid; in merge_reloc_root()
2078 if (reloc_root->last_trans == trans->transid) in record_reloc_root_in_trans()
2475 trans->transid); in do_relocation()
Droot-tree.c477 btrfs_set_root_ctransid(item, trans->transid); in btrfs_update_root_times()
Dqgroup.c692 btrfs_set_qgroup_info_generation(leaf, qgroup_info, trans->transid); in add_qgroup_item()
846 btrfs_set_qgroup_info_generation(l, qgroup_info, trans->transid); in update_qgroup_info_item()
890 btrfs_set_qgroup_status_generation(l, ptr, trans->transid); in update_qgroup_status_item()
1059 btrfs_set_qgroup_status_generation(leaf, ptr, trans->transid); in btrfs_quota_enable()
2674 trace_btrfs_qgroup_account_extent(fs_info, trans->transid, bytenr, in btrfs_qgroup_account_extent()
2809 trace_qgroup_num_dirty_extents(fs_info, trans->transid, in btrfs_qgroup_account_extents()
Ddelayed-inode.c1443 btrfs_set_stack_dir_transid(dir_item, trans->transid); in btrfs_insert_delayed_dir_index()
1487 trans->transid, bytes, 0); in btrfs_insert_delayed_dir_index()
1788 btrfs_set_stack_inode_transid(inode_item, trans->transid); in fill_stack_inode_item()
Dblock-group.c2590 u64 transid = trans->transid; in btrfs_inc_block_group_ro() local
2595 ret = btrfs_wait_for_commit(fs_info, transid); in btrfs_inc_block_group_ro()
2796 if (block_group->cache_generation == trans->transid && in cache_save_setup()
2878 block_group->cache_generation = trans->transid; in cache_save_setup()
Dextent-tree.c3280 if (last_ref && btrfs_header_generation(buf) == trans->transid) { in btrfs_free_tree_block()
4693 btrfs_set_extent_generation(leaf, extent_item, trans->transid); in alloc_reserved_file_extent()
4765 btrfs_set_extent_generation(leaf, extent_item, trans->transid); in alloc_reserved_tree_block()
4898 btrfs_set_header_generation(buf, trans->transid); in btrfs_init_new_buffer()
4917 btrfs_set_header_generation(buf, trans->transid); in btrfs_init_new_buffer()
5536 btrfs_header_generation(eb) == trans->transid) { in walk_up_proc()
5813 btrfs_set_last_root_drop_gen(fs_info, trans->transid); in btrfs_drop_snapshot()
5882 btrfs_set_last_root_drop_gen(fs_info, trans->transid); in btrfs_drop_snapshot()
Dfree-space-cache.c179 btrfs_set_inode_generation(leaf, inode_item, trans->transid); in __create_free_space_inode()
187 btrfs_set_inode_transid(leaf, inode_item, trans->transid); in __create_free_space_inode()
1185 BTRFS_I(inode)->generation = trans->transid; in update_cache_item()
1190 btrfs_set_free_space_generation(leaf, header, trans->transid); in update_cache_item()
1424 io_ctl_set_generation(io_ctl, trans->transid); in __btrfs_write_out_cache()
Dctree.h2002 BTRFS_SETGET_FUNCS(inode_transid, struct btrfs_inode_item, transid, 64);
2017 transid, 64);
2230 BTRFS_SETGET_FUNCS(dir_transid, struct btrfs_dir_item, transid, 64);
2237 transid, 64);
/linux-6.1.9/include/trace/events/
Dbtrfs.h1668 TP_PROTO(const struct btrfs_fs_info *fs_info, u64 transid,
1671 TP_ARGS(fs_info, transid, num_dirty_extents),
1674 __field( u64, transid )
1679 __entry->transid = transid;
1684 __entry->transid, __entry->num_dirty_extents)
1689 TP_PROTO(const struct btrfs_fs_info *fs_info, u64 transid, u64 bytenr,
1692 TP_ARGS(fs_info, transid, bytenr, num_bytes, nr_old_roots,
1696 __field( u64, transid )
1704 __entry->transid = transid;
1713 __entry->transid,
/linux-6.1.9/include/uapi/linux/
Dbtrfs_tree.h591 __le64 transid; member
622 __le64 transid; member
Dbtrfs.h130 __u64 transid; member
547 __u64 transid; member
/linux-6.1.9/fs/btrfs/tests/
Dbtrfs-tests.c255 trans->transid = 1; in btrfs_init_dummy_trans()

12