Lines Matching refs:gd
238 struct gendisk *gd; member
726 rq = blk_get_request(disk->gd->queue, READ, __GFP_RECLAIM); in pd_special_command()
733 err = blk_execute_rq(disk->gd->queue, disk->gd, rq, 0); in pd_special_command()
843 disk->gd = p; in pd_probe_drive()
853 disk->gd = NULL; in pd_probe_drive()
888 if (!disk->gd) in pd_detect()
901 if (!disk->gd) in pd_detect()
907 if (disk->gd) { in pd_detect()
908 set_capacity(disk->gd, disk->capacity); in pd_detect()
909 add_disk(disk->gd); in pd_detect()
955 struct gendisk *p = disk->gd; in pd_exit()
957 disk->gd = NULL; in pd_exit()