table of contents
REQUEST_FIRMWARE_NOW(9) | Device drivers infrastructure | REQUEST_FIRMWARE_NOW(9) |
NAME¶
request_firmware_nowait - asynchronous version of request_firmware
SYNOPSIS¶
int request_firmware_nowait(struct module * module, bool uevent, const char * name, struct device * device, gfp_t gfp, void * context, void (*cont) (const struct firmware *fw, void *context));
ARGUMENTS¶
module
uevent
name
device
gfp
context
cont
DESCRIPTION¶
Caller must hold the reference count of device.
Asynchronous variant of request_firmware for user contexts: - sleep for as small periods as possible since it may increase kernel boot time of built-in device drivers requesting firmware in their ->probe methods, if gfp is GFP_KERNEL.
- can't sleep at all if gfp is GFP_ATOMIC.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |