Home
last modified time | relevance | path

Searched refs:max_discard_segments (Results 1 – 7 of 7) sorted by relevance

/linux/block/
H A Dblk-settings.c47 lim->max_discard_segments = USHRT_MAX; in blk_set_stacking_limits()
328 if (!lim->max_discard_segments) in blk_validate_limits()
329 lim->max_discard_segments = 1; in blk_validate_limits()
674 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits()
675 b->max_discard_segments); in blk_stack_limits()
H A Dblk-sysfs.c104 QUEUE_SYSFS_LIMIT_SHOW(max_discard_segments) in QUEUE_SYSFS_LIMIT_SHOW() argument
/linux/include/uapi/linux/
H A Dublk_cmd.h382 __u16 max_discard_segments; member
/linux/drivers/block/
H A Dbrd.c371 .max_discard_segments = 1, in brd_alloc()
H A Dublk_drv.c555 if (p->max_discard_sectors && p->max_discard_segments != 1) in ublk_validate_params()
2270 lim.max_discard_segments = pd->max_discard_segments; in ublk_ctrl_start_dev()
H A Dvirtio_blk.c1399 lim->max_discard_segments = in virtblk_read_limits()
/linux/drivers/nvme/host/
H A Dcore.c1862 lim->max_discard_segments = ctrl->dmrl; in nvme_config_discard()
1864 lim->max_discard_segments = NVME_DSM_MAX_RANGES; in nvme_config_discard()