Lines Matching refs:dasd_info
410 struct dasd_information2_t *dasd_info; in dasd_ioctl_information() local
422 dasd_info = kzalloc(sizeof(struct dasd_information2_t), GFP_KERNEL); in dasd_ioctl_information()
423 if (dasd_info == NULL) in dasd_ioctl_information()
426 rc = base->discipline->fill_info(base, dasd_info); in dasd_ioctl_information()
428 kfree(dasd_info); in dasd_ioctl_information()
436 dasd_info->devno = dev_id.devno; in dasd_ioctl_information()
437 dasd_info->schid = sch_id.sch_no; in dasd_ioctl_information()
438 dasd_info->cu_type = cdev->id.cu_type; in dasd_ioctl_information()
439 dasd_info->cu_model = cdev->id.cu_model; in dasd_ioctl_information()
440 dasd_info->dev_type = cdev->id.dev_type; in dasd_ioctl_information()
441 dasd_info->dev_model = cdev->id.dev_model; in dasd_ioctl_information()
442 dasd_info->status = base->state; in dasd_ioctl_information()
448 dasd_info->open_count = atomic_read(&block->open_count); in dasd_ioctl_information()
450 dasd_info->open_count++; in dasd_ioctl_information()
458 dasd_info->format = DASD_FORMAT_NONE; in dasd_ioctl_information()
460 dasd_info->features |= in dasd_ioctl_information()
463 memcpy(dasd_info->type, base->discipline->name, 4); in dasd_ioctl_information()
472 dasd_info->req_queue_len++; in dasd_ioctl_information()
478 dasd_info->chanq_len++; in dasd_ioctl_information()
484 if (copy_to_user(argp, dasd_info, in dasd_ioctl_information()
489 kfree(dasd_info); in dasd_ioctl_information()