/linux-6.12.1/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 258 __le16 transid; member 279 __le16 transid; member 444 return le16_to_cpu(cmd->header.transid) & KVASER_USB_HYDRA_TRANSID_MASK; in kvaser_usb_hydra_get_cmd_transid() 448 u16 transid) in kvaser_usb_hydra_set_cmd_transid() argument 450 cmd->header.transid = in kvaser_usb_hydra_set_cmd_transid() 451 cpu_to_le16(transid & KVASER_USB_HYDRA_TRANSID_MASK); in kvaser_usb_hydra_set_cmd_transid() 458 le16_to_cpu(cmd->header.transid) >> in kvaser_usb_hydra_get_cmd_src_he() 490 u16 transid; in kvaser_usb_hydra_get_next_transid() local 495 transid = card_data->transid; in kvaser_usb_hydra_get_next_transid() 496 if (transid >= KVASER_USB_HYDRA_MAX_TRANSID) in kvaser_usb_hydra_get_next_transid() [all …]
|
D | kvaser_usb.h | 62 u16 transid; member 188 u16 transid);
|
/linux-6.12.1/fs/btrfs/ |
D | transaction.c | 188 fs_info->last_reloc_trans = trans->transid; in switch_commit_roots() 385 cur_trans->transid = fs_info->generation; in join_transaction() 407 btrfs_get_root_last_trans(root) < trans->transid) || force) { in record_root_in_trans() 423 if (btrfs_get_root_last_trans(root) == trans->transid && !force) { in record_root_in_trans() 431 btrfs_set_root_last_trans(root, trans->transid); in record_root_in_trans() 493 if (btrfs_get_root_last_trans(root) == trans->transid && in btrfs_record_root_in_trans() 713 h->transid = cur_trans->transid; in start_transaction() 732 h->transid, num_bytes, 1); in start_transaction() 738 h->transid, in start_transaction() 896 u64 transid = commit->transid; in wait_for_commit() local [all …]
|
D | transaction.h | 55 u64 transid; member 143 u64 transid; member 201 inode->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans() 270 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid);
|
D | tree-log.h | 64 WRITE_ONCE(trans->fs_info->last_trans_log_full_commit, trans->transid); in btrfs_set_log_full_commit() 70 trans->transid; in btrfs_need_log_full_commit()
|
D | defrag.c | 33 u64 transid; member 95 if (defrag->transid < entry->transid) in btrfs_insert_inode_defrag() 96 entry->transid = defrag->transid; in btrfs_insert_inode_defrag() 141 defrag->transid = btrfs_get_root_last_trans(root); in btrfs_add_inode_defrag() 267 ret = btrfs_defrag_file(inode, ra, &range, defrag->transid, in btrfs_run_defrag_inode() 367 trans->transid != fs_info->generation)) { in btrfs_realloc_node() 371 parent->start, btrfs_root_id(root), trans->transid, in btrfs_realloc_node() 372 fs_info->running_transaction->transid, in btrfs_realloc_node()
|
D | tree-log.c | 116 static void wait_log_commit(struct btrfs_root *root, int transid); 358 .transid = gen in process_one_buffer() 589 trans->transid); in overwrite_item() 2409 .transid = gen, in replay_one_buffer() 2630 check.transid = ptr_gen; in walk_down_log_tree() 2801 static void wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit() argument 2804 int index = transid % 2; in wait_log_commit() 2815 if (!(root->log_transid_committed < transid && in wait_log_commit() 3321 if (inode->logged_trans == trans->transid) in inode_logged() 3339 inode->logged_trans = trans->transid - 1; in inode_logged() [all …]
|
D | ctree.c | 322 trans->transid != fs_info->running_transaction->transid); in btrfs_copy_root() 324 trans->transid != btrfs_get_root_last_trans(root)); in btrfs_copy_root() 342 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root() 353 WARN_ON(btrfs_header_generation(buf) > trans->transid); in btrfs_copy_root() 404 if (buf_gen == trans->transid) in btrfs_block_can_be_shared() 557 trans->transid != fs_info->running_transaction->transid); in btrfs_force_cow_block() 559 trans->transid != btrfs_get_root_last_trans(root)); in btrfs_force_cow_block() 583 btrfs_set_header_generation(cow, trans->transid); in btrfs_force_cow_block() 631 WARN_ON(trans->transid != btrfs_header_generation(parent)); in btrfs_force_cow_block() 641 trans->transid); in btrfs_force_cow_block() [all …]
|
D | tree-checker.h | 29 u64 transid; member
|
D | disk-io.c | 422 if (unlikely(check->transid && in btrfs_validate_extent_buffer() 423 btrfs_header_generation(eb) != check->transid)) { in btrfs_validate_extent_buffer() 426 eb->start, eb->read_mirror, check->transid, in btrfs_validate_extent_buffer() 442 eb->start, check->transid, in btrfs_validate_extent_buffer() 891 btrfs_set_root_generation(&root->root_item, trans->transid); in btrfs_create_tree() 1005 btrfs_set_root_last_trans(log_root, trans->transid); in btrfs_add_log_tree() 1052 check.transid = generation; in read_tree_root_path() 1564 u64 transid; in transaction_kthread() local 1591 transid = cur->transid; in transaction_kthread() 1601 if (transid == trans->transid) { in transaction_kthread() [all …]
|
D | dir-item.c | 89 btrfs_set_dir_transid(leaf, dir_item, trans->transid); in btrfs_insert_xattr_item() 152 btrfs_set_dir_transid(leaf, dir_item, trans->transid); in btrfs_insert_dir_item()
|
D | file.c | 678 trans->transid); in btrfs_mark_extent_written() 686 trans->transid); in btrfs_mark_extent_written() 705 trans->transid); in btrfs_mark_extent_written() 713 trans->transid); in btrfs_mark_extent_written() 741 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 748 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 830 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 837 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 2139 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in fill_holes() 2156 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in fill_holes() [all …]
|
D | ioctl.c | 690 btrfs_set_root_generation(root_item, trans->transid); in create_subvol() 702 btrfs_set_root_ctransid(root_item, trans->transid); in create_subvol() 703 btrfs_set_root_otransid(root_item, trans->transid); in create_subvol() 1630 sh.transid = found_transid; in copy_to_sk() 3182 u64 transid; in btrfs_ioctl_start_sync() local 3197 transid = btrfs_get_last_trans_committed(root->fs_info); in btrfs_ioctl_start_sync() 3200 transid = trans->transid; in btrfs_ioctl_start_sync() 3204 if (copy_to_user(argp, &transid, sizeof(transid))) in btrfs_ioctl_start_sync() 3213 u64 transid = 0; in btrfs_ioctl_wait_sync() local 3216 if (copy_from_user(&transid, argp, sizeof(transid))) in btrfs_ioctl_wait_sync() [all …]
|
D | reflink.c | 551 if (extent_gen == trans->transid && disko > 0) in btrfs_clone() 552 BTRFS_I(src)->last_reflink_trans = trans->transid; in btrfs_clone() 554 BTRFS_I(inode)->last_reflink_trans = trans->transid; in btrfs_clone()
|
D | ctree.h | 368 static inline void btrfs_set_root_last_trans(struct btrfs_root *root, u64 transid) in btrfs_set_root_last_trans() argument 370 WRITE_ONCE(root->last_trans, transid); in btrfs_set_root_last_trans()
|
D | accessors.h | 287 BTRFS_SETGET_FUNCS(inode_transid, struct btrfs_inode_item, transid, 64); 302 transid, 64); 533 BTRFS_SETGET_FUNCS(dir_transid, struct btrfs_dir_item, transid, 64); 537 BTRFS_SETGET_STACK_FUNCS(stack_dir_transid, struct btrfs_dir_item, transid, 64);
|
D | qgroup.c | 750 btrfs_set_qgroup_info_generation(leaf, qgroup_info, trans->transid); in add_qgroup_item() 904 btrfs_set_qgroup_info_generation(l, qgroup_info, trans->transid); in update_qgroup_info_item() 948 btrfs_set_qgroup_status_generation(l, ptr, trans->transid); in update_qgroup_status_item() 1120 btrfs_set_qgroup_status_generation(leaf, ptr, trans->transid); in btrfs_quota_enable() 1125 btrfs_set_qgroup_status_enable_gen(leaf, ptr, trans->transid); in btrfs_quota_enable() 1232 fs_info->qgroup_enable_gen = trans->transid; in btrfs_quota_enable() 2656 .transid = root_gen, in btrfs_qgroup_trace_subtree() 2986 trace_btrfs_qgroup_account_extent(fs_info, trans->transid, bytenr, in btrfs_qgroup_account_extent() 3115 trace_qgroup_num_dirty_extents(fs_info, trans->transid, in btrfs_qgroup_account_extents() 4854 check.transid = block->reloc_generation; in btrfs_qgroup_trace_subtree_after_cow()
|
D | relocation.c | 281 root->fs_info->running_transaction->transid) in btrfs_should_ignore_reloc_root() 729 btrfs_set_root_generation(root_item, trans->transid); in create_reloc_root() 754 btrfs_set_root_last_trans(reloc_root, trans->transid); in create_reloc_root() 801 btrfs_set_root_last_trans(reloc_root, trans->transid); in btrfs_init_reloc_root() 1676 btrfs_set_root_last_trans(reloc_root, trans->transid); in merge_reloc_root() 2019 if (btrfs_get_root_last_trans(reloc_root) == trans->transid) in record_reloc_root_in_trans() 2422 trans->transid); in do_relocation() 2546 .transid = block->key.offset in get_tree_block_key() 3634 if (rc->backref_cache.last_trans != trans->transid) in relocate_block_group() 3636 rc->backref_cache.last_trans = trans->transid; in relocate_block_group()
|
D | extent-tree.c | 1565 .generation = trans->transid, in run_delayed_data_ref() 1731 .generation = trans->transid, in run_delayed_tree_ref() 3463 if (btrfs_header_generation(buf) != trans->transid) in btrfs_free_tree_block() 4826 btrfs_set_extent_generation(leaf, extent_item, trans->transid); in alloc_reserved_file_extent() 4905 btrfs_set_extent_generation(leaf, extent_item, trans->transid); in alloc_reserved_tree_block() 4974 .generation = trans->transid, in btrfs_alloc_logged_file_extent() 5066 btrfs_set_header_generation(buf, trans->transid); in btrfs_init_new_buffer() 5085 btrfs_set_header_generation(buf, trans->transid); in btrfs_init_new_buffer() 5573 check.transid = generation; in check_next_block_uptodate() 6200 btrfs_set_last_root_drop_gen(fs_info, trans->transid); in btrfs_drop_snapshot() [all …]
|
D | print-tree.c | 423 .transid = btrfs_node_ptr_generation(c, i), in btrfs_print_tree()
|
D | root-tree.c | 490 btrfs_set_root_ctransid(item, trans->transid); in btrfs_update_root_times()
|
/linux-6.12.1/include/trace/events/ |
D | btrfs.h | 1745 TP_PROTO(const struct btrfs_fs_info *fs_info, u64 transid, 1748 TP_ARGS(fs_info, transid, num_dirty_extents), 1751 __field( u64, transid ) 1756 __entry->transid = transid; 1761 __entry->transid, __entry->num_dirty_extents) 1766 TP_PROTO(const struct btrfs_fs_info *fs_info, u64 transid, u64 bytenr, 1769 TP_ARGS(fs_info, transid, bytenr, num_bytes, nr_old_roots, 1773 __field( u64, transid ) 1781 __entry->transid = transid; 1790 __entry->transid,
|
/linux-6.12.1/include/uapi/linux/ |
D | btrfs_tree.h | 875 __le64 transid; member 906 __le64 transid; member
|
D | btrfs.h | 137 __u64 transid; member 573 __u64 transid; member
|
/linux-6.12.1/fs/btrfs/tests/ |
D | btrfs-tests.c | 253 trans->transid = 1; in btrfs_init_dummy_trans()
|