Function report |
Source Code:block\sed-opal.c |
Create Date:2022-07-28 18:13:04 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:opal_unlock_from_suspend
Proto:bool opal_unlock_from_suspend(struct opal_dev *dev)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct opal_dev * | dev |
2525 | bool was_failure = false |
2526 | ret = 0 |
2528 | If Not dev Then Return false |
2531 | If Not supported Then Return false |
2534 | mutex_lock( & dev_lock) |
2535 | setup_opal_dev(dev) |
2538 | tsn = 0 |
2539 | hsn = 0 |
2541 | ret = __opal_lock_unlock(dev, & unlk) |
2542 | If ret Then |
2546 | was_failure = true |
2549 | If mbr_enabled Then |
2550 | ret = __opal_set_mbr_done(dev, & opal_key) |
2557 | Return was_failure |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |