Query: blk_pre_runtime_suspend
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_PRE_RUNTIME_SUSP(9) Block Devices BLK_PRE_RUNTIME_SUSP(9)NAMEblk_pre_runtime_suspend - Pre runtime suspend checkSYNOPSISint blk_pre_runtime_suspend(struct request_queue * q);ARGUMENTSq the queue of the deviceDESCRIPTIONThis function will check if runtime suspend is allowed for the device by examining if there are any requests pending in the queue. If there are requests pending, the device can not be runtime suspended; otherwise, the queue's status will be updated to SUSPENDING and the driver can proceed to suspend the device. For the not allowed case, we mark last busy for the device so that runtime PM core will try to autosuspend it some time later. This function should be called near the start of the device's runtime_suspend callback.RETURN0 - OK to runtime suspend the device -EBUSY - Device should not be runtime suspendedCOPYRIGHTKernel Hackers Manual 3.10 June 2014 BLK_PRE_RUNTIME_SUSP(9)
Related Man Pages |
---|
struct_spi_driver(9) - centos |
struct_usb_driver(9) - centos |
blk_init_queue(9) - suse |
struct_usb_device_driver(9) - suse |
devctl(8) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Set hard block limit for user using quota |
Tar Command |
Shopt -s histappend |
CentOS 6 ran out of space, need to reclaim it |
Please Welcome Dave Munro to the Moderator Team! |