Lines Matching refs:action

259 		if (ref->action == next->action) {  in merge_ref()
416 if (exist->action == ref->action) { in insert_delayed_ref()
421 exist->action = ref->action; in insert_delayed_ref()
424 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
427 else if (ref->action == BTRFS_DROP_DELAYED_REF) { in insert_delayed_ref()
444 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
529 u64 reserved, int action, bool is_data, in init_delayed_ref_head() argument
542 if (action == BTRFS_UPDATE_DELAYED_HEAD) in init_delayed_ref_head()
544 else if (action == BTRFS_DROP_DELAYED_REF) in init_delayed_ref_head()
557 if (action == BTRFS_ADD_DELAYED_EXTENT) in init_delayed_ref_head()
600 int action, int *qrecord_inserted_ret, in add_delayed_ref_head() argument
618 trace_add_delayed_ref_head(trans->fs_info, head_ref, action); in add_delayed_ref_head()
681 int action, u8 ref_type) in init_delayed_ref_common() argument
685 if (action == BTRFS_ADD_DELAYED_EXTENT) in init_delayed_ref_common()
686 action = BTRFS_ADD_DELAYED_REF; in init_delayed_ref_common()
695 ref->action = action; in init_delayed_ref_common()
711 u64 ref_root, int level, int action, in btrfs_add_delayed_tree_ref() argument
752 ref_root, action, ref_type); in btrfs_add_delayed_tree_ref()
758 ref_root, 0, action, false, is_system); in btrfs_add_delayed_tree_ref()
769 action, &qrecord_inserted, in btrfs_add_delayed_tree_ref()
776 action == BTRFS_ADD_DELAYED_EXTENT ? in btrfs_add_delayed_tree_ref()
777 BTRFS_ADD_DELAYED_REF : action); in btrfs_add_delayed_tree_ref()
793 u64 owner, u64 offset, u64 reserved, int action, in btrfs_add_delayed_data_ref() argument
814 ref_root, action, ref_type); in btrfs_add_delayed_data_ref()
839 reserved, action, true, false); in btrfs_add_delayed_data_ref()
850 action, &qrecord_inserted, in btrfs_add_delayed_data_ref()
857 action == BTRFS_ADD_DELAYED_EXTENT ? in btrfs_add_delayed_data_ref()
858 BTRFS_ADD_DELAYED_REF : action); in btrfs_add_delayed_data_ref()