Lines Matching refs:locked
447 if (sq->locked) { /* are we already set? - and not changeable */ in sq_setup()
453 sq->locked = 1 ; /* don't think we have a race prob. here _check_ */ in sq_setup()
575 if (write_sq.locked == 0) { in sq_write()
662 if (write_sq.locked == 0) { in sq_poll()
724 if (read_sq.locked == 0) { in sq_read()
947 write_sq.locked = 0 ; in sq_reset_output()
978 read_sq.locked = 0 ; in sq_reset_input()
1096 if (read_sq.locked) in queues_are_quiescent()
1099 if (write_sq.locked) in queues_are_quiescent()
1116 if (sq->locked) { in set_queue_frags()
1176 if ( !read_sq.locked ) in sq_ioctl()
1182 if ( !write_sq.locked ) in sq_ioctl()
1306 if ( !write_sq.locked ) in sq_ioctl()
1508 write_sq.busy, write_sq.syncing, write_sq.locked, write_sq.xruns) ; in state_open()
1515 read_sq.busy, read_sq.syncing, read_sq.locked, read_sq.xruns) ; in state_open()