Home
last modified time | relevance | path

Searched defs:page_size (Results 1 – 25 of 263) sorted by relevance

1234567891011

/linux/tools/testing/selftests/mm/
H A Dmseal_test.c205 unsigned long page_size = getpagesize(); in seal_support() local
233 unsigned long page_size = getpagesize(); in test_seal_addseal() local
249 unsigned long page_size = getpagesize(); in test_seal_unmapped_start() local
277 unsigned long page_size = getpagesize(); in test_seal_unmapped_middle() local
309 unsigned long page_size = getpagesize(); in test_seal_unmapped_end() local
338 unsigned long page_size = getpagesize(); in test_seal_multiple_vmas() local
369 unsigned long page_size = getpagesize(); in test_seal_split_start() local
394 unsigned long page_size = getpagesize(); in test_seal_split_end() local
418 unsigned long page_size = getpagesize(); in test_seal_invalid_input() local
453 unsigned long page_size = getpagesize(); in test_seal_zero_length() local
[all …]
H A Dmlock2-tests.c192 unsigned long page_size = getpagesize(); test_mlock_lock() local
229 unsigned long page_size = getpagesize(); unlock_onfault_check() local
243 unsigned long page_size = getpagesize(); test_mlock_onfault() local
270 unsigned long page_size = getpagesize(); test_lock_onfault_of_present() local
293 unsigned long page_size = getpagesize(); test_munlockall0() local
319 unsigned long page_size = getpagesize(); test_munlockall1() local
359 unsigned long page_size = getpagesize(); test_vma_management() local
[all...]
H A Dseal_elf.c46 unsigned long page_size = getpagesize(); in seal_support() local
69 unsigned long page_size = getpagesize(); in test_seal_elf() local
H A Dksm_tests.c348 long page_count, int timeout, size_t page_size) in check_ksm_merge()
381 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge()
422 int timeout, bool use_zero_pages, size_t page_size) in check_ksm_zero_page_merge()
487 bool merge_across_nodes, size_t page_size) in check_ksm_numa_merge()
706 static int ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) in ksm_cow_time()
784 size_t page_size = sysconf(_SC_PAGESIZE); in main() local
/linux/tools/testing/selftests/lsm/
H A Dlsm_list_modules_test.c20 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
33 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
44 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
59 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
74 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
H A Dlsm_get_self_attr_test.c29 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
42 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
58 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
77 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
118 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
142 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
H A Dlsm_set_self_attr_test.c26 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
42 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
58 const long page_size = sysconf(_SC_PAGESIZE); in TEST() local
/linux/tools/testing/selftests/kvm/
H A Dguest_memfd_test.c37 static void test_mmap(int fd, size_t page_size) in test_mmap()
45 static void test_file_size(int fd, size_t page_size, size_t total_size) in test_file_size()
56 static void test_fallocate(int fd, size_t page_size, size_t total_size) in test_fallocate()
93 static void test_invalid_punch_hole(int fd, size_t page_size, size_t total_size) in test_invalid_punch_hole()
125 size_t page_size = getpagesize(); in test_create_guest_memfd_invalid() local
175 size_t page_size; in main() local
/linux/tools/testing/selftests/mincore/
H A Dmincore_selftest.c33 int page_size; in TEST() local
88 int page_size; in TEST() local
144 int page_size; in TEST() local
193 int page_size; in TEST() local
298 int page_size; in TEST() local
/linux/drivers/pci/endpoint/
H A Dpci-epc-mem.c54 size_t page_size; in pci_epc_multi_mem_init() local
129 size_t size, size_t page_size) in pci_epc_mem_init()
249 size_t page_size; in pci_epc_mem_free_addr() local
/linux/drivers/infiniband/hw/mlx5/
H A Dmem.c40 void mlx5_ib_populate_pas(struct ib_umem *umem, size_t page_size, __be64 *pas, in mlx5_ib_populate_pas()
63 unsigned long page_size; in __mlx5_umem_find_best_quantized_pgoff() local
/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixmap.c67 acpi_size page_size; in acpi_os_map_memory() local
112 acpi_size page_size; in acpi_os_unmap_memory() local
/linux/arch/powerpc/mm/book3s64/
H A Dradix_tlb.c432 unsigned long pid, unsigned long page_size, in __tlbiel_va_range()
453 unsigned long pid, unsigned long page_size, in _tlbiel_va_range()
464 unsigned long pid, unsigned long page_size, in __tlbie_va_range()
521 unsigned long page_size; member
546 unsigned long pid, unsigned long page_size, in _tlbie_va_range()
558 unsigned long pid, unsigned long page_size, in _tlbiel_va_range_multicast()
1023 unsigned long page_size = 1UL << page_shift; in __radix__flush_tlb_range() local
1130 static int radix_get_mmu_psize(int page_size) in radix_get_mmu_psize()
1150 unsigned long page_size) in radix__flush_tlb_lpid_page()
1188 int page_size = tlb->page_size; in radix__tlb_flush() local
[all …]
/linux/drivers/misc/
H A Dvmw_balloon.c245 enum vmballoon_page_size_type page_size; member
565 unsigned int vmballoon_page_order(enum vmballoon_page_size_type page_size) in vmballoon_page_order()
577 vmballoon_page_in_frames(enum vmballoon_page_size_type page_size) in vmballoon_page_in_frames()
589 enum vmballoon_page_size_type page_size) in vmballoon_mark_page_offline()
604 enum vmballoon_page_size_type page_size) in vmballoon_mark_page_online()
704 enum vmballoon_page_size_type page_size, in vmballoon_handle_one_result()
773 enum vmballoon_page_size_type page_size, in vmballoon_lock_op()
911 enum vmballoon_page_size_type page_size) in vmballoon_release_page_list()
988 enum vmballoon_page_size_type page_size) in vmballoon_enqueue_page_list()
1031 enum vmballoon_page_size_type page_size, in vmballoon_dequeue_page_list()
/linux/arch/powerpc/mm/nohash/
H A Dbook3e_pgtable.c24 unsigned long page_size, in vmemmap_create_mapping()
49 unsigned long page_size) in vmemmap_remove_mapping()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_region.c36 resource_size_t page_size, in __i915_gem_object_create_region()
109 resource_size_t page_size, in i915_gem_object_create_region()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmmap.c12 long page_size = sysconf(_SC_PAGE_SIZE); in roundup_page() local
21 const long page_size = sysconf(_SC_PAGE_SIZE); in test_mmap() local
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_pages.c56 unsigned int page_size = page_sizes[i]; in get_largest_page_size() local
112 unsigned int page_size = BIT(bit); in get_huge_pages() local
237 unsigned int page_size = get_largest_page_size(i915, rem); in fake_get_huge_pages() local
271 unsigned int page_size; in fake_get_huge_pages_single() local
516 unsigned int page_size = BIT(bit); in igt_mock_memory_region_huge_pages() local
596 unsigned int page_size = BIT(bit); in igt_mock_ppgtt_misaligned_dma() local
794 unsigned int page_size = page_sizes[i]; in igt_ppgtt_huge_fill() local
/linux/arch/riscv/kvm/
H A Dmmu.c60 static int gstage_page_size_to_level(unsigned long page_size, u32 *out_level) in gstage_page_size_to_level()
180 unsigned long page_size, in gstage_map_page()
234 unsigned long next_page_size, page_size; in gstage_op_pte() local
276 unsigned long page_size; in gstage_unmap_range() local
312 unsigned long page_size; in gstage_wp_range() local
/linux/tools/testing/selftests/powerpc/mm/
H A Dstack_expansion_ldst.c157 static void test_one_type(enum access_type type, unsigned long page_size, unsigned long rlim_cur) in test_one_type()
173 unsigned long page_size; in test() local
/linux/arch/powerpc/mm/
H A Dinit_64.c188 unsigned long page_size) in altmap_cross_boundary()
206 unsigned long page_size = 1 << mmu_psize_defs[mmu_vmemmap_psize].shift; in __vmemmap_populate() local
322 unsigned long page_size = 1 << mmu_psize_defs[mmu_vmemmap_psize].shift; in __vmemmap_free() local
/linux/drivers/misc/cxl/
H A Dcxllib.c204 unsigned long *page_size) in get_vma_info()
228 unsigned long page_size; in cxllib_handle_fault() local
/linux/arch/arm/mach-rpc/include/mach/
H A Duncompress.h19 unsigned long page_size; member
116 unsigned int nr_pages = 0, page_size = PAGE_SIZE; in arch_decomp_setup() local
/linux/include/linux/qed/
H A Dqed_chain.h124 u32 page_size; member
153 u32 page_size; member
163 #define ELEMS_PER_PAGE(elem_size, page_size) \ argument
171 #define USABLE_ELEMS_PER_PAGE(elem_size, page_size, mode) \ argument
175 #define QED_CHAIN_PAGE_CNT(elem_cnt, elem_size, page_size, mode) \ argument
/linux/drivers/accel/habanalabs/common/
H A Dmemory.c29 static int set_alloc_page_size(struct hl_device *hdev, struct hl_mem_in *args, u32 *page_size) in set_alloc_page_size()
94 u32 num_curr_pgs, page_size; in alloc_device_memory() local
843 u32 npages, page_size = PAGE_SIZE, in init_phys_pg_pack_from_userptr() local
947 u32 page_size = phys_pg_pack->page_size; in map_phys_pg_pack() local
1011 u32 page_size; in unmap_phys_pg_pack() local
1074 u32 page_size = hdev->asic_prop.pmmu.page_size, in map_device_va() local
1535 u64 page_size, u64 exported_size, u64 offset, in alloc_sgt_from_device_pages()
1727 u64 *pages, npages, page_size, exported_size, offset; in hl_map_dmabuf() local
2520 u64 end, u32 page_size) in va_range_init()

1234567891011