函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-zoned.c Create Date:2022-07-27 19:41:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blkdev_copy_zone_to_user

函数原型:static int blkdev_copy_zone_to_user(struct blk_zone *zone, unsigned int idx, void *data)

返回类型:int

参数:

类型参数名称
struct blk_zone *zone
unsigned intidx
void *data
223  args等于data
225  如果copy_to_user( & zones[idx], zone, sizeof(structblk_zone))则返回:负EFAULT
227  返回:0