Home
last modified time | relevance | path

Searched refs:min_not_zero (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/block/
Dblk-settings.c249 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
561 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits()
562 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits()
563 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits()
568 t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn); in blk_stack_limits()
570 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits()
572 t->virt_boundary_mask = min_not_zero(t->virt_boundary_mask, in blk_stack_limits()
575 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits()
576 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits()
578 t->max_integrity_segments = min_not_zero(t->max_integrity_segments, in blk_stack_limits()
[all …]
Dblk-sysfs.c239 max_hw_sectors_kb = min_not_zero(max_hw_sectors_kb, (unsigned long) in queue_max_sectors_store()
/linux-4.19.296/include/linux/
Dkernel.h910 #define min_not_zero(x, y) ({ \ macro
/linux-4.19.296/fs/f2fs/
Dsuper.c1152 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in f2fs_statfs_project()
1166 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in f2fs_statfs_project()