Lines Matching refs:fdata

2499 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata,  in dasd_eckd_build_check_tcw()  argument
2521 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check_tcw()
2542 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check_tcw()
2585 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check() argument
2608 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check()
2631 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2635 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2641 locate_record(ccw++, data, fdata->start_unit, 0, count, in dasd_eckd_build_check()
2670 struct format_data_t *fdata, int enable_pav) in dasd_eckd_build_format() argument
2696 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize); in dasd_eckd_build_format()
2698 nr_tracks = fdata->stop_unit - fdata->start_unit + 1; in dasd_eckd_build_format()
2709 if (fdata->intensity & 0x10) { in dasd_eckd_build_format()
2711 intensity = fdata->intensity & ~0x10; in dasd_eckd_build_format()
2714 intensity = fdata->intensity; in dasd_eckd_build_format()
2761 fdata->intensity); in dasd_eckd_build_format()
2777 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2786 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2796 fdata->start_unit, 0, rpt*nr_tracks, in dasd_eckd_build_format()
2798 fdata->blksize); in dasd_eckd_build_format()
2804 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2810 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2816 fdata->start_unit, 0, rpt * nr_tracks + 1, in dasd_eckd_build_format()
2824 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2829 fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_format()
2835 fdata->start_unit, 0, 1, in dasd_eckd_build_format()
2844 (fdata->start_unit + j) / in dasd_eckd_build_format()
2846 (fdata->start_unit + j) % in dasd_eckd_build_format()
2884 ect->dl = fdata->blksize; in dasd_eckd_build_format()
2932 struct format_data_t *fdata, int enable_pav, in dasd_eckd_format_build_ccw_req() argument
2938 ccw_req = dasd_eckd_build_format(base, NULL, fdata, enable_pav); in dasd_eckd_format_build_ccw_req()
2941 ccw_req = dasd_eckd_build_check_tcw(base, fdata, in dasd_eckd_format_build_ccw_req()
2945 ccw_req = dasd_eckd_build_check(base, fdata, enable_pav, in dasd_eckd_format_build_ccw_req()
2956 struct format_data_t *fdata) in dasd_eckd_format_sanity_checks() argument
2960 if (fdata->start_unit >= in dasd_eckd_format_sanity_checks()
2964 fdata->start_unit); in dasd_eckd_format_sanity_checks()
2967 if (fdata->stop_unit >= in dasd_eckd_format_sanity_checks()
2971 fdata->stop_unit); in dasd_eckd_format_sanity_checks()
2974 if (fdata->start_unit > fdata->stop_unit) { in dasd_eckd_format_sanity_checks()
2977 fdata->start_unit); in dasd_eckd_format_sanity_checks()
2980 if (dasd_check_blocksize(fdata->blksize) != 0) { in dasd_eckd_format_sanity_checks()
2983 fdata->blksize); in dasd_eckd_format_sanity_checks()
2993 struct format_data_t *fdata, in dasd_eckd_format_process_data() argument
3007 rc = dasd_eckd_format_sanity_checks(base, fdata); in dasd_eckd_format_process_data()
3013 old_start = fdata->start_unit; in dasd_eckd_format_process_data()
3014 old_stop = fdata->stop_unit; in dasd_eckd_format_process_data()
3025 recs_per_track(&private->rdc_data, 0, fdata->blksize); in dasd_eckd_format_process_data()
3030 while (fdata->start_unit <= old_stop) { in dasd_eckd_format_process_data()
3031 step = fdata->stop_unit - fdata->start_unit + 1; in dasd_eckd_format_process_data()
3033 fdata->stop_unit = in dasd_eckd_format_process_data()
3034 fdata->start_unit + format_step - 1; in dasd_eckd_format_process_data()
3037 cqr = dasd_eckd_format_build_ccw_req(base, fdata, in dasd_eckd_format_process_data()
3058 step = fdata->stop_unit - fdata->start_unit + 1; in dasd_eckd_format_process_data()
3061 fdata->start_unit = fdata->stop_unit + 1; in dasd_eckd_format_process_data()
3062 fdata->stop_unit = old_stop; in dasd_eckd_format_process_data()
3110 fdata->start_unit = old_start; in dasd_eckd_format_process_data()
3111 fdata->stop_unit = old_stop; in dasd_eckd_format_process_data()
3117 struct format_data_t *fdata, int enable_pav) in dasd_eckd_format_device() argument
3119 return dasd_eckd_format_process_data(base, fdata, enable_pav, 0, NULL, in dasd_eckd_format_device()
3186 struct format_data_t fdata; in dasd_eckd_ese_format() local
3229 fdata.start_unit = curr_trk; in dasd_eckd_ese_format()
3230 fdata.stop_unit = curr_trk; in dasd_eckd_ese_format()
3231 fdata.blksize = blksize; in dasd_eckd_ese_format()
3232 fdata.intensity = private->uses_cdl ? DASD_FMT_INT_COMPAT : 0; in dasd_eckd_ese_format()
3234 rc = dasd_eckd_format_sanity_checks(base, &fdata); in dasd_eckd_ese_format()
3242 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0); in dasd_eckd_ese_format()