Lines Matching refs:action
404 if (ref->action == next->action) { in merge_ref()
593 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
601 if (exist->action == ref->action) { in insert_delayed_ref()
606 exist->action = ref->action; in insert_delayed_ref()
609 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
612 else if (ref->action == BTRFS_DROP_DELAYED_REF) { in insert_delayed_ref()
736 switch (generic_ref->action) { in init_delayed_ref_head()
811 int action, bool *qrecord_inserted_ret) in add_delayed_ref_head() argument
852 trace_add_delayed_ref_head(fs_info, head_ref, action); in add_delayed_ref_head()
925 int action = generic_ref->action; in init_delayed_ref_common() local
928 if (action == BTRFS_ADD_DELAYED_EXTENT) in init_delayed_ref_common()
929 action = BTRFS_ADD_DELAYED_REF; in init_delayed_ref_common()
938 ref->action = action; in init_delayed_ref_common()
1000 int action = generic_ref->action; in add_delayed_ref() local
1047 action, &qrecord_inserted); in add_delayed_ref()
1093 ASSERT(generic_ref->type == BTRFS_REF_METADATA && generic_ref->action); in btrfs_add_delayed_tree_ref()
1104 ASSERT(generic_ref->type == BTRFS_REF_DATA && generic_ref->action); in btrfs_add_delayed_data_ref()
1118 .action = BTRFS_UPDATE_DELAYED_HEAD, in btrfs_add_delayed_extent_op()
1241 if (entry->action == BTRFS_ADD_DELAYED_REF) in btrfs_find_delayed_tree_ref()