Lines Matching refs:timeout
156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed() argument
198 if (!timeout) in down_read_failed()
200 timeout = schedule_timeout(timeout); in down_read_failed()
205 if (!timeout) { in down_read_failed()
230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed() argument
259 if (!timeout) in down_write_failed()
262 timeout = schedule_timeout(timeout); in down_write_failed()
296 int subclass, long timeout) in __ldsem_down_read_nested() argument
305 if (!down_read_failed(sem, count, timeout)) { in __ldsem_down_read_nested()
315 int subclass, long timeout) in __ldsem_down_write_nested() argument
324 if (!down_write_failed(sem, count, timeout)) { in __ldsem_down_write_nested()
337 int __sched ldsem_down_read(struct ld_semaphore *sem, long timeout) in ldsem_down_read() argument
340 return __ldsem_down_read_nested(sem, 0, timeout); in ldsem_down_read()
363 int __sched ldsem_down_write(struct ld_semaphore *sem, long timeout) in ldsem_down_write() argument
366 return __ldsem_down_write_nested(sem, 0, timeout); in ldsem_down_write()
417 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) in ldsem_down_read_nested() argument
420 return __ldsem_down_read_nested(sem, subclass, timeout); in ldsem_down_read_nested()
424 long timeout) in ldsem_down_write_nested() argument
427 return __ldsem_down_write_nested(sem, subclass, timeout); in ldsem_down_write_nested()