Searched refs:NUM_ENTRIES (Results 1 – 3 of 3) sorted by relevance
23 #define NUM_ENTRIES 4 macro63 sizeof(struct udmabuf_create_item) * NUM_ENTRIES); in create_udmabuf_list()69 for (i = 0; i < NUM_ENTRIES; i++) { in create_udmabuf_list()71 list->list[i].offset = i * (memfd_size / NUM_ENTRIES); in create_udmabuf_list()75 list->count = NUM_ENTRIES; in create_udmabuf_list()115 while (i < NUM_ENTRIES) { in compare_chunks()116 off = i * (memfd_size / NUM_ENTRIES); in compare_chunks()129 munmap(addr2, NUM_ENTRIES * NUM_PAGES * getpagesize()); in compare_chunks()225 addr2 = mmap_fd(buf, NUM_PAGES * NUM_ENTRIES * getpagesize()); in main()243 addr2 = mmap_fd(buf, NUM_PAGES * NUM_ENTRIES * getpagesize()); in main()[all …]
49 struct PteArray<const NUM_ENTRIES: usize>([u64; NUM_ENTRIES]);52 unsafe impl<const NUM_ENTRIES: usize> FromBytes for PteArray<NUM_ENTRIES> {}55 unsafe impl<const NUM_ENTRIES: usize> AsBytes for PteArray<NUM_ENTRIES> {}
99 #define NUM_ENTRIES 256 macro