Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blkdev_copy_zone_to_user

Proto:static int blkdev_copy_zone_to_user(struct blk_zone *zone, unsigned int idx, void *data)

Type:int

Parameter:

TypeParameterName
struct blk_zone *zone
unsigned intidx
void *data
223  args = data
225  If copy_to_user( & zones[idx], zone, sizeof(structblk_zone)) Then Return -EFAULT
227  Return 0