Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/s390/block/
Ddasd_diag.c52 struct dasd_diag_characteristics rdc_data; member
319 struct dasd_diag_characteristics *rdc_data; in dasd_diag_check_device() local
350 rdc_data = &private->rdc_data; in dasd_diag_check_device()
351 rdc_data->dev_nr = private->dev_id.devno; in dasd_diag_check_device()
352 rdc_data->rdc_len = sizeof (struct dasd_diag_characteristics); in dasd_diag_check_device()
354 rc = diag210((struct diag210 *) rdc_data); in dasd_diag_check_device()
366 switch (private->rdc_data.vdev_class) { in dasd_diag_check_device()
376 private->rdc_data.vdev_class); in dasd_diag_check_device()
383 rdc_data->dev_nr, in dasd_diag_check_device()
384 rdc_data->vdev_type, in dasd_diag_check_device()
[all …]
Ddasd_fba.c46 struct dasd_fba_characteristics rdc_data; member
160 &private->rdc_data, 32); in dasd_fba_check_characteristics()
189 ((private->rdc_data.blk_bdsa * in dasd_fba_check_characteristics()
190 (private->rdc_data.blk_size >> 9)) >> 11), in dasd_fba_check_characteristics()
191 private->rdc_data.blk_size, in dasd_fba_check_characteristics()
201 rc = dasd_check_blocksize(private->rdc_data.blk_size); in dasd_fba_do_analysis()
204 private->rdc_data.blk_size); in dasd_fba_do_analysis()
207 block->blocks = private->rdc_data.blk_bdsa; in dasd_fba_do_analysis()
208 block->bp_block = private->rdc_data.blk_size; in dasd_fba_do_analysis()
210 for (sb = 512; sb < private->rdc_data.blk_size; sb = sb << 1) in dasd_fba_do_analysis()
[all …]
Ddasd_eckd.c228 if ((rc && !private->rdc_data.facilities.XRC_supported) || in set_timestamp()
324 if ((private->rdc_data.cu_type == 0x2105 || in define_extent()
325 private->rdc_data.cu_type == 0x2107 || in define_extent()
326 private->rdc_data.cu_type == 0x1750) in define_extent()
330 heads = private->rdc_data.trk_per_cyl; in define_extent()
374 switch (private->rdc_data.dev_type) { in locate_record_ext()
487 trk / private->rdc_data.trk_per_cyl, in locate_record_ext()
488 trk % private->rdc_data.trk_per_cyl); in locate_record_ext()
590 switch (private->rdc_data.dev_type) { in locate_record()
664 trk / private->rdc_data.trk_per_cyl, in locate_record()
[all …]
Ddasd_eckd.h539 struct dasd_eckd_characteristics rdc_data; member
/linux-4.19.296/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()