Lines Matching refs:u64
107 static inline u32 count_max_extents(u64 size) in count_max_extents()
143 #define BTRFS_BACKREF_REV_MASK (((u64)BTRFS_BACKREF_REV_MAX - 1) << \
370 u64 replace_state; /* see #define above */
376 u64 cursor_left;
377 u64 committed_cursor_left;
378 u64 cursor_left_last_write_of_item;
379 u64 cursor_right;
381 u64 cont_reading_from_srcdev_mode; /* see #define above */
408 u64 max_size;
411 u64 window_start;
444 u64 seq;
449 #define SEQ_LAST ((u64)-1)
550 u64 first_logical_byte;
578 u64 generation;
579 u64 last_trans_committed;
580 u64 avg_delayed_ref_runtime;
586 u64 last_trans_log_full_commit;
602 u64 max_inline;
743 u64 total_pinned;
785 u64 avail_data_alloc_bits;
786 u64 avail_metadata_alloc_bits;
787 u64 avail_system_alloc_bits;
822 u64 qgroup_flags;
841 u64 qgroup_seq;
986 u64 ino_cache_progress;
1003 u64 last_trans;
1007 u64 highest_objectid;
1009 u64 defrag_trans_start;
1050 u64 nr_delalloc_inodes;
1066 u64 nr_ordered_extents;
1093 u64 qgroup_meta_rsv_pertrans;
1094 u64 qgroup_meta_rsv_prealloc;
1103 u64 alloc_bytenr;
1108 u64 disk_offset;
1109 u64 disk_len;
1110 u64 data_offset;
1111 u64 data_len;
1112 u64 file_offset;
1397 static inline u64 btrfs_device_total_bytes(struct extent_buffer *eb, in btrfs_device_total_bytes()
1400 BUILD_BUG_ON(sizeof(u64) != in btrfs_device_total_bytes()
1407 u64 val) in btrfs_set_device_total_bytes()
1409 BUILD_BUG_ON(sizeof(u64) != in btrfs_set_device_total_bytes()
1509 static inline u64 btrfs_stripe_offset_nr(struct extent_buffer *eb, in btrfs_stripe_offset_nr()
1515 static inline u64 btrfs_stripe_devid_nr(struct extent_buffer *eb, in btrfs_stripe_devid_nr()
1671 static inline u64 btrfs_node_blockptr(struct extent_buffer *eb, int nr) in btrfs_node_blockptr()
1680 int nr, u64 val) in btrfs_set_node_blockptr()
1688 static inline u64 btrfs_node_ptr_generation(struct extent_buffer *eb, int nr) in btrfs_node_ptr_generation()
1697 int nr, u64 val) in btrfs_set_node_ptr_generation()
1894 static inline int btrfs_header_flag(const struct extent_buffer *eb, u64 flag) in btrfs_header_flag()
1899 static inline void btrfs_set_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_set_header_flag()
1901 u64 flags = btrfs_header_flags(eb); in btrfs_set_header_flag()
1905 static inline void btrfs_clear_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_clear_header_flag()
1907 u64 flags = btrfs_header_flags(eb); in btrfs_clear_header_flag()
1913 u64 flags = btrfs_header_flags(eb); in btrfs_header_backref_rev()
1920 u64 flags = btrfs_header_flags(eb); in btrfs_set_header_backref_rev()
1922 flags |= (u64)rev << BTRFS_BACKREF_REV_SHIFT; in btrfs_set_header_backref_rev()
2343 static inline u64 btrfs_name_hash(const char *name, int len) in btrfs_name_hash()
2351 static inline u64 btrfs_extref_hash(u64 parent_objectid, const char *name, in btrfs_extref_hash()
2354 return (u64) crc32c(parent_objectid, name, len); in btrfs_extref_hash()
2374 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset);
2376 u64 btrfs_csum_bytes_to_leaves(struct btrfs_fs_info *fs_info, u64 csum_bytes);
2382 static inline u64 btrfs_calc_insert_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_insert_metadata_size()
2385 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * 2 * num_items; in btrfs_calc_insert_metadata_size()
2392 static inline u64 btrfs_calc_metadata_size(struct btrfs_fs_info *fs_info, in btrfs_calc_metadata_size()
2395 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_metadata_size()
2399 u64 start, u64 num_bytes);
2406 int btrfs_lookup_data_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len);
2408 struct btrfs_fs_info *fs_info, u64 bytenr,
2409 u64 offset, int metadata, u64 *refs, u64 *flags);
2411 u64 bytenr, u64 num, int reserved);
2413 u64 bytenr, u64 num_bytes);
2416 u64 objectid, u64 offset, u64 bytenr);
2419 u64 parent, u64 root_objectid,
2421 int level, u64 hint,
2422 u64 empty_size);
2426 u64 parent, int last_ref);
2428 struct btrfs_root *root, u64 owner,
2429 u64 offset, u64 ram_bytes,
2432 u64 root_objectid, u64 owner, u64 offset,
2434 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2435 u64 min_alloc_size, u64 empty_size, u64 hint_byte,
2442 u64 bytenr, u64 num_bytes, u64 flags,
2447 u64 start, u64 len, int delalloc);
2449 u64 start, u64 len);
2455 int btrfs_extent_readonly(struct btrfs_fs_info *fs_info, u64 bytenr);
2490 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes);
2492 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes);
2493 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo);
2495 u64 start, u64 end);
2496 int btrfs_discard_extent(struct btrfs_fs_info *fs_info, u64 bytenr,
2497 u64 num_bytes, u64 *actual_bytes);
2512 struct btrfs_path *path, u64 min_objectid,
2515 struct btrfs_path *path, u64 min_objectid);
2524 u64 min_trans);
2527 u64 min_trans);
2538 struct extent_buffer **cow_ret, u64 new_root_objectid);
2553 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
2558 struct btrfs_path *p, u64 time_seq);
2565 int start_slot, u64 *last_ret,
2605 u64 time_seq);
2607 struct btrfs_path *p, u64 time_seq) in btrfs_next_old_item()
2667 u64 btrfs_get_tree_mod_seq(struct btrfs_fs_info *fs_info,
2671 int btrfs_old_root_level(struct btrfs_root *root, u64 time_seq);
2674 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
2675 u64 ref_id, u64 dirid, u64 sequence, const char *name,
2677 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
2678 u64 ref_id, u64 dirid, u64 *sequence, const char *name,
2701 u64 subid);
2703 u64 subid);
2706 u64));
2709 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
2713 struct btrfs_key *location, u8 type, u64 index);
2716 struct btrfs_path *path, u64 dir,
2722 struct btrfs_path *path, u64 dir,
2723 u64 objectid, const char *name, int name_len,
2727 struct btrfs_path *path, u64 dirid,
2735 struct btrfs_path *path, u64 objectid,
2740 struct btrfs_path *path, u64 dir,
2750 struct btrfs_root *root, u64 offset);
2752 struct btrfs_root *root, u64 offset);
2753 int btrfs_find_orphan_item(struct btrfs_root *root, u64 offset);
2759 u64 inode_objectid, u64 ref_objectid, u64 index);
2763 u64 inode_objectid, u64 ref_objectid, u64 *index);
2766 struct btrfs_path *path, u64 objectid);
2776 u64 inode_objectid, u64 ref_objectid, int ins_len,
2783 struct extent_buffer *leaf, int slot, u64 ref_objectid,
2788 struct btrfs_root *root, u64 bytenr, u64 len);
2792 u64 logical_offset);
2795 u64 objectid, u64 pos,
2796 u64 disk_offset, u64 disk_num_bytes,
2797 u64 num_bytes, u64 offset, u64 ram_bytes,
2801 struct btrfs_path *path, u64 objectid,
2802 u64 bytenr, int mod);
2807 u64 file_start, int contig);
2808 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end,
2818 u64 start, u64 len);
2819 noinline int can_nocow_extent(struct inode *inode, u64 offset, u64 *len,
2820 u64 *orig_start, u64 *orig_block_len,
2821 u64 *ram_bytes);
2826 int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index);
2833 const char *name, int name_len, int add_backref, u64 index);
2839 struct inode *inode, u64 new_size,
2844 int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
2850 u64 new_dirid);
2858 struct extent_state *orig, u64 split);
2861 void btrfs_set_range_writeback(struct extent_io_tree *tree, u64 start, u64 end);
2879 u64 start, u64 end, int create);
2893 u64 start, u64 num_bytes, u64 min_size,
2894 loff_t actual_len, u64 *alloc_hint);
2897 u64 start, u64 num_bytes, u64 min_size,
2898 loff_t actual_len, u64 *alloc_hint);
2900 u64 start, u64 end, int *page_started, unsigned long *nr_written,
2902 int btrfs_writepage_cow_fixup(struct page *page, u64 start, u64 end);
2903 void btrfs_writepage_endio_finish_ordered(struct page *page, u64 start,
2904 u64 end, int uptodate);
2915 u64 newer_than, unsigned long max_pages);
2929 void btrfs_drop_extent_cache(struct btrfs_inode *inode, u64 start, u64 end,
2934 struct btrfs_path *path, u64 start, u64 end,
2935 u64 *drop_end, int drop_cache,
2940 struct btrfs_root *root, struct inode *inode, u64 start,
2941 u64 end, int drop_cache);
2943 const u64 start, const u64 end,
2947 struct btrfs_inode *inode, u64 start, u64 end);
3204 u64 flag, const char* name) in __btrfs_set_fs_incompat()
3207 u64 features; in __btrfs_set_fs_incompat()
3230 u64 flag, const char* name) in __btrfs_clear_fs_incompat()
3233 u64 features; in __btrfs_clear_fs_incompat()
3254 static inline bool __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_incompat()
3266 u64 flag, const char *name) in __btrfs_set_fs_compat_ro()
3269 u64 features; in __btrfs_set_fs_compat_ro()
3292 u64 flag, const char *name) in __btrfs_clear_fs_compat_ro()
3295 u64 features; in __btrfs_clear_fs_compat_ro()
3316 static inline int __btrfs_fs_compat_ro(struct btrfs_fs_info *fs_info, u64 flag) in __btrfs_fs_compat_ro()
3340 int btrfs_relocate_block_group(struct btrfs_fs_info *fs_info, u64 group_start);
3346 int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len);
3351 u64 *bytes_to_reserve);
3356 int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
3357 u64 end, struct btrfs_scrub_progress *progress,
3363 int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
3397 static inline int is_fstree(u64 rootid) in is_fstree()