Searched refs:mm_size (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/tests/ |
D | drm_buddy_test.c | 26 u32 mm_size, size, ps, bias_size, bias_start, bias_end, bias_rem; in drm_test_buddy_alloc_range_bias() local 37 mm_size = (SZ_8M-1) & ~(ps-1); /* Multiple roots */ in drm_test_buddy_alloc_range_bias() 39 kunit_info(test, "mm_size=%u, ps=%u\n", mm_size, ps); in drm_test_buddy_alloc_range_bias() 41 KUNIT_ASSERT_FALSE_MSG(test, drm_buddy_init(&mm, mm_size, ps), in drm_test_buddy_alloc_range_bias() 44 count = mm_size / bias_size; in drm_test_buddy_alloc_range_bias() 177 KUNIT_ASSERT_FALSE_MSG(test, drm_buddy_init(&mm, mm_size, ps), in drm_test_buddy_alloc_range_bias() 180 bias_start = round_up(prandom_u32_state(&prng) % (mm_size - ps), ps); in drm_test_buddy_alloc_range_bias() 181 bias_end = round_up(bias_start + prandom_u32_state(&prng) % (mm_size - bias_start), ps); in drm_test_buddy_alloc_range_bias() 207 if (bias_end != mm_size) in drm_test_buddy_alloc_range_bias() 208 bias_end += round_up(prandom_u32_state(&prng) % (mm_size - bias_end), ps); in drm_test_buddy_alloc_range_bias() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-stm32-qspi.c | 106 resource_size_t mm_size; member 512 if (!qspi->mm_size) in stm32_qspi_dirmap_create() 543 if (addr_max < qspi->mm_size && op.addr.buswidth) in stm32_qspi_dirmap_read() 795 qspi->mm_size = resource_size(res); in stm32_qspi_probe() 796 if (qspi->mm_size > STM32_QSPI_MAX_MMAP_SZ) in stm32_qspi_probe()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | efi.h | 247 #define __efi64_argmap_get_memory_map(mm_size, mm, key, size, ver) \ argument 248 ((mm_size), (mm), efi64_zero_upper(key), efi64_zero_upper(size), (ver))
|
/linux-6.12.1/kernel/ |
D | fork.c | 3139 unsigned int mm_size; in mm_cache_init() local 3146 mm_size = sizeof(struct mm_struct) + cpumask_size() + mm_cid_size(); in mm_cache_init() 3149 mm_size, ARCH_MIN_MMSTRUCT_ALIGN, in mm_cache_init()
|