Lines Matching refs:action

261 		if (ref->action == next->action) {  in merge_ref()
418 if (exist->action == ref->action) { in insert_delayed_ref()
423 exist->action = ref->action; in insert_delayed_ref()
426 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
429 else if (ref->action == BTRFS_DROP_DELAYED_REF) { in insert_delayed_ref()
446 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
532 u64 reserved, int action, bool is_data, in init_delayed_ref_head() argument
545 if (action == BTRFS_UPDATE_DELAYED_HEAD) in init_delayed_ref_head()
547 else if (action == BTRFS_DROP_DELAYED_REF) in init_delayed_ref_head()
560 if (action == BTRFS_ADD_DELAYED_EXTENT) in init_delayed_ref_head()
603 int action, int *qrecord_inserted_ret, in add_delayed_ref_head() argument
621 trace_add_delayed_ref_head(trans->fs_info, head_ref, action); in add_delayed_ref_head()
684 int action, u8 ref_type) in init_delayed_ref_common() argument
688 if (action == BTRFS_ADD_DELAYED_EXTENT) in init_delayed_ref_common()
689 action = BTRFS_ADD_DELAYED_REF; in init_delayed_ref_common()
698 ref->action = action; in init_delayed_ref_common()
714 u64 ref_root, int level, int action, in btrfs_add_delayed_tree_ref() argument
755 ref_root, action, ref_type); in btrfs_add_delayed_tree_ref()
761 ref_root, 0, action, false, is_system); in btrfs_add_delayed_tree_ref()
772 action, &qrecord_inserted, in btrfs_add_delayed_tree_ref()
779 action == BTRFS_ADD_DELAYED_EXTENT ? in btrfs_add_delayed_tree_ref()
780 BTRFS_ADD_DELAYED_REF : action); in btrfs_add_delayed_tree_ref()
796 u64 owner, u64 offset, u64 reserved, int action, in btrfs_add_delayed_data_ref() argument
817 ref_root, action, ref_type); in btrfs_add_delayed_data_ref()
842 reserved, action, true, false); in btrfs_add_delayed_data_ref()
853 action, &qrecord_inserted, in btrfs_add_delayed_data_ref()
860 action == BTRFS_ADD_DELAYED_EXTENT ? in btrfs_add_delayed_data_ref()
861 BTRFS_ADD_DELAYED_REF : action); in btrfs_add_delayed_data_ref()