Function report | 
Source Code:block\sed-opal.c | 
Create Date:2022-07-28 18:11:50 | 
| Last Modify:2020-03-17 23:36:33 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:set_mbr_enable_disable
Proto:static int set_mbr_enable_disable(struct opal_dev *dev, void *data)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct opal_dev * | dev | |
| void * | data | 
| 1630 | mbr_en_dis = data | 
| 1633 | err = cmd_start(dev, opaluid[OPAL_MBRCONTROL], TCG Storage SSC Methods.* Derived from: TCG_Storage_Architecture_Core_Spec_v2.01_r1.00* Section: 6.3 Assigned UIDs[OPAL_SET]) | 
| 1636 | add_token_u8( & err, dev, OPAL_STARTNAME) | 
| 1637 | add_token_u8( & err, dev, OPAL_VALUES) | 
| 1638 | add_token_u8( & err, dev, OPAL_STARTLIST) | 
| 1639 | add_token_u8( & err, dev, OPAL_STARTNAME) | 
| 1640 | add_token_u8( & err, dev, OPAL_MBRENABLE) | 
| 1641 | add_token_u8( & err, dev, * mbr_en_dis) | 
| 1642 | add_token_u8( & err, dev, OPAL_ENDNAME) | 
| 1643 | add_token_u8( & err, dev, OPAL_ENDLIST) | 
| 1644 | add_token_u8( & err, dev, OPAL_ENDNAME) | 
| 1646 | If err Then | 
| 1651 | Return finalize_and_send(dev, Parses and checks for errors ) | 
| 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  |