函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_set_stacking_limits - set default limits for stacking devices*@lim: the queue_limits structure to reset* Description:* Returns a queue_limit struct to its default state. Should be used* by stacking drivers like DM that have no internal limits.

函数原型:void blk_set_stacking_limits(struct queue_limits *lim)

返回类型:void

参数:

类型参数名称
struct queue_limits *lim
75  lk_set_default_limits - reset limits to default values*@lim: the queue_limits structure to reset* Description:* Returns a queue_limit struct to its default state.
78  max_segments等于USHRT_MAX
79  max_discard_segments等于USHRT_MAX
80  max_hw_sectors等于UINT_MAX
81  max_segment_size等于UINT_MAX
82  max_sectors等于UINT_MAX
83  max_dev_sectors等于UINT_MAX
84  max_write_same_sectors等于UINT_MAX
85  max_write_zeroes_sectors等于UINT_MAX