Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bsg.c Create Date:2022-07-28 17:37:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bsg_set_command_q

Proto:static int bsg_set_command_q(struct bsg_device *bd, int __user *uarg)

Type:int

Parameter:

TypeParameterName
struct bsg_device *bd
int __user *uarg
336  If Get a simple variable from user space(queue, uarg) Then Return -EFAULT
338  If queue < 1 Then Return -EINVAL
341  spin_lock_irq( & lock)
342  max_queue = queue
343  spin_unlock_irq( & lock)
344  Return 0
Caller
NameDescribe
bsg_ioctl