/linux-2.4.37.9/drivers/s390/char/ |
D | tapechar.c | 162 ccw_req_t *cqr; in tape_read() local 193 cqr = ti->discipline->read_block (data, block_size, ti); in tape_read() 194 if (!cqr) { in tape_read() 198 ti->cqr = cqr; in tape_read() 200 rc = do_IO (ti->devinfo.irq, cqr->cpaddr, (unsigned long) cqr, 0x00, cqr->options); in tape_read() 203 kfree (cqr); in tape_read() 209 ti->cqr = NULL; in tape_read() 210 ti->discipline->free_read_block (cqr, ti); in tape_read() 247 ccw_req_t *cqr; in tape_write() local 283 cqr = ti->discipline->write_block (data + i * block_size, block_size, ti); in tape_write() [all …]
|
D | tapeblock.c | 185 ti->cqr=NULL; in tapeblock_open() 237 debug_int_event (tape_debug_area,6,(long)ti->cqr); in tapeblock_end_request() 240 debug_int_event (tape_debug_area,3,(long)ti->cqr); in tapeblock_end_request() 255 ti->discipline->free_bread(ti->cqr,ti); in tapeblock_end_request() 256 ti->cqr=NULL; in tapeblock_end_request() 266 if (ti->cqr) { // process done/failed request 274 debug_int_event (tape_debug_area,3,(long)ti->cqr); 276 rc = do_IO (ti->devinfo.irq, ti->cqr->cpaddr, (unsigned long) ti->cqr, 277 0x00, ti->cqr->options); 281 debug_int_event (tape_debug_area,3,(long)ti->cqr); [all …]
|
D | tape34xx.c | 88 ccw_req_t *cqr; in tape34xx_write_block() local 91 cqr = tape_alloc_ccw_req (ti, 2, 0); in tape34xx_write_block() 92 if (!cqr) { in tape34xx_write_block() 100 tape_free_request (cqr); in tape34xx_write_block() 108 tape_free_request (cqr); in tape34xx_write_block() 114 ccw = cqr->cpaddr; in tape34xx_write_block() 127 tape_free_request (cqr); in tape34xx_write_block() 138 return cqr; in tape34xx_write_block() 142 tape34xx_free_write_block (ccw_req_t * cqr, tape_info_t * ti) in tape34xx_free_write_block() argument 147 ccw = cqr->cpaddr; in tape34xx_free_write_block() [all …]
|
D | tape34xx.h | 119 void tape34xx_free_write_block (ccw_req_t * cqr, tape_info_t * ti); 121 void tape34xx_free_read_block (ccw_req_t * cqr, tape_info_t * ti); 122 void tape34xx_clear_read_block (ccw_req_t * cqr, tape_info_t * ti);
|
D | tape.c | 481 ccw_req_t *cqr = NULL; in tape_alloc_ccw_req() local 485 cqr = tape_alloc_request (tape_magic_id, cplength, datasize); in tape_alloc_ccw_req() 487 if (!cqr) { in tape_alloc_ccw_req() 492 cqr->magic = TAPE_MAGIC; /* sets an identifier for tape driver */ in tape_alloc_ccw_req() 493 cqr->device = ti; /* save pointer to tape info */ in tape_alloc_ccw_req() 494 return cqr; in tape_alloc_ccw_req() 987 if (temp->cqr) tape_free_request(temp->cqr); in cleanup_module()
|
D | tape.h | 71 typedef void (*tape_freeblock_t)(ccw_req_t* cqr,struct _tape_info_t* ti); 151 ccw_req_t* cqr; member
|
/linux-2.4.37.9/drivers/s390/block/ |
D | dasd.c | 165 static int dasd_sleep_on_immediate (ccw_req_t *cqr); 1179 dasd_profile_add (ccw_req_t * cqr) in dasd_profile_add() argument 1183 dasd_device_t *device = cqr->device; in dasd_profile_add() 1185 if (!cqr->req) /* safeguard against abnormal cqrs */ in dasd_profile_add() 1188 if ((!cqr->buildclk) || in dasd_profile_add() 1189 (!cqr->startclk) || in dasd_profile_add() 1190 (!cqr->stopclk ) || in dasd_profile_add() 1191 (!cqr->endclk ) || in dasd_profile_add() 1192 (!(sectors = ((struct request *) (cqr->req))->nr_sectors))) in dasd_profile_add() 1195 strtime = ((cqr->startclk - cqr->buildclk) >> 12); in dasd_profile_add() [all …]
|
D | dasd_eckd.c | 232 int cmd, dasd_device_t * device, ccw_req_t* cqr) in define_extent() argument 250 if ((rc=dasd_set_normalized_cda (de_ccw, __pa (data), cqr, device))) in define_extent() 357 ccw_req_t* cqr) in locate_record() argument 378 if ((rc=dasd_set_normalized_cda (lo_ccw, __pa (data), cqr, device))) in locate_record() 618 ccw_req_t *cqr = NULL; in dasd_eckd_init_analysis() local 625 cqr = dasd_alloc_request (dasd_eckd_discipline.name, 8 + 1, in dasd_eckd_init_analysis() 629 if (cqr == NULL) { in dasd_eckd_init_analysis() 635 DE_data = cqr->data; in dasd_eckd_init_analysis() 636 LO_data = cqr->data + sizeof (DE_eckd_data_t); in dasd_eckd_init_analysis() 637 ccw = cqr->cpaddr; in dasd_eckd_init_analysis() [all …]
|
D | dasd_diag.c | 125 dasd_start_diag (ccw_req_t * cqr) in dasd_start_diag() argument 128 dasd_device_t *device = cqr->device; in dasd_start_diag() 138 iob->block_count = cqr->cplength >> 1; in dasd_start_diag() 139 iob->interrupt_params = (u32)(addr_t) cqr; in dasd_start_diag() 140 iob->bio_list = __pa (cqr->cpaddr); in dasd_start_diag() 142 cqr->startclk = get_clock (); in dasd_start_diag() 151 check_then_set (&cqr->status, in dasd_start_diag() 154 check_then_set (&cqr->status, in dasd_start_diag() 158 check_then_set (&cqr->status, in dasd_start_diag() 169 ccw_req_t *cqr; in dasd_ext_handler() local [all …]
|
D | dasd_3990_erp.c | 34 log_erp_chain (ccw_req_t *cqr, in log_erp_chain() argument 39 ccw_req_t *loop_cqr = cqr; in log_erp_chain() 40 dasd_device_t *device = cqr->device; in log_erp_chain() 55 cqr); in log_erp_chain() 195 if (loop_cqr == cqr) { /* log only once */ in log_erp_chain() 265 dasd_3990_erp_examine_24 (ccw_req_t *cqr, in dasd_3990_erp_examine_24() argument 269 dasd_device_t *device = cqr->device; in dasd_3990_erp_examine_24() 298 cqr == device->init_cqr ? " " : in dasd_3990_erp_examine_24() 322 dasd_3990_erp_examine_32 (ccw_req_t *cqr, in dasd_3990_erp_examine_32() argument 326 dasd_device_t *device = cqr->device; in dasd_3990_erp_examine_32() [all …]
|
D | dasd_fba.c | 76 int blksize, int beg, int nr, ccw_req_t* cqr, in define_extent() argument 83 if ((rc=dasd_set_normalized_cda (ccw, __pa (DE_data), cqr, device))) in define_extent() 99 int block_ct, ccw_req_t* cqr, dasd_device_t* device) in locate_record() argument 104 dasd_set_normalized_cda (ccw, __pa (LO_data), cqr, device); in locate_record() 244 dasd_fba_examine_error (ccw_req_t * cqr, devstat_t * stat) in dasd_fba_examine_error() argument 246 dasd_device_t *device = (dasd_device_t *) cqr->device; in dasd_fba_examine_error() 253 return dasd_3370_erp_examine (cqr, stat); in dasd_fba_examine_error() 255 return dasd_9336_erp_examine (cqr, stat); in dasd_fba_examine_error() 262 dasd_fba_erp_action (ccw_req_t * cqr) in dasd_fba_erp_action() argument 268 dasd_fba_erp_postaction (ccw_req_t * cqr) in dasd_fba_erp_postaction() argument [all …]
|
D | dasd_9343_erp.c | 16 dasd_era_t dasd_9343_erp_examine (ccw_req_t * cqr, devstat_t * stat) in dasd_9343_erp_examine() argument
|
D | dasd_9336_erp.c | 33 dasd_era_t dasd_9336_erp_examine (ccw_req_t * cqr, devstat_t * stat) in dasd_9336_erp_examine() argument
|
D | dasd_3370_erp.c | 34 dasd_3370_erp_examine (ccw_req_t * cqr, devstat_t * stat) in dasd_3370_erp_examine() argument
|
D | dasd_int.h | 350 typedef ccw_req_t *(*dasd_erp_action_fn_t) (ccw_req_t * cqr); 351 typedef ccw_req_t *(*dasd_erp_postaction_fn_t) (ccw_req_t * cqr);
|