函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\umh.c Create Date:2022-07-27 10:22:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:usermodehelper_read_lock_wait

函数原型:long usermodehelper_read_lock_wait(long timeout)

返回类型:long

参数:

类型参数名称
longtimeout
265  DEFINE_WAIT(wait)
267  如果timeout小于0则返回:负EINVAL
270  lock for reading
271  循环
272  Waitqueues which are removed from the waitqueue_head at wakeup time
274  如果非If set, call_usermodehelper_exec() will exit immediately returning -EBUSY* (used for preventing user land processes from being created after the user* land has been frozen during a system-wide hibernation or suspend operation).退出
277  lease a read lock
279  timeout等于schedule_timeout(timeout)
280  如果非timeout退出
283  lock for reading
285  finish_wait( & Used by usermodehelper_read_lock_wait() to wait for usermodehelper_disabled* to become 'false'., & wait)
286  返回:timeout