Home
last modified time | relevance | path

Searched refs:rdc_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/s390/block/
Ddasd_diag.c49 struct dasd_diag_characteristics rdc_data; member
315 struct dasd_diag_characteristics *rdc_data; in dasd_diag_check_device() local
346 rdc_data = &private->rdc_data; in dasd_diag_check_device()
347 rdc_data->dev_nr = private->dev_id.devno; in dasd_diag_check_device()
348 rdc_data->rdc_len = sizeof (struct dasd_diag_characteristics); in dasd_diag_check_device()
350 rc = diag210((struct diag210 *) rdc_data); in dasd_diag_check_device()
362 switch (private->rdc_data.vdev_class) { in dasd_diag_check_device()
372 private->rdc_data.vdev_class); in dasd_diag_check_device()
379 rdc_data->dev_nr, in dasd_diag_check_device()
380 rdc_data->vdev_type, in dasd_diag_check_device()
[all …]
Ddasd_fba.c42 struct dasd_fba_characteristics rdc_data; member
147 &private->rdc_data, 32); in dasd_fba_check_characteristics()
176 ((private->rdc_data.blk_bdsa * in dasd_fba_check_characteristics()
177 (private->rdc_data.blk_size >> 9)) >> 11), in dasd_fba_check_characteristics()
178 private->rdc_data.blk_size, in dasd_fba_check_characteristics()
188 rc = dasd_check_blocksize(private->rdc_data.blk_size); in dasd_fba_do_analysis()
191 private->rdc_data.blk_size); in dasd_fba_do_analysis()
194 block->blocks = private->rdc_data.blk_bdsa; in dasd_fba_do_analysis()
195 block->bp_block = private->rdc_data.blk_size; in dasd_fba_do_analysis()
197 for (sb = 512; sb < private->rdc_data.blk_size; sb = sb << 1) in dasd_fba_do_analysis()
[all …]
Ddasd_eckd.c242 *track = cyl * private->rdc_data.trk_per_cyl + head; in dasd_eckd_track_from_irb()
257 if ((rc && !private->rdc_data.facilities.XRC_supported) || in set_timestamp()
353 if ((private->rdc_data.cu_type == 0x2105 || in define_extent()
354 private->rdc_data.cu_type == 0x2107 || in define_extent()
355 private->rdc_data.cu_type == 0x1750) in define_extent()
359 heads = private->rdc_data.trk_per_cyl; in define_extent()
403 switch (private->rdc_data.dev_type) { in locate_record_ext()
516 trk / private->rdc_data.trk_per_cyl, in locate_record_ext()
517 trk % private->rdc_data.trk_per_cyl); in locate_record_ext()
619 switch (private->rdc_data.dev_type) { in locate_record()
[all …]
Ddasd_eckd.h679 struct dasd_eckd_characteristics rdc_data; member
/linux-6.12.1/drivers/s390/char/
Dtape_3590.c1496 struct tape_3590_rdc_data *rdc_data) in tape_3590_read_dev_chars() argument
1501 request = tape_alloc_request(1, sizeof(*rdc_data)); in tape_3590_read_dev_chars()
1505 tape_ccw_end(request->cpaddr, CCW_CMD_RDC, sizeof(*rdc_data), in tape_3590_read_dev_chars()
1509 memcpy(rdc_data, request->cpdata, sizeof(*rdc_data)); in tape_3590_read_dev_chars()
1522 struct tape_3590_rdc_data *rdc_data; in tape_3590_setup_device() local
1531 rdc_data = kmalloc(sizeof(*rdc_data), GFP_KERNEL | GFP_DMA); in tape_3590_setup_device()
1532 if (!rdc_data) { in tape_3590_setup_device()
1536 rc = tape_3590_read_dev_chars(device, rdc_data); in tape_3590_setup_device()
1544 if (rdc_data->data[31] == 0x13) { in tape_3590_setup_device()
1559 kfree(rdc_data); in tape_3590_setup_device()