Lines Matching refs:gd
238 struct gendisk *gd; member
404 disk = pd[pd_queue].gd; in set_next_request()
778 rq = blk_get_request(disk->gd->queue, REQ_OP_DRV_IN, 0); in pd_special_command()
784 blk_execute_rq(disk->gd, rq, 0); in pd_special_command()
899 disk->gd = p; in pd_probe_drive()
918 disk->gd = NULL; in pd_probe_drive()
954 if (!disk->gd) in pd_detect()
967 if (!disk->gd) in pd_detect()
973 if (disk->gd) { in pd_detect()
974 set_capacity(disk->gd, disk->capacity); in pd_detect()
975 add_disk(disk->gd); in pd_detect()
1013 struct gendisk *p = disk->gd; in pd_exit()
1015 disk->gd = NULL; in pd_exit()