Lines Matching refs:fdata

2502 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata,
2524 count = rpt * (fdata->stop_unit - fdata->start_unit + 1);
2545 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit,
2588 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata,
2611 count = rpt * (fdata->stop_unit - fdata->start_unit + 1);
2634 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit,
2638 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit,
2644 locate_record(ccw++, data, fdata->start_unit, 0, count,
2673 struct format_data_t *fdata, int enable_pav)
2699 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize);
2701 nr_tracks = fdata->stop_unit - fdata->start_unit + 1;
2704 * fdata->intensity is a bit string that tells us what to do:
2712 if (fdata->intensity & 0x10) {
2714 intensity = fdata->intensity & ~0x10;
2717 intensity = fdata->intensity;
2764 fdata->intensity);
2780 fdata->start_unit, fdata->stop_unit,
2789 fdata->start_unit, fdata->stop_unit,
2799 fdata->start_unit, 0, rpt*nr_tracks,
2801 fdata->blksize);
2807 fdata->start_unit, fdata->stop_unit,
2813 fdata->start_unit, fdata->stop_unit,
2819 fdata->start_unit, 0, rpt * nr_tracks + 1,
2827 fdata->start_unit, fdata->stop_unit,
2832 fdata->start_unit, fdata->stop_unit,
2838 fdata->start_unit, 0, 1,
2847 (fdata->start_unit + j) /
2849 (fdata->start_unit + j) %
2887 ect->dl = fdata->blksize;
2935 struct format_data_t *fdata, int enable_pav,
2941 ccw_req = dasd_eckd_build_format(base, NULL, fdata, enable_pav);
2944 ccw_req = dasd_eckd_build_check_tcw(base, fdata,
2948 ccw_req = dasd_eckd_build_check(base, fdata, enable_pav,
2959 struct format_data_t *fdata)
2963 if (fdata->start_unit >=
2967 fdata->start_unit);
2970 if (fdata->stop_unit >=
2974 fdata->stop_unit);
2977 if (fdata->start_unit > fdata->stop_unit) {
2980 fdata->start_unit);
2983 if (dasd_check_blocksize(fdata->blksize) != 0) {
2986 fdata->blksize);
2996 struct format_data_t *fdata,
3010 rc = dasd_eckd_format_sanity_checks(base, fdata);
3016 old_start = fdata->start_unit;
3017 old_stop = fdata->stop_unit;
3028 recs_per_track(&private->rdc_data, 0, fdata->blksize);
3033 while (fdata->start_unit <= old_stop) {
3034 step = fdata->stop_unit - fdata->start_unit + 1;
3036 fdata->stop_unit =
3037 fdata->start_unit + format_step - 1;
3040 cqr = dasd_eckd_format_build_ccw_req(base, fdata,
3061 step = fdata->stop_unit - fdata->start_unit + 1;
3064 fdata->start_unit = fdata->stop_unit + 1;
3065 fdata->stop_unit = old_stop;
3113 fdata->start_unit = old_start;
3114 fdata->stop_unit = old_stop;
3120 struct format_data_t *fdata, int enable_pav)
3122 return dasd_eckd_format_process_data(base, fdata, enable_pav, 0, NULL,
3189 struct format_data_t fdata;
3232 fdata.start_unit = curr_trk;
3233 fdata.stop_unit = curr_trk;
3234 fdata.blksize = blksize;
3235 fdata.intensity = private->uses_cdl ? DASD_FMT_INT_COMPAT : 0;
3237 rc = dasd_eckd_format_sanity_checks(base, &fdata);
3245 fcqr = dasd_eckd_build_format(base, startdev, &fdata, 0);