Home
last modified time | relevance | path

Searched refs:map_flags (Results 1 – 9 of 9) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c29 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() argument
34 sizeof(unsigned long long), size, map_flags); in create_map()
97 static void test_lru_sanity0(int map_type, int map_flags) in test_lru_sanity0() argument
104 map_flags); in test_lru_sanity0()
108 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity0()
109 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0()
111 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity0()
185 static void test_lru_sanity1(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity1() argument
193 if (map_flags & BPF_F_NO_COMMON_LRU) in test_lru_sanity1()
203 map_flags); in test_lru_sanity1()
[all …]
Dtest_maps.c27 static int map_flags; variable
35 2, map_flags); in test_hashmap()
121 2, map_flags); in test_hashmap_sizes()
141 sizeof(value[0]), 2, map_flags); in test_hashmap_percpu()
385 MAP_SIZE, map_flags); in test_map_large()
481 MAP_SIZE, map_flags); in test_map_parallel()
545 map_flags = 0; in main()
548 map_flags = BPF_F_NO_PREALLOC; in main()
/external/ltp/testcases/kernel/mem/mtest06/
Dmmap2.c161 int map_flags = MAP_SHARED; in main() local
195 map_flags = MAP_PRIVATE; in main()
253 map_flags = map_flags | MAP_ANONYMOUS; in main()
256 map_flags, fd, 0); in main()
/external/mesa3d/src/gallium/auxiliary/util/
Du_upload_mgr.c47 unsigned map_flags; /* Bitmask of PIPE_TRANSFER_* flags. */ member
76 upload->map_flags = PIPE_TRANSFER_WRITE | in u_upload_create()
81 upload->map_flags = PIPE_TRANSFER_WRITE | in u_upload_create()
168 0, size, upload->map_flags, in u_upload_alloc_buffer()
217 upload->map_flags, in u_upload_alloc()
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c47 unsigned map_flags; member
145 dri_sw_dt->map_flags = flags; in dri_sw_displaytarget_map()
154 if (dri_sw_dt->front_private && (dri_sw_dt->map_flags & PIPE_TRANSFER_WRITE)) { in dri_sw_displaytarget_unmap()
158 dri_sw_dt->map_flags = 0; in dri_sw_displaytarget_unmap()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c65 unsigned map_flags; member
143 unsigned flags = buf->map_flags; in vmw_gmr_buffer_unmap()
/external/kernel-headers/original/uapi/linux/
Dbpf.h147 __u32 map_flags; /* prealloc or not */ member
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddispatch.hpp407 cl_map_flags map_flags,
419 cl_map_flags map_flags,
/external/ImageMagick/MagickCore/
Dopencl-private.h189 cl_mem buffer,cl_bool blocking_map,cl_map_flags map_flags,size_t offset,