Home
last modified time | relevance | path

Searched refs:NUM_ENTRIES (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c23 #define NUM_ENTRIES 4 macro
63 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 …]
/linux/drivers/gpu/nova-core/
H A Dgsp.rs49 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> {}
/linux/drivers/scsi/qla2xxx/
H A Dqla_edif.h99 #define NUM_ENTRIES 256 macro