Lines Matching refs:gd
238 struct gendisk *gd; member
724 rq = blk_get_request(disk->gd->queue, READ, __GFP_WAIT); in pd_special_command()
731 err = blk_execute_rq(disk->gd->queue, disk->gd, rq, 0); in pd_special_command()
841 disk->gd = p; in pd_probe_drive()
851 disk->gd = NULL; in pd_probe_drive()
880 if (!disk->gd) in pd_detect()
893 if (!disk->gd) in pd_detect()
899 if (disk->gd) { in pd_detect()
900 set_capacity(disk->gd, disk->capacity); in pd_detect()
901 add_disk(disk->gd); in pd_detect()
945 struct gendisk *p = disk->gd; in pd_exit()
947 disk->gd = NULL; in pd_exit()