Lines Matching refs:u64

227 	u64 objectid;
229 u64 offset;
362 #define BTRFS_BACKREF_REV_MASK (((u64)BTRFS_BACKREF_REV_MAX - 1) << \
947 u64 replace_state; /* see #define above */
948 u64 time_started; /* seconds since 1-Jan-1970 */
949 u64 time_stopped; /* seconds since 1-Jan-1970 */
953 u64 cursor_left;
954 u64 committed_cursor_left;
955 u64 cursor_left_last_write_of_item;
956 u64 cursor_right;
958 u64 cont_reading_from_srcdev_mode; /* see #define above */
1046 static inline u64 chunk_to_extended(u64 flags) in chunk_to_extended()
1053 static inline u64 extended_to_chunk(u64 flags) in extended_to_chunk()
1065 static inline u64 btrfs_qgroup_level(u64 qgroupid) in btrfs_qgroup_level()
1145 u64 total_bytes; /* total bytes in the space,
1147 u64 bytes_used; /* total bytes used,
1149 u64 bytes_pinned; /* total bytes pinned, will be freed when the
1151 u64 bytes_reserved; /* total bytes the allocator has reserved for
1153 u64 bytes_may_use; /* number of bytes that may be used for
1155 u64 bytes_readonly; /* total bytes that are read only */
1166 u64 disk_used; /* total bytes used on disk */
1167 u64 disk_total; /* total bytes on disk, takes mirrors into
1170 u64 flags;
1206 u64 size;
1207 u64 reserved;
1226 u64 max_size;
1229 u64 window_start;
1261 u64 progress;
1285 u64 pinned;
1286 u64 reserved;
1287 u64 delalloc_bytes;
1288 u64 bytes_super;
1289 u64 flags;
1290 u64 sectorsize;
1291 u64 cache_generation;
1313 u64 last_byte_to_unpin;
1352 u64 seq;
1407 u64 first_logical_byte;
1412 u64 free_chunk_space;
1436 u64 generation;
1437 u64 last_trans_committed;
1438 u64 avg_delayed_ref_runtime;
1444 u64 last_trans_log_full_commit;
1459 u64 max_inline;
1470 u64 alloc_start;
1631 u64 total_pinned;
1672 u64 avail_data_alloc_bits;
1673 u64 avail_metadata_alloc_bits;
1674 u64 avail_system_alloc_bits;
1717 u64 qgroup_flags;
1739 u64 qgroup_seq;
1848 u64 ino_cache_progress;
1865 u64 objectid;
1866 u64 last_trans;
1878 u64 highest_objectid;
1881 u64 alloc_bytenr;
1883 u64 defrag_trans_start;
1928 u64 nr_delalloc_inodes;
1944 u64 nr_ordered_extents;
2438 static inline u64 btrfs_stripe_offset_nr(struct extent_buffer *eb, in btrfs_stripe_offset_nr()
2444 static inline u64 btrfs_stripe_devid_nr(struct extent_buffer *eb, in btrfs_stripe_devid_nr()
2596 static inline u64 btrfs_node_blockptr(struct extent_buffer *eb, int nr) in btrfs_node_blockptr()
2605 int nr, u64 val) in btrfs_set_node_blockptr()
2613 static inline u64 btrfs_node_ptr_generation(struct extent_buffer *eb, int nr) in btrfs_node_ptr_generation()
2622 int nr, u64 val) in btrfs_set_node_ptr_generation()
2830 static inline int btrfs_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_header_flag()
2835 static inline int btrfs_set_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_set_header_flag()
2837 u64 flags = btrfs_header_flags(eb); in btrfs_set_header_flag()
2842 static inline int btrfs_clear_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_clear_header_flag()
2844 u64 flags = btrfs_header_flags(eb); in btrfs_clear_header_flag()
2851 u64 flags = btrfs_header_flags(eb); in btrfs_header_backref_rev()
2858 u64 flags = btrfs_header_flags(eb); in btrfs_set_header_backref_rev()
2860 flags |= (u64)rev << BTRFS_BACKREF_REV_SHIFT; in btrfs_set_header_backref_rev()
3195 static inline u64 btrfs_dev_stats_value(struct extent_buffer *eb, in btrfs_dev_stats_value()
3199 u64 val; in btrfs_dev_stats_value()
3203 ((unsigned long)ptr) + (index * sizeof(u64)), in btrfs_dev_stats_value()
3210 int index, u64 val) in btrfs_set_dev_stats_value()
3214 ((unsigned long)ptr) + (index * sizeof(u64)), in btrfs_set_dev_stats_value()
3331 u64 btrfs_csum_bytes_to_leaves(struct btrfs_root *root, u64 csum_bytes);
3333 static inline u64 btrfs_calc_trans_metadata_size(struct btrfs_root *root, in btrfs_calc_trans_metadata_size()
3344 static inline u64 btrfs_calc_trunc_metadata_size(struct btrfs_root *root, in btrfs_calc_trunc_metadata_size()
3359 int btrfs_lookup_data_extent(struct btrfs_root *root, u64 start, u64 len);
3361 struct btrfs_root *root, u64 bytenr,
3362 u64 offset, int metadata, u64 *refs, u64 *flags);
3364 u64 bytenr, u64 num, int reserved);
3366 u64 bytenr, u64 num_bytes);
3371 u64 objectid, u64 offset, u64 bytenr);
3374 u64 bytenr);
3378 struct btrfs_root *root, u64 parent,
3379 u64 root_objectid,
3381 u64 hint, u64 empty_size);
3385 u64 parent, int last_ref);
3388 u64 root_objectid, u64 owner,
3389 u64 offset, struct btrfs_key *ins);
3392 u64 root_objectid, u64 owner, u64 offset,
3394 int btrfs_reserve_extent(struct btrfs_root *root, u64 num_bytes,
3395 u64 min_alloc_size, u64 empty_size, u64 hint_byte,
3403 u64 bytenr, u64 num_bytes, u64 flags,
3407 u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid,
3408 u64 owner, u64 offset, int no_quota);
3410 int btrfs_free_reserved_extent(struct btrfs_root *root, u64 start, u64 len,
3413 u64 start, u64 len);
3420 u64 bytenr, u64 num_bytes, u64 parent,
3421 u64 root_objectid, u64 owner, u64 offset, int no_quota);
3429 int btrfs_extent_readonly(struct btrfs_root *root, u64 bytenr);
3432 int btrfs_can_relocate(struct btrfs_root *root, u64 bytenr);
3434 struct btrfs_root *root, u64 bytes_used,
3435 u64 type, u64 chunk_objectid, u64 chunk_offset,
3436 u64 size);
3438 struct btrfs_root *root, u64 group_start,
3443 u64 btrfs_get_alloc_profile(struct btrfs_root *root, int data);
3457 int btrfs_check_data_free_space(struct inode *inode, u64 bytes, u64 write_bytes);
3458 void btrfs_free_reserved_data_space(struct inode *inode, u64 bytes);
3467 u64 *qgroup_reserved, bool use_global_rsv);
3470 u64 qgroup_reserved);
3471 int btrfs_delalloc_reserve_metadata(struct inode *inode, u64 num_bytes);
3472 void btrfs_delalloc_release_metadata(struct inode *inode, u64 num_bytes);
3473 int btrfs_delalloc_reserve_space(struct inode *inode, u64 num_bytes);
3474 void btrfs_delalloc_release_space(struct inode *inode, u64 num_bytes);
3482 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
3487 struct btrfs_block_rsv *block_rsv, u64 min_reserved,
3491 u64 num_bytes);
3493 struct btrfs_block_rsv *dest, u64 num_bytes,
3497 u64 num_bytes);
3503 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo);
3505 u64 start, u64 end);
3506 int btrfs_discard_extent(struct btrfs_root *root, u64 bytenr,
3507 u64 num_bytes, u64 *actual_bytes);
3509 struct btrfs_root *root, u64 type);
3515 int __get_raid_index(u64 flags);
3523 struct btrfs_path *path, u64 min_objectid,
3526 struct btrfs_path *path, u64 min_objectid);
3534 u64 min_trans);
3537 u64 min_trans);
3561 struct extent_buffer **cow_ret, u64 new_root_objectid);
3578 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
3583 struct btrfs_path *p, u64 time_seq);
3589 int start_slot, u64 *last_ret,
3630 u64 time_seq);
3632 struct btrfs_path *p, u64 time_seq) in btrfs_next_old_item()
3689 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info,
3693 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
3698 u64 root_id, u64 ref_id);
3701 u64 root_id, u64 ref_id, u64 dirid, u64 sequence,
3705 u64 root_id, u64 ref_id, u64 dirid, u64 *sequence,
3729 u64 subid);
3732 u64 subid);
3735 u64));
3738 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
3743 struct btrfs_key *location, u8 type, u64 index);
3746 struct btrfs_path *path, u64 dir,
3752 struct btrfs_path *path, u64 dir,
3753 u64 objectid, const char *name, int name_len,
3757 struct btrfs_path *path, u64 dirid,
3765 struct btrfs_path *path, u64 objectid,
3770 struct btrfs_path *path, u64 dir,
3783 struct btrfs_root *root, u64 offset);
3785 struct btrfs_root *root, u64 offset);
3786 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
3792 u64 inode_objectid, u64 ref_objectid, u64 index);
3796 u64 inode_objectid, u64 ref_objectid, u64 *index);
3799 struct btrfs_path *path, u64 objectid);
3809 u64 inode_objectid, u64 ref_objectid, int ins_len,
3813 u64 ref_objectid, const char *name,
3820 struct btrfs_root *root, u64 bytenr, u64 len);
3824 struct bio *bio, u64 logical_offset);
3827 u64 objectid, u64 pos,
3828 u64 disk_offset, u64 disk_num_bytes,
3829 u64 num_bytes, u64 offset, u64 ram_bytes,
3833 struct btrfs_path *path, u64 objectid,
3834 u64 bytenr, int mod);
3839 struct bio *bio, u64 file_start, int contig);
3840 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
3863 size_t pg_offset, u64 start, u64 len,
3865 noinline int can_nocow_extent(struct inode *inode, u64 offset, u64 *len,
3866 u64 *orig_start, u64 *orig_block_len,
3867 u64 *ram_bytes);
3885 int btrfs_set_inode_index(struct inode *dir, u64 *index);
3892 const char *name, int name_len, int add_backref, u64 index);
3895 struct inode *dir, u64 objectid,
3901 struct inode *inode, u64 new_size,
3907 int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
3912 u64 new_dirid);
3929 size_t pg_offset, u64 start, u64 end,
3945 u64 start, u64 num_bytes, u64 min_size,
3946 loff_t actual_len, u64 *alloc_hint);
3949 u64 start, u64 num_bytes, u64 min_size,
3950 loff_t actual_len, u64 *alloc_hint);
3965 u64 newer_than, unsigned long max_pages);
3980 void btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end,
3985 struct btrfs_path *path, u64 start, u64 end,
3986 u64 *drop_end, int drop_cache,
3991 struct btrfs_root *root, struct inode *inode, u64 start,
3992 u64 end, int drop_cache);
3994 struct inode *inode, u64 start, u64 end);
4081 u64 flag) in __btrfs_set_fs_incompat()
4084 u64 features; in __btrfs_set_fs_incompat()
4104 static inline int __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_incompat()
4166 int btrfs_relocate_block_group(struct btrfs_root *root, u64 group_start);
4172 int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len);
4178 u64 *bytes_to_reserve);
4183 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
4184 u64 end, struct btrfs_scrub_progress *progress,
4191 int btrfs_scrub_progress(struct btrfs_root *root, u64 devid,
4218 u64 start, int err);
4220 static inline int is_fstree(u64 rootid) in is_fstree()