/Linux-v5.4/block/ |
D | blk-settings.c | 195 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors() 502 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits() 503 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits() 504 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits() 509 t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn); in blk_stack_limits() 511 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits() 513 t->virt_boundary_mask = min_not_zero(t->virt_boundary_mask, in blk_stack_limits() 516 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits() 517 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits() 519 t->max_integrity_segments = min_not_zero(t->max_integrity_segments, in blk_stack_limits() [all …]
|
D | blk-sysfs.c | 232 max_hw_sectors_kb = min_not_zero(max_hw_sectors_kb, (unsigned long) in queue_max_sectors_store()
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | dma-direct.h | 11 min_not_zero(*dev->dma_mask, dev->bus_dma_mask); in dma_capable()
|
/Linux-v5.4/include/linux/ |
D | dma-direct.h | 31 min_not_zero(*dev->dma_mask, dev->bus_dma_mask); in dma_capable()
|
D | kernel.h | 905 #define min_not_zero(x, y) ({ \ macro
|
D | dma-mapping.h | 696 return min_not_zero(dma_get_mask(dev), dev->bus_dma_mask) < in dma_addressing_limited()
|
/Linux-v5.4/net/ipv4/ |
D | tcp_cdg.c | 145 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); in tcp_cdg_hystart_update() 324 ca->rtt.min = min_not_zero(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked()
|
D | tcp_dctcp.c | 123 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
|
/Linux-v5.4/kernel/dma/ |
D | contiguous.c | 119 selected_limit = min_not_zero(limit_cmdline, limit); in dma_contiguous_reserve()
|
D | direct.c | 82 min_not_zero(dev->coherent_dma_mask, dev->bus_dma_mask); in dma_coherent_ok()
|
/Linux-v5.4/arch/x86/mm/ |
D | mem_encrypt.c | 369 u64 dma_dev_mask = min_not_zero(dev->coherent_dma_mask, in force_dma_unencrypted()
|
/Linux-v5.4/drivers/scsi/ |
D | sd.c | 792 max_blocks = min_not_zero(sdkp->max_unmap_blocks, in sd_config_discard() 802 max_blocks = min_not_zero(max_blocks, (u32)SD_MAX_WS16_BLOCKS); in sd_config_discard() 811 max_blocks = min_not_zero(max_blocks, (u32)SD_MAX_WS10_BLOCKS); in sd_config_discard() 815 max_blocks = min_not_zero(sdkp->max_ws_blocks, in sd_config_discard() 962 sdkp->max_ws_blocks = min_not_zero(sdkp->max_ws_blocks, in sd_config_write_same() 965 sdkp->max_ws_blocks = min_not_zero(sdkp->max_ws_blocks, in sd_config_write_same() 3156 dev_max = min_not_zero(dev_max, sdkp->max_xfer_blocks); in sd_revalidate_disk() 3163 rw_max = min_not_zero(logical_to_sectors(sdp, dev_max), in sd_revalidate_disk()
|
D | scsi_lib.c | 1794 min_not_zero(shost->sg_prot_tablesize, in __scsi_init_queue()
|
/Linux-v5.4/drivers/target/ |
D | target_core_pscsi.c | 304 min_not_zero((int)sd->sector_size, 512); in pscsi_add_device_to_list() 306 min_not_zero(sd->host->max_sectors, queue_max_hw_sectors(q)); in pscsi_add_device_to_list()
|
D | target_core_spc.c | 523 put_unaligned_be32(min_not_zero(mtl, dev->dev_attrib.hw_max_sectors), &buf[8]); in spc_emulate_evpd_b0()
|
/Linux-v5.4/sound/soc/ |
D | soc-pcm.c | 399 rate_max = min_not_zero(rate_max, codec_stream->rate_max); in soc_pcm_init_runtime_hw() 426 hw->rate_max = min_not_zero(hw->rate_max, cpu_stream->rate_max); in soc_pcm_init_runtime_hw() 427 hw->rate_max = min_not_zero(hw->rate_max, rate_max); in soc_pcm_init_runtime_hw() 1624 runtime->hw.rate_max = min_not_zero(stream->rate_max, UINT_MAX); in dpcm_init_runtime_hw() 1758 *rate_max = min_not_zero(*rate_max, cpu_stream->rate_max); in dpcm_runtime_merge_rate() 1776 *rate_max = min_not_zero(*rate_max, in dpcm_runtime_merge_rate()
|
/Linux-v5.4/drivers/watchdog/ |
D | watchdog_dev.c | 138 hw_heartbeat_ms = min_not_zero(timeout_ms, wdd->max_hw_heartbeat_ms); in watchdog_next_keepalive()
|
/Linux-v5.4/drivers/mmc/core/ |
D | sdio.c | 500 max_rate = min_not_zero(card->quirk_max_rate, in sdio_set_bus_speed_mode()
|
/Linux-v5.4/drivers/block/ |
D | virtio_blk.c | 893 min_not_zero(v, in virtblk_probe()
|
/Linux-v5.4/drivers/nvdimm/ |
D | region_devs.c | 81 num_flush = min_not_zero(num_flush, nvdimm->num_flush); in nd_region_activate()
|
/Linux-v5.4/drivers/dma/ |
D | nbpfaxi.c | 435 max_burst = min_not_zero(nbpf->max_burst_mem_read, in nbpf_xfer_ds()
|
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_req.c | 1732 et = min_not_zero(dt, ent); in request_timer_fn()
|
/Linux-v5.4/drivers/nvme/host/ |
D | core.c | 2182 max_segments = min_not_zero(max_segments, ctrl->max_segments); in nvme_set_queue_limits() 2806 min_not_zero(ctrl->max_hw_sectors, max_hw_sectors); in nvme_init_identify()
|
/Linux-v5.4/sound/core/ |
D | pcm_lib.c | 1384 params->msbits = min_not_zero(params->msbits, msbits); in snd_pcm_hw_rule_msbits()
|
/Linux-v5.4/drivers/md/ |
D | dm-snap.c | 856 chunk_size = min_not_zero(chunk_size, in __minimum_chunk_size()
|