Lines Matching refs:Sg_device
178 } Sg_device;
197 static Sg_fd *sg_add_sfp(Sg_device * sdp, int dev);
203 static Sg_device *sg_get_dev(int dev);
204 static void sg_put_dev(Sg_device *sdp);
227 Sg_device *sdp;
325 Sg_device *sdp;
345 Sg_device *sdp;
537 Sg_device *sdp;
719 Sg_device *sdp = sfp->parentdp;
776 Sg_device *sdp;
1105 Sg_device *sdp;
1129 Sg_device *sdp;
1163 Sg_device *sdp;
1263 Sg_device *sdp;
1360 static Sg_device *sg_alloc(struct gendisk *disk, struct scsi_device *scsidp)
1363 Sg_device *sdp;
1368 sdp = kzalloc(sizeof(Sg_device), GFP_KERNEL);
1370 printk(KERN_WARNING "kmalloc Sg_device failure\n");
1375 printk(KERN_WARNING "idr expansion Sg_device failure\n");
1385 printk(KERN_WARNING "idr allocation Sg_device failure: %d\n",
1429 Sg_device *sdp = NULL;
1529 Sg_device *sdp = dev_get_drvdata(cl_dev);
2047 sg_add_sfp(Sg_device * sdp, int dev)
2170 static Sg_device *sg_lookup_dev(int dev)
2175 static Sg_device *sg_get_dev(int dev)
2472 Sg_device *sdp;
2500 Sg_device *sdp;
2516 static void sg_proc_debug_helper(struct seq_file *s, Sg_device * sdp)
2589 Sg_device *sdp;