Lines Matching refs:u64
227 u64 objectid;
229 u64 offset;
362 #define BTRFS_BACKREF_REV_MASK (((u64)BTRFS_BACKREF_REV_MAX - 1) << \
974 u64 replace_state; /* see #define above */
975 u64 time_started; /* seconds since 1-Jan-1970 */
976 u64 time_stopped; /* seconds since 1-Jan-1970 */
980 u64 cursor_left;
981 u64 committed_cursor_left;
982 u64 cursor_left_last_write_of_item;
983 u64 cursor_right;
985 u64 cont_reading_from_srcdev_mode; /* see #define above */
1073 static inline u64 chunk_to_extended(u64 flags) in chunk_to_extended()
1080 static inline u64 extended_to_chunk(u64 flags) in extended_to_chunk()
1092 static inline u64 btrfs_qgroup_level(u64 qgroupid) in btrfs_qgroup_level()
1172 u64 total_bytes; /* total bytes in the space,
1174 u64 bytes_used; /* total bytes used,
1176 u64 bytes_pinned; /* total bytes pinned, will be freed when the
1178 u64 bytes_reserved; /* total bytes the allocator has reserved for
1180 u64 bytes_may_use; /* number of bytes that may be used for
1182 u64 bytes_readonly; /* total bytes that are read only */
1184 u64 max_extent_size; /* This will hold the maximum extent size of
1197 u64 disk_used; /* total bytes used on disk */
1198 u64 disk_total; /* total bytes on disk, takes mirrors into
1201 u64 flags;
1237 u64 size;
1238 u64 reserved;
1257 u64 max_size;
1260 u64 window_start;
1295 u64 progress;
1319 u64 pinned;
1320 u64 reserved;
1321 u64 delalloc_bytes;
1322 u64 bytes_super;
1323 u64 flags;
1324 u64 sectorsize;
1325 u64 cache_generation;
1347 u64 last_byte_to_unpin;
1386 u64 seq;
1441 u64 first_logical_byte;
1446 u64 free_chunk_space;
1470 u64 generation;
1471 u64 last_trans_committed;
1472 u64 avg_delayed_ref_runtime;
1478 u64 last_trans_log_full_commit;
1493 u64 max_inline;
1504 u64 alloc_start;
1656 u64 total_pinned;
1697 u64 avail_data_alloc_bits;
1698 u64 avail_metadata_alloc_bits;
1699 u64 avail_system_alloc_bits;
1743 u64 qgroup_flags;
1765 u64 qgroup_seq;
1875 u64 ino_cache_progress;
1892 u64 objectid;
1893 u64 last_trans;
1905 u64 highest_objectid;
1908 u64 alloc_bytenr;
1910 u64 defrag_trans_start;
1955 u64 nr_delalloc_inodes;
1971 u64 nr_ordered_extents;
2482 static inline u64 btrfs_stripe_offset_nr(struct extent_buffer *eb, in btrfs_stripe_offset_nr()
2488 static inline u64 btrfs_stripe_devid_nr(struct extent_buffer *eb, in btrfs_stripe_devid_nr()
2640 static inline u64 btrfs_node_blockptr(struct extent_buffer *eb, int nr) in btrfs_node_blockptr()
2649 int nr, u64 val) in btrfs_set_node_blockptr()
2657 static inline u64 btrfs_node_ptr_generation(struct extent_buffer *eb, int nr) in btrfs_node_ptr_generation()
2666 int nr, u64 val) in btrfs_set_node_ptr_generation()
2874 static inline int btrfs_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_header_flag()
2879 static inline int btrfs_set_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_set_header_flag()
2881 u64 flags = btrfs_header_flags(eb); in btrfs_set_header_flag()
2886 static inline int btrfs_clear_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_clear_header_flag()
2888 u64 flags = btrfs_header_flags(eb); in btrfs_clear_header_flag()
2895 u64 flags = btrfs_header_flags(eb); in btrfs_header_backref_rev()
2902 u64 flags = btrfs_header_flags(eb); in btrfs_set_header_backref_rev()
2904 flags |= (u64)rev << BTRFS_BACKREF_REV_SHIFT; in btrfs_set_header_backref_rev()
3239 static inline u64 btrfs_dev_stats_value(struct extent_buffer *eb, in btrfs_dev_stats_value()
3243 u64 val; in btrfs_dev_stats_value()
3247 ((unsigned long)ptr) + (index * sizeof(u64)), in btrfs_dev_stats_value()
3254 int index, u64 val) in btrfs_set_dev_stats_value()
3258 ((unsigned long)ptr) + (index * sizeof(u64)), in btrfs_set_dev_stats_value()
3375 u64 btrfs_csum_bytes_to_leaves(struct btrfs_root *root, u64 csum_bytes);
3377 static inline u64 btrfs_calc_trans_metadata_size(struct btrfs_root *root, in btrfs_calc_trans_metadata_size()
3388 static inline u64 btrfs_calc_trunc_metadata_size(struct btrfs_root *root, in btrfs_calc_trunc_metadata_size()
3403 int btrfs_lookup_data_extent(struct btrfs_root *root, u64 start, u64 len);
3405 struct btrfs_root *root, u64 bytenr,
3406 u64 offset, int metadata, u64 *refs, u64 *flags);
3408 u64 bytenr, u64 num, int reserved);
3410 u64 bytenr, u64 num_bytes);
3415 u64 objectid, u64 offset, u64 bytenr);
3418 u64 bytenr);
3423 struct btrfs_root *root, u64 parent,
3424 u64 root_objectid,
3426 u64 hint, u64 empty_size);
3430 u64 parent, int last_ref);
3433 u64 root_objectid, u64 owner,
3434 u64 offset, u64 ram_bytes,
3438 u64 root_objectid, u64 owner, u64 offset,
3440 int btrfs_reserve_extent(struct btrfs_root *root, u64 num_bytes,
3441 u64 min_alloc_size, u64 empty_size, u64 hint_byte,
3449 u64 bytenr, u64 num_bytes, u64 flags,
3453 u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid,
3454 u64 owner, u64 offset);
3456 int btrfs_free_reserved_extent(struct btrfs_root *root, u64 start, u64 len,
3459 u64 start, u64 len);
3466 u64 bytenr, u64 num_bytes, u64 parent,
3467 u64 root_objectid, u64 owner, u64 offset);
3475 int btrfs_extent_readonly(struct btrfs_root *root, u64 bytenr);
3478 int btrfs_can_relocate(struct btrfs_root *root, u64 bytenr);
3480 struct btrfs_root *root, u64 bytes_used,
3481 u64 type, u64 chunk_objectid, u64 chunk_offset,
3482 u64 size);
3485 const u64 chunk_offset);
3487 struct btrfs_root *root, u64 group_start,
3494 u64 btrfs_get_alloc_profile(struct btrfs_root *root, int data);
3508 int btrfs_check_data_free_space(struct inode *inode, u64 start, u64 len);
3509 int btrfs_alloc_data_chunk_ondemand(struct inode *inode, u64 bytes);
3510 void btrfs_free_reserved_data_space(struct inode *inode, u64 start, u64 len);
3511 void btrfs_free_reserved_data_space_noquota(struct inode *inode, u64 start,
3512 u64 len);
3522 u64 *qgroup_reserved, bool use_global_rsv);
3525 u64 qgroup_reserved);
3526 int btrfs_delalloc_reserve_metadata(struct inode *inode, u64 num_bytes);
3527 void btrfs_delalloc_release_metadata(struct inode *inode, u64 num_bytes);
3528 int btrfs_delalloc_reserve_space(struct inode *inode, u64 start, u64 len);
3529 void btrfs_delalloc_release_space(struct inode *inode, u64 start, u64 len);
3537 struct btrfs_block_rsv *block_rsv, u64 num_bytes,
3542 struct btrfs_block_rsv *block_rsv, u64 min_reserved,
3546 u64 num_bytes);
3548 struct btrfs_block_rsv *dest, u64 num_bytes,
3552 u64 num_bytes);
3558 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo);
3560 u64 start, u64 end);
3561 int btrfs_discard_extent(struct btrfs_root *root, u64 bytenr,
3562 u64 num_bytes, u64 *actual_bytes);
3564 struct btrfs_root *root, u64 type);
3570 int __get_raid_index(u64 flags);
3575 const u64 type);
3581 struct btrfs_path *path, u64 min_objectid,
3584 struct btrfs_path *path, u64 min_objectid);
3592 u64 min_trans);
3595 u64 min_trans);
3619 struct extent_buffer **cow_ret, u64 new_root_objectid);
3636 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
3641 struct btrfs_path *p, u64 time_seq);
3647 int start_slot, u64 *last_ret,
3688 u64 time_seq);
3690 struct btrfs_path *p, u64 time_seq) in btrfs_next_old_item()
3747 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info,
3751 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
3756 u64 root_id, u64 ref_id);
3759 u64 root_id, u64 ref_id, u64 dirid, u64 sequence,
3763 u64 root_id, u64 ref_id, u64 dirid, u64 *sequence,
3787 u64 subid);
3790 u64 subid);
3793 u64));
3796 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
3801 struct btrfs_key *location, u8 type, u64 index);
3804 struct btrfs_path *path, u64 dir,
3810 struct btrfs_path *path, u64 dir,
3811 u64 objectid, const char *name, int name_len,
3815 struct btrfs_path *path, u64 dirid,
3823 struct btrfs_path *path, u64 objectid,
3828 struct btrfs_path *path, u64 dir,
3841 struct btrfs_root *root, u64 offset);
3843 struct btrfs_root *root, u64 offset);
3844 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
3850 u64 inode_objectid, u64 ref_objectid, u64 index);
3854 u64 inode_objectid, u64 ref_objectid, u64 *index);
3857 struct btrfs_path *path, u64 objectid);
3867 u64 inode_objectid, u64 ref_objectid, int ins_len,
3871 u64 ref_objectid, const char *name,
3878 struct btrfs_root *root, u64 bytenr, u64 len);
3882 struct bio *bio, u64 logical_offset);
3885 u64 objectid, u64 pos,
3886 u64 disk_offset, u64 disk_num_bytes,
3887 u64 num_bytes, u64 offset, u64 ram_bytes,
3891 struct btrfs_path *path, u64 objectid,
3892 u64 bytenr, int mod);
3897 struct bio *bio, u64 file_start, int contig);
3898 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
3921 size_t pg_offset, u64 start, u64 len,
3923 noinline int can_nocow_extent(struct inode *inode, u64 offset, u64 *len,
3924 u64 *orig_start, u64 *orig_block_len,
3925 u64 *ram_bytes);
3943 int btrfs_set_inode_index(struct inode *dir, u64 *index);
3950 const char *name, int name_len, int add_backref, u64 index);
3953 struct inode *dir, u64 objectid,
3959 struct inode *inode, u64 new_size,
3965 int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
3970 u64 new_dirid);
3987 size_t pg_offset, u64 start, u64 end,
4003 u64 start, u64 num_bytes, u64 min_size,
4004 loff_t actual_len, u64 *alloc_hint);
4007 u64 start, u64 num_bytes, u64 min_size,
4008 loff_t actual_len, u64 *alloc_hint);
4022 u64 newer_than, unsigned long max_pages);
4037 void btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end,
4042 struct btrfs_path *path, u64 start, u64 end,
4043 u64 *drop_end, int drop_cache,
4048 struct btrfs_root *root, struct inode *inode, u64 start,
4049 u64 end, int drop_cache);
4051 struct inode *inode, u64 start, u64 end);
4230 u64 flag) in __btrfs_set_fs_incompat()
4233 u64 features; in __btrfs_set_fs_incompat()
4253 static inline int __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_incompat()
4315 int btrfs_relocate_block_group(struct btrfs_root *root, u64 group_start);
4321 int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len);
4326 u64 *bytes_to_reserve);
4331 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
4332 u64 end, struct btrfs_scrub_progress *progress,
4339 int btrfs_scrub_progress(struct btrfs_root *root, u64 devid,
4366 u64 start, int err);
4368 static inline int is_fstree(u64 rootid) in is_fstree()