Lines Matching refs:fdata

2414 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata,
2436 count = rpt * (fdata->stop_unit - fdata->start_unit + 1);
2457 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit,
2500 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata,
2523 count = rpt * (fdata->stop_unit - fdata->start_unit + 1);
2546 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit,
2550 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit,
2556 locate_record(ccw++, data, fdata->start_unit, 0, count,
2585 struct format_data_t *fdata, int enable_pav)
2611 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize);
2613 nr_tracks = fdata->stop_unit - fdata->start_unit + 1;
2616 * fdata->intensity is a bit string that tells us what to do:
2624 if (fdata->intensity & 0x10) {
2626 intensity = fdata->intensity & ~0x10;
2629 intensity = fdata->intensity;
2676 fdata->intensity);
2692 fdata->start_unit, fdata->stop_unit,
2701 fdata->start_unit, fdata->stop_unit,
2711 fdata->start_unit, 0, rpt*nr_tracks,
2713 fdata->blksize);
2719 fdata->start_unit, fdata->stop_unit,
2725 fdata->start_unit, fdata->stop_unit,
2731 fdata->start_unit, 0, rpt * nr_tracks + 1,
2739 fdata->start_unit, fdata->stop_unit,
2744 fdata->start_unit, fdata->stop_unit,
2750 fdata->start_unit, 0, 1,
2759 (fdata->start_unit + j) /
2761 (fdata->start_unit + j) %
2799 ect->dl = fdata->blksize;
2847 struct format_data_t *fdata, int enable_pav,
2853 ccw_req = dasd_eckd_build_format(base, NULL, fdata, enable_pav);
2856 ccw_req = dasd_eckd_build_check_tcw(base, fdata,
2860 ccw_req = dasd_eckd_build_check(base, fdata, enable_pav,
2871 struct format_data_t *fdata)
2875 if (fdata->start_unit >=
2879 fdata->start_unit);
2882 if (fdata->stop_unit >=
2886 fdata->stop_unit);
2889 if (fdata->start_unit > fdata->stop_unit) {
2892 fdata->start_unit);
2895 if (dasd_check_blocksize(fdata->blksize) != 0) {
2898 fdata->blksize);
2908 struct format_data_t *fdata,
2922 rc = dasd_eckd_format_sanity_checks(base, fdata);
2928 old_start = fdata->start_unit;
2929 old_stop = fdata->stop_unit;
2940 recs_per_track(&private->rdc_data, 0, fdata->blksize);
2945 while (fdata->start_unit <= old_stop) {
2946 step = fdata->stop_unit - fdata->start_unit + 1;
2948 fdata->stop_unit =
2949 fdata->start_unit + format_step - 1;
2952 cqr = dasd_eckd_format_build_ccw_req(base, fdata,
2973 step = fdata->stop_unit - fdata->start_unit + 1;
2976 fdata->start_unit = fdata->stop_unit + 1;
2977 fdata->stop_unit = old_stop;
3025 fdata->start_unit = old_start;
3026 fdata->stop_unit = old_stop;
3032 struct format_data_t *fdata, int enable_pav)
3034 return dasd_eckd_format_process_data(base, fdata, enable_pav, 0, NULL,
3101 struct format_data_t fdata;
3144 fdata.start_unit = curr_trk;
3145 fdata.stop_unit = curr_trk;
3146 fdata.blksize = blksize;
3147 fdata.intensity = private->uses_cdl ? DASD_FMT_INT_COMPAT : 0;
3149 rc = dasd_eckd_format_sanity_checks(base, &fdata);
3157 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0);