Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_upload_mgr.c48 unsigned map_flags; /* Bitmask of PIPE_MAP_* flags. */ member
80 upload->map_flags = PIPE_MAP_WRITE | in u_upload_create()
86 upload->map_flags = PIPE_MAP_WRITE | in u_upload_create()
120 upload->map_flags &= ~(PIPE_MAP_COHERENT | PIPE_MAP_PERSISTENT); in u_upload_disable_persistent()
121 upload->map_flags |= PIPE_MAP_FLUSH_EXPLICIT; in u_upload_disable_persistent()
241 0, size, upload->map_flags, in u_upload_alloc_buffer()
287 upload->map_flags, in u_upload_alloc()
/third_party/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()
/third_party/ffmpeg/libavutil/
Dhwcontext_videotoolbox.c120 uint32_t map_flags = 0; in vt_map_frame() local
139 map_flags = kCVPixelBufferLock_ReadOnly; in vt_map_frame()
141 err = CVPixelBufferLockBaseAddress(pixbuf, map_flags); in vt_map_frame()
159 (void *)(uintptr_t)map_flags); in vt_map_frame()
166 CVPixelBufferUnlockBaseAddress(pixbuf, map_flags); in vt_map_frame()
Dhwcontext_opencl.c1951 cl_map_flags map_flags; in opencl_map_frame() local
1968 map_flags = CL_MAP_WRITE_INVALIDATE_REGION; in opencl_map_frame()
1970 map_flags = 0; in opencl_map_frame()
1972 map_flags |= CL_MAP_READ; in opencl_map_frame()
1974 map_flags |= CL_MAP_WRITE; in opencl_map_frame()
1997 CL_FALSE, map_flags, origin, region, in opencl_map_frame()
2185 static inline cl_mem_flags opencl_mem_flags_for_mapping(int map_flags) in opencl_mem_flags_for_mapping() argument
2187 if ((map_flags & AV_HWFRAME_MAP_READ) && in opencl_mem_flags_for_mapping()
2188 (map_flags & AV_HWFRAME_MAP_WRITE)) in opencl_mem_flags_for_mapping()
2190 else if (map_flags & AV_HWFRAME_MAP_READ) in opencl_mem_flags_for_mapping()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbasememory.c266 prev_map_flags = mem->map_flags; in _map_data_gl()
274 mem->map_flags = info->flags; in _map_data_gl()
277 g_assert ((((GST_MAP_GL - 1) & info->flags) & mem->map_flags) != 0); in _map_data_gl()
279 "all flags %04x", mem->map_count, info->flags, mem->map_flags); in _map_data_gl()
282 if ((info->flags & GST_MAP_GL) != (mem->map_flags & GST_MAP_GL)) in _map_data_gl()
283 mem->map_flags |= GST_MAP_GL; in _map_data_gl()
304 mem->map_flags = prev_map_flags; in _map_data_gl()
355 mem->map_flags &= ~GST_MAP_GL; in _unmap_data_gl()
358 mem->map_flags = 0; in _unmap_data_gl()
Dgstglbasememory.h113 GstMapFlags map_flags; /* cumulative map flags */ member
/third_party/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c59 unsigned map_flags; member
197 dri_sw_dt->map_flags = flags; in dri_sw_displaytarget_map()
206 if (dri_sw_dt->front_private && (dri_sw_dt->map_flags & PIPE_MAP_WRITE)) { in dri_sw_displaytarget_unmap()
210 dri_sw_dt->map_flags = 0; in dri_sw_displaytarget_unmap()
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dplatform.cpp147 cl_map_flags map_flags, in enqueueSVMMapARM() argument
154 return EnqueueSVMMap(command_queue, blocking_map, map_flags, svm_ptr, size, in enqueueSVMMapARM()
Ddispatch.hpp77 cl_map_flags map_flags,
Dtransfer.cpp1174 cl_map_flags map_flags, in EnqueueSVMMap() argument
1212 cl_map_flags map_flags, in clEnqueueSVMMap() argument
1219 return EnqueueSVMMap(d_q, blocking_map, map_flags, svm_ptr, size, in clEnqueueSVMMap()
/third_party/libbpf/src/
Dlibbpf_probes.c209 opts.map_flags = BPF_F_NO_PREALLOC; in probe_map_create()
229 opts.map_flags = BPF_F_NO_PREALLOC; in probe_map_create()
Dbpf.h49 __u32 map_flags; member
Dlibbpf.c509 unsigned int map_flags; member
1737 def->map_flags = type == LIBBPF_MAP_RODATA || type == LIBBPF_MAP_KCONFIG
1744 def->map_flags |= BPF_F_MMAPABLE;
1747 map->name, map->sec_idx, map->sec_offset, def->map_flags);
2310 if (!get_map_field_int(map_name, btf, m, &map_def->map_flags))
2547 map->def.map_flags = def->map_flags;
2576 pr_debug("map '%s': found map_flags = 0x%x.\n", map->name, def->map_flags);
4695 info->map_flags = val;
4765 map->def.map_flags = info.map_flags;
5012 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_MMAPABLE);
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c65 unsigned map_flags; member
153 enum pb_usage_flags flags = buf->map_flags; in vmw_gmr_buffer_unmap()
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_common.c57 .map_flags = 0 in bpf_map_array_create()
/third_party/opencl-headers/src/
Dopencl_wrapper.cpp555 …Buffer(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map, cl_map_flags map_flags, in clEnqueueMapBuffer() argument
562 …return func(command_queue, buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list,… in clEnqueueMapBuffer()
567 …apImage(cl_command_queue command_queue, cl_mem image, cl_bool blocking_map, cl_map_flags map_flags, in clEnqueueMapImage() argument
575 …return func(command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, image_… in clEnqueueMapImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationCL.cpp1899 MapFlags map_flags, in ValidateEnqueueMapBuffer() argument
1915 ValidateEnqueueBuffer(queue, buffer, map_flags.isSet(CL_MAP_READ), in ValidateEnqueueMapBuffer()
1916 map_flags.isSet(CL_MAP_WRITE | CL_MAP_WRITE_INVALIDATE_REGION))); in ValidateEnqueueMapBuffer()
1921 !ValidateMapFlags(map_flags, queue.getContext().getPlatform())) in ValidateEnqueueMapBuffer()
1932 MapFlags map_flags, in ValidateEnqueueMapImage() argument
1950 ValidateEnqueueImage(queue, image, map_flags.isSet(CL_MAP_READ), in ValidateEnqueueMapImage()
1951 map_flags.isSet(CL_MAP_WRITE | CL_MAP_WRITE_INVALIDATE_REGION))); in ValidateEnqueueMapImage()
1957 if (!ValidateMapFlags(map_flags, queue.getContext().getPlatform())) in ValidateEnqueueMapImage()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dcl_stubs.cpp917 MapFlags map_flags, in EnqueueMapBuffer() argument
926 buffer, blocking_map, map_flags, offset, size, num_events_in_wait_list, event_wait_list, in EnqueueMapBuffer()
933 MapFlags map_flags, in EnqueueMapImage() argument
944 image, blocking_map, map_flags, origin, region, image_row_pitch, image_slice_pitch, in EnqueueMapImage()
Dentry_points_cl_autogen.cpp974 cl_map_flags map_flags, in clEnqueueMapBuffer() argument
988 static_cast<unsigned long long>(map_flags), offset, size, num_events_in_wait_list, in clEnqueueMapBuffer()
991 MapFlags map_flagsPacked = PackParam<MapFlags>(map_flags); in clEnqueueMapBuffer()
1013 cl_map_flags map_flags, in clEnqueueMapImage() argument
1031 static_cast<unsigned long long>(map_flags), (uintptr_t)origin, (uintptr_t)region, in clEnqueueMapImage()
1035 MapFlags map_flagsPacked = PackParam<MapFlags>(map_flags); in clEnqueueMapImage()
Dentry_points_cl_autogen.h250 cl_map_flags map_flags,
260 cl_map_flags map_flags,
/third_party/skia/third_party/externals/angle2/src/libOpenCL/
DlibOpenCL_autogen.cpp482 cl_map_flags map_flags, in clEnqueueMapBuffer() argument
490 return cl::GetDispatch().clEnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, in clEnqueueMapBuffer()
498 cl_map_flags map_flags, in clEnqueueMapImage() argument
509 command_queue, image, blocking_map, map_flags, origin, region, image_row_pitch, in clEnqueueMapImage()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11pluginutils.cpp869 GstMapFlags map_flags; in gst_d3d11_buffer_map() local
878 map_flags = (GstMapFlags) (flags | GST_MAP_D3D11); in gst_d3d11_buffer_map()
883 if (!gst_memory_map (mem, &info[num_mapped], map_flags)) { in gst_d3d11_buffer_map()
/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c178 static const uint8_t map_flags[] = { variable
241 if ((map_flags[ctl_pkt_type(par)] & LMQCP_LUT_FLAG_PAYLOAD) && in lws_mqtt_pconsume()
517 n = map_flags[par->packet_type_flags >> 4]; in _lws_mqtt_rx_parser()
554 n = map_flags[ctl_pkt_type(par)]; in _lws_mqtt_rx_parser()
/third_party/opencl-headers/CL/
Dcl_function_types.h498 cl_map_flags map_flags,
513 cl_map_flags map_flags,
/third_party/ltp/include/lapi/
Dbpf.h181 uint32_t map_flags; /* BPF_MAP_CREATE related member

12