Lines Matching refs:dasd_info
374 struct dasd_information2_t *dasd_info; in dasd_ioctl_information() local
386 dasd_info = kzalloc(sizeof(struct dasd_information2_t), GFP_KERNEL); in dasd_ioctl_information()
387 if (dasd_info == NULL) in dasd_ioctl_information()
390 rc = base->discipline->fill_info(base, dasd_info); in dasd_ioctl_information()
392 kfree(dasd_info); in dasd_ioctl_information()
400 dasd_info->devno = dev_id.devno; in dasd_ioctl_information()
401 dasd_info->schid = sch_id.sch_no; in dasd_ioctl_information()
402 dasd_info->cu_type = cdev->id.cu_type; in dasd_ioctl_information()
403 dasd_info->cu_model = cdev->id.cu_model; in dasd_ioctl_information()
404 dasd_info->dev_type = cdev->id.dev_type; in dasd_ioctl_information()
405 dasd_info->dev_model = cdev->id.dev_model; in dasd_ioctl_information()
406 dasd_info->status = base->state; in dasd_ioctl_information()
412 dasd_info->open_count = atomic_read(&block->open_count); in dasd_ioctl_information()
414 dasd_info->open_count++; in dasd_ioctl_information()
422 dasd_info->format = DASD_FORMAT_NONE; in dasd_ioctl_information()
424 dasd_info->features |= in dasd_ioctl_information()
427 memcpy(dasd_info->type, base->discipline->name, 4); in dasd_ioctl_information()
436 dasd_info->req_queue_len++; in dasd_ioctl_information()
442 dasd_info->chanq_len++; in dasd_ioctl_information()
448 if (copy_to_user(argp, dasd_info, in dasd_ioctl_information()
453 kfree(dasd_info); in dasd_ioctl_information()