Searched refs:pdv_bd (Results 1 – 2 of 2) sorted by relevance
396 pdv->pdv_bd = bd; in pscsi_create_type_disk()400 blkdev_put(pdv->pdv_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in pscsi_create_type_disk()578 if ((sd->type == TYPE_DISK) && pdv->pdv_bd) { in pscsi_free_device()579 blkdev_put(pdv->pdv_bd, in pscsi_free_device()581 pdv->pdv_bd = NULL; in pscsi_free_device()1047 if (pdv->pdv_bd && pdv->pdv_bd->bd_part) in pscsi_get_blocks()1048 return pdv->pdv_bd->bd_part->nr_sects; in pscsi_get_blocks()
46 struct block_device *pdv_bd; member