Function report |
Source Code:block\bsg.c |
Create Date:2022-07-28 17:37:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bsg_ioctl
Proto:static long bsg_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
unsigned int | cmd | |
unsigned long | arg |
356 | Case cmd == Yields 0 (queuing off) or 1 (on) |
357 | Return bsg_get_command_q(bd, uarg) |
358 | Case cmd == Change queuing state with 0 or 1 |
359 | Return bsg_set_command_q(bd, uarg) |
364 | Case cmd == Example: version 2.1.34 yields 20134 |
366 | Case cmd == Used to obtain the bus number for a device |
367 | Case cmd == unit: jiffies (10ms on i386) |
368 | Case cmd == yield timeout as _return_ value |
369 | Case cmd == actual size of reserved buffer |
370 | Case cmd == quest a new reserved buffer size |
371 | Case cmd == rue for emulated host adapter (ATAPI) |
372 | Case cmd == SCSI_IOCTL_SEND_COMMAND |
374 | Case cmd == similar effect as write() followed by read() |
376 | Default |
377 | Return -ENOTTY |
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 |