Function report |
Source Code:block\bsg-lib.c |
Create Date:2022-07-28 17:38:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bsg_transport_check_proto
Proto:static int bsg_transport_check_proto(struct sg_io_v4 *hdr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sg_io_v4 * | hdr |
| 28 | If [i] 0 -> SCSI , .... != BSG_PROTOCOL_SCSI || [i] 0 -> SCSI command, 1 -> SCSI task management function, .... != BSG_SUB_PROTOCOL_SCSI_TRANSPORT Then Return -EINVAL |
| 31 | If Not Check operation authority Then Return -EPERM |
| 33 | Return 0 |
| 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 |