Lines Matching refs:gd
238 struct gendisk *gd; member
397 disk = pd[pd_queue].gd; in set_next_request()
745 rq = blk_get_request(disk->gd->queue, REQ_OP_DRV_IN, 0); in pd_special_command()
750 blk_execute_rq(disk->gd->queue, disk->gd, rq, 0); in pd_special_command()
859 disk->gd = p; in pd_probe_drive()
863 disk->gd = NULL; in pd_probe_drive()
876 disk->gd = NULL; in pd_probe_drive()
911 if (!disk->gd) in pd_detect()
924 if (!disk->gd) in pd_detect()
930 if (disk->gd) { in pd_detect()
931 set_capacity(disk->gd, disk->capacity); in pd_detect()
932 add_disk(disk->gd); in pd_detect()
970 struct gendisk *p = disk->gd; in pd_exit()
972 disk->gd = NULL; in pd_exit()