Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-28 20:14:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ioctl_by_bdev

Proto:int ioctl_by_bdev(struct block_device *bdev, unsigned cmd, unsigned long arg)

Type:int

Parameter:

TypeParameterName
struct block_device *bdev
unsignedcmd
unsigned longarg
2166  old_fs = get_fs()
2167  set_fs(KERNEL_DS)
2168  res = blkdev_ioctl(bdev, 0, cmd, arg)
2169  set_fs(old_fs)
2170  Return res
Caller
NameDescribe
ibm_partitionThis is the main function, called by check.c