Function report |
Source Code:block\sed-opal.c |
Create Date:2022-07-28 18:11:20 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:generic_lr_enable_disable
Proto:static int generic_lr_enable_disable(struct opal_dev *dev, u8 *uid, bool rle, bool wle, bool rl, bool wl)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct opal_dev * | dev | |
u8 * | uid | |
bool | rle | |
bool | wle | |
bool | rl | |
bool | wl |
1301 | err = cmd_start(dev, uid, TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_SET]) |
1303 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1304 | add_token_u8( & err, dev, OPAL_VALUES) |
1305 | add_token_u8( & err, dev, OPAL_STARTLIST) |
1307 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1308 | add_token_u8( & err, dev, OPAL_READLOCKENABLED) |
1309 | add_token_u8( & err, dev, rle) |
1310 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1312 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1313 | add_token_u8( & err, dev, OPAL_WRITELOCKENABLED) |
1314 | add_token_u8( & err, dev, wle) |
1315 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1317 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1318 | add_token_u8( & err, dev, OPAL_READLOCKED) |
1319 | add_token_u8( & err, dev, rl) |
1320 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1322 | add_token_u8( & err, dev, OPAL_STARTNAME) |
1323 | add_token_u8( & err, dev, OPAL_WRITELOCKED) |
1324 | add_token_u8( & err, dev, wl) |
1325 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1327 | add_token_u8( & err, dev, OPAL_ENDLIST) |
1328 | add_token_u8( & err, dev, OPAL_ENDNAME) |
1330 | Return err |
Name | Describe |
---|---|
enable_global_lr | |
lock_unlock_locking_range_sum |
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 |