Searched refs:gdp (Results 1 – 7 of 7) sorted by relevance
/drivers/s390/block/ |
D | dasd_genhd.c | 31 struct gendisk *gdp; in dasd_gendisk_alloc() local 40 gdp = alloc_disk(1 << DASD_PARTN_BITS); in dasd_gendisk_alloc() 41 if (!gdp) in dasd_gendisk_alloc() 45 gdp->major = DASD_MAJOR; in dasd_gendisk_alloc() 46 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc() 47 gdp->fops = &dasd_device_operations; in dasd_gendisk_alloc() 48 gdp->driverfs_dev = &base->cdev->dev; in dasd_gendisk_alloc() 57 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc() 61 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 64 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() [all …]
|
D | dasd_proc.c | 58 if (block->gdp) in dasd_devices_show() 60 MAJOR(disk_devt(block->gdp)), in dasd_devices_show() 61 MINOR(disk_devt(block->gdp))); in dasd_devices_show() 65 if (block->gdp) in dasd_devices_show() 66 seq_printf(m, " is %-8s", block->gdp->disk_name); in dasd_devices_show()
|
D | dasd_devmap.c | 675 void dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) in dasd_add_link_to_gendisk() argument 683 gdp->private_data = devmap; in dasd_add_link_to_gendisk() 687 struct dasd_device *dasd_device_from_gendisk(struct gendisk *gdp) in dasd_device_from_gendisk() argument 692 if (!gdp->private_data) in dasd_device_from_gendisk() 696 devmap = gdp->private_data; in dasd_device_from_gendisk() 799 if (device && device->block && device->block->gdp) in dasd_ro_store() 800 set_disk_ro(device->block->gdp, val); in dasd_ro_store()
|
D | dasd_ioctl.c | 59 (loff_t)get_capacity(base->block->gdp) << 9); in dasd_ioctl_enable() 231 struct block_device *bdev = bdget_disk(block->gdp, 0); in dasd_format()
|
D | dasd_int.h | 487 struct gendisk *gdp; member
|
D | dasd.c | 258 dasd_debugfs_setup(block->gdp->disk_name, in dasd_state_known_to_basic() 348 set_capacity(block->gdp, in dasd_state_basic_to_ready() 426 disk = device->block->gdp; in dasd_state_ready_to_online()
|
/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 172 struct sti_gdp *gdp = to_sti_gdp(layer); in sti_gdp_get_free_nodes() local 182 if ((virt_nvn != gdp->node_list[i].btm_field) && in sti_gdp_get_free_nodes() 183 (virt_nvn != gdp->node_list[i].top_field)) in sti_gdp_get_free_nodes() 184 return &gdp->node_list[i]; in sti_gdp_get_free_nodes() 191 return &gdp->node_list[0]; in sti_gdp_get_free_nodes() 208 struct sti_gdp *gdp = to_sti_gdp(layer); in sti_gdp_get_current_nodes() local 218 if ((virt_nvn == gdp->node_list[i].btm_field) || in sti_gdp_get_current_nodes() 219 (virt_nvn == gdp->node_list[i].top_field)) in sti_gdp_get_current_nodes() 220 return &gdp->node_list[i]; in sti_gdp_get_current_nodes() 245 struct sti_gdp *gdp = to_sti_gdp(layer); in sti_gdp_prepare_layer() local [all …]
|