/Linux-v4.19/drivers/scsi/fnic/ |
D | fnic_res.c | 74 min_t(u32, VNIC_FNIC_WQ_DESCS_MAX, in fnic_get_vnic_config() 80 min_t(u32, VNIC_FNIC_WQ_COPY_DESCS_MAX, in fnic_get_vnic_config() 86 min_t(u32, VNIC_FNIC_RQ_DESCS_MAX, in fnic_get_vnic_config() 92 min_t(u16, VNIC_FNIC_MAXDATAFIELDSIZE_MAX, in fnic_get_vnic_config() 96 min_t(u32, VNIC_FNIC_EDTOV_MAX, in fnic_get_vnic_config() 101 min_t(u32, VNIC_FNIC_RATOV_MAX, in fnic_get_vnic_config() 106 min_t(u32, VNIC_FNIC_FLOGI_RETRIES_MAX, c->flogi_retries); in fnic_get_vnic_config() 109 min_t(u32, VNIC_FNIC_FLOGI_TIMEOUT_MAX, in fnic_get_vnic_config() 114 min_t(u32, VNIC_FNIC_PLOGI_RETRIES_MAX, c->plogi_retries); in fnic_get_vnic_config() 117 min_t(u32, VNIC_FNIC_PLOGI_TIMEOUT_MAX, in fnic_get_vnic_config() [all …]
|
/Linux-v4.19/drivers/scsi/snic/ |
D | snic_res.c | 63 c->wq_enet_desc_count = min_t(u32, in snic_get_vnic_config() 71 c->maxdatafieldsize = min_t(u32, in snic_get_vnic_config() 77 c->io_throttle_count = min_t(u32, in snic_get_vnic_config() 83 c->port_down_timeout = min_t(u32, in snic_get_vnic_config() 87 c->port_down_io_retries = min_t(u32, in snic_get_vnic_config() 91 c->luns_per_tgt = min_t(u32, in snic_get_vnic_config() 97 c->intr_timer = min_t(u32, VNIC_INTR_TIMER_MAX, c->intr_timer); in snic_get_vnic_config()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 340 vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs); in ixgbe_set_dcb_sriov_queues() 347 vmdq_i = min_t(u16, vmdq_i, 16); in ixgbe_set_dcb_sriov_queues() 351 vmdq_i = min_t(u16, vmdq_i, 32); in ixgbe_set_dcb_sriov_queues() 391 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues() 439 rss_i = min_t(u16, rss_i, 4); in ixgbe_set_dcb_queues() 443 rss_i = min_t(u16, rss_i, 8); in ixgbe_set_dcb_queues() 447 rss_i = min_t(u16, rss_i, 16); in ixgbe_set_dcb_queues() 453 rss_i = min_t(int, rss_i, f->limit); in ixgbe_set_dcb_queues() 470 f->indices = min_t(u16, rss_i, f->limit); in ixgbe_set_dcb_queues() 510 rss_i = min_t(u16, rss_i, MAX_TX_QUEUES / vmdq_i); in ixgbe_set_sriov_queues() [all …]
|
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-main.c | 239 pdata->tx_ring_count = min_t(unsigned int, num_online_cpus(), in xgbe_set_counts() 241 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xgbe_set_counts() 243 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xgbe_set_counts() 248 pdata->rx_ring_count = min_t(unsigned int, num_online_cpus(), in xgbe_set_counts() 250 pdata->rx_ring_count = min_t(unsigned int, pdata->rx_ring_count, in xgbe_set_counts() 253 pdata->rx_q_count = min_t(unsigned int, pdata->hw_feat.rx_q_cnt, in xgbe_set_counts() 315 pdata->tx_ring_count = min_t(unsigned int, pdata->tx_ring_count, in xgbe_config_netdev() 317 pdata->rx_ring_count = min_t(unsigned int, pdata->rx_ring_count, in xgbe_config_netdev()
|
/Linux-v4.19/fs/btrfs/ |
D | zstd.c | 117 workspace->in_buf.size = min_t(size_t, len, PAGE_SIZE); in zstd_compress_pages() 129 workspace->out_buf.size = min_t(size_t, max_out, PAGE_SIZE); in zstd_compress_pages() 176 workspace->out_buf.size = min_t(size_t, max_out, in zstd_compress_pages() 197 workspace->in_buf.size = min_t(size_t, len, PAGE_SIZE); in zstd_compress_pages() 236 workspace->out_buf.size = min_t(size_t, max_out, PAGE_SIZE); in zstd_compress_pages() 283 workspace->in_buf.size = min_t(size_t, srclen, PAGE_SIZE); in zstd_decompress_bio() 326 workspace->in_buf.size = min_t(size_t, srclen, PAGE_SIZE); in zstd_decompress_bio() 358 destlen = min_t(size_t, destlen, PAGE_SIZE); in zstd_decompress() 402 bytes = min_t(unsigned long, destlen - pg_offset, in zstd_decompress()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwil.c | 118 len = min_t(uint, len, BRCMF_DCMD_MAXLEN); in brcmf_fil_cmd_data() 148 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_cmd_data_set() 166 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_cmd_data_get() 236 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_iovar_data_set() 276 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_iovar_data_get() 360 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_bsscfg_data_set() 400 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_bsscfg_data_get()
|
/Linux-v4.19/drivers/auxdisplay/ |
D | ks0108.c | 81 ks0108_writedata(min_t(unsigned char, startline, 63) | bit(6) | in ks0108_startline() 87 ks0108_writedata(min_t(unsigned char, address, 63) | bit(6)); in ks0108_address() 92 ks0108_writedata(min_t(unsigned char, page, 7) | bit(3) | bit(4) | in ks0108_page()
|
/Linux-v4.19/drivers/base/regmap/ |
D | regmap-spmi.c | 131 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_read() 143 len = min_t(size_t, val_size, 8); in regmap_spmi_ext_read() 171 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_gather_write() 183 len = min_t(size_t, val_size, 8); in regmap_spmi_ext_gather_write()
|
/Linux-v4.19/fs/romfs/ |
D | storage.c | 51 segment = min_t(size_t, maxlen, 16); in romfs_mtd_strnlen() 82 segment = min_t(size_t, size + 1, 17); in romfs_mtd_strcmp() 117 segment = min_t(size_t, buflen, ROMBSIZE - offset); in romfs_blk_read() 146 segment = min_t(size_t, limit, ROMBSIZE - offset); in romfs_blk_strnlen() 178 segment = min_t(size_t, size, ROMBSIZE - offset); in romfs_blk_strcmp()
|
/Linux-v4.19/lib/ |
D | bucket_locks.c | 27 nr_pcpus = min_t(unsigned int, nr_pcpus, 64UL); in __alloc_bucket_spinlocks() 28 size = min_t(unsigned int, nr_pcpus * cpu_mult, max_size); in __alloc_bucket_spinlocks()
|
/Linux-v4.19/fs/hfsplus/ |
D | bnode.c | 31 l = min_t(int, len, PAGE_SIZE - off); in hfs_bnode_read() 37 l = min_t(int, len, PAGE_SIZE); in hfs_bnode_read() 84 l = min_t(int, len, PAGE_SIZE - off); in hfs_bnode_write() 91 l = min_t(int, len, PAGE_SIZE); in hfs_bnode_write() 114 l = min_t(int, len, PAGE_SIZE - off); in hfs_bnode_clear() 120 l = min_t(int, len, PAGE_SIZE); in hfs_bnode_clear() 144 l = min_t(int, len, PAGE_SIZE - src); in hfs_bnode_copy() 151 l = min_t(int, len, PAGE_SIZE); in hfs_bnode_copy() 253 l = min_t(int, len, PAGE_SIZE - src); in hfs_bnode_move() 261 l = min_t(int, len, PAGE_SIZE); in hfs_bnode_move() [all …]
|
/Linux-v4.19/net/nfc/nci/ |
D | ntf.c | 112 nfca_poll->nfcid1_len = min_t(__u8, *data++, NFC_NFCID1_MAXSIZE); in nci_extract_rf_params_nfca_passive_poll() 136 nfcb_poll->sensb_res_len = min_t(__u8, *data++, NFC_SENSB_RES_MAXSIZE); in nci_extract_rf_params_nfcb_passive_poll() 151 nfcf_poll->sensf_res_len = min_t(__u8, *data++, NFC_SENSF_RES_MAXSIZE); in nci_extract_rf_params_nfcf_passive_poll() 177 nfcf_listen->local_nfcid2_len = min_t(__u8, *data++, in nci_extract_rf_params_nfcf_passive_listen() 388 nfca_poll->rats_res_len = min_t(__u8, *data++, 20); in nci_extract_activation_params_iso_dep() 398 nfcb_poll->attrib_res_len = min_t(__u8, *data++, 50); in nci_extract_activation_params_iso_dep() 425 poll->atr_res_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep() 435 listen->atr_req_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep() 485 ndev->remote_gb_len = min_t(__u8, in nci_store_general_bytes_nfc_dep() 497 ndev->remote_gb_len = min_t(__u8, in nci_store_general_bytes_nfc_dep()
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 134 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_gca() 136 max_sg_len = min_t(u64, max_sg_len, in nx_gca() 144 to_process = min_t(u64, nbytes - processed, in nx_gca() 146 to_process = min_t(u64, to_process, in nx_gca() 199 max_sg_len = min_t(u64, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in gmac() 201 max_sg_len = min_t(u64, max_sg_len, in gmac() 212 to_process = min_t(u64, nbytes - processed, in gmac() 214 to_process = min_t(u64, to_process, in gmac()
|
D | nx-sha256.c | 99 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_update() 101 max_sg_len = min_t(u64, max_sg_len, in nx_sha256_update() 139 to_process = min_t(u64, total, in nx_sha256_update() 202 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha256_final() 204 max_sg_len = min_t(u64, max_sg_len, in nx_sha256_final()
|
D | nx-sha512.c | 99 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_update() 101 max_sg_len = min_t(u64, max_sg_len, in nx_sha512_update() 138 to_process = min_t(u64, total, in nx_sha512_update() 206 max_sg_len = min_t(u64, nx_ctx->ap->sglen, in nx_sha512_final() 208 max_sg_len = min_t(u64, max_sg_len, in nx_sha512_final()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_cpplib.c | 202 incr = min_t(int, 16 * width_read, 128); in nfp_cpp_explicit_read() 203 incr = min_t(int, incr, len); in nfp_cpp_explicit_read() 255 incr = min_t(int, 16 * width_write, 128); in nfp_cpp_explicit_write() 256 incr = min_t(int, incr, len); in nfp_cpp_explicit_write()
|
/Linux-v4.19/drivers/usb/misc/ |
D | usb251xb.c | 489 hub->max_power_sp = min_t(u8, property_u32 / 2000, 50); in usb251xb_get_ofdata() 494 hub->max_power_bp = min_t(u8, property_u32 / 2000, 255); in usb251xb_get_ofdata() 499 hub->max_current_sp = min_t(u8, property_u32 / 2000, 50); in usb251xb_get_ofdata() 504 hub->max_current_bp = min_t(u8, property_u32 / 2000, 255); in usb251xb_get_ofdata() 508 hub->power_on_time = min_t(u8, property_u32 / 2, 255); in usb251xb_get_ofdata() 518 len = min_t(size_t, USB251XB_STRING_BUFSIZE / 2, strlen(str)); in usb251xb_get_ofdata() 527 len = min_t(size_t, USB251XB_STRING_BUFSIZE / 2, strlen(str)); in usb251xb_get_ofdata() 537 len = min_t(size_t, USB251XB_STRING_BUFSIZE / 2, strlen(str)); in usb251xb_get_ofdata()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/ |
D | mt76x2_tx_common.c | 109 txpwr = min_t(s8, txpwr, dev->txpower_conf); in mt76x2_tx_get_txpwr_adj() 111 txpwr = min_t(s8, txpwr, max_txpwr_adj); in mt76x2_tx_get_txpwr_adj() 116 return min_t(s8, txpwr, 7); in mt76x2_tx_get_txpwr_adj()
|
/Linux-v4.19/drivers/tty/vt/ |
D | selection.c | 180 v.xs = min_t(u16, v.xs - 1, vc->vc_cols - 1); in set_selection() 181 v.ys = min_t(u16, v.ys - 1, vc->vc_rows - 1); in set_selection() 182 v.xe = min_t(u16, v.xe - 1, vc->vc_cols - 1); in set_selection() 183 v.ye = min_t(u16, v.ye - 1, vc->vc_rows - 1); in set_selection()
|
/Linux-v4.19/drivers/char/tpm/ |
D | tpm_i2c_atmel.c | 67 (int)min_t(size_t, 64, len), buf, len, status); in i2c_atmel_send() 93 (int)min_t(size_t, 64, expected_len), buf, count, in i2c_atmel_recv() 102 (int)min_t(size_t, 64, expected_len), buf, count, in i2c_atmel_recv()
|
/Linux-v4.19/tools/perf/scripts/python/ |
D | powerpc-hcalls.py | 166 min_t = output[opcode]['min'] 169 print print_ptrn % (h_name, cnt, min_t, max_t, time/cnt)
|
/Linux-v4.19/drivers/scsi/ufs/ |
D | ufs-hisi.c | 304 min_hisi_gear = min_t(u32, hisi_param->hs_rx_gear, in ufs_hisi_get_pwr_dev_param() 307 min_hisi_gear = min_t(u32, hisi_param->pwm_rx_gear, in ufs_hisi_get_pwr_dev_param() 345 min_t(u32, dev_max->lane_tx, hisi_param->tx_lanes); in ufs_hisi_get_pwr_dev_param() 347 min_t(u32, dev_max->lane_rx, hisi_param->rx_lanes); in ufs_hisi_get_pwr_dev_param() 350 min_dev_gear = min_t(u32, dev_max->gear_rx, dev_max->gear_tx); in ufs_hisi_get_pwr_dev_param() 363 min_t(u32, min_dev_gear, min_hisi_gear); in ufs_hisi_get_pwr_dev_param()
|
/Linux-v4.19/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.c | 221 sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); in vsp1_rwpf_set_selection() 222 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection() 223 sel->r.width = min_t(unsigned int, sel->r.width, in vsp1_rwpf_set_selection() 225 sel->r.height = min_t(unsigned int, sel->r.height, in vsp1_rwpf_set_selection()
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | debug.h | 98 min_t(size_t, len, DEBUG_DUMP_LIMIT), \ 108 min_t(size_t, len, DEBUG_DUMP_LIMIT), \
|
/Linux-v4.19/net/ceph/ |
D | pagevec.c | 104 l = min_t(int, PAGE_SIZE-po, left); in ceph_copy_user_to_page_vector() 129 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_to_page_vector() 152 size_t l = min_t(size_t, PAGE_SIZE-po, left); in ceph_copy_from_page_vector()
|