ffe_ctl           213 drivers/scsi/mvsas/mv_94xx.c 	temp = (u8)(*(u8 *)&mvi->hba_info_param.ffe_ctl[phy_id]);
ffe_ctl           218 drivers/scsi/mvsas/mv_94xx.c 			mvi->hba_info_param.ffe_ctl[phy_id].ffe_rss_sel = 0x7;
ffe_ctl           219 drivers/scsi/mvsas/mv_94xx.c 			mvi->hba_info_param.ffe_ctl[phy_id].ffe_cap_sel = 0x7;
ffe_ctl           225 drivers/scsi/mvsas/mv_94xx.c 			mvi->hba_info_param.ffe_ctl[phy_id].ffe_rss_sel = 0x7;
ffe_ctl           226 drivers/scsi/mvsas/mv_94xx.c 			mvi->hba_info_param.ffe_ctl[phy_id].ffe_cap_sel = 0xC;
ffe_ctl           239 drivers/scsi/mvsas/mv_94xx.c 		mvi->hba_info_param.ffe_ctl[phy_id]);
ffe_ctl           290 drivers/scsi/mvsas/mv_sas.h 	struct ffe_control  ffe_ctl[8];
ffe_ctl          3481 fs/btrfs/extent-tree.c 		struct find_free_extent_ctl *ffe_ctl,
ffe_ctl          3489 fs/btrfs/extent-tree.c 	cluster_bg = btrfs_lock_cluster(bg, last_ptr, ffe_ctl->delalloc);
ffe_ctl          3493 fs/btrfs/extent-tree.c 	    !block_group_bits(cluster_bg, ffe_ctl->flags)))
ffe_ctl          3497 fs/btrfs/extent-tree.c 			ffe_ctl->num_bytes, cluster_bg->key.objectid,
ffe_ctl          3498 fs/btrfs/extent-tree.c 			&ffe_ctl->max_extent_size);
ffe_ctl          3503 fs/btrfs/extent-tree.c 				ffe_ctl->search_start, ffe_ctl->num_bytes);
ffe_ctl          3505 fs/btrfs/extent-tree.c 		ffe_ctl->found_offset = offset;
ffe_ctl          3522 fs/btrfs/extent-tree.c 	if (ffe_ctl->loop >= LOOP_NO_EMPTY_SIZE && cluster_bg != bg) {
ffe_ctl          3524 fs/btrfs/extent-tree.c 		btrfs_release_block_group(cluster_bg, ffe_ctl->delalloc);
ffe_ctl          3532 fs/btrfs/extent-tree.c 		btrfs_release_block_group(cluster_bg, ffe_ctl->delalloc);
ffe_ctl          3535 fs/btrfs/extent-tree.c 	if (ffe_ctl->loop >= LOOP_NO_EMPTY_SIZE) {
ffe_ctl          3541 fs/btrfs/extent-tree.c 			ffe_ctl->empty_cluster + ffe_ctl->empty_size,
ffe_ctl          3543 fs/btrfs/extent-tree.c 	ret = btrfs_find_space_cluster(bg, last_ptr, ffe_ctl->search_start,
ffe_ctl          3544 fs/btrfs/extent-tree.c 			ffe_ctl->num_bytes, aligned_cluster);
ffe_ctl          3548 fs/btrfs/extent-tree.c 				ffe_ctl->num_bytes, ffe_ctl->search_start,
ffe_ctl          3549 fs/btrfs/extent-tree.c 				&ffe_ctl->max_extent_size);
ffe_ctl          3554 fs/btrfs/extent-tree.c 					ffe_ctl->search_start,
ffe_ctl          3555 fs/btrfs/extent-tree.c 					ffe_ctl->num_bytes);
ffe_ctl          3556 fs/btrfs/extent-tree.c 			ffe_ctl->found_offset = offset;
ffe_ctl          3559 fs/btrfs/extent-tree.c 	} else if (!ffe_ctl->cached && ffe_ctl->loop > LOOP_CACHING_NOWAIT &&
ffe_ctl          3560 fs/btrfs/extent-tree.c 		   !ffe_ctl->retry_clustered) {
ffe_ctl          3563 fs/btrfs/extent-tree.c 		ffe_ctl->retry_clustered = true;
ffe_ctl          3564 fs/btrfs/extent-tree.c 		btrfs_wait_block_group_cache_progress(bg, ffe_ctl->num_bytes +
ffe_ctl          3565 fs/btrfs/extent-tree.c 				ffe_ctl->empty_cluster + ffe_ctl->empty_size);
ffe_ctl          3585 fs/btrfs/extent-tree.c 		struct find_free_extent_ctl *ffe_ctl)
ffe_ctl          3599 fs/btrfs/extent-tree.c 	if (ffe_ctl->cached) {
ffe_ctl          3605 fs/btrfs/extent-tree.c 		    ffe_ctl->num_bytes + ffe_ctl->empty_cluster +
ffe_ctl          3606 fs/btrfs/extent-tree.c 		    ffe_ctl->empty_size) {
ffe_ctl          3607 fs/btrfs/extent-tree.c 			ffe_ctl->total_free_space = max_t(u64,
ffe_ctl          3608 fs/btrfs/extent-tree.c 					ffe_ctl->total_free_space,
ffe_ctl          3616 fs/btrfs/extent-tree.c 	offset = btrfs_find_space_for_alloc(bg, ffe_ctl->search_start,
ffe_ctl          3617 fs/btrfs/extent-tree.c 			ffe_ctl->num_bytes, ffe_ctl->empty_size,
ffe_ctl          3618 fs/btrfs/extent-tree.c 			&ffe_ctl->max_extent_size);
ffe_ctl          3629 fs/btrfs/extent-tree.c 	if (!offset && !ffe_ctl->retry_unclustered && !ffe_ctl->cached &&
ffe_ctl          3630 fs/btrfs/extent-tree.c 	    ffe_ctl->loop > LOOP_CACHING_NOWAIT) {
ffe_ctl          3631 fs/btrfs/extent-tree.c 		btrfs_wait_block_group_cache_progress(bg, ffe_ctl->num_bytes +
ffe_ctl          3632 fs/btrfs/extent-tree.c 						      ffe_ctl->empty_size);
ffe_ctl          3633 fs/btrfs/extent-tree.c 		ffe_ctl->retry_unclustered = true;
ffe_ctl          3638 fs/btrfs/extent-tree.c 	ffe_ctl->found_offset = offset;
ffe_ctl          3650 fs/btrfs/extent-tree.c 					struct find_free_extent_ctl *ffe_ctl,
ffe_ctl          3656 fs/btrfs/extent-tree.c 	if ((ffe_ctl->loop == LOOP_CACHING_NOWAIT) &&
ffe_ctl          3657 fs/btrfs/extent-tree.c 	    ffe_ctl->have_caching_bg && !ffe_ctl->orig_have_caching_bg)
ffe_ctl          3658 fs/btrfs/extent-tree.c 		ffe_ctl->orig_have_caching_bg = true;
ffe_ctl          3660 fs/btrfs/extent-tree.c 	if (!ins->objectid && ffe_ctl->loop >= LOOP_CACHING_WAIT &&
ffe_ctl          3661 fs/btrfs/extent-tree.c 	    ffe_ctl->have_caching_bg)
ffe_ctl          3664 fs/btrfs/extent-tree.c 	if (!ins->objectid && ++(ffe_ctl->index) < BTRFS_NR_RAID_TYPES)
ffe_ctl          3684 fs/btrfs/extent-tree.c 	if (ffe_ctl->loop < LOOP_NO_EMPTY_SIZE) {
ffe_ctl          3685 fs/btrfs/extent-tree.c 		ffe_ctl->index = 0;
ffe_ctl          3686 fs/btrfs/extent-tree.c 		if (ffe_ctl->loop == LOOP_CACHING_NOWAIT) {
ffe_ctl          3692 fs/btrfs/extent-tree.c 			if (ffe_ctl->orig_have_caching_bg || !full_search)
ffe_ctl          3693 fs/btrfs/extent-tree.c 				ffe_ctl->loop = LOOP_CACHING_WAIT;
ffe_ctl          3695 fs/btrfs/extent-tree.c 				ffe_ctl->loop = LOOP_ALLOC_CHUNK;
ffe_ctl          3697 fs/btrfs/extent-tree.c 			ffe_ctl->loop++;
ffe_ctl          3700 fs/btrfs/extent-tree.c 		if (ffe_ctl->loop == LOOP_ALLOC_CHUNK) {
ffe_ctl          3715 fs/btrfs/extent-tree.c 			ret = btrfs_chunk_alloc(trans, ffe_ctl->flags,
ffe_ctl          3724 fs/btrfs/extent-tree.c 				ffe_ctl->loop = LOOP_NO_EMPTY_SIZE;
ffe_ctl          3737 fs/btrfs/extent-tree.c 		if (ffe_ctl->loop == LOOP_NO_EMPTY_SIZE) {
ffe_ctl          3742 fs/btrfs/extent-tree.c 			if (ffe_ctl->empty_size == 0 &&
ffe_ctl          3743 fs/btrfs/extent-tree.c 			    ffe_ctl->empty_cluster == 0)
ffe_ctl          3745 fs/btrfs/extent-tree.c 			ffe_ctl->empty_size = 0;
ffe_ctl          3746 fs/btrfs/extent-tree.c 			ffe_ctl->empty_cluster = 0;
ffe_ctl          3787 fs/btrfs/extent-tree.c 	struct find_free_extent_ctl ffe_ctl = {0};
ffe_ctl          3794 fs/btrfs/extent-tree.c 	ffe_ctl.ram_bytes = ram_bytes;
ffe_ctl          3795 fs/btrfs/extent-tree.c 	ffe_ctl.num_bytes = num_bytes;
ffe_ctl          3796 fs/btrfs/extent-tree.c 	ffe_ctl.empty_size = empty_size;
ffe_ctl          3797 fs/btrfs/extent-tree.c 	ffe_ctl.flags = flags;
ffe_ctl          3798 fs/btrfs/extent-tree.c 	ffe_ctl.search_start = 0;
ffe_ctl          3799 fs/btrfs/extent-tree.c 	ffe_ctl.retry_clustered = false;
ffe_ctl          3800 fs/btrfs/extent-tree.c 	ffe_ctl.retry_unclustered = false;
ffe_ctl          3801 fs/btrfs/extent-tree.c 	ffe_ctl.delalloc = delalloc;
ffe_ctl          3802 fs/btrfs/extent-tree.c 	ffe_ctl.index = btrfs_bg_flags_to_raid_index(flags);
ffe_ctl          3803 fs/btrfs/extent-tree.c 	ffe_ctl.have_caching_bg = false;
ffe_ctl          3804 fs/btrfs/extent-tree.c 	ffe_ctl.orig_have_caching_bg = false;
ffe_ctl          3805 fs/btrfs/extent-tree.c 	ffe_ctl.found_offset = 0;
ffe_ctl          3843 fs/btrfs/extent-tree.c 				      &ffe_ctl.empty_cluster);
ffe_ctl          3860 fs/btrfs/extent-tree.c 	ffe_ctl.search_start = max(ffe_ctl.search_start,
ffe_ctl          3862 fs/btrfs/extent-tree.c 	ffe_ctl.search_start = max(ffe_ctl.search_start, hint_byte);
ffe_ctl          3863 fs/btrfs/extent-tree.c 	if (ffe_ctl.search_start == hint_byte) {
ffe_ctl          3865 fs/btrfs/extent-tree.c 						       ffe_ctl.search_start);
ffe_ctl          3887 fs/btrfs/extent-tree.c 				ffe_ctl.index = btrfs_bg_flags_to_raid_index(
ffe_ctl          3897 fs/btrfs/extent-tree.c 	ffe_ctl.have_caching_bg = false;
ffe_ctl          3898 fs/btrfs/extent-tree.c 	if (ffe_ctl.index == btrfs_bg_flags_to_raid_index(flags) ||
ffe_ctl          3899 fs/btrfs/extent-tree.c 	    ffe_ctl.index == 0)
ffe_ctl          3903 fs/btrfs/extent-tree.c 			    &space_info->block_groups[ffe_ctl.index], list) {
ffe_ctl          3909 fs/btrfs/extent-tree.c 		ffe_ctl.search_start = block_group->key.objectid;
ffe_ctl          3940 fs/btrfs/extent-tree.c 		ffe_ctl.cached = btrfs_block_group_cache_done(block_group);
ffe_ctl          3941 fs/btrfs/extent-tree.c 		if (unlikely(!ffe_ctl.cached)) {
ffe_ctl          3942 fs/btrfs/extent-tree.c 			ffe_ctl.have_caching_bg = true;
ffe_ctl          3972 fs/btrfs/extent-tree.c 							 &ffe_ctl, &cluster_bg);
ffe_ctl          3990 fs/btrfs/extent-tree.c 						   &ffe_ctl);
ffe_ctl          3997 fs/btrfs/extent-tree.c 		ffe_ctl.search_start = round_up(ffe_ctl.found_offset,
ffe_ctl          4001 fs/btrfs/extent-tree.c 		if (ffe_ctl.search_start + num_bytes >
ffe_ctl          4003 fs/btrfs/extent-tree.c 			btrfs_add_free_space(block_group, ffe_ctl.found_offset,
ffe_ctl          4008 fs/btrfs/extent-tree.c 		if (ffe_ctl.found_offset < ffe_ctl.search_start)
ffe_ctl          4009 fs/btrfs/extent-tree.c 			btrfs_add_free_space(block_group, ffe_ctl.found_offset,
ffe_ctl          4010 fs/btrfs/extent-tree.c 				ffe_ctl.search_start - ffe_ctl.found_offset);
ffe_ctl          4015 fs/btrfs/extent-tree.c 			btrfs_add_free_space(block_group, ffe_ctl.found_offset,
ffe_ctl          4022 fs/btrfs/extent-tree.c 		ins->objectid = ffe_ctl.search_start;
ffe_ctl          4025 fs/btrfs/extent-tree.c 		trace_btrfs_reserve_extent(block_group, ffe_ctl.search_start,
ffe_ctl          4030 fs/btrfs/extent-tree.c 		ffe_ctl.retry_clustered = false;
ffe_ctl          4031 fs/btrfs/extent-tree.c 		ffe_ctl.retry_unclustered = false;
ffe_ctl          4033 fs/btrfs/extent-tree.c 		       ffe_ctl.index);
ffe_ctl          4039 fs/btrfs/extent-tree.c 	ret = find_free_extent_update_loop(fs_info, last_ptr, ins, &ffe_ctl,
ffe_ctl          4049 fs/btrfs/extent-tree.c 		if (!ffe_ctl.max_extent_size)
ffe_ctl          4050 fs/btrfs/extent-tree.c 			ffe_ctl.max_extent_size = ffe_ctl.total_free_space;
ffe_ctl          4052 fs/btrfs/extent-tree.c 		space_info->max_extent_size = ffe_ctl.max_extent_size;
ffe_ctl          4054 fs/btrfs/extent-tree.c 		ins->offset = ffe_ctl.max_extent_size;