Lines Matching refs:fsa_dev
490 if (dev->fsa_dev == NULL || in aac_get_containers()
493 fsa_dev_ptr = dev->fsa_dev; in aac_get_containers()
495 dev->fsa_dev = kcalloc(maximum_num_containers, in aac_get_containers()
502 if (!dev->fsa_dev) in aac_get_containers()
508 dev->fsa_dev[index].devname[0] = '\0'; in aac_get_containers()
509 dev->fsa_dev[index].valid = 0; in aac_get_containers()
623 struct fsa_dev_info *fsa_dev_ptr = ((struct aac_dev *)(scsicmd->device->host->hostdata))->fsa_dev; in aac_probe_container_callback2()
646 fsa_dev_ptr = fibptr->dev->fsa_dev; in _aac_probe_container2()
789 struct fsa_dev_info *fsa_dev_ptr = ((struct aac_dev *)(scsicmd->device->host->hostdata))->fsa_dev; in _aac_probe_container()
986 dev->fsa_dev[container].identifier, in build_vpd83_type3()
1208 set_sense(&dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1211 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1212 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_bounds_32()
1243 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_read_raw_io()
1259 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_read_raw_io()
1333 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_read_block()
1371 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_write_raw_io()
1390 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_write_raw_io()
1467 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_write_block()
2375 dev->fsa_dev[cid].sense_data.sense_key = NO_SENSE; in io_callback()
2379 set_sense(&dev->fsa_dev[cid].sense_data, NOT_READY, in io_callback()
2381 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in io_callback()
2382 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in io_callback()
2387 set_sense(&dev->fsa_dev[cid].sense_data, MEDIUM_ERROR, in io_callback()
2389 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in io_callback()
2390 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in io_callback()
2399 set_sense(&dev->fsa_dev[cid].sense_data, in io_callback()
2402 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in io_callback()
2403 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in io_callback()
2470 if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) { in aac_read()
2474 set_sense(&dev->fsa_dev[cid].sense_data, in aac_read()
2477 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_read()
2478 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_read()
2561 if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) { in aac_write()
2565 set_sense(&dev->fsa_dev[cid].sense_data, in aac_write()
2568 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_write()
2569 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_write()
2628 set_sense(&dev->fsa_dev[cid].sense_data, in synchronize_callback()
2631 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in synchronize_callback()
2632 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in synchronize_callback()
2779 struct fsa_dev_info *fsa_dev_ptr = dev->fsa_dev; in aac_scsi_cmd()
2850 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2853 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2854 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
2931 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2935 &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2937 sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
3192 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3194 memset(&dev->fsa_dev[cid].sense_data, 0, in aac_scsi_cmd()
3214 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3218 &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3220 sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
3243 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3246 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3248 sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
3263 fsa_dev_ptr = dev->fsa_dev; in query_disk()
3304 fsa_dev_ptr = dev->fsa_dev; in force_delete_disk()
3329 fsa_dev_ptr = dev->fsa_dev; in delete_disk()