Home
last modified time | relevance | path

Searched refs:changeset (Results 1 – 3 of 3) sorted by relevance

/fs/btrfs/
Dextent_io.h211 static inline void extent_changeset_init(struct extent_changeset *changeset) in extent_changeset_init() argument
213 changeset->bytes_changed = 0; in extent_changeset_init()
214 ulist_init(&changeset->range_changed); in extent_changeset_init()
229 static inline void extent_changeset_release(struct extent_changeset *changeset) in extent_changeset_release() argument
231 if (!changeset) in extent_changeset_release()
233 changeset->bytes_changed = 0; in extent_changeset_release()
234 ulist_release(&changeset->range_changed); in extent_changeset_release()
237 static inline void extent_changeset_free(struct extent_changeset *changeset) in extent_changeset_free() argument
239 if (!changeset) in extent_changeset_free()
241 extent_changeset_release(changeset); in extent_changeset_free()
[all …]
Dqgroup.c3766 struct extent_changeset changeset; in qgroup_free_reserved_data() local
3770 extent_changeset_init(&changeset); in qgroup_free_reserved_data()
3782 extent_changeset_release(&changeset); in qgroup_free_reserved_data()
3801 EXTENT_QGROUP_RESERVED, &changeset); in qgroup_free_reserved_data()
3804 freed += changeset.bytes_changed; in qgroup_free_reserved_data()
3810 extent_changeset_release(&changeset); in qgroup_free_reserved_data()
3818 struct extent_changeset changeset; in __btrfs_qgroup_release_data() local
3831 extent_changeset_init(&changeset); in __btrfs_qgroup_release_data()
3833 start + len -1, EXTENT_QGROUP_RESERVED, &changeset); in __btrfs_qgroup_release_data()
3840 changeset.bytes_changed, trace_op); in __btrfs_qgroup_release_data()
[all …]
Dextent_io.c131 struct extent_changeset *changeset, in add_extent_changeset() argument
136 if (!changeset) in add_extent_changeset()
142 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset()
143 ret = ulist_add(&changeset->range_changed, state->start, state->end, in add_extent_changeset()
505 struct extent_changeset *changeset);
521 unsigned *bits, struct extent_changeset *changeset) in insert_state() argument
533 set_state_bits(tree, state, bits, changeset); in insert_state()
603 struct extent_changeset *changeset) in clear_state_bit() argument
618 ret = add_extent_changeset(state, bits_to_clear, changeset, 0); in clear_state_bit()
669 gfp_t mask, struct extent_changeset *changeset) in __clear_extent_bit() argument
[all …]