函数逻辑报告 |
Source Code:block\sed-opal.c |
Create Date:2022-07-27 19:48:13 |
Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sed_ioctl
函数原型:int sed_ioctl(struct opal_dev *dev, unsigned int cmd, void __user *arg)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct opal_dev * | dev | |
unsigned int | cmd | |
void __user * | arg |
2630 | 如果非dev则返回:负Operation is not supported |
2632 | 如果非supported则返回:负Operation is not supported |
2640 | 当:cmd恒等于IOC_OPAL_SAVE |
2643 | 当:cmd恒等于IOC_OPAL_LOCK_UNLOCK |
2644 | ret等于opal_lock_unlock(dev, p) |
2645 | 退出 |
2646 | 当:cmd恒等于IOC_OPAL_TAKE_OWNERSHIP |
2647 | ret等于opal_take_ownership(dev, p) |
2648 | 退出 |
2649 | 当:cmd恒等于IOC_OPAL_ACTIVATE_LSP |
2650 | ret等于opal_activate_lsp(dev, p) |
2651 | 退出 |
2652 | 当:cmd恒等于IOC_OPAL_SET_PW |
2653 | ret等于opal_set_new_pw(dev, p) |
2654 | 退出 |
2655 | 当:cmd恒等于IOC_OPAL_ACTIVATE_USR |
2656 | ret等于opal_activate_user(dev, p) |
2657 | 退出 |
2658 | 当:cmd恒等于IOC_OPAL_REVERT_TPR |
2659 | ret等于opal_reverttper(dev, p, false) |
2660 | 退出 |
2661 | 当:cmd恒等于IOC_OPAL_LR_SETUP |
2662 | ret等于opal_setup_locking_range(dev, p) |
2663 | 退出 |
2664 | 当:cmd恒等于IOC_OPAL_ADD_USR_TO_LR |
2665 | ret等于opal_add_user_to_lr(dev, p) |
2666 | 退出 |
2667 | 当:cmd恒等于IOC_OPAL_ENABLE_DISABLE_MBR |
2668 | ret等于opal_enable_disable_shadow_mbr(dev, p) |
2669 | 退出 |
2670 | 当:cmd恒等于IOC_OPAL_MBR_DONE |
2671 | ret等于opal_set_mbr_done(dev, p) |
2672 | 退出 |
2673 | 当:cmd恒等于IOC_OPAL_WRITE_SHADOW_MBR |
2674 | ret等于opal_write_shadow_mbr(dev, p) |
2675 | 退出 |
2676 | 当:cmd恒等于IOC_OPAL_ERASE_LR |
2677 | ret等于opal_erase_locking_range(dev, p) |
2678 | 退出 |
2679 | 当:cmd恒等于IOC_OPAL_SECURE_ERASE_LR |
2680 | ret等于opal_secure_erase_locking_range(dev, p) |
2681 | 退出 |
2682 | 当:cmd恒等于IOC_OPAL_PSID_REVERT_TPR |
2683 | ret等于opal_reverttper(dev, p, true) |
2684 | 退出 |
2685 | 当:cmd恒等于IOC_OPAL_GENERIC_TABLE_RW |
2686 | ret等于opal_generic_read_write_table(dev, p) |
2687 | 退出 |
2688 | 默认 |
2689 | 退出 |
2692 | 释放内存 |
2693 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |