/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_res.c | 75 max_t(u32, VNIC_FNIC_WQ_DESCS_MIN, fnic_get_vnic_config() 81 max_t(u32, VNIC_FNIC_WQ_COPY_DESCS_MIN, fnic_get_vnic_config() 87 max_t(u32, VNIC_FNIC_RQ_DESCS_MIN, fnic_get_vnic_config() 93 max_t(u16, VNIC_FNIC_MAXDATAFIELDSIZE_MIN, fnic_get_vnic_config() 97 max_t(u32, VNIC_FNIC_EDTOV_MIN, fnic_get_vnic_config() 102 max_t(u32, VNIC_FNIC_RATOV_MIN, fnic_get_vnic_config() 110 max_t(u32, VNIC_FNIC_FLOGI_TIMEOUT_MIN, fnic_get_vnic_config() 118 max_t(u32, VNIC_FNIC_PLOGI_TIMEOUT_MIN, fnic_get_vnic_config() 123 max_t(u32, VNIC_FNIC_IO_THROTTLE_COUNT_MIN, fnic_get_vnic_config() 140 max_t(u32, VNIC_FNIC_LUNS_PER_TARGET_MIN, fnic_get_vnic_config()
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | nmi.c | 122 u32 cnt, max_t, sclk; nmi_wdt_set_timeout() local 126 max_t = -1 / sclk; nmi_wdt_set_timeout() 128 if (t > max_t) { nmi_wdt_set_timeout()
|
/linux-4.1.27/fs/coda/ |
H A D | upcall.c | 70 #define SIZE(tag) max_t(unsigned int, INSIZE(tag), OUTSIZE(tag)) 139 insize = max_t(unsigned int, offset + length +1, OUTSIZE(lookup)); venus_lookup() 210 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(mkdir)); venus_mkdir() 242 insize = max_t(unsigned int, offset + new_length + old_length + 8, venus_rename() 278 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(create)); venus_create() 310 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(rmdir)); venus_rmdir() 332 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(remove)); venus_remove() 355 insize = max_t(unsigned int, venus_readlink() 387 insize = max_t(unsigned int, offset + len + 1, OUTSIZE(link)); venus_link() 414 insize = max_t(unsigned int, offset + len + symlen + 8, OUTSIZE(symlink)); venus_symlink() 556 insize = max_t(unsigned int, INSIZE(statfs), OUTSIZE(statfs)); venus_statfs()
|
/linux-4.1.27/drivers/memory/ |
H A D | omap-gpmc.c | 1276 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh); gpmc_calc_sync_read_timings() 1277 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_calc_sync_read_timings() 1284 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach); gpmc_calc_sync_read_timings() 1285 temp = max_t(u32, temp, gpmc_t->adv_rd_off + gpmc_calc_sync_read_timings() 1295 temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); gpmc_calc_sync_read_timings() 1298 temp = max_t(u32, temp, gpmc_t->oe_on + gpmc_calc_sync_read_timings() 1306 temp = max_t(u32, dev_t->t_cez_r, dev_t->t_oez); gpmc_calc_sync_read_timings() 1311 temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz); gpmc_calc_sync_read_timings() 1326 temp = max_t(u32, temp, gpmc_calc_sync_write_timings() 1328 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_calc_sync_write_timings() 1333 temp = max_t(u32, dev_t->t_weasu, gpmc_calc_sync_write_timings() 1339 temp = max_t(u32, temp, gpmc_calc_sync_write_timings() 1341 temp = max_t(u32, temp, gpmc_t->adv_wr_off + gpmc_calc_sync_write_timings() 1358 temp = max_t(u32, temp, gpmc_calc_sync_write_timings() 1360 temp = max_t(u32, temp, gpmc_calc_sync_write_timings() 1372 temp = max_t(u32, temp, gpmc_calc_sync_write_timings() 1388 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_calc_async_read_timings() 1394 temp = max_t(u32, temp, gpmc_calc_async_read_timings() 1399 temp = max_t(u32, dev_t->t_iaa, /* XXX: remove t_iaa in async ? */ gpmc_calc_async_read_timings() 1401 temp = max_t(u32, temp, gpmc_calc_async_read_timings() 1403 temp = max_t(u32, temp, gpmc_calc_async_read_timings() 1411 temp = max_t(u32, dev_t->t_rd_cycle, gpmc_calc_async_read_timings() 1413 temp = max_t(u32, temp, gpmc_t->oe_off + dev_t->t_oez); gpmc_calc_async_read_timings() 1428 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_calc_async_write_timings() 1434 temp = max_t(u32, temp, gpmc_t->adv_wr_off + dev_t->t_aavdh); gpmc_calc_async_write_timings() 1435 temp = max_t(u32, temp, gpmc_t->adv_wr_off + gpmc_calc_async_write_timings() 1454 temp = max_t(u32, dev_t->t_wr_cycle, gpmc_calc_async_write_timings() 1473 temp = max_t(u32, dev_t->t_ces, dev_t->t_avds); gpmc_calc_sync_common_timings() 1503 temp = max_t(u32, temp, gpmc_calc_common_timings()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | temp.c | 54 s->thrs_fan_boost.hysteresis = max_t(u8, s->thrs_fan_boost.hysteresis, 2); nvkm_therm_temp_safety_checks() 55 s->thrs_down_clock.hysteresis = max_t(u8, s->thrs_down_clock.hysteresis, 2); nvkm_therm_temp_safety_checks() 56 s->thrs_critical.hysteresis = max_t(u8, s->thrs_critical.hysteresis, 2); nvkm_therm_temp_safety_checks() 57 s->thrs_shutdown.hysteresis = max_t(u8, s->thrs_shutdown.hysteresis, 2); nvkm_therm_temp_safety_checks()
|
H A D | fan.c | 45 target = max_t(u8, target, fan->bios.min_duty); nvkm_fan_update()
|
/linux-4.1.27/net/ipv4/ |
H A D | tcp_diag.c | 29 r->idiag_rqueue = max_t(int, tp->rcv_nxt - tp->copied_seq, 0); tcp_diag_get_info()
|
H A D | tcp_westwood.c | 138 if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { westwood_update_window() 220 return max_t(u32, (w->bw_est * w->rtt_min) / tp->mss_cache, 2); tcp_westwood_bw_rttmin()
|
H A D | tcp_hybla.c | 37 ca->rho_3ls = max_t(u32, hybla_recalc_param()
|
H A D | tcp_yeah.c | 222 return max_t(int, tp->snd_cwnd - reduction, 2); tcp_yeah_ssthresh()
|
H A D | fou.c | 83 size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); gue_remcsum() 231 size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); gue_gro_remcsum()
|
H A D | ip_input.c | 421 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); ip_rcv()
|
H A D | tcp_output.c | 245 space = max_t(u32, sysctl_tcp_rmem[2], sysctl_rmem_max); tcp_select_initial_window() 1556 segs = max_t(u32, bytes / mss_now, sysctl_tcp_min_tso_segs); tcp_tso_autosize() 2198 timeout = max_t(u32, timeout, tcp_schedule_loss_probe() 2200 timeout = max_t(u32, timeout, msecs_to_jiffies(10)); tcp_schedule_loss_probe() 3302 int rtt = max_t(int, usecs_to_jiffies(tp->srtt_us >> 3), tcp_send_delayed_ack()
|
H A D | tcp_input.c | 292 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + tcp_sndbuf_expand() 299 nr_segs = max_t(u32, TCP_INIT_CWND, tp->snd_cwnd); tcp_sndbuf_expand() 300 nr_segs = max_t(u32, nr_segs, tp->reordering + 1); tcp_sndbuf_expand() 374 incr = max_t(int, incr, 2 * skb->len); tcp_grow_window() 2177 tp->sacked_out >= max_t(__u32, packets_out/2, sysctl_tcp_reordering) && tcp_time_to_recover() 2525 max_t(int, tp->prr_delivered - tp->prr_out, tcp_cwnd_reduction()
|
/linux-4.1.27/mm/ |
H A D | mm_init.c | 159 s32 batch = max_t(s32, nr*2, 32); mm_compute_batch() 164 vm_committed_as_batch = max_t(s32, memsized_batch, batch); mm_compute_batch()
|
H A D | slob.c | 430 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); __do_kmalloc_node() 496 int align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); kfree() 519 align = max_t(size_t, ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN); ksize()
|
H A D | dmapool.c | 151 allocation = max_t(size_t, size, PAGE_SIZE); dma_pool_create()
|
H A D | mempool.c | 28 const int start = max_t(int, byte - (BITS_PER_LONG / 8), 0); poison_error()
|
H A D | percpu.c | 349 return max_t(int, PFN_DOWN(end) - PFN_UP(off), 0); pcpu_count_occupied_pages() 1797 max_t(size_t, dyn_size, PERCPU_DYNAMIC_EARLY_SIZE)); pcpu_build_alloc_info() 1806 min_unit_size = max_t(size_t, size_sum, PCPU_MIN_UNIT_SIZE); pcpu_build_alloc_info() 2017 max_distance = max_t(size_t, max_distance, pcpu_embed_first_chunk() 2228 roundup_pow_of_two(max_t(size_t, PCPU_MIN_UNIT_SIZE, setup_per_cpu_areas()
|
/linux-4.1.27/fs/squashfs/ |
H A D | lz4_wrapper.c | 56 int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); lz4_init()
|
H A D | lzo_wrapper.c | 43 int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); lzo_init()
|
H A D | xz_wrapper.c | 82 opts->dict_size = max_t(int, msblk->block_size, squashfs_xz_comp_opts()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | bfin_wdt.c | 115 u32 cnt, max_t, sclk; bfin_wdt_set_timeout() local 119 max_t = -1 / sclk; bfin_wdt_set_timeout() 121 stamp("maxtimeout=%us newtimeout=%lus (cnt=%#x)", max_t, t, cnt); bfin_wdt_set_timeout() 123 if (t > max_t) { bfin_wdt_set_timeout()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
H A D | enic_res.c | 78 max_t(u32, ENIC_MIN_WQ_DESCS, enic_get_vnic_config() 84 max_t(u32, ENIC_MIN_RQ_DESCS, enic_get_vnic_config() 91 max_t(u16, ENIC_MIN_MTU, enic_get_vnic_config()
|
H A D | enic_main.c | 220 mtu = max_t(int, ENIC_MIN_MTU, enic_mtu_check() 1803 new_mtu = max_t(int, ENIC_MIN_MTU, min_t(int, ENIC_MAX_MTU, new_mtu)); enic_change_mtu_work()
|
/linux-4.1.27/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_phy.c | 56 return max_t(s32, min_result, v - 1); linear_inter() 58 return max_t(s32, min_result, v); linear_inter() 109 timing->hs_rqst = max_t(s32, 0, temp - 2); dsi_dphy_timing_calc()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
H A D | eeprom.c | 290 rawpower = max_t(u16, p54_get_maxpower() 292 rawpower = max_t(u16, p54_get_maxpower() 294 rawpower = max_t(u16, p54_get_maxpower() 296 rawpower = max_t(u16, p54_get_maxpower() 336 max_channel_num = max_t(unsigned int, priv->output_limit->entries, p54_generate_channel_lists() 338 max_channel_num = max_t(unsigned int, max_channel_num, p54_generate_channel_lists()
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | smiapp-pll.c | 29 return max_t(uint32_t, 1, a & ~1); clk_div_even() 306 min_vt_div = max_t(uint32_t, min_vt_div, __smiapp_pll_calculate() 449 max_t(uint16_t, limits->min_pre_pll_clk_div, smiapp_pll_calculate() 462 max_t(uint16_t, min_pre_pll_clk_div, smiapp_pll_calculate()
|
H A D | mt9v032.c | 302 min_hblank = max_t(int, mt9v032->model->data->min_row_time - crop->width, mt9v032_update_hblank() 304 hblank = max_t(unsigned int, mt9v032->hblank, min_hblank); mt9v032_update_hblank() 531 max_t(unsigned int, __crop->width / 4, mt9v032_set_format() 535 max_t(unsigned int, __crop->height / 4, mt9v032_set_format()
|
H A D | mt9t001.c | 383 max_t(unsigned int, __crop->width / 8, mt9t001_set_format() 387 max_t(unsigned int, __crop->height / 8, mt9t001_set_format()
|
H A D | mt9p031.c | 563 max_t(unsigned int, __crop->width / 7, mt9p031_set_format() 567 max_t(unsigned int, __crop->height / 8, mt9p031_set_format()
|
/linux-4.1.27/drivers/bluetooth/ |
H A D | btmrvl_sdio.h | 39 #define ALLOC_BUF_SIZE (((max_t (int, MRVDRV_BT_RX_PACKET_BUFFER_SIZE, \
|
H A D | bcm203x.c | 203 size = max_t(uint, firmware->size, 4096); bcm203x_probe()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | svga3d_surfacedefs.h | 40 #define max_t(type, x, y) ((x) > (y) ? (x) : (y)) macro 745 size.width = max_t(u32, base_level.width >> mip_level, 1); svga3dsurface_get_mip_size() 746 size.height = max_t(u32, base_level.height >> mip_level, 1); svga3dsurface_get_mip_size() 747 size.depth = max_t(u32, base_level.depth >> mip_level, 1); svga3dsurface_get_mip_size()
|
H A D | vmwgfx_kms.c | 52 int x1 = max_t(int, clip.x1, rects[i].x1); vmw_clip_cliprects() 53 int y1 = max_t(int, clip.y1, rects[i].y1); vmw_clip_cliprects() 505 right = max_t(int, right, (int)clips_ptr->x2); do_surface_dirty_sou() 507 bottom = max_t(int, bottom, (int)clips_ptr->y2); do_surface_dirty_sou() 1275 right = max_t(int, right, (int)clips[i].x + clips[i].w); vmw_kms_present() 1277 bottom = max_t(int, bottom, (int)clips[i].y + clips[i].h); vmw_kms_present()
|
H A D | vmwgfx_drv.c | 463 width = max_t(uint32_t, width, VMW_MIN_INITIAL_WIDTH); vmw_get_initial_size() 464 height = max_t(uint32_t, height, VMW_MIN_INITIAL_HEIGHT); vmw_get_initial_size()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_btree.h | 437 #define XFS_EXTLEN_MAX(a,b) max_t(xfs_extlen_t, (a), (b)) 439 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b)) 441 #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b)) 443 #define XFS_FILBLKS_MAX(a,b) max_t(xfs_filblks_t, (a), (b))
|
/linux-4.1.27/fs/jfs/ |
H A D | ioctl.c | 150 range.minlen = max_t(unsigned int, range.minlen, jfs_ioctl()
|
/linux-4.1.27/arch/avr32/mm/ |
H A D | init.c | 107 high_memory = max_t(void *, high_memory, mem_init()
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | io_trapped.c | 236 max_t(unsigned long, cnt, from_device() 259 dst_addr, max_t(unsigned long, cnt, to_device()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-stxx-defs.h | 288 uint64_t max_t:16; member in struct:cvmx_stxx_spi4_dat::cvmx_stxx_spi4_dat_s 290 uint64_t max_t:16;
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | io.c | 47 ret = max_t(int, ret, bio_iovec(bio).bv_len >> 9);
|
H A D | btree.c | 560 max_t(int, 0, c->btree_cache_used - mca_reserve(c)) 589 max_t(unsigned, mca_data_alloc()
|
H A D | bset.c | 576 f->exponent = max_t(int, f->exponent - BKEY_MANTISSA_BITS, 0); make_bfloat()
|
/linux-4.1.27/drivers/ide/ |
H A D | tx4938ide.c | 37 wt = max_t(int, wt, DIV_ROUND_UP(35, cycle)); tx4938ide_tune_ebusc()
|
H A D | palm_bk3710.c | 122 cycletime = max_t(int, t->cycle, min_cycle); palm_bk3710_setdmamode()
|
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/ |
H A D | ft1000_usb.c | 143 size = max_t(uint, dsp_fw->size, 4096); ft1000_probe()
|
/linux-4.1.27/drivers/staging/fwserial/ |
H A D | dma_fifo.h | 122 fifo->tx_limit = max_t(int, tx_limit, fifo->align); dma_fifo_change_tx_limit()
|
H A D | dma_fifo.c | 87 fifo->tx_limit = max_t(int, round_down(tx_limit, align), align); dma_fifo_alloc()
|
/linux-4.1.27/crypto/ |
H A D | 842.c | 55 wmemsize = max_t(int, nx842_get_workmem_size(), LZO1X_MEM_COMPRESS); nx842_init()
|
H A D | algif_aead.c | 61 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - aead_sndbuf()
|
H A D | algif_skcipher.c | 122 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - skcipher_sndbuf()
|
H A D | authenc.c | 575 max_t(unsigned int, crypto_authenc_init_tfm()
|
H A D | authencesn.c | 667 max_t(unsigned int, crypto_authenc_esn_init_tfm()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | si_dpm.h | 77 u32 max_t; member in struct:si_dte_data
|
/linux-4.1.27/arch/s390/mm/ |
H A D | init.c | 216 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp_get_rzm()); memory_block_size_bytes()
|
/linux-4.1.27/lib/ |
H A D | ts_bm.c | 92 shift = max_t(int, shift-i+bs, shift+bm->good_shift[i]); bm_find()
|
H A D | percpu-refcount.c | 61 size_t align = max_t(size_t, 1 << __PERCPU_REF_FLAG_BITS, percpu_ref_init()
|
H A D | vsprintf.c | 811 int nr_bits = max_t(int, spec.field_width, 0); bitmap_string() 851 int nr_bits = max_t(int, spec.field_width, 0); bitmap_list_string()
|
/linux-4.1.27/net/rds/ |
H A D | bind.c | 120 rover = max_t(u16, prandom_u32(), 2); rds_add_bound()
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
H A D | ethtool.c | 227 new_rx_count = max_t(u32, ring->rx_pending, IGBVF_MIN_RXD); igbvf_set_ringparam() 231 new_tx_count = max_t(u32, ring->tx_pending, IGBVF_MIN_TXD); igbvf_set_ringparam()
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-axi-clkgen.c | 158 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, fpfd_max), 1); axi_clkgen_calc_params() 161 m_min = max_t(unsigned long, DIV_ROUND_UP(fvco_min, fin) * d_min, 1); axi_clkgen_calc_params()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | slice.c | 270 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); slice_find_area_bottomup() 313 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); slice_find_area_topdown() 393 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); slice_get_unmapped_area()
|
H A D | init_64.c | 132 align = max_t(unsigned long, align, minalign); pgtable_cache_add()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | ani.c | 338 ofdm_nil = max_t(int, ATH9K_ANI_OFDM_DEF_LEVEL, ath9k_ani_reset() 340 cck_nil = max_t(int, ATH9K_ANI_CCK_DEF_LEVEL, ath9k_ani_reset()
|
H A D | eeprom_def.c | 455 return max_t(u8, max_t(u8, ath9k_hw_def_get_eeprom()
|
H A D | eeprom_9287.c | 331 return max_t(u8, pModal->antennaGainCh[0], ath9k_hw_ar9287_get_eeprom()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | soc_scale_crop.c | 144 width = max_t(unsigned int, cam_rect->width, 2); soc_camera_client_s_crop() 145 height = max_t(unsigned int, cam_rect->height, 2); soc_camera_client_s_crop()
|
H A D | mx3_camera.c | 213 bytes_per_line = max_t(u32, fmt->fmt.pix.bytesperline, ret); mx3_videobuf_setup() 220 sizes[0] = max_t(u32, fmt->fmt.pix.sizeimage, ret); mx3_videobuf_setup()
|
H A D | rcar_vin.c | 552 bytes_per_line = max_t(u32, fmt->fmt.pix.bytesperline, ret); rcar_vin_videobuf_setup() 559 sizes[0] = max_t(u32, fmt->fmt.pix.sizeimage, ret); rcar_vin_videobuf_setup()
|
H A D | sh_mobile_ceu_camera.c | 235 bytes_per_line = max_t(u32, fmt->fmt.pix.bytesperline, ret); sh_mobile_ceu_videobuf_setup() 242 sizes[0] = max_t(u32, fmt->fmt.pix.sizeimage, ret); sh_mobile_ceu_videobuf_setup()
|
H A D | soc_camera.c | 282 pix->bytesperline = max_t(u32, pix->bytesperline, ret); soc_camera_try_fmt() 289 pix->sizeimage = max_t(u32, pix->sizeimage, ret); soc_camera_try_fmt()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | pinger.c | 117 int dtime = max_t(int, CONNECTION_SWITCH_MIN, ptlrpc_update_next_ping() 285 lwi = LWI_TIMEOUT(max_t(long, time_to_next_wake, ptlrpc_pinger_main()
|
H A D | niobuf.c | 306 int service_time = max_t(int, get_seconds() - ptlrpc_at_set_reply()
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 308 right = max_t(int, right, (int)clips_ptr->x2); qxl_draw_dirty_fb() 310 bottom = max_t(int, bottom, (int)clips_ptr->y2); qxl_draw_dirty_fb()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | ep93xx-fb.c | 303 var->xres = max_t(unsigned int, var->xres, EP93XXFB_MIN_XRES); ep93xxfb_check_var() 307 var->yres = max_t(unsigned int, var->yres, EP93XXFB_MIN_YRES); ep93xxfb_check_var()
|
H A D | atmel_lcdfb.c | 559 var->vsync_len = max_t(u32, var->vsync_len, 1); atmel_lcdfb_check_var() 560 var->right_margin = max_t(u32, var->right_margin, 1); atmel_lcdfb_check_var() 561 var->hsync_len = max_t(u32, var->hsync_len, 1); atmel_lcdfb_check_var() 562 var->left_margin = max_t(u32, var->left_margin, 1); atmel_lcdfb_check_var()
|
H A D | pxafb.c | 413 var->xres = max_t(int, var->xres, MIN_XRES); pxafb_adjust_timing() 414 var->yres = max_t(int, var->yres, MIN_YRES); pxafb_adjust_timing() 1782 fbi->video_mem_size = max_t(size_t, fbi->video_mem_size, pxafb_decode_mach_info()
|
/linux-4.1.27/fs/fuse/ |
H A D | cuse.c | 324 fc->max_read = max_t(unsigned, arg->max_read, 4096); cuse_process_init_reply() 325 fc->max_write = max_t(unsigned, arg->max_write, 4096); cuse_process_init_reply()
|
H A D | inode.c | 896 fc->max_write = max_t(unsigned, 4096, fc->max_write); process_init_reply() 1047 fc->max_read = max_t(unsigned, 4096, d.max_read); fuse_fill_super()
|
/linux-4.1.27/kernel/ |
H A D | pid.c | 596 pid_max = min(pid_max_max, max_t(int, pid_max, pidmap_init() 598 pid_max_min = max_t(int, pid_max_min, pidmap_init()
|
/linux-4.1.27/drivers/mtd/ |
H A D | bcm63xxpart.c | 91 cfe_erasesize = max_t(uint32_t, master->erasesize, bcm63xx_parse_cfe_partitions()
|
H A D | mtdcore.c | 1185 size_t min_alloc = max_t(size_t, mtd->writesize, PAGE_SIZE); mtd_kmalloc_up_to()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | profile.c | 107 roundup_pow_of_two(max_t(unsigned, request->num_mtt, mlx4_make_profile()
|
H A D | mr.c | 160 seg_order = max_t(int, order - log_mtts_per_seg, 0); __mlx4_alloc_mtt_range() 226 seg_order = max_t(int, order - log_mtts_per_seg, 0); __mlx4_free_mtt_range()
|
H A D | en_ethtool.c | 1035 rx_size = max_t(u32, rx_size, MLX4_EN_MIN_RX_SIZE); mlx4_en_set_ringparam() 1038 tx_size = max_t(u32, tx_size, MLX4_EN_MIN_TX_SIZE); mlx4_en_set_ringparam()
|
H A D | en_rx.c | 341 num_of_eqs = max_t(int, MIN_RX_RINGS, mlx4_foreach_port()
|
H A D | en_tx.c | 902 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); mlx4_en_xmit()
|
/linux-4.1.27/drivers/net/ethernet/qualcomm/ |
H A D | qca_debug.c | 286 qca->txr.count = max_t(u32, ring->tx_pending, TX_RING_MIN_LEN); qcaspi_set_ringparam()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramgt215.c | 377 max_t(u8,T(18), 1) << 16 | gt215_ram_timing_calc() 393 max_t(u8,T(RCDRD), T(RCDWR)) << 16 | gt215_ram_timing_calc() 394 max_t(u8, (T(CWL) + 6), (T(CL) + 2)) << 8 | gt215_ram_timing_calc() 397 max_t(u8, 1, (6 - T(CL) + T(CWL))) << 8 | gt215_ram_timing_calc()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_discard.c | 188 minlen = BTOBB(max_t(u64, granularity, range.minlen)); xfs_ioc_trim()
|
H A D | xfs_bmap_util.c | 554 max_t(__int64_t, fixlen - bmv->bmv_offset, 0); xfs_getbmap() 678 max_t(__int64_t, 0, bmvend - bmv->bmv_offset); xfs_getbmap() 1207 rounding = max_t(xfs_off_t, 1 << mp->m_sb.sb_blocklog, PAGE_CACHE_SIZE); xfs_free_file_space()
|
H A D | xfs_file.c | 1258 *offset = max_t(loff_t, startoff, b_offset); xfs_find_get_desired_pgoff() 1346 offset = max_t(loff_t, start, xfs_seek_hole_data()
|
H A D | xfs_super.c | 1087 statp->f_files = max_t(typeof(statp->f_files), xfs_fs_statfs() 1093 statp->f_ffree = max_t(__int64_t, ffree, 0); xfs_fs_statfs()
|
/linux-4.1.27/fs/nfs_common/ |
H A D | nfsacl.c | 94 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; nfsacl_encode()
|
/linux-4.1.27/drivers/power/avs/ |
H A D | rockchip-io-domain.c | 117 uV = max_t(unsigned long, pvc_data->old_uV, pvc_data->max_uV); rockchip_iodomain_notify()
|
/linux-4.1.27/arch/sh/kernel/cpu/ |
H A D | init.c | 326 shm_align_mask = max_t(unsigned long, cpu_init()
|
/linux-4.1.27/arch/mips/mm/ |
H A D | c-tx39.c | 411 shm_align_mask = max_t(unsigned long, tx39_cache_init()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | gpmc-onenand.c | 78 dev_t.t_avdp_r = max_t(int, t_avdp, t_cer) * 1000; omap2_onenand_calc_async_timings()
|
/linux-4.1.27/fs/ |
H A D | file_table.c | 325 files_stat.max_files = max_t(unsigned long, n, NR_FILE); files_init()
|
H A D | binfmt_flat.c | 70 #define FLAT_STACK_ALIGN max_t(unsigned long, sizeof(void *), ARCH_SLAB_MINALIGN) 534 extra = max_t(unsigned long, bss_len + stack_len, load_flat_file()
|
/linux-4.1.27/net/batman-adv/ |
H A D | main.c | 280 header_len = max_t(int, header_len, batadv_max_header_len() 282 header_len = max_t(int, header_len, batadv_max_header_len() 284 header_len = max_t(int, header_len, batadv_max_header_len() 288 header_len = max_t(int, header_len, batadv_max_header_len()
|
/linux-4.1.27/net/core/ |
H A D | request_sock.c | 47 nr_table_entries = max_t(u32, nr_table_entries, 8); reqsk_queue_alloc()
|
H A D | flow_dissector.c | 376 poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); __skb_get_poff()
|
H A D | net_namespace.c | 803 max_gen_ptrs = max_t(unsigned int, max_gen_ptrs, *ops->id); register_pernet_operations()
|
/linux-4.1.27/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 704 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); tfrc_invert_loss_event_rate()
|
/linux-4.1.27/net/ipv6/ |
H A D | ip6_input.c | 114 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); ipv6_rcv()
|
/linux-4.1.27/net/mac80211/ |
H A D | vht.c | 357 sta->sta.rx_nss = max_t(u8, 1, ht_rx_nss); ieee80211_sta_set_rx_nss()
|
H A D | rc80211_minstrel.c | 309 retry = max_t(u8, 2, min(mr->stats.retry_count_rtscts, retry)); minstrel_get_retry_count() 311 retry = max_t(u8, 2, min(mr->retry_count_cts, retry)); minstrel_get_retry_count()
|
H A D | tx.c | 1594 tail_need = max_t(int, tail_need, 0); ieee80211_skb_resize() 1631 headroom = max_t(int, 0, headroom); ieee80211_xmit() 2329 head_need = max_t(int, 0, head_need); ieee80211_build_hdr()
|
/linux-4.1.27/net/openvswitch/ |
H A D | vport-gre.c | 166 err = pskb_expand_head(skb, max_t(int, head_delta, 0), gre_tnl_send()
|
/linux-4.1.27/drivers/block/drbd/ |
H A D | drbd_state.c | 87 they where defined. therefore can not use max_t() here. */ max_role() 146 disk_state = max_t(enum drbd_disk_state, disk_state, device->state.disk); conn_highest_disk() 178 disk_state = max_t(enum drbd_disk_state, disk_state, device->state.pdsk); conn_highest_pdsk() 1769 ns_max.conn = max_t(enum drbd_conns, ns.conn, ns_max.conn); conn_set_state() 1770 ns_max.disk = max_t(enum drbd_disk_state, ns.disk, ns_max.disk); conn_set_state() 1771 ns_max.pdsk = max_t(enum drbd_disk_state, ns.pdsk, ns_max.pdsk); conn_set_state()
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | hisi504_nand.c | 565 stat_max = max_t(int, stat_1, stat_2); hisi_nand_read_page_hwecc() 568 max_bitflips = max_t(int, max_bitflips, stat_max); hisi_nand_read_page_hwecc()
|
H A D | sunxi_nand.c | 574 max_bitflips = max_t(unsigned int, max_bitflips, tmp); sunxi_nfc_hw_ecc_read_page() 718 max_bitflips = max_t(unsigned int, max_bitflips, tmp); sunxi_nfc_hw_syndrome_ecc_read_page()
|
H A D | nand_base.c | 1206 max_bitflips = max_t(unsigned int, max_bitflips, stat); nand_read_page_swecc() 1299 max_bitflips = max_t(unsigned int, max_bitflips, stat); nand_read_subpage() 1348 max_bitflips = max_t(unsigned int, max_bitflips, stat); nand_read_page_hwecc() 1400 max_bitflips = max_t(unsigned int, max_bitflips, stat); nand_read_page_hwecc_oob_first() 1446 max_bitflips = max_t(unsigned int, max_bitflips, stat); nand_read_page_syndrome() 1621 max_bitflips = max_t(unsigned int, max_bitflips, ret); nand_do_read_ops() 1676 max_bitflips = max_t(unsigned int, max_bitflips, nand_do_read_ops()
|
H A D | cafe_nand.c | 448 max_bitflips = max_t(unsigned int, max_bitflips, n); cafe_nand_read_page()
|
H A D | atmel_nand.c | 886 max_bitflips = max_t(int, max_bitflips, err_nbr); pmecc_correction() 1387 max_bitflips = max_t(unsigned int, max_bitflips, stat); atmel_nand_read_page()
|
H A D | fsl_ifc_nand.c | 360 nctrl->max_bitflips = max_t(unsigned int, fsl_ifc_run_command()
|
H A D | fsmc_nand.c | 765 max_bitflips = max_t(unsigned int, max_bitflips, stat); fsmc_read_page_hwecc()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ethtool.c | 275 new_tx_count = max_t(u32, ring->tx_pending, IXGBEVF_MIN_TXD); ixgbevf_set_ringparam() 279 new_rx_count = max_t(u32, ring->rx_pending, IXGBEVF_MIN_RXD); ixgbevf_set_ringparam()
|
/linux-4.1.27/tools/vm/ |
H A D | page-types.c | 219 #define max_t(type, x, y) ({ \ macro 654 start = max_t(unsigned long, pg_start[i], index); walk_task()
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
H A D | camif-capture.c | 760 wmin = max_t(u32, pix_lim->min_out_width, crop->width / sc_hrmax); __camif_video_try_format() 762 hmin = max_t(u32, 8, crop->height / sc_vrmax); __camif_video_try_format() 920 rb->count = max_t(u32, CAMIF_REQ_BUFS_MIN, rb->count); s3c_camif_reqbufs() 983 create->count = max_t(u32, 1, create->count); s3c_camif_create_bufs()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-meson-spifc.c | 177 n = max_t(int, parent / speed - 1, 1); meson_spifc_setup_speed()
|
/linux-4.1.27/arch/sh/mm/ |
H A D | init.c | 416 high_memory = max_t(void *, high_memory, mem_init()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | uvc_video.c | 245 * max_t(unsigned int, video->ep->maxburst, 1) uvc_video_alloc_requests()
|
/linux-4.1.27/fs/isofs/ |
H A D | compress.c | 307 struct page *pages[max_t(unsigned, zisofs_pages_per_cblock, 1)]; zisofs_readpage()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | ras.c | 314 len = max_t(int, error_log_length, RTAS_ERROR_LOG_MAX); fwnmi_get_errinfo()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | pci.c | 166 alignto = max_t(resource_size_t, 0x1000, align); pcibios_align_resource()
|
/linux-4.1.27/fs/logfs/ |
H A D | readwrite.c | 29 return max_t(u64, bix, I0_BLOCKS); adjust_bix() 31 return max_t(u64, bix, I1_BLOCKS); adjust_bix() 33 return max_t(u64, bix, I2_BLOCKS); adjust_bix() 35 return max_t(u64, bix, I3_BLOCKS); adjust_bix() 37 return max_t(u64, bix, I4_BLOCKS); adjust_bix()
|
H A D | journal.c | 163 size_t bufsize = max_t(size_t, sb->s_blocksize, super->s_writesize) __read_je_header() 856 size_t bufsize = max_t(size_t, sb->s_blocksize, super->s_writesize) logfs_init_journal()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | fimc-capture.c | 379 sizes[i] = max_t(u32, size, frame->payload[i]); queue_setup() 620 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, fimc_capture_try_format() 621 height, max_t(u32, *height, 32), fimc_capture_try_format()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | rxon.c | 581 bcnint = max_t(int, bcnint, iwlagn_set_pan_params() 600 slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * iwlagn_set_pan_params() 602 slot1 = max_t(int, DEFAULT_BEACON_INTERVAL, slot1); iwlagn_set_pan_params()
|
H A D | rx.c | 881 max_rssi = max_t(u32, rssi_a, rssi_b); iwlagn_calc_rssi() 882 max_rssi = max_t(u32, max_rssi, rssi_c); iwlagn_calc_rssi()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | spectral.c | 237 count = max_t(u8, 1, ar->spectral.config.count); ath10k_spectral_scan_config()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
H A D | mcdi.h | 182 MCDI_DECLARE_BUF(_name, max_t(size_t, _len, 8))
|
H A D | tx.c | 129 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, efx_tx_max_skb_descs() 607 max_t(int, num_tc, 1) *
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
H A D | srq.c | 270 desc_size = max_t(int, 32, desc_size); mlx5_ib_create_srq()
|
H A D | odp.c | 65 start = max_t(u64, ib_umem_start(umem), start); mlx5_ib_invalidate_range()
|
H A D | qp.c | 247 wq_size = max_t(int, wq_size, MLX5_SEND_WQE_BB); set_rq_size() 324 ALIGN(max_t(int, inl_size, size), MLX5_SEND_WQE_BB) < MLX5_SIG_WQE_SIZE) calc_send_wqe() 327 return ALIGN(max_t(int, inl_size, size), MLX5_SEND_WQE_BB); calc_send_wqe()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-magicmouse.c | 231 msc->scroll_accel = max_t(int, magicmouse_emit_touch()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | ar933x_uart.c | 701 up->min_baud = max_t(unsigned int, baud, AR933X_UART_MIN_BAUD); ar933x_uart_probe()
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | generic.c | 260 period = max_t(unsigned long, (10 * HZ / bps), 1); usb_serial_generic_wait_until_sent()
|
/linux-4.1.27/drivers/usb/wusbcore/ |
H A D | wusbhc.c | 232 wusbhc->retry_count = max_t(uint8_t, retry_count, wusb_retry_count_store()
|
/linux-4.1.27/fs/hfsplus/ |
H A D | hfsplus_fs.h | 306 return max_t(unsigned short, bdev_logical_block_size(sb->s_bdev), hfsplus_min_io_size()
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 189 end = max_t(u64, end_offset(err->offset, err->length), extend_ds_error()
|
/linux-4.1.27/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 361 max_t(unsigned, begin, le32_to_cpu(ie_disk.none_free_before)), sm_ll_find_free_block()
|
/linux-4.1.27/fs/btrfs/ |
H A D | inode-map.c | 542 *objectid = max_t(u64, found_key.objectid, btrfs_find_highest_objectid()
|
H A D | free-space-cache.c | 1652 max_bitmaps = max_t(u32, max_bitmaps, 1); recalculate_thresholds() 1744 max_t(u64, *offset, bitmap_info->offset)); search_bitmap() 2785 max_t(u64, offset, entry->offset)); btrfs_bitmap_cluster()
|
/linux-4.1.27/net/ethernet/ |
H A D | eth.c | 135 return max_t(u32, keys.thoff, sizeof(*eth)); eth_get_headlen()
|
/linux-4.1.27/net/sched/ |
H A D | sch_sfb.c | 513 limit = max_t(u32, qdisc_dev(sch)->tx_queue_len, 1); sfb_change()
|
H A D | sch_tbf.c | 271 now + max_t(long, -toks, -ptoks), tbf_dequeue()
|
H A D | sch_netem.c | 496 delay = max_t(psched_tdiff_t, 0, delay); netem_enqueue() 874 q->rate = max_t(u64, q->rate, netem_change()
|
H A D | sch_fq.c | 389 f->credit = max_t(u32, f->credit, q->quantum); fq_enqueue()
|
H A D | sch_generic.c | 964 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); psched_ratecfg_precompute()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
H A D | ispccp2.c | 399 vpclk_div = max_t(unsigned int, DIV_ROUND_UP(l3_ick, pipe->max_rate), ccp2_adjust_bandwidth() 413 vpclk_div = max_t(unsigned int, l3_ick / value, vpclk_div); ccp2_adjust_bandwidth()
|
H A D | ispresizer.c | 803 min_height = max_t(unsigned int, min_height, MIN_OUT_HEIGHT); resizer_calc_ratios() 831 min_width = max_t(unsigned int, min_width, MIN_OUT_WIDTH); resizer_calc_ratios()
|
/linux-4.1.27/drivers/scsi/ufs/ |
H A D | ufs-qcom.c | 754 int gear = max_t(u32, p->gear_rx, p->gear_tx); ufs_qcom_get_speed_mode() 755 int lanes = max_t(u32, p->lane_rx, p->lane_tx); ufs_qcom_get_speed_mode()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | obd_mount.c | 1033 lmd->lmd_recovery_time_soft = max_t(int, lmd_parse() 1037 lmd->lmd_recovery_time_hard = max_t(int, lmd_parse()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pci-mvebu.c | 790 return round_up(start, max_t(resource_size_t, SZ_64K, mvebu_pcie_align_resource() 793 return round_up(start, max_t(resource_size_t, SZ_1M, mvebu_pcie_align_resource()
|
H A D | pcie-designware.c | 390 pp->io.start = max_t(resource_size_t, dw_pcie_host_init()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
H A D | armada_crtc.c | 741 w = max_t(int, dcrtc->crtc.mode.hdisplay - dcrtc->cursor_x, 0); armada_drm_crtc_cursor_update() 754 h = max_t(int, dcrtc->crtc.mode.vdisplay - dcrtc->cursor_y, 0); armada_drm_crtc_cursor_update()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | smpboot.c | 1260 total_cpus = max_t(int, possible, num_processors + disabled_cpus); prefill_possible_map() 1279 possible, max_t(int, possible - num_processors, 0)); prefill_possible_map()
|
/linux-4.1.27/fs/nfs/ |
H A D | direct.c | 479 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); nfs_direct_read_schedule_iovec() 865 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); nfs_direct_write_schedule_iovec()
|
/linux-4.1.27/drivers/media/common/saa7146/ |
H A D | saa7146_hlp.c | 408 numdwords = max_t(int, (cnt_line+1), (cnt_pixel+1))*2; calculate_clipping_registers_rect() 409 numdwords = max_t(int, 4, numdwords); calculate_clipping_registers_rect()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 767 #define max_t(type, x, y) ({ \ macro 782 #define clamp_t(type, val, lo, hi) min_t(type, max_t(type, val, lo), hi)
|
H A D | workqueue.h | 322 max_t(int, WQ_MAX_ACTIVE, num_possible_cpus() * WQ_MAX_UNBOUND_PER_CPU)
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 1009 size = max_t(int, size, mthca_alloc_wqe_buf() 1020 size = max_t(int, size, sizeof (struct mthca_bind_seg)); mthca_alloc_wqe_buf() 1261 qp->sq.max_gs = max_t(int, cap->max_send_sge, mthca_set_qp_size()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | vio.c | 324 max_t(size_t, viodev->cmo.allocated, vio_cmo_entitlement_update() 350 max_t(size_t, viodev->cmo.allocated, vio_cmo_entitlement_update() 417 avail -= max_t(size_t, viodev->cmo.allocated, VIO_CMO_MIN_ENT); vio_cmo_balance()
|
/linux-4.1.27/drivers/mailbox/ |
H A D | omap-mailbox.c | 881 mbox_kfifo_size = max_t(unsigned int, mbox_kfifo_size, omap_mbox_init()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | umem_odp.c | 628 virt = max_t(u64, virt, ib_umem_start(umem)); ib_umem_odp_unmap_dma_pages()
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
H A D | a2065.c | 546 skblen = max_t(unsigned, skb->len, ETH_ZLEN); lance_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
H A D | be.h | 605 u16 num = max_t(u16, be_max_rss(adapter), 1); be_max_qs()
|
/linux-4.1.27/drivers/media/i2c/smiapp/ |
H A D | smiapp-core.c | 880 min = max_t(int, smiapp_update_blanking() 889 min = max_t(int, smiapp_update_blanking() 2253 sel->r.width = max_t(unsigned int, smiapp_set_selection() 2256 sel->r.height = max_t(unsigned int, smiapp_set_selection()
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
H A D | ov5642.c | 865 priv->total_height = max_t(int, rect.height + ov5642_s_crop()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
H A D | iwl-eeprom-parse.c | 667 max_t(s8, data->max_tx_pwr_half_dbm, iwl_init_channel_map()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | zcore.c | 574 *end = max_t(unsigned long, *end, reg->base + reg->size); for_each_memblock()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
H A D | router_proc.c | 52 #define LNET_PROC_VER_BITS max_t(size_t, min_t(size_t, LNET_LOFFT_BITS, 64) / 4, 8)
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | xmit.c | 747 status.signal = max_t(__s8, b43_rx()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-desc.c | 330 order = max_t(int, PAGE_ALLOC_COSTLY_ORDER - 1, 0); xgbe_map_rx_buffer()
|
/linux-4.1.27/drivers/net/ethernet/arc/ |
H A D | emac_main.c | 593 len = max_t(unsigned int, ETH_ZLEN, skb->len); arc_emac_tx()
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_stats.c | 57 mem->size = max_t(u32, sizeof(struct ocrdma_rdma_stats_req), ocrdma_alloc_stats_mem()
|
/linux-4.1.27/drivers/firmware/ |
H A D | edd.c | 736 return max_t(unsigned char, edd_num_devices()
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-spi.c | 386 stxx_spi4_dat.s.max_t = 0xFFFF; /*Minimum interval is 0x20 */ cvmx_spi_calendar_setup_cb()
|
/linux-4.1.27/drivers/tty/ |
H A D | tty_port.c | 459 timeout = max_t(long, timeout, HZ / 10); tty_port_drain_delay()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | ioctl.c | 942 range.minlen = max_t(u64, q->limits.discard_granularity, ocfs2_ioctl()
|
/linux-4.1.27/fs/nilfs2/ |
H A D | the_nilfs.c | 376 return max_t(unsigned long, NILFS_MIN_NRSVSEGS, nilfs_nrsvsegs()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | setup.c | 579 low = max_t(unsigned long, crash_size, sclp_get_hsa_size()); reserve_crashkernel()
|
/linux-4.1.27/fs/ext4/ |
H A D | file.c | 423 *offset = max_t(loff_t, ext4_find_unwritten_pgoff()
|
/linux-4.1.27/net/sctp/ |
H A D | transport.c | 619 t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); sctp_transport_reset()
|
H A D | associola.c | 680 peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); sctp_assoc_add_peer() 1428 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, sctp_peer_needs_update()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 431 pf_max_frame = max_t(int, pf_max_frame, ixgbe_set_vf_lpe() 695 pf_max_frame = max_t(int, pf_max_frame, ixgbe_vf_reset_msg()
|
H A D | ixgbe_lib.c | 658 rss_i = max_t(u16, fcoe_i, rss_i); ixgbe_set_rss_queues()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 1059 sizes.surface_width = max_t(u32, desired_mode->hdisplay + x, sizes.surface_width); drm_fb_helper_single_fb_probe() 1060 sizes.surface_height = max_t(u32, desired_mode->vdisplay + y, sizes.surface_height); drm_fb_helper_single_fb_probe()
|
/linux-4.1.27/block/ |
H A D | cfq-iosched.c | 1346 cfqg->vfraction = max_t(unsigned, vfr, 1); cfq_group_service_tree_add() 1441 slice_used = max_t(unsigned, (jiffies - cfqq->dispatch_start), cfq_cfqq_slice_usage() 2974 max_t(unsigned, cfqg->busy_queues_avg[cfqd->serving_wl_class], choose_wl_class_and_type() 3000 slice = max_t(unsigned, slice, CFQ_MIN_TT); choose_wl_class_and_type() 3216 max_dispatch = max_t(unsigned int, cfqd->cfq_quantum / 2, 1); cfq_may_dispatch()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 1743 size_t pktlen = max_t(size_t, skb->len, ETH_ZLEN); velocity_free_tx_buf() 1747 pktlen = max_t(size_t, pktlen, velocity_free_tx_buf() 2573 max_t(unsigned int, skb->len, ETH_ZLEN) : velocity_xmit()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x.h | 802 #define MIN_RX_SIZE_TPA (max_t(u32, MIN_RX_SIZE_TPA_HW, MIN_RX_AVAIL)) 803 #define MIN_RX_SIZE_NONTPA (max_t(u32, MIN_RX_SIZE_NONTPA_HW,\ 1498 max_t(u64, 1UL << BNX2X_RX_ALIGN_SHIFT, \
|
/linux-4.1.27/drivers/usb/musb/ |
H A D | musb_core.c | 106 #define TA_WAIT_BCON(m) max_t(int, (m)->a_wait_bcon, OTG_TIME_A_WAIT_BCON) 1746 musb->a_wait_bcon = val ? max_t(int, val, OTG_TIME_A_WAIT_BCON) : 0 ; musb_vbus_store()
|
/linux-4.1.27/fs/ubifs/ |
H A D | lpt.c | 119 per_leb_wastage = max_t(int, c->pnode_sz, c->nnode_sz); do_calc_lpt_geom() 1635 i = max_t(int, c->nnode_sz, c->pnode_sz); lpt_init_rd()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ethtool.c | 507 i = max_t(int, interface->num_tx_queues, interface->num_rx_queues); fm10k_set_ringparam()
|
/linux-4.1.27/drivers/misc/mei/ |
H A D | client.c | 1049 length = max_t(size_t, length, me_cl->props.max_msg_length); mei_cl_read_start()
|