Home
last modified time | relevance | path

Searched refs:max_t (Results 1 – 25 of 26) sorted by relevance

12

/arch/blackfin/kernel/
Dnmi.c122 u32 cnt, max_t, sclk; in nmi_wdt_set_timeout() local
126 max_t = -1 / sclk; in nmi_wdt_set_timeout()
128 if (t > max_t) { in nmi_wdt_set_timeout()
/arch/powerpc/boot/
Dtypes.h40 #define max_t(type, a, b) max(((type) a), ((type) b)) macro
/arch/avr32/mm/
Dinit.c107 high_memory = max_t(void *, high_memory, in mem_init()
/arch/sh/kernel/
Dio_trapped.c236 max_t(unsigned long, cnt, in from_device()
259 dst_addr, max_t(unsigned long, cnt, in to_device()
/arch/mips/include/asm/octeon/
Dcvmx-stxx-defs.h288 uint64_t max_t:16; member
290 uint64_t max_t:16;
/arch/s390/mm/
Dinit.c200 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); in memory_block_size_bytes()
/arch/powerpc/mm/
Dslice.c269 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_bottomup()
312 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown()
392 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_get_unmapped_area()
Dinit_64.c135 align = max_t(unsigned long, align, minalign); in pgtable_cache_add()
/arch/sh/kernel/cpu/
Dinit.c327 shm_align_mask = max_t(unsigned long, in cpu_init()
/arch/mips/mti-malta/
Dmalta-dtshim.c193 physical_memsize = max_t(unsigned long, physical_memsize, memsize); in append_memory()
/arch/powerpc/platforms/pseries/
Dras.c360 len = max_t(int, error_log_length, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
/arch/mips/generic/
Dboard-sead3.c91 phys_memsize = max_t(unsigned long, phys_memsize, memsize); in append_memory()
/arch/mips/mm/
Dc-tx39.c407 shm_align_mask = max_t(unsigned long, in tx39_cache_init()
Dc-r4k.c1913 shm_align_mask = max_t( unsigned long,
/arch/arm/mach-omap2/
Dgpmc-onenand.c78 dev_t.t_avdp_r = max_t(int, t_avdp, t_cer) * 1000; in omap2_onenand_calc_async_timings()
/arch/arm64/mm/
Dinit.c215 memblock_remove(max_t(u64, memstart_addr + linear_region_size, in arm64_memblock_init()
/arch/alpha/kernel/
Dpci.c166 alignto = max_t(resource_size_t, 0x1000, align); in pcibios_align_resource()
/arch/sh/mm/
Dinit.c416 high_memory = max_t(void *, high_memory, in mem_init()
/arch/x86/kernel/
Dsmpboot.c1426 total_cpus = max_t(int, possible, num_processors + disabled_cpus); in prefill_possible_map()
1445 possible, max_t(int, possible - num_processors, 0)); in prefill_possible_map()
/arch/powerpc/kernel/
Dvio.c324 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
350 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
417 avail -= max_t(size_t, viodev->cmo.allocated, VIO_CMO_MIN_ENT); in vio_cmo_balance()
Dprocess.c2018 base = max_t(unsigned long, mm->brk, 1UL << SID_SHIFT_1T); in arch_randomize_brk()
/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c386 stxx_spi4_dat.s.max_t = 0xFFFF; /*Minimum interval is 0x20 */ in cvmx_spi_calendar_setup_cb()
/arch/s390/kernel/
Dsetup.c602 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel()
/arch/powerpc/platforms/powernv/
Dpci-ioda.c2405 table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); in pnv_pci_ioda2_get_table_size()
2565 unsigned order = max_t(unsigned, shift, PAGE_SHIFT) - PAGE_SHIFT; in pnv_pci_ioda2_table_do_alloc_pages()
2612 unsigned table_shift = max_t(unsigned, entries_shift + 3, PAGE_SHIFT); in pnv_pci_ioda2_table_alloc_pages()
2624 level_shift = max_t(unsigned, level_shift, PAGE_SHIFT); in pnv_pci_ioda2_table_alloc_pages()
3722 size = _ALIGN_UP(max_t(unsigned, phb->ioda.total_pe_num, 8) / 8, in pnv_pci_init_ioda_phb()
/arch/arc/kernel/
Dunwind.c1192 endLoc = max_t(unsigned long, UNW_SP(frame), cfa); in arc_unwind()

12