Searched refs:memfd (Results 1 - 13 of 13) sorted by relevance
| /xsrc/external/mit/libxshmfence/dist/src/ |
| H A D | xshmfence_alloc.c | 50 #include <sys/memfd.h>
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| H A D | nine_memory_helper.c | 45 * To do so, we use the memfd feature of the linux kernel. It enables to allocate a file 73 * Multiple memfd files are used, each of 100MB. Thus memory usage (but not virtual memory usage) increases 77 * One allocation is given one page-aligned region inside a memfd file. 87 #include <linux/memfd.h> 112 /* Use memfd only for 32 bits. Check for memfd_create support */ 139 /* The allocation is stored inside a memfd */ 141 /* The allocation is part of another allocation, which is stored inside a memfd */ 179 struct nine_memfd_allocation memfd; member in union:nine_allocation::__anon52f81843010a 185 /* The fields below are only used for memfd/submemfd allocations */ 204 int num_fd_max; /* Max number of memfd file [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | anon_file.c | 42 #include <linux/memfd.h> 107 * If memfd or SHM_ANON is supported, the filesystem is not touched at all.
|
| /xsrc/external/mit/libpciaccess/dist/src/ |
| H A D | freebsd_pci.c | 276 int pci_rom, memfd; local in function:pci_device_freebsd_read_rom 302 memfd = open( "/dev/mem", O_RDONLY | O_CLOEXEC ); 303 if ( memfd == -1 ) 306 bios = mmap( NULL, dev->rom_size, PROT_READ, 0, memfd, rom_base ); 308 close( memfd ); 315 close( memfd );
|
| H A D | x86_pci.c | 294 int memfd; 300 memfd = open("/dev/mem", flags | O_CLOEXEC); 301 if (memfd == -1) 304 *dest = mmap(NULL, mem_size, prot, MAP_SHARED, memfd, mem_offset); 306 close(memfd); 311 close(memfd);
|
| /xsrc/external/mit/libxshmfence/dist/ |
| H A D | configure.ac | 105 AC_CHECK_HEADERS([sys/memfd.h], [AC_DEFINE([HAVE_MEMFD_H], 1, [Has sys/memfd.h header])])
|
| H A D | configure | 21011 for ac_header in sys/memfd.h 21013 ac_fn_c_check_header_compile "$LINENO" "sys/memfd.h" "ac_cv_header_sys_memfd_h" "$ac_includes_default"
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_gem_stubs.c | 24 #include <linux/memfd.h>
|
| H A D | anv_allocator.c | 28 #include <linux/memfd.h> 72 * general can't grow, but we use a trick: we create a memfd and use ftruncate 203 /* Make sure that we don't go outside the bounds of the memfd */ 531 /* Assert that we don't go outside the bounds of the memfd */
|
| /xsrc/external/mit/MesaLib/dist/src/drm-shim/ |
| H A D | device.c | 32 #include <linux/memfd.h>
|
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 19.1.8.rst | 135 - util: add anon_file.h for all memfd/temp file usage
|
| H A D | 20.2.0.rst | 3067 - drm-shim: don't create a memfd per BO
|
| H A D | 21.1.0.rst | 852 - st/nine: Control the memfd virtual limit
|
Completed in 40 milliseconds