Function report |
Source Code:block\blk-sysfs.c |
Create Date:2022-07-28 17:01:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_discard_max_store
Proto:static ssize_t queue_discard_max_store(struct request_queue *q, const char *page, size_t count)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
const char * | page | |
size_t | count |
185 | ret = queue_var_store( & max_discard, page, count) |
190 | If max_discard & discard_granularity - 1 Then Return -EINVAL |
193 | max_discard >>= 9 |
194 | If max_discard > UINT_MAX Then Return -EINVAL |
197 | If max_discard > max_hw_discard_sectors Then max_discard = max_hw_discard_sectors |
201 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |