/linux-6.12.1/drivers/net/ethernet/intel/libeth/ |
D | rx.c | 23 len = min3(len, ALIGN_DOWN(max_len ? : U32_MAX, LIBETH_RX_BUF_STRIDE), in libeth_rx_hw_len_mtu() 50 len = min3(len, ALIGN_DOWN(max_len ? : U32_MAX, LIBETH_RX_BUF_STRIDE), in libeth_rx_hw_len_truesize()
|
/linux-6.12.1/drivers/platform/cznic/ |
D | turris-omnia-mcu-trng.c | 54 bytes = min3(reply[0], max, OMNIA_CMD_TRNG_MAX_ENTROPY_LEN); in omnia_trng_read()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | pci_io.h | 135 size = min3(len, ZPCI_BOUNDARY_SIZE - offset, max); in zpci_get_max_io_size()
|
/linux-6.12.1/net/netfilter/ipvs/ |
D | ip_vs_pe_sip.c | 18 size_t len = min3(max_len, callid_len, buf_len - *idx - 1); in ip_vs_dbg_callid()
|
/linux-6.12.1/drivers/gpu/drm/udl/ |
D | udl_transfer.c | 105 cmd_pixel_end = pixel + (min3(MAX_CMD_PIXELS + 1UL, in udl_compress_hline16()
|
/linux-6.12.1/sound/usb/line6/ |
D | midi.c | 47 req = min3(line6_midibuf_bytes_free(mb), line6->max_packet_size, in line6_midi_transmit()
|
/linux-6.12.1/fs/netfs/ |
D | iterator.c | 132 len = min3(n, bvecs[ix].bv_len - skip, max_size); in netfs_limit_bvec()
|
/linux-6.12.1/include/linux/ |
D | minmax.h | 167 #define min3(x, y, z) \ macro
|
D | iov_iter.h | 120 part = min3(len, in iterate_bvec()
|
/linux-6.12.1/arch/powerpc/mm/book3s32/ |
D | mmu.c | 108 return min3(max_size, 1U << base_shift, 1U << block_shift); in bat_block_size()
|
/linux-6.12.1/drivers/hid/ |
D | hid-u2fzero.c | 230 actual_length = min3((size_t)ret - min_length, in u2fzero_rng_read()
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | netdev_rx.c | 182 return min3(available_cpus, available_contexts, in hfi1_num_netdev_contexts()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 655 size = min3(max_table_offset - last_offset, in mlx4_create_zones() 661 candidate_size = min3( in mlx4_create_zones()
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | pll.c | 172 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc()
|
/linux-6.12.1/drivers/spi/ |
D | spi-sun4i.c | 153 len = min3(len, (int)cnt, sspi->len); in sun4i_spi_fill_fifo()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/ |
D | cmsg.c | 439 return min3(req_max, reply_max, NFP_BPF_MAP_CACHE_CNT); in nfp_bpf_ctrl_cmsg_cache_cnt()
|
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/ |
D | pll.c | 240 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc_a()
|
/linux-6.12.1/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-hash.c | 315 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); in sun4i_hash()
|
/linux-6.12.1/lib/ |
D | kfifo.c | 176 return min3(n, fifo->in - fifo->out, size - off); in __kfifo_out_linear()
|
/linux-6.12.1/block/ |
D | blk-settings.c | 100 min3(lim->max_hw_sectors, in blk_validate_zoned_limits()
|
/linux-6.12.1/drivers/ufs/core/ |
D | ufs-mcq.c | 222 hba->nr_queues[HCTX_TYPE_DEFAULT] = min3(rem, rw_queues, in ufshcd_mcq_config_nr_queues()
|
/linux-6.12.1/drivers/hid/intel-ish-hid/ |
D | ishtp-fw-loader.c | 654 payload_max_size = min3(fw->size, in ish_fw_xfer_direct_dma()
|
/linux-6.12.1/drivers/iommu/ |
D | s390-iommu.c | 720 aperture_size = min3(s390_iommu_aperture, in zpci_init_iommu()
|
/linux-6.12.1/mm/ |
D | swap_state.c | 778 *end = min3(right, vma->vm_end, (faddr & PMD_MASK) + PMD_SIZE); in swap_vma_ra_win()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_ggtt.c | 726 *spare -= min3(*spare, hole_size, max_hole); in xe_ggtt_largest_hole()
|