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()
604 Sg_device *sdp; in sg_write()
783 Sg_device *sdp = sfp->parentdp; in sg_common_write()
918 sg_ioctl_common(struct file *filp, Sg_device *sdp, Sg_fd *sfp, in sg_ioctl_common()
1156 Sg_device *sdp; in sg_ioctl()
1174 Sg_device *sdp; in sg_compat_ioctl()
1193 Sg_device *sdp; in sg_poll()
1230 Sg_device *sdp; in sg_fasync()
1343 Sg_device *sdp; in sg_rq_end_io()
1456 static Sg_device *
1460 Sg_device *sdp; in sg_alloc()
1465 sdp = kzalloc(sizeof(Sg_device), GFP_KERNEL); in sg_alloc()
1523 Sg_device *sdp = NULL; in sg_add_device()
1622 Sg_device *sdp = dev_get_drvdata(cl_dev); in sg_remove_device()
2166 sg_add_sfp(Sg_device * sdp) in sg_add_sfp()
2289 static Sg_device *sg_lookup_dev(int dev) in sg_lookup_dev()
2294 static Sg_device *
2491 Sg_device *sdp; in sg_proc_seq_show_dev()
2517 Sg_device *sdp; in sg_proc_seq_show_devstrs()
2534 static void sg_proc_debug_helper(struct seq_file *s, Sg_device * sdp) in sg_proc_debug_helper()
2600 Sg_device *sdp; in sg_proc_seq_show_debug()