Lines Matching refs:Sg_device
177 } Sg_device; typedef
196 static Sg_fd *sg_add_sfp(Sg_device * sdp);
201 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()
917 sg_ioctl_common(struct file *filp, Sg_device *sdp, Sg_fd *sfp, in sg_ioctl_common()
1152 Sg_device *sdp; in sg_ioctl()
1169 Sg_device *sdp; in sg_poll()
1206 Sg_device *sdp; in sg_fasync()
1319 Sg_device *sdp; in sg_rq_end_io()
1430 static Sg_device *
1434 Sg_device *sdp; in sg_alloc()
1439 sdp = kzalloc(sizeof(Sg_device), GFP_KERNEL); in sg_alloc()
1494 Sg_device *sdp = NULL; in sg_add_device()
1584 Sg_device *sdp = dev_get_drvdata(cl_dev); in sg_remove_device()
2148 sg_add_sfp(Sg_device * sdp) in sg_add_sfp()
2271 static Sg_device *sg_lookup_dev(int dev) in sg_lookup_dev()
2276 static Sg_device *
2473 Sg_device *sdp; in sg_proc_seq_show_dev()
2499 Sg_device *sdp; in sg_proc_seq_show_devstrs()
2516 static void sg_proc_debug_helper(struct seq_file *s, Sg_device * sdp) in sg_proc_debug_helper()
2581 Sg_device *sdp; in sg_proc_seq_show_debug()