Lines Matching refs:Sg_device
172 } Sg_device; typedef
191 static Sg_fd *sg_add_sfp(Sg_device * sdp);
196 static Sg_device *sg_get_dev(int dev);
246 open_wait(Sg_device *sdp, int flags) in open_wait()
288 Sg_device *sdp; in sg_open()
384 Sg_device *sdp; in sg_release()
443 Sg_device *sdp; in sg_read()
601 Sg_device *sdp; in sg_write()
780 Sg_device *sdp = sfp->parentdp; in sg_common_write()
915 sg_ioctl_common(struct file *filp, Sg_device *sdp, Sg_fd *sfp, in sg_ioctl_common()
1151 Sg_device *sdp; in sg_ioctl()
1169 Sg_device *sdp; in sg_compat_ioctl()
1188 Sg_device *sdp; in sg_poll()
1225 Sg_device *sdp; in sg_fasync()
1338 Sg_device *sdp; in sg_rq_end_io()
1451 static Sg_device *
1455 Sg_device *sdp; in sg_alloc()
1460 sdp = kzalloc(sizeof(Sg_device), GFP_KERNEL); in sg_alloc()
1518 Sg_device *sdp = NULL; in sg_add_device()
1617 Sg_device *sdp = dev_get_drvdata(cl_dev); in sg_remove_device()
2179 sg_add_sfp(Sg_device * sdp) in sg_add_sfp()
2302 static Sg_device *sg_lookup_dev(int dev) in sg_lookup_dev()
2307 static Sg_device *
2504 Sg_device *sdp; in sg_proc_seq_show_dev()
2530 Sg_device *sdp; in sg_proc_seq_show_devstrs()
2547 static void sg_proc_debug_helper(struct seq_file *s, Sg_device * sdp) in sg_proc_debug_helper()
2613 Sg_device *sdp; in sg_proc_seq_show_debug()