Lines Matching refs:fdata

2461 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata,  in dasd_eckd_build_check_tcw()  argument
2483 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check_tcw()
2504 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check_tcw()
2547 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check() argument
2570 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check()
2593 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2597 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2603 locate_record(ccw++, data, fdata->start_unit, 0, count, in dasd_eckd_build_check()
2632 struct format_data_t *fdata, int enable_pav) in dasd_eckd_build_format() argument
2658 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize); in dasd_eckd_build_format()
2660 nr_tracks = fdata->stop_unit - fdata->start_unit + 1; in dasd_eckd_build_format()
2671 if (fdata->intensity & 0x10) { in dasd_eckd_build_format()
2673 intensity = fdata->intensity & ~0x10; in dasd_eckd_build_format()
2676 intensity = fdata->intensity; in dasd_eckd_build_format()
2723 fdata->intensity); in dasd_eckd_build_format()
2739 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2748 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2758 fdata->start_unit, 0, rpt*nr_tracks, in dasd_eckd_build_format()
2760 fdata->blksize); in dasd_eckd_build_format()
2766 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2772 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2778 fdata->start_unit, 0, rpt * nr_tracks + 1, in dasd_eckd_build_format()
2786 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2791 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2797 fdata->start_unit, 0, 1, in dasd_eckd_build_format()
2806 (fdata->start_unit + j) / in dasd_eckd_build_format()
2808 (fdata->start_unit + j) % in dasd_eckd_build_format()
2846 ect->dl = fdata->blksize; in dasd_eckd_build_format()
2894 struct format_data_t *fdata, int enable_pav, in dasd_eckd_format_build_ccw_req() argument
2900 ccw_req = dasd_eckd_build_format(base, NULL, fdata, enable_pav); in dasd_eckd_format_build_ccw_req()
2903 ccw_req = dasd_eckd_build_check_tcw(base, fdata, in dasd_eckd_format_build_ccw_req()
2907 ccw_req = dasd_eckd_build_check(base, fdata, enable_pav, in dasd_eckd_format_build_ccw_req()
2918 struct format_data_t *fdata) in dasd_eckd_format_sanity_checks() argument
2922 if (fdata->start_unit >= in dasd_eckd_format_sanity_checks()
2926 fdata->start_unit); in dasd_eckd_format_sanity_checks()
2929 if (fdata->stop_unit >= in dasd_eckd_format_sanity_checks()
2933 fdata->stop_unit); in dasd_eckd_format_sanity_checks()
2936 if (fdata->start_unit > fdata->stop_unit) { in dasd_eckd_format_sanity_checks()
2939 fdata->start_unit); in dasd_eckd_format_sanity_checks()
2942 if (dasd_check_blocksize(fdata->blksize) != 0) { in dasd_eckd_format_sanity_checks()
2945 fdata->blksize); in dasd_eckd_format_sanity_checks()
2955 struct format_data_t *fdata, in dasd_eckd_format_process_data() argument
2969 rc = dasd_eckd_format_sanity_checks(base, fdata); in dasd_eckd_format_process_data()
2975 old_start = fdata->start_unit; in dasd_eckd_format_process_data()
2976 old_stop = fdata->stop_unit; in dasd_eckd_format_process_data()
2987 recs_per_track(&private->rdc_data, 0, fdata->blksize); in dasd_eckd_format_process_data()
2992 while (fdata->start_unit <= old_stop) { in dasd_eckd_format_process_data()
2993 step = fdata->stop_unit - fdata->start_unit + 1; in dasd_eckd_format_process_data()
2995 fdata->stop_unit = in dasd_eckd_format_process_data()
2996 fdata->start_unit + format_step - 1; in dasd_eckd_format_process_data()
2999 cqr = dasd_eckd_format_build_ccw_req(base, fdata, in dasd_eckd_format_process_data()
3020 step = fdata->stop_unit - fdata->start_unit + 1; in dasd_eckd_format_process_data()
3023 fdata->start_unit = fdata->stop_unit + 1; in dasd_eckd_format_process_data()
3024 fdata->stop_unit = old_stop; in dasd_eckd_format_process_data()
3072 fdata->start_unit = old_start; in dasd_eckd_format_process_data()
3073 fdata->stop_unit = old_stop; in dasd_eckd_format_process_data()
3079 struct format_data_t *fdata, int enable_pav) in dasd_eckd_format_device() argument
3081 return dasd_eckd_format_process_data(base, fdata, enable_pav, 0, NULL, in dasd_eckd_format_device()
3136 struct format_data_t fdata; in dasd_eckd_ese_format() local
3176 fdata.start_unit = curr_trk; in dasd_eckd_ese_format()
3177 fdata.stop_unit = curr_trk; in dasd_eckd_ese_format()
3178 fdata.blksize = blksize; in dasd_eckd_ese_format()
3179 fdata.intensity = private->uses_cdl ? DASD_FMT_INT_COMPAT : 0; in dasd_eckd_ese_format()
3181 rc = dasd_eckd_format_sanity_checks(base, &fdata); in dasd_eckd_ese_format()
3189 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0); in dasd_eckd_ese_format()