Searched refs:min_not_zero (Results 1 - 25 of 44) sorted by relevance

12

/linux-master/arch/x86/mm/
H A Dmem_encrypt.c35 u64 dma_dev_mask = min_not_zero(dev->coherent_dma_mask,
/linux-master/block/
H A Dblk-settings.c146 max_hw_sectors = min_not_zero(lim->max_hw_sectors,
331 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors);
750 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors);
751 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors);
752 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors);
759 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask,
761 t->virt_boundary_mask = min_not_zero(t->virt_boundary_mask,
764 t->max_segments = min_not_zero(t->max_segments, b->max_segments);
765 t->max_discard_segments = min_not_zero(t->max_discard_segments,
767 t->max_integrity_segments = min_not_zero(
[all...]
/linux-master/include/linux/
H A Ddma-direct.h115 return end <= min_not_zero(*dev->dma_mask, dev->bus_dma_limit);
H A Dminmax.h128 * min_not_zero - return the minimum that is _not_ zero, unless both are zero
132 #define min_not_zero(x, y) ({ \ macro
/linux-master/net/ipv4/
H A Dtcp_cdg.c145 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min);
324 ca->rtt.min = min_not_zero(ca->rtt.min, sample->rtt_us);
H A Dtcp_dctcp.c143 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g);
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_tcp_helpers.h195 #define min_not_zero(x, y) ({ \ macro
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c130 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g);
/linux-master/drivers/nvme/target/
H A Dpassthru.c105 max_hw_sectors = min_not_zero(pctrl->max_segments << PAGE_SECTORS_SHIFT,
112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << PAGE_SECTORS_SHIFT,
/linux-master/kernel/dma/
H A Ddirect.c49 u64 dma_limit = min_not_zero(
76 min_not_zero(dev->coherent_dma_mask, dev->bus_dma_limit);
H A Dcontiguous.c226 selected_limit = min_not_zero(limit_cmdline, limit);
H A Dmapping.c123 return min_not_zero(mask, dev->bus_dma_limit) >=
808 if (min_not_zero(dma_get_mask(dev), dev->bus_dma_limit) <
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-rcar-gen4.c134 changes = min_not_zero(dw->link_gen, RCAR_MAX_LINK_SPEED) - 1;
/linux-master/drivers/scsi/
H A Dsd.c846 max_blocks = min_not_zero(sdkp->max_unmap_blocks,
856 max_blocks = min_not_zero(max_blocks, (u32)SD_MAX_WS16_BLOCKS);
865 max_blocks = min_not_zero(max_blocks, (u32)SD_MAX_WS10_BLOCKS);
869 max_blocks = min_not_zero(sdkp->max_ws_blocks,
1018 sdkp->max_ws_blocks = min_not_zero(sdkp->max_ws_blocks,
1021 sdkp->max_ws_blocks = min_not_zero(sdkp->max_ws_blocks,
3676 dev_max = min_not_zero(dev_max, sdkp->max_xfer_blocks);
3690 rw_max = min_not_zero(logical_to_sectors(sdp, dev_max),
3699 rw_max = min_not_zero(rw_max, sdp->host->opt_sectors);
/linux-master/drivers/target/
H A Dtarget_core_pscsi.c299 min_not_zero((int)sd->sector_size, 512);
301 min_not_zero(sd->host->max_sectors, queue_max_hw_sectors(q));
/linux-master/drivers/block/
H A Dvirtio_blk.c987 min_not_zero(num_request_queues, nr_cpu_ids),
1374 discard_granularity = min_not_zero(discard_granularity, v);
1402 max_discard_segs = min_not_zero(max_discard_segs, v);
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_tx.c146 real_rel_cnt = min_not_zero(budget, rel_cnt);
/linux-master/drivers/nvdimm/
H A Dregion_devs.c124 num_flush = min_not_zero(num_flush, nvdimm->num_flush);
386 avail = min_not_zero(avail, nd_pmem_max_contiguous_dpa(
/linux-master/drivers/acpi/arm64/
H A Diort.c2015 limit = min_not_zero(limit, local_limit);
2024 limit = min_not_zero(limit, local_limit);
/linux-master/drivers/thunderbolt/
H A Dtunnel.c107 spare = min_not_zero(sw->max_dma_credits, dma_credits);
1686 credits = min_not_zero(dma_credits, nhi->sw->max_dma_credits);
/linux-master/drivers/watchdog/
H A Dwatchdog_dev.c114 hw_heartbeat_ms = min_not_zero(timeout_ms, wdd->max_hw_heartbeat_ms);
/linux-master/drivers/mmc/core/
H A Dsdio.c579 max_rate = min_not_zero(card->quirk_max_rate,
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c266 *count = min_not_zero(blk_offset, size) / SZ_4K;
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt.c1879 clt_path->s.signal_interval = min_not_zero(queue_depth,
1896 clt->max_io_size = min_not_zero(clt_path->max_io_size,
/linux-master/drivers/block/drbd/
H A Ddrbd_req.c1726 et = min_not_zero(dt, ent);

Completed in 311 milliseconds

12