| /linux/include/trace/events/ |
| H A D | btrfs.h | 222 __entry->generation = trans->transid; 241 __entry->generation = trans->transid; 264 __entry->generation = trans->transid; 931 __field( u64, transid ) 947 __entry->transid = trans->transid; 962 show_inode_type(__entry->mode), __entry->transid, 979 __field( u64, transid ) 987 __entry->transid = trans->transid; 993 __entry->transid, __entry->ret) 1007 __field( u64, transid ) [all …]
|
| /linux/drivers/net/can/usb/kvaser_usb/ |
| H A D | kvaser_usb_hydra.c | 277 __le16 transid; member 295 * the lower part is stored in 12..15 of transid. 298 __le16 transid; member 465 return le16_to_cpu(cmd->header.transid) & KVASER_USB_HYDRA_TRANSID_MASK; in kvaser_usb_hydra_get_cmd_transid() 469 u16 transid) in kvaser_usb_hydra_set_cmd_transid() argument 471 cmd->header.transid = in kvaser_usb_hydra_set_cmd_transid() 472 cpu_to_le16(transid & KVASER_USB_HYDRA_TRANSID_MASK); in kvaser_usb_hydra_set_cmd_transid() 479 le16_to_cpu(cmd->header.transid) >> in kvaser_usb_hydra_get_cmd_src_he() 511 u16 transid; in kvaser_usb_hydra_get_next_transid() local 516 transid in kvaser_usb_hydra_get_next_transid() 705 u16 transid = kvaser_usb_hydra_get_cmd_transid(cmd); kvaser_usb_hydra_map_channel_resp() local 739 kvaser_usb_hydra_map_channel(struct kvaser_usb * dev,u16 transid,u8 channel,const char * name) kvaser_usb_hydra_map_channel() argument 1188 u16 transid = kvaser_usb_hydra_get_cmd_transid(cmd); kvaser_usb_hydra_tx_acknowledge() local 1456 kvaser_usb_hydra_frame_to_cmd_ext(const struct kvaser_usb_net_priv * priv,const struct sk_buff * skb,int * cmd_len,u16 transid) kvaser_usb_hydra_frame_to_cmd_ext() argument 1539 kvaser_usb_hydra_frame_to_cmd_std(const struct kvaser_usb_net_priv * priv,const struct sk_buff * skb,int * cmd_len,u16 transid) kvaser_usb_hydra_frame_to_cmd_std() argument 2185 kvaser_usb_hydra_frame_to_cmd(const struct kvaser_usb_net_priv * priv,const struct sk_buff * skb,int * cmd_len,u16 transid) kvaser_usb_hydra_frame_to_cmd() argument [all...] |
| H A D | kvaser_usb.h | 72 u16 transid; member 212 u16 transid);
|
| H A D | kvaser_usb_leaf.c | 612 u16 transid) in kvaser_usb_leaf_frame_to_cmd() argument 621 cmd->u.tx_can.tid = transid & 0xff; in kvaser_usb_leaf_frame_to_cmd()
|
| /linux/fs/btrfs/ |
| H A D | transaction.c | 121 * | attached to transid N+1. | 164 trans->transid = 1; in btrfs_put_transaction() 224 fs_info->last_reloc_trans = trans->transid; in extwriter_counter_inc() 415 cur_trans->transid = fs_info->generation; in record_root_in_trans() 440 btrfs_get_root_last_trans(root) < trans->transid) || force) { in record_root_in_trans() 456 if (btrfs_get_root_last_trans(root) == trans->transid && !force) { in record_root_in_trans() 465 btrfs_set_root_last_trans(root, trans->transid); in record_root_in_trans() 537 if (btrfs_get_root_last_trans(root) == trans->transid) { in wait_current_trans() 767 h->transid = cur_trans->transid; in start_transaction() 927 u64 transid = commit->transid; wait_for_commit() local 968 btrfs_wait_for_commit(struct btrfs_fs_info * fs_info,u64 transid) btrfs_wait_for_commit() argument [all...] |
| H A D | transaction.h | 52 u64 transid; 117 u64 transid; 183 inode->last_trans = trans->transaction->transid; 294 int btrfs_wait_for_commit(struct btrfs_fs_info *fs_info, u64 transid); 53 u64 transid; global() member 153 u64 transid; global() member
|
| H A D | tree-log.c | 42 * ---> record transid of last unlink/rename per directory 224 static bool wait_log_commit(struct btrfs_root *root, int transid); 411 .transid = gen in process_one_buffer() 655 btrfs_set_inode_generation(dst_eb, dst_item, trans->transid); in overwrite_item() 2746 .transid = gen, in replay_one_buffer() 2992 check.transid = ptr_gen; in walk_down_log_tree() 3169 static bool wait_log_commit(struct btrfs_root *root, int transid) in wait_log_commit() argument 3172 const int index = (transid >= 0 ? transid % 2 : -transid in wait_log_commit() [all...] |
| H A D | defrag.c | 34 u64 transid; member 76 * If you're inserting a record for an older transid than an existing record, 77 * the transid already in the tree is lowered. 92 * sure to lower the transid of our existing record. in btrfs_insert_inode_defrag() 94 if (defrag->transid < entry->transid) in btrfs_insert_inode_defrag() 95 entry->transid = defrag->transid; in btrfs_insert_inode_defrag() 136 defrag->transid = btrfs_get_root_last_trans(root); in btrfs_add_inode_defrag() 269 defrag->transid, BTRFS_DEFRAG_BATC in btrfs_run_defrag_inode() [all...] |
| H A D | ctree.c | 257 trans->transid != fs_info->running_transaction->transid); in btrfs_copy_root() 259 trans->transid != btrfs_get_root_last_trans(root)); in btrfs_copy_root() 277 btrfs_set_header_generation(cow, trans->transid); in btrfs_copy_root() 288 if (unlikely(btrfs_header_generation(buf) > trans->transid)) { in btrfs_copy_root() 343 if (buf_gen == trans->transid) in btrfs_block_can_be_shared() 485 trans->transid != fs_info->running_transaction->transid); in btrfs_force_cow_block() 487 trans->transid != btrfs_get_root_last_trans(root)); in btrfs_force_cow_block() 511 btrfs_set_header_generation(cow, trans->transid); in btrfs_force_cow_block() [all...] |
| H A D | disk-io.c | 107 * we can't consider a given block up to date unless the transid of the 108 * block matches the transid in the parent node's pointer. This is how we 129 "parent transid verify failed on logical %llu mirror %u wanted %llu found %llu", in btrfs_buffer_uptodate() 423 if (unlikely(check->transid && in btrfs_validate_extent_buffer() 424 btrfs_header_generation(eb) != check->transid)) { in btrfs_validate_extent_buffer() 426 "parent transid verify failed on logical %llu mirror %u wanted %llu found %llu", in btrfs_validate_extent_buffer() 427 eb->start, eb->read_mirror, check->transid, in btrfs_validate_extent_buffer() 442 eb->start, check->transid, in btrfs_validate_extent_buffer() 867 btrfs_set_root_generation(&root->root_item, trans->transid); in btrfs_create_tree() 977 btrfs_set_root_last_trans(log_root, trans->transid); in btrfs_add_log_tree() 1537 u64 transid; transaction_kthread() local 4614 u64 transid = btrfs_header_generation(buf); btrfs_mark_buffer_dirty() local [all...] |
| H A D | ctree.h | 363 static inline void btrfs_set_root_last_trans(struct btrfs_root *root, u64 transid) in btrfs_set_root_last_trans() argument 365 WRITE_ONCE(root->last_trans, transid); in btrfs_set_root_last_trans()
|
| H A D | reflink.c | 619 if (extent_gen == trans->transid && disko > 0) in btrfs_clone() 620 src->last_reflink_trans = trans->transid; in btrfs_clone() 622 inode->last_reflink_trans = trans->transid; in btrfs_clone()
|
| H A D | file.c | 608 trans->transid); in btrfs_mark_extent_written() 616 trans->transid); in btrfs_mark_extent_written() 634 trans->transid); in btrfs_mark_extent_written() 642 trans->transid); in btrfs_mark_extent_written() 669 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 676 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 757 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 763 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in btrfs_mark_extent_written() 2110 btrfs_set_file_extent_generation(leaf, fi, trans->transid); in fill_holes() 2142 hole_em->generation = trans->transid; in fill_holes() [all...] |
| H A D | ioctl.c | 662 btrfs_set_root_generation(root_item, trans->transid); in create_subvol() 674 btrfs_set_root_ctransid(root_item, trans->transid); in create_subvol() 675 btrfs_set_root_otransid(root_item, trans->transid); in create_subvol() 1497 sh.transid = found_transid; in copy_to_sk() 3056 u64 transid; in btrfs_ioctl_start_sync() 3071 transid = btrfs_get_last_trans_committed(root->fs_info); 3074 transid = trans->transid; in btrfs_ioctl_scrub() 3078 if (copy_to_user(argp, &transid, sizeof(transid))) in btrfs_ioctl_scrub() 3032 u64 transid; btrfs_ioctl_start_sync() local 3063 u64 transid = 0; btrfs_ioctl_wait_sync() local [all...] |
| H A D | qgroup.c | 773 btrfs_set_qgroup_info_generation(leaf, qgroup_info, trans->transid); in add_qgroup_item() 908 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() 1105 btrfs_set_qgroup_status_generation(leaf, ptr, trans->transid); in btrfs_quota_enable() 1117 btrfs_set_qgroup_status_enable_gen(leaf, ptr, trans->transid + 1); in btrfs_quota_enable() 1227 fs_info->qgroup_enable_gen = trans->transid + 1; in btrfs_quota_enable() 2690 .transid = root_gen, in btrfs_qgroup_trace_subtree() 3028 trace_btrfs_qgroup_account_extent(fs_info, trans->transid, bytenr, in btrfs_qgroup_account_extents() 3159 trace_btrfs_qgroup_num_dirty_extents(fs_info, trans->transid, num_dirty_extents); in btrfs_run_qgroups() 4941 check.transid in btrfs_record_squota_delta() [all...] |
| H A D | extent-tree.c | 1643 .generation = trans->transid, in run_delayed_data_ref() 1812 .generation = trans->transid, in run_delayed_tree_ref() 3025 start, end, trans->transid, in btrfs_finish_extent_commit() 3654 if (btrfs_header_generation(buf) != trans->transid) in btrfs_free_tree_block() 5037 btrfs_set_extent_generation(leaf, extent_item, trans->transid); in alloc_reserved_file_extent() 5125 btrfs_set_extent_generation(leaf, extent_item, trans->transid); in alloc_reserved_tree_block() 5194 .generation = trans->transid, in btrfs_alloc_logged_file_extent() 5288 btrfs_set_header_generation(buf, trans->transid); in btrfs_init_new_buffer() 5307 btrfs_set_header_generation(buf, trans->transid); in btrfs_init_new_buffer() 5789 check.transid in check_next_block_uptodate() [all...] |
| H A D | relocation.c | 387 root->fs_info->running_transaction->transid) in btrfs_should_ignore_reloc_root() 710 btrfs_set_root_generation(root_item, trans->transid); in create_reloc_root() 735 btrfs_set_root_last_trans(reloc_root, trans->transid); in create_reloc_root() 776 btrfs_set_root_last_trans(root->reloc_root, trans->transid); in btrfs_init_reloc_root() 1699 btrfs_set_root_last_trans(reloc_root, trans->transid); in merge_reloc_root() 2059 if (btrfs_get_root_last_trans(reloc_root) == trans->transid) in record_reloc_root_in_trans() 2439 trans->transid); in do_relocation() 2563 .transid = block->key.offset in get_tree_block_key() 3652 if (rc->backref_cache.last_trans != trans->transid) in relocate_block_group() 3654 rc->backref_cache.last_trans = trans->transid; in relocate_block_group() [all...] |
| H A D | root-tree.c | 469 btrfs_set_root_ctransid(item, trans->transid); in btrfs_update_root_times()
|
| H A D | xattr.c | 197 btrfs_set_dir_transid(leaf, di, trans->transid); in btrfs_setxattr()
|
| H A D | delayed-inode.c | 1465 trans->transid, bytes, 0); in btrfs_release_dir_index_item_space() 1562 btrfs_set_stack_dir_transid(dir_item, trans->transid); in btrfs_insert_delayed_dir_index() 1911 btrfs_set_stack_inode_transid(inode_item, trans->transid); in btrfs_fill_inode()
|
| H A D | print-tree.c | 619 .transid = btrfs_node_ptr_generation(c, i), in btrfs_print_tree()
|
| H A D | free-space-cache.c | |
| H A D | block-group.c | 3165 u64 transid = trans->transid; in btrfs_inc_block_group_ro() 3170 ret = btrfs_wait_for_commit(fs_info, transid); in btrfs_inc_block_group_ro() 3177 u64 transid = trans->transid; btrfs_inc_block_group_ro() local
|
| H A D | inode.c | 489 btrfs_set_file_extent_generation(leaf, ei, trans->transid); in insert_inline_extent() 3083 btrfs_set_stack_file_extent_generation(stack_fi, trans->transid); in insert_reserved_file_extent() 3303 ordered_extent->num_bytes, trans->transid); in btrfs_finish_one_ordered() 4239 btrfs_set_inode_transid(leaf, item, trans->transid); in btrfs_read_locked_inode() 4892 if (inode->last_unlink_trans >= trans->transid) in btrfs_delete_subvolume() 6630 BTRFS_I(inode)->generation = trans->transid; 9077 btrfs_set_file_extent_generation(leaf, ei, trans->transid); in btrfs_symlink() 9242 em->generation = trans->transid; in __btrfs_prealloc_file_range()
|
| /linux/include/uapi/linux/ |
| H A D | btrfs.h | 137 __u64 transid; member 574 __u64 transid; member
|