Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/block/
Ddasd_diag.c52 struct dasd_diag_characteristics rdc_data; member
318 struct dasd_diag_characteristics *rdc_data; in dasd_diag_check_device() local
349 rdc_data = &private->rdc_data; in dasd_diag_check_device()
350 rdc_data->dev_nr = private->dev_id.devno; in dasd_diag_check_device()
351 rdc_data->rdc_len = sizeof (struct dasd_diag_characteristics); in dasd_diag_check_device()
353 rc = diag210((struct diag210 *) rdc_data); in dasd_diag_check_device()
365 switch (private->rdc_data.vdev_class) { in dasd_diag_check_device()
375 private->rdc_data.vdev_class); in dasd_diag_check_device()
382 rdc_data->dev_nr, in dasd_diag_check_device()
383 rdc_data->vdev_type, in dasd_diag_check_device()
[all …]
Ddasd_fba.c46 struct dasd_fba_characteristics rdc_data; member
151 &private->rdc_data, 32); in dasd_fba_check_characteristics()
180 ((private->rdc_data.blk_bdsa * in dasd_fba_check_characteristics()
181 (private->rdc_data.blk_size >> 9)) >> 11), in dasd_fba_check_characteristics()
182 private->rdc_data.blk_size, in dasd_fba_check_characteristics()
192 rc = dasd_check_blocksize(private->rdc_data.blk_size); in dasd_fba_do_analysis()
195 private->rdc_data.blk_size); in dasd_fba_do_analysis()
198 block->blocks = private->rdc_data.blk_bdsa; in dasd_fba_do_analysis()
199 block->bp_block = private->rdc_data.blk_size; in dasd_fba_do_analysis()
201 for (sb = 512; sb < private->rdc_data.blk_size; sb = sb << 1) in dasd_fba_do_analysis()
[all …]
Ddasd_eckd.c246 *track = cyl * private->rdc_data.trk_per_cyl + head; in dasd_eckd_track_from_irb()
261 if ((rc && !private->rdc_data.facilities.XRC_supported) || in set_timestamp()
357 if ((private->rdc_data.cu_type == 0x2105 || in define_extent()
358 private->rdc_data.cu_type == 0x2107 || in define_extent()
359 private->rdc_data.cu_type == 0x1750) in define_extent()
363 heads = private->rdc_data.trk_per_cyl; in define_extent()
407 switch (private->rdc_data.dev_type) { in locate_record_ext()
520 trk / private->rdc_data.trk_per_cyl, in locate_record_ext()
521 trk % private->rdc_data.trk_per_cyl); in locate_record_ext()
623 switch (private->rdc_data.dev_type) { in locate_record()
[all …]
Ddasd_eckd.h679 struct dasd_eckd_characteristics rdc_data; member
/linux-6.1.9/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()