/linux-6.1.9/block/ ! |
D | blk-settings.c | 137 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors() 552 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits() 553 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits() 554 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits() 561 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits() 563 t->virt_boundary_mask = min_not_zero(t->virt_boundary_mask, in blk_stack_limits() 566 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits() 567 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits() 569 t->max_integrity_segments = min_not_zero(t->max_integrity_segments, in blk_stack_limits() 572 t->max_segment_size = min_not_zero(t->max_segment_size, in blk_stack_limits() [all …]
|
D | blk-merge.c | 198 return min_not_zero(mask - offset + 1, in get_max_segment_size()
|
D | blk-sysfs.c | 250 max_hw_sectors_kb = min_not_zero(max_hw_sectors_kb, (unsigned long) in queue_max_sectors_store()
|
/linux-6.1.9/arch/x86/mm/ ! |
D | mem_encrypt.c | 32 u64 dma_dev_mask = min_not_zero(dev->coherent_dma_mask, in force_dma_unencrypted()
|
/linux-6.1.9/include/linux/ ! |
D | minmax.h | 75 #define min_not_zero(x, y) ({ \ macro
|
D | dma-direct.h | 110 return end <= min_not_zero(*dev->dma_mask, dev->bus_dma_limit); in dma_capable()
|
D | dma-mapping.h | 475 return min_not_zero(dma_get_mask(dev), dev->bus_dma_limit) < in dma_addressing_limited()
|
/linux-6.1.9/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 | 125 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
|
/linux-6.1.9/tools/testing/selftests/bpf/ ! |
D | bpf_tcp_helpers.h | 195 #define min_not_zero(x, y) ({ \ macro
|
/linux-6.1.9/drivers/scsi/ ! |
D | sd.c | 803 max_blocks = min_not_zero(sdkp->max_unmap_blocks, in sd_config_discard() 813 max_blocks = min_not_zero(max_blocks, (u32)SD_MAX_WS16_BLOCKS); in sd_config_discard() 822 max_blocks = min_not_zero(max_blocks, (u32)SD_MAX_WS10_BLOCKS); in sd_config_discard() 826 max_blocks = min_not_zero(sdkp->max_ws_blocks, in sd_config_discard() 977 sdkp->max_ws_blocks = min_not_zero(sdkp->max_ws_blocks, in sd_config_write_same() 980 sdkp->max_ws_blocks = min_not_zero(sdkp->max_ws_blocks, in sd_config_write_same() 3281 dev_max = min_not_zero(dev_max, sdkp->max_xfer_blocks); in sd_revalidate_disk() 3295 rw_max = min_not_zero(logical_to_sectors(sdp, dev_max), in sd_revalidate_disk() 3304 rw_max = min_not_zero(rw_max, sdp->host->opt_sectors); in sd_revalidate_disk()
|
/linux-6.1.9/drivers/nvme/target/ ! |
D | passthru.c | 105 max_hw_sectors = min_not_zero(pctrl->max_segments << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl() 112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl()
|
/linux-6.1.9/kernel/dma/ ! |
D | contiguous.c | 179 selected_limit = min_not_zero(limit_cmdline, limit); in dma_contiguous_reserve()
|
D | direct.c | 50 u64 dma_limit = min_not_zero(dma_mask, dev->bus_dma_limit); in dma_direct_optimal_gfp_mask() 75 min_not_zero(dev->coherent_dma_mask, dev->bus_dma_limit); in dma_coherent_ok()
|
D | mapping.c | 119 return min_not_zero(mask, dev->bus_dma_limit) >= in dma_go_direct()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ ! |
D | bpf_dctcp.c | 130 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in BPF_PROG()
|
/linux-6.1.9/drivers/block/ ! |
D | virtio_blk.c | 633 min_not_zero(num_request_queues, nr_cpu_ids), in init_vq() 1100 discard_granularity = min_not_zero(discard_granularity, v); in virtblk_probe() 1130 max_discard_segs = min_not_zero(max_discard_segs, v); in virtblk_probe()
|
/linux-6.1.9/drivers/target/ ! |
D | target_core_pscsi.c | 301 min_not_zero((int)sd->sector_size, 512); in pscsi_add_device_to_list() 303 min_not_zero(sd->host->max_sectors, queue_max_hw_sectors(q)); in pscsi_add_device_to_list()
|
/linux-6.1.9/drivers/nvdimm/ ! |
D | region_devs.c | 81 num_flush = min_not_zero(num_flush, nvdimm->num_flush); in nd_region_activate() 339 avail = min_not_zero(avail, nd_pmem_max_contiguous_dpa( in nd_region_allocatable_dpa()
|
/linux-6.1.9/drivers/net/wwan/t7xx/ ! |
D | t7xx_hif_dpmaif_tx.c | 146 real_rel_cnt = min_not_zero(budget, rel_cnt); in t7xx_dpmaif_tx_release()
|
/linux-6.1.9/drivers/thunderbolt/ ! |
D | tunnel.c | 92 spare = min_not_zero(sw->max_dma_credits, TB_DMA_CREDITS); in tb_available_credits() 1103 credits = min_not_zero(TB_DMA_CREDITS, nhi->sw->max_dma_credits); in tb_tunnel_alloc_dma()
|
/linux-6.1.9/drivers/acpi/arm64/ ! |
D | iort.c | 2006 limit = min_not_zero(limit, local_limit); in acpi_iort_dma_get_max_cpu_address() 2015 limit = min_not_zero(limit, local_limit); in acpi_iort_dma_get_max_cpu_address()
|
/linux-6.1.9/drivers/gpu/drm/panfrost/ ! |
D | panfrost_mmu.c | 264 *count = min_not_zero(blk_offset, size) / SZ_4K; in get_pgsize()
|
/linux-6.1.9/drivers/mmc/core/ ! |
D | sdio.c | 579 max_rate = min_not_zero(card->quirk_max_rate, in sdio_set_bus_speed_mode()
|
/linux-6.1.9/drivers/watchdog/ ! |
D | watchdog_dev.c | 113 hw_heartbeat_ms = min_not_zero(timeout_ms, wdd->max_hw_heartbeat_ms); in watchdog_next_keepalive()
|