Lines Matching defs:action
457 if (ref->action == next->action) {
597 if (ref->action == BTRFS_ADD_DELAYED_REF)
605 if (exist->action == ref->action) {
608 /* Need to change action */
610 exist->action = ref->action;
613 if (ref->action == BTRFS_ADD_DELAYED_REF)
616 else if (ref->action == BTRFS_DROP_DELAYED_REF) {
720 u64 reserved, int action, bool is_data,
729 switch (action) {
749 * Once we record must_insert_reserved, switch the action to
792 int action, bool *qrecord_inserted_ret)
809 trace_add_delayed_ref_head(trans->fs_info, head_ref, action);
856 * @action: Can be one of BTRFS_ADD_DELAYED_REF/BTRFS_DROP_DELAYED_REF or
867 int action, u8 ref_type)
871 if (action == BTRFS_ADD_DELAYED_EXTENT)
872 action = BTRFS_ADD_DELAYED_REF;
881 ref->action = action;
905 int action = generic_ref->action;
914 ASSERT(generic_ref->type == BTRFS_REF_METADATA && generic_ref->action);
941 generic_ref->tree_ref.owning_root, action,
948 generic_ref->tree_ref.owning_root, 0, action,
960 action, &qrecord_inserted);
972 action == BTRFS_ADD_DELAYED_EXTENT ?
973 BTRFS_ADD_DELAYED_REF : action);
996 int action = generic_ref->action;
1006 ASSERT(generic_ref->type == BTRFS_REF_DATA && action);
1016 ref_root, action, ref_type);
1041 reserved, action, true, false);
1052 action, &qrecord_inserted);
1064 action == BTRFS_ADD_DELAYED_EXTENT ?
1065 BTRFS_ADD_DELAYED_REF : action);