Lines Matching refs:iflags
924 unsigned long iflags; in sg_ioctl_common() local
1004 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1008 iflags); in sg_ioctl_common()
1012 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1015 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1021 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1088 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1090 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1197 unsigned long iflags; in sg_poll() local
1206 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_poll()
1213 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_poll()
1345 unsigned long iflags; in sg_rq_end_io() local
1413 write_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_rq_end_io()
1421 write_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_rq_end_io()
1461 unsigned long iflags; in sg_alloc() local
1473 write_lock_irqsave(&sg_index_lock, iflags); in sg_alloc()
1508 write_unlock_irqrestore(&sg_index_lock, iflags); in sg_alloc()
1526 unsigned long iflags; in sg_add_device() local
1584 write_lock_irqsave(&sg_index_lock, iflags); in sg_add_device()
1586 write_unlock_irqrestore(&sg_index_lock, iflags); in sg_add_device()
1623 unsigned long iflags; in sg_remove_device() local
1637 read_lock_irqsave(&sdp->sfd_lock, iflags); in sg_remove_device()
1643 read_unlock_irqrestore(&sdp->sfd_lock, iflags); in sg_remove_device()
2099 unsigned long iflags; in sg_get_rq_mark() local
2101 write_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_get_rq_mark()
2107 write_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_get_rq_mark()
2111 write_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_get_rq_mark()
2120 unsigned long iflags; in sg_add_request() local
2123 write_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_add_request()
2139 write_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_add_request()
2142 write_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_add_request()
2150 unsigned long iflags; in sg_remove_request() local
2155 write_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_remove_request()
2161 write_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_remove_request()
2169 unsigned long iflags; in sg_add_sfp() local
2187 write_lock_irqsave(&sdp->sfd_lock, iflags); in sg_add_sfp()
2189 write_unlock_irqrestore(&sdp->sfd_lock, iflags); in sg_add_sfp()
2194 write_unlock_irqrestore(&sdp->sfd_lock, iflags); in sg_add_sfp()
2219 unsigned long iflags; in sg_remove_sfp_usercontext() local
2222 write_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_remove_sfp_usercontext()
2229 write_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_remove_sfp_usercontext()
2253 unsigned long iflags; in sg_remove_sfp() local
2255 write_lock_irqsave(&sdp->sfd_lock, iflags); in sg_remove_sfp()
2257 write_unlock_irqrestore(&sdp->sfd_lock, iflags); in sg_remove_sfp()
2279 unsigned long iflags; in sg_last_dev() local
2281 read_lock_irqsave(&sg_index_lock, iflags); in sg_last_dev()
2283 read_unlock_irqrestore(&sg_index_lock, iflags); in sg_last_dev()
2493 unsigned long iflags; in sg_proc_seq_show_dev() local
2495 read_lock_irqsave(&sg_index_lock, iflags); in sg_proc_seq_show_dev()
2510 read_unlock_irqrestore(&sg_index_lock, iflags); in sg_proc_seq_show_dev()
2519 unsigned long iflags; in sg_proc_seq_show_devstrs() local
2521 read_lock_irqsave(&sg_index_lock, iflags); in sg_proc_seq_show_devstrs()
2529 read_unlock_irqrestore(&sg_index_lock, iflags); in sg_proc_seq_show_devstrs()
2601 unsigned long iflags; in sg_proc_seq_show_debug() local
2607 read_lock_irqsave(&sg_index_lock, iflags); in sg_proc_seq_show_debug()
2631 read_unlock_irqrestore(&sg_index_lock, iflags); in sg_proc_seq_show_debug()