Function report |
Source Code:block\sed-opal.c |
Create Date:2022-07-28 18:12:49 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:opal_reverttper
Proto:static int opal_reverttper(struct opal_dev *dev, struct opal_key *opal, bool psid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct opal_dev * | dev | |
struct opal_key * | opal | |
bool | psid |
2333 | const struct opal_step revert_steps[] = {{start_SIDASP_opal_session, opal}, {revert_tper, }} |
2337 | const struct opal_step psid_revert_steps[] = {{start_PSID_opal_session, opal}, {revert_tper, }} |
2344 | mutex_lock( & dev_lock) |
2345 | setup_opal_dev(dev) |
2346 | If psid Then ret = execute_steps(dev, psid_revert_steps, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(psid_revert_steps)) |
2349 | Else ret = execute_steps(dev, revert_steps, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(revert_steps)) |
2358 | If Not ret Then clean_opal_dev(dev) |
2361 | Return ret |
Name | Describe |
---|---|
sed_ioctl |
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 |