static struct dasd_ccw_req *
dasd_eckd_build_format(struct dasd_device *base,
struct format_data_t *fdata,
- int enable_PAV)
+ int enable_pav)
{
struct dasd_eckd_private *base_priv;
struct dasd_eckd_private *start_priv;
int nr_tracks;
int use_prefix;
- if (enable_PAV)
+ if (enable_pav)
startdev = dasd_alias_get_start_dev(base);
if (!startdev)
static int
dasd_eckd_format_device(struct dasd_device *base,
struct format_data_t *fdata,
- int enable_PAV)
+ int enable_pav)
{
struct dasd_ccw_req *cqr, *n;
struct dasd_block *block;
old_stop = fdata->stop_unit;
while (fdata->start_unit <= 1) {
fdata->stop_unit = fdata->start_unit;
- cqr = dasd_eckd_build_format(base, fdata, enable_PAV);
+ cqr = dasd_eckd_build_format(base, fdata, enable_pav);
list_add(&cqr->blocklist, &format_queue);
fdata->stop_unit = old_stop;
if (step > format_step)
fdata->stop_unit = fdata->start_unit + format_step - 1;
- cqr = dasd_eckd_build_format(base, fdata, enable_PAV);
+ cqr = dasd_eckd_build_format(base, fdata, enable_pav);
if (IS_ERR(cqr)) {
if (PTR_ERR(cqr) == -ENOMEM) {
/*
int (*term_IO) (struct dasd_ccw_req *);
void (*handle_terminated_request) (struct dasd_ccw_req *);
int (*format_device) (struct dasd_device *,
- struct format_data_t *, int enable_PAV);
+ struct format_data_t *, int enable_pav);
int (*free_cp) (struct dasd_ccw_req *, struct request *);
/*
dasd_format(struct dasd_block *block, struct format_data_t *fdata)
{
struct dasd_device *base;
- int enable_PAV = 1;
+ int enable_pav = 1;
int rc, retries;
int start, stop;
start = fdata->start_unit;
stop = fdata->stop_unit;
do {
- rc = base->discipline->format_device(base, fdata, enable_PAV);
+ rc = base->discipline->format_device(base, fdata, enable_pav);
if (rc) {
if (rc == -EAGAIN) {
retries--;
/* disable PAV in case of errors */
- enable_PAV = 0;
+ enable_pav = 0;
fdata->start_unit = start;
fdata->stop_unit = stop;
} else