Home
last modified time | relevance | path

Searched refs:thread (Results 1 - 25 of 2392) sorted by relevance

12345678910>>...96

/kernel/linux/linux-6.6/tools/perf/util/
H A Dthread.h35 struct thread *thread; member
38 DECLARE_RC_STRUCT(thread) { in DECLARE_RC_STRUCT()
44 int guest_cpu; /* For QEMU thread */ in DECLARE_RC_STRUCT()
70 struct thread *thread__new(pid_t pid, pid_t tid);
71 int thread__init_maps(struct thread *thread, struct machine *machine);
72 void thread__delete(struct thread *thread);
76 struct thread *thread__ge
79 __thread__zput(struct thread **thread) __thread__zput() argument
93 thread__set_comm(struct thread *thread, const char *comm, u64 timestamp) thread__set_comm() argument
127 thread__maps(struct thread *thread) thread__maps() argument
132 thread__set_maps(struct thread *thread, struct maps *maps) thread__set_maps() argument
137 thread__pid(const struct thread *thread) thread__pid() argument
142 thread__set_pid(struct thread *thread, pid_t pid_) thread__set_pid() argument
147 thread__tid(const struct thread *thread) thread__tid() argument
152 thread__set_tid(struct thread *thread, pid_t tid) thread__set_tid() argument
157 thread__ppid(const struct thread *thread) thread__ppid() argument
162 thread__set_ppid(struct thread *thread, pid_t ppid) thread__set_ppid() argument
167 thread__cpu(const struct thread *thread) thread__cpu() argument
172 thread__set_cpu(struct thread *thread, int cpu) thread__set_cpu() argument
177 thread__guest_cpu(const struct thread *thread) thread__guest_cpu() argument
182 thread__set_guest_cpu(struct thread *thread, int guest_cpu) thread__set_guest_cpu() argument
187 thread__refcnt(struct thread *thread) thread__refcnt() argument
192 thread__comm_set(const struct thread *thread) thread__comm_set() argument
197 thread__set_comm_set(struct thread *thread, bool set) thread__set_comm_set() argument
202 thread__var_comm_len(const struct thread *thread) thread__var_comm_len() argument
207 thread__set_comm_len(struct thread *thread, int len) thread__set_comm_len() argument
212 thread__namespaces_list(struct thread *thread) thread__namespaces_list() argument
217 thread__namespaces_list_empty(const struct thread *thread) thread__namespaces_list_empty() argument
222 thread__namespaces_lock(struct thread *thread) thread__namespaces_lock() argument
227 thread__comm_list(struct thread *thread) thread__comm_list() argument
232 thread__comm_lock(struct thread *thread) thread__comm_lock() argument
237 thread__db_id(const struct thread *thread) thread__db_id() argument
242 thread__set_db_id(struct thread *thread, u64 db_id) thread__set_db_id() argument
247 thread__priv(struct thread *thread) thread__priv() argument
252 thread__set_priv(struct thread *thread, void *p) thread__set_priv() argument
257 thread__ts(struct thread *thread) thread__ts() argument
262 thread__set_ts(struct thread *thread, struct thread_stack *ts) thread__set_ts() argument
267 thread__nsinfo(struct thread *thread) thread__nsinfo() argument
272 thread__srccode_state(struct thread *thread) thread__srccode_state() argument
277 thread__filter(const struct thread *thread) thread__filter() argument
282 thread__set_filter(struct thread *thread, bool filter) thread__set_filter() argument
287 thread__filter_entry_depth(const struct thread *thread) thread__filter_entry_depth() argument
292 thread__set_filter_entry_depth(struct thread *thread, int depth) thread__set_filter_entry_depth() argument
297 thread__lbr_stitch_enable(const struct thread *thread) thread__lbr_stitch_enable() argument
302 thread__set_lbr_stitch_enable(struct thread *thread, bool en) thread__set_lbr_stitch_enable() argument
307 thread__lbr_stitch(struct thread *thread) thread__lbr_stitch() argument
312 thread__set_lbr_stitch(struct thread *thread, struct lbr_stitch *lbrs) thread__set_lbr_stitch() argument
317 thread__is_filtered(struct thread *thread) thread__is_filtered() argument
[all...]
H A Dthread.c10 #include "thread.h"
11 #include "thread-stack.h"
22 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps() argument
24 pid_t pid = thread__pid(thread); in thread__init_maps()
26 if (pid == thread__tid(thread) || pid == -1) { in thread__init_maps()
27 thread__set_maps(thread, maps__new(machine)); in thread__init_maps()
29 struct thread *leader = __machine__findnew_thread(machine, pid, pid); in thread__init_maps()
32 thread__set_maps(thread, maps__get(thread__maps(leader))); in thread__init_maps()
37 return thread__maps(thread) in thread__init_maps()
45 struct thread *thread; thread__new() local
92 thread__delete(struct thread *thread) thread__delete() argument
131 thread__get(struct thread *thread) thread__get() argument
141 thread__put(struct thread *thread) thread__put() argument
149 __thread__namespaces(struct thread *thread) __thread__namespaces() argument
157 thread__namespaces(struct thread *thread) thread__namespaces() argument
168 __thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) __thread__set_namespaces() argument
192 thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) thread__set_namespaces() argument
203 thread__comm(struct thread *thread) thread__comm() argument
211 thread__exec_comm(struct thread *thread) thread__exec_comm() argument
234 ____thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) ____thread__set_comm() argument
259 __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) __thread__set_comm() argument
270 thread__set_comm_from_proc(struct thread *thread) thread__set_comm_from_proc() argument
287 __thread__comm_str(struct thread *thread) __thread__comm_str() argument
297 thread__comm_str(struct thread *thread) thread__comm_str() argument
308 __thread__comm_len(struct thread *thread, const char *comm) __thread__comm_len() argument
318 thread__comm_len(struct thread *thread) thread__comm_len() argument
334 thread__fprintf(struct thread *thread, FILE *fp) thread__fprintf() argument
340 thread__insert_map(struct thread *thread, struct map *map) thread__insert_map() argument
352 __thread__prepare_access(struct thread *thread) __thread__prepare_access() argument
372 thread__prepare_access(struct thread *thread) thread__prepare_access() argument
382 thread__clone_maps(struct thread *thread, struct thread *parent, bool do_maps_clone) thread__clone_maps() argument
398 thread__fork(struct thread *thread, struct thread *parent, u64 timestamp, bool do_maps_clone) thread__fork() argument
414 thread__find_cpumode_addr_location(struct thread *thread, u64 addr, struct addr_location *al) thread__find_cpumode_addr_location() argument
432 thread__main_thread(struct machine *machine, struct thread *thread) thread__main_thread() argument
443 thread__memcpy(struct thread *thread, struct machine *machine, void *buf, u64 ip, int len, bool *is64bit) thread__memcpy() argument
476 thread__free_stitch_list(struct thread *thread) thread__free_stitch_list() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dthread.c10 #include "thread.h"
11 #include "thread-stack.h"
22 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps() argument
24 pid_t pid = thread->pid_; in thread__init_maps()
26 if (pid == thread->tid || pid == -1) { in thread__init_maps()
27 thread->maps = maps__new(machine); in thread__init_maps()
29 struct thread *leader = __machine__findnew_thread(machine, pid, pid); in thread__init_maps()
31 thread->maps = maps__get(leader->maps); in thread__init_maps()
36 return thread in thread__init_maps()
43 struct thread *thread = zalloc(sizeof(*thread)); thread__new() local
81 thread__delete(struct thread *thread) thread__delete() argument
118 thread__get(struct thread *thread) thread__get() argument
125 thread__put(struct thread *thread) thread__put() argument
154 __thread__namespaces(const struct thread *thread) __thread__namespaces() argument
162 thread__namespaces(struct thread *thread) thread__namespaces() argument
173 __thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) __thread__set_namespaces() argument
197 thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) thread__set_namespaces() argument
208 thread__comm(const struct thread *thread) thread__comm() argument
216 thread__exec_comm(const struct thread *thread) thread__exec_comm() argument
239 ____thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) ____thread__set_comm() argument
264 __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) __thread__set_comm() argument
275 thread__set_comm_from_proc(struct thread *thread) thread__set_comm_from_proc() argument
292 __thread__comm_str(const struct thread *thread) __thread__comm_str() argument
302 thread__comm_str(struct thread *thread) thread__comm_str() argument
314 thread__comm_len(struct thread *thread) thread__comm_len() argument
326 thread__fprintf(struct thread *thread, FILE *fp) thread__fprintf() argument
332 thread__insert_map(struct thread *thread, struct map *map) thread__insert_map() argument
346 __thread__prepare_access(struct thread *thread) __thread__prepare_access() argument
366 thread__prepare_access(struct thread *thread) thread__prepare_access() argument
376 thread__clone_maps(struct thread *thread, struct thread *parent, bool do_maps_clone) thread__clone_maps() argument
391 thread__fork(struct thread *thread, struct thread *parent, u64 timestamp, bool do_maps_clone) thread__fork() argument
407 thread__find_cpumode_addr_location(struct thread *thread, u64 addr, struct addr_location *al) thread__find_cpumode_addr_location() argument
425 thread__main_thread(struct machine *machine, struct thread *thread) thread__main_thread() argument
436 thread__memcpy(struct thread *thread, struct machine *machine, void *buf, u64 ip, int len, bool *is64bit) thread__memcpy() argument
458 thread__free_stitch_list(struct thread *thread) thread__free_stitch_list() argument
[all...]
H A Dthread.h32 struct thread { struct
45 bool dead; /* if set thread has exited */
68 struct thread *thread__new(pid_t pid, pid_t tid);
69 int thread__init_maps(struct thread *thread, struct machine *machine);
70 void thread__delete(struct thread *thread);
72 struct thread *thread__get(struct thread *thread);
75 __thread__zput(struct thread **thread) __thread__zput() argument
83 thread__exited(struct thread *thread) thread__exited() argument
94 thread__set_comm(struct thread *thread, const char *comm, u64 timestamp) thread__set_comm() argument
128 thread__priv(struct thread *thread) thread__priv() argument
133 thread__set_priv(struct thread *thread, void *p) thread__set_priv() argument
138 thread__is_filtered(struct thread *thread) thread__is_filtered() argument
[all...]
H A Dthread-stack.h3 * thread-stack.h: Synthesize a thread's stack using call / return events
14 struct thread;
40 * @thread: thread in which call/return occurred
55 struct thread *thread; member
83 int thread_stack__event(struct thread *thread, int cpu, u32 flags, u64 from_ip,
86 void thread_stack__set_trace_nr(struct thread *threa
[all...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dasm-offsets.c16 OFFSET(TASK_THREAD_RA, task_struct, thread.ra); in asm_offsets()
17 OFFSET(TASK_THREAD_SP, task_struct, thread.sp); in asm_offsets()
18 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]); in asm_offsets()
19 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]); in asm_offsets()
20 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]); in asm_offsets()
21 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]); in asm_offsets()
22 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]); in asm_offsets()
23 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]); in asm_offsets()
24 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]); in asm_offsets()
25 OFFSET(TASK_THREAD_S7, task_struct, thread in asm_offsets()
[all...]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Degl_ext_stubs.cpp22 EGLint ClientWaitSyncKHR(Thread *thread, in ClientWaitSyncKHR() argument
28 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", in ClientWaitSyncKHR()
30 gl::Context *currentContext = thread->getContext(); in ClientWaitSyncKHR()
33 thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), in ClientWaitSyncKHR()
36 thread->setSuccess(); in ClientWaitSyncKHR()
40 EGLImageKHR CreateImageKHR(Thread *thread, in CreateImageKHR() argument
47 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImageKHR", in CreateImageKHR()
50 ANGLE_EGL_TRY_RETURN(thread, display->createImage(context, target, buffer, attributes, &image), in CreateImageKHR()
53 thread->setSuccess(); in CreateImageKHR()
57 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, cons argument
68 CreatePlatformPixmapSurfaceEXT(Thread *thread, Display *display, Config *configPacked, void *native_pixmap, const AttributeMap &attributes) CreatePlatformPixmapSurfaceEXT() argument
81 CreatePlatformWindowSurfaceEXT(Thread *thread, Display *display, Config *configPacked, void *native_window, const AttributeMap &attributes) CreatePlatformWindowSurfaceEXT() argument
94 CreateStreamKHR(Thread *thread, Display *display, const AttributeMap &attributes) CreateStreamKHR() argument
106 CreateSyncKHR(Thread *thread, Display *display, EGLenum type, const AttributeMap &attributes) CreateSyncKHR() argument
122 DebugMessageControlKHR(Thread *thread, EGLDEBUGPROCKHR callback, const AttributeMap &attributes) DebugMessageControlKHR() argument
133 DestroyImageKHR(Thread *thread, Display *display, Image *img) DestroyImageKHR() argument
143 DestroyStreamKHR(Thread *thread, Display *display, Stream *streamObject) DestroyStreamKHR() argument
153 DestroySyncKHR(Thread *thread, Display *display, Sync *syncObject) DestroySyncKHR() argument
163 DupNativeFenceFDANDROID(Thread *thread, Display *display, Sync *syncObject) DupNativeFenceFDANDROID() argument
176 GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer) GetNativeClientBufferANDROID() argument
182 GetPlatformDisplayEXT(Thread *thread, EGLenum platform, void *native_display, const AttributeMap &attribMap) GetPlatformDisplayEXT() argument
204 GetSyncAttribKHR(Thread *thread, Display *display, Sync *syncObject, EGLint attribute, EGLint *value) GetSyncAttribKHR() argument
219 LabelObjectKHR(Thread *thread, Display *display, ObjectType objectTypePacked, EGLObjectKHR object, EGLLabelKHR label) LabelObjectKHR() argument
234 PostSubBufferNV(Thread *thread, Display *display, Surface *eglSurface, EGLint x, EGLint y, EGLint width, EGLint height) PostSubBufferNV() argument
255 PresentationTimeANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLnsecsANDROID time) PresentationTimeANDROID() argument
269 GetCompositorTimingSupportedANDROID(Thread *thread, Display *display, Surface *eglSurface, CompositorTiming nameInternal) GetCompositorTimingSupportedANDROID() argument
278 GetCompositorTimingANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values) GetCompositorTimingANDROID() argument
295 GetNextFrameIdANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLuint64KHR *frameId) GetNextFrameIdANDROID() argument
309 GetFrameTimestampSupportedANDROID(Thread *thread, Display *display, Surface *eglSurface, Timestamp timestampInternal) GetFrameTimestampSupportedANDROID() argument
320 GetFrameTimestampsANDROID(Thread *thread, Display *display, Surface *eglSurface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values) GetFrameTimestampsANDROID() argument
338 QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value) QueryDebugKHR() argument
362 QueryDeviceAttribEXT(Thread *thread, Device *dev, EGLint attribute, EGLAttrib *value) QueryDeviceAttribEXT() argument
371 QueryDeviceStringEXT(Thread *thread, Device *dev, EGLint name) QueryDeviceStringEXT() argument
391 QueryDisplayAttribEXT(Thread *thread, Display *display, EGLint attribute, EGLAttrib *value) QueryDisplayAttribEXT() argument
403 QueryStreamKHR(Thread *thread, Display *display, Stream *streamObject, EGLenum attribute, EGLint *value) QueryStreamKHR() argument
430 QueryStreamu64KHR(Thread *thread, Display *display, Stream *streamObject, EGLenum attribute, EGLuint64KHR *value) QueryStreamu64KHR() argument
454 QuerySurfacePointerANGLE(Thread *thread, Display *display, Surface *eglSurface, EGLint attribute, void **value) QuerySurfacePointerANGLE() argument
474 SetBlobCacheFuncsANDROID(Thread *thread, Display *display, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get) SetBlobCacheFuncsANDROID() argument
485 SignalSyncKHR(Thread *thread, Display *display, Sync *syncObject, EGLenum mode) SignalSyncKHR() argument
495 StreamAttribKHR(Thread *thread, Display *display, Stream *streamObject, EGLenum attribute, EGLint value) StreamAttribKHR() argument
519 StreamConsumerAcquireKHR(Thread *thread, Display *display, Stream *streamObject) StreamConsumerAcquireKHR() argument
530 StreamConsumerGLTextureExternalKHR(Thread *thread, Display *display, Stream *streamObject) StreamConsumerGLTextureExternalKHR() argument
544 StreamConsumerGLTextureExternalAttribsNV(Thread *thread, Display *display, Stream *streamObject, const AttributeMap &attributes) StreamConsumerGLTextureExternalAttribsNV() argument
561 StreamConsumerReleaseKHR(Thread *thread, Display *display, Stream *streamObject) StreamConsumerReleaseKHR() argument
574 SwapBuffersWithDamageKHR(Thread *thread, Display *display, Surface *eglSurface, const EGLint *rects, EGLint n_rects) SwapBuffersWithDamageKHR() argument
590 WaitSyncKHR(Thread *thread, Display *display, Sync *syncObject, EGLint flags) WaitSyncKHR() argument
602 CreateDeviceANGLE(Thread *thread, EGLint device_type, void *native_device, const EGLAttrib *attrib_list) CreateDeviceANGLE() argument
615 ReleaseDeviceANGLE(Thread *thread, Device *dev) ReleaseDeviceANGLE() argument
623 CreateStreamProducerD3DTextureANGLE(Thread *thread, Display *display, Stream *streamObject, const AttributeMap &attributes) CreateStreamProducerD3DTextureANGLE() argument
638 StreamPostD3DTextureANGLE(Thread *thread, Display *display, Stream *streamObject, void *texture, const AttributeMap &attributes) StreamPostD3DTextureANGLE() argument
653 GetMscRateANGLE(Thread *thread, Display *display, Surface *eglSurface, EGLint *numerator, EGLint *denominator) GetMscRateANGLE() argument
668 GetSyncValuesCHROMIUM(Thread *thread, Display *display, Surface *eglSurface, EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) GetSyncValuesCHROMIUM() argument
685 ProgramCacheGetAttribANGLE(Thread *thread, Display *display, EGLenum attrib) ProgramCacheGetAttribANGLE() argument
693 ProgramCacheQueryANGLE(Thread *thread, Display *display, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysize) ProgramCacheQueryANGLE() argument
709 ProgramCachePopulateANGLE(Thread *thread, Display *display, const void *key, EGLint keysize, const void *binary, EGLint binarysize) ProgramCachePopulateANGLE() argument
724 ProgramCacheResizeANGLE(Thread *thread, Display *display, EGLint limit, EGLint mode) ProgramCacheResizeANGLE() argument
732 QueryStringiANGLE(Thread *thread, Display *display, EGLint name, EGLint index) QueryStringiANGLE() argument
740 SwapBuffersWithFrameTokenANGLE(Thread *thread, Display *display, Surface *eglSurface, EGLFrameTokenANGLE frametoken) SwapBuffersWithFrameTokenANGLE() argument
755 ReleaseHighPowerGPUANGLE(Thread *thread, Display *display, gl::Context *context) ReleaseHighPowerGPUANGLE() argument
765 ReacquireHighPowerGPUANGLE(Thread *thread, Display *display, gl::Context *context) ReacquireHighPowerGPUANGLE() argument
775 HandleGPUSwitchANGLE(Thread *thread, Display *display) HandleGPUSwitchANGLE() argument
785 QueryDisplayAttribANGLE(Thread *thread, Display *display, EGLint attribute, EGLAttrib *value) QueryDisplayAttribANGLE() argument
797 LockSurfaceKHR(Thread *thread, egl::Display *display, Surface *surface, const AttributeMap &attributes) LockSurfaceKHR() argument
810 UnlockSurfaceKHR(Thread *thread, egl::Display *display, Surface *surface) UnlockSurfaceKHR() argument
820 QuerySurface64KHR(Thread *thread, egl::Display *display, Surface *surface, EGLint attribute, EGLAttribKHR *value) QuerySurface64KHR() argument
835 ExportVkImageANGLE(Thread *thread, egl::Display *display, Image *image, void *vk_image, void *vk_image_create_info) ExportVkImageANGLE() argument
[all...]
H A Degl_stubs.cpp50 EGLBoolean BindAPI(Thread *thread, EGLenum api) in BindAPI() argument
52 thread->setAPI(api); in BindAPI()
54 thread->setSuccess(); in BindAPI()
58 EGLBoolean BindTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) in BindTexImage() argument
60 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglBindTexImage", in BindTexImage()
63 gl::Context *context = thread->getContext(); in BindTexImage()
69 ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), in BindTexImage()
73 thread->setSuccess(); in BindTexImage()
77 EGLBoolean ChooseConfig(Thread *thread, in ChooseConfig() argument
86 thread in ChooseConfig()
90 ClientWaitSync(Thread *thread, Display *display, Sync *syncObject, EGLint flags, EGLTime timeout) ClientWaitSync() argument
108 CopyBuffers(Thread *thread, Display *display, Surface *eglSurface, EGLNativePixmapType target) CopyBuffers() argument
121 CreateContext(Thread *thread, Display *display, Config *configuration, gl::Context *sharedGLContext, const AttributeMap &attributes) CreateContext() argument
139 CreateImage(Thread *thread, Display *display, gl::Context *context, EGLenum target, EGLClientBuffer buffer, const AttributeMap &attributes) CreateImage() argument
161 CreatePbufferFromClientBuffer(Thread *thread, Display *display, EGLenum buftype, EGLClientBuffer buffer, Config *configuration, const AttributeMap &attributes) CreatePbufferFromClientBuffer() argument
180 CreatePbufferSurface(Thread *thread, Display *display, Config *configuration, const AttributeMap &attributes) CreatePbufferSurface() argument
194 CreatePixmapSurface(Thread *thread, Display *display, Config *configuration, EGLNativePixmapType pixmap, const AttributeMap &attributes) CreatePixmapSurface() argument
211 CreatePlatformPixmapSurface(Thread *thread, Display *display, Config *configuration, void *pixmap, const AttributeMap &attributes) CreatePlatformPixmapSurface() argument
229 CreatePlatformWindowSurface(Thread *thread, Display *display, Config *configuration, void *win, const AttributeMap &attributes) CreatePlatformWindowSurface() argument
246 CreateSync(Thread *thread, Display *display, EGLenum type, const AttributeMap &attributes) CreateSync() argument
260 CreateWindowSurface(Thread *thread, Display *display, Config *configuration, EGLNativeWindowType win, const AttributeMap &attributes) CreateWindowSurface() argument
277 DestroyContext(Thread *thread, Display *display, gl::Context *context) DestroyContext() argument
290 DestroyImage(Thread *thread, Display *display, Image *img) DestroyImage() argument
300 DestroySurface(Thread *thread, Display *display, Surface *eglSurface) DestroySurface() argument
311 DestroySync(Thread *thread, Display *display, Sync *syncObject) DestroySync() argument
321 GetConfigAttrib(Thread *thread, Display *display, Config *configuration, EGLint attribute, EGLint *value) GetConfigAttrib() argument
333 GetConfigs(Thread *thread, Display *display, EGLConfig *configs, EGLint config_size, EGLint *num_config) GetConfigs() argument
345 GetCurrentContext(Thread *thread) GetCurrentContext() argument
353 GetCurrentDisplay(Thread *thread) GetCurrentDisplay() argument
363 GetCurrentSurface(Thread *thread, EGLint readdraw) GetCurrentSurface() argument
382 GetDisplay(Thread *thread, EGLNativeDisplayType display_id) GetDisplay() argument
387 GetError(Thread *thread) GetError() argument
394 GetPlatformDisplay(Thread *thread, EGLenum platform, void *native_display, const AttributeMap &attribMap) GetPlatformDisplay() argument
416 GetProcAddress(Thread *thread, const char *procname) GetProcAddress() argument
431 GetSyncAttrib(Thread *thread, Display *display, Sync *syncObject, EGLint attribute, EGLAttrib *value) GetSyncAttrib() argument
446 Initialize(Thread *thread, Display *display, EGLint *major, EGLint *minor) Initialize() argument
460 MakeCurrent(Thread *thread, Display *display, Surface *drawSurface, Surface *readSurface, gl::Context *context) MakeCurrent() argument
487 QueryAPI(Thread *thread) QueryAPI() argument
495 QueryContext(Thread *thread, Display *display, gl::Context *context, EGLint attribute, EGLint *value) QueryContext() argument
509 QueryString(Thread *thread, Display *display, EGLint name) QueryString() argument
552 QuerySurface(Thread *thread, Display *display, Surface *eglSurface, EGLint attribute, EGLint *value) QuerySurface() argument
568 ReleaseTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) ReleaseTexImage() argument
585 ReleaseThread(Thread *thread) ReleaseThread() argument
615 SurfaceAttrib(Thread *thread, Display *display, Surface *eglSurface, EGLint attribute, EGLint value) SurfaceAttrib() argument
631 SwapBuffers(Thread *thread, Display *display, Surface *eglSurface) SwapBuffers() argument
643 SwapInterval(Thread *thread, Display *display, EGLint interval) SwapInterval() argument
659 Terminate(Thread *thread, Display *display) Terminate() argument
673 WaitClient(Thread *thread) WaitClient() argument
695 WaitGL(Thread *thread) WaitGL() argument
717 WaitNative(Thread *thread, EGLint engine) WaitNative() argument
736 WaitSync(Thread *thread, Display *display, Sync *syncObject, EGLint flags) WaitSync() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dasmmacro-32.h16 .macro fpu_save_single thread tmp=t0
20 s.d $f0, THREAD_FPR0(\thread)
21 s.d $f2, THREAD_FPR2(\thread)
22 s.d $f4, THREAD_FPR4(\thread)
23 s.d $f6, THREAD_FPR6(\thread)
24 s.d $f8, THREAD_FPR8(\thread)
25 s.d $f10, THREAD_FPR10(\thread)
26 s.d $f12, THREAD_FPR12(\thread)
27 s.d $f14, THREAD_FPR14(\thread)
28 s.d $f16, THREAD_FPR16(\thread)
[all...]
H A Dasmmacro-64.h17 .macro cpu_save_nonscratch thread
18 LONG_S s0, THREAD_REG16(\thread)
19 LONG_S s1, THREAD_REG17(\thread)
20 LONG_S s2, THREAD_REG18(\thread)
21 LONG_S s3, THREAD_REG19(\thread)
22 LONG_S s4, THREAD_REG20(\thread)
23 LONG_S s5, THREAD_REG21(\thread)
24 LONG_S s6, THREAD_REG22(\thread)
25 LONG_S s7, THREAD_REG23(\thread)
26 LONG_S sp, THREAD_REG29(\thread)
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dasmmacro-32.h16 .macro fpu_save_single thread tmp=t0
20 s.d $f0, THREAD_FPR0(\thread)
21 s.d $f2, THREAD_FPR2(\thread)
22 s.d $f4, THREAD_FPR4(\thread)
23 s.d $f6, THREAD_FPR6(\thread)
24 s.d $f8, THREAD_FPR8(\thread)
25 s.d $f10, THREAD_FPR10(\thread)
26 s.d $f12, THREAD_FPR12(\thread)
27 s.d $f14, THREAD_FPR14(\thread)
28 s.d $f16, THREAD_FPR16(\thread)
[all...]
H A Dasmmacro-64.h17 .macro cpu_save_nonscratch thread
18 LONG_S s0, THREAD_REG16(\thread)
19 LONG_S s1, THREAD_REG17(\thread)
20 LONG_S s2, THREAD_REG18(\thread)
21 LONG_S s3, THREAD_REG19(\thread)
22 LONG_S s4, THREAD_REG20(\thread)
23 LONG_S s5, THREAD_REG21(\thread)
24 LONG_S s6, THREAD_REG22(\thread)
25 LONG_S s7, THREAD_REG23(\thread)
26 LONG_S sp, THREAD_REG29(\thread)
[all...]
/drivers/hdf_core/framework/utils/src/
H A Dhdf_thread_ex.c13 void HdfThreadStart(struct HdfThread *thread) in HdfThreadStart() argument
15 if (thread == NULL) { in HdfThreadStart()
23 OsalThreadStart(&thread->adapter, &param); in HdfThreadStart()
24 thread->status = true; in HdfThreadStart()
27 void HdfThreadStop(struct HdfThread *thread) in HdfThreadStop() argument
29 if (thread == NULL) { in HdfThreadStop()
32 OsalThreadDestroy(&thread->adapter); in HdfThreadStop()
33 thread->status = false; in HdfThreadStop()
36 bool HdfThreadIsRunning(struct HdfThread *thread) in HdfThreadIsRunning() argument
38 if (thread in HdfThreadIsRunning()
46 struct HdfThread *thread = (struct HdfThread *)argv; HdfThreadMain() local
57 HdfThreadConstruct(struct HdfThread *thread) HdfThreadConstruct() argument
69 HdfThreadDestruct(struct HdfThread *thread) HdfThreadDestruct() argument
78 struct HdfThread *thread = (struct HdfThread *)OsalMemCalloc(sizeof(struct HdfThread)); HdfThreadNewInstance() local
85 HdfThreadFreeInstance(struct HdfThread *thread) HdfThreadFreeInstance() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/
H A Dptrace-adv.c10 struct pt_regs *regs = task->thread.regs; in user_enable_single_step()
13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step()
14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()
22 struct pt_regs *regs = task->thread.regs; in user_enable_block_step()
25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step()
26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()
34 struct pt_regs *regs = task->thread.regs; in user_disable_single_step()
43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step()
47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step()
48 task->thread in user_disable_single_step()
88 struct thread_struct *thread = &task->thread; ptrace_set_debugreg() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
H A Dptrace-adv.c10 struct pt_regs *regs = task->thread.regs; in user_enable_single_step()
13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step()
14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()
22 struct pt_regs *regs = task->thread.regs; in user_enable_block_step()
25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step()
26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()
34 struct pt_regs *regs = task->thread.regs; in user_disable_single_step()
43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step()
47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step()
48 task->thread in user_disable_single_step()
87 struct thread_struct *thread = &task->thread; ptrace_set_debugreg() local
[all...]
/drivers/hdf_core/framework/core/adapter/syscall/src/
H A Dhdf_syscall_adapter.c72 static struct HdfSyscallAdapter *HdfFdToAdapterLocked(const struct HdfDevListenerThread *thread, int32_t fd) in HdfFdToAdapterLocked() argument
74 if (thread->adapter != NULL && thread->adapter->fd == fd) { in HdfFdToAdapterLocked()
75 return thread->adapter; in HdfFdToAdapterLocked()
78 if (thread->adapterListPtr == NULL) { in HdfFdToAdapterLocked()
83 DLIST_FOR_EACH_ENTRY(adapter, thread->adapterListPtr, struct HdfSyscallAdapter, listNode) { in HdfFdToAdapterLocked()
93 const struct HdfDevListenerThread *thread, struct HdfSyscallAdapter *adapter, const struct HdfWriteReadBuf *bwr) in HdfDevEventDispatchLocked()
110 if (thread->listenerListPtr != NULL) { in HdfDevEventDispatchLocked()
111 DLIST_FOR_EACH_ENTRY(listener, thread->listenerListPtr, struct HdfDevEventlistener, listNode) { in HdfDevEventDispatchLocked()
137 static int32_t HdfDevEventReadAndDispatch(struct HdfDevListenerThread *thread, int32_ argument
92 HdfDevEventDispatchLocked( const struct HdfDevListenerThread *thread, struct HdfSyscallAdapter *adapter, const struct HdfWriteReadBuf *bwr) HdfDevEventDispatchLocked() argument
190 AssignPfds(struct HdfDevListenerThread *thread, struct pollfd **pfds, uint16_t *pfdSize) AssignPfds() argument
242 struct HdfDevListenerThread *thread = (struct HdfDevListenerThread *)para; HdfDevEventListenTask() local
332 HdfDevListenerThreadDoInit(struct HdfDevListenerThread *thread) HdfDevListenerThreadDoInit() argument
355 HdfDevListenerThreadInit(struct HdfDevListenerThread *thread) HdfDevListenerThreadInit() argument
376 GetValidPfdIndexLocked(struct HdfDevListenerThread *thread, struct HdfSyscallAdapter *adapter) GetValidPfdIndexLocked() argument
413 HdfAddAdapterToPfds(struct HdfDevListenerThread *thread, struct HdfSyscallAdapter *adapter) HdfAddAdapterToPfds() argument
427 HdfListenThreadInitPollFds(struct HdfDevListenerThread *thread) HdfListenThreadInitPollFds() argument
445 HdfDevListenerThreadStart(struct HdfDevListenerThread *thread) HdfDevListenerThreadStart() argument
492 struct HdfDevListenerThread *thread = OsalMemCalloc(sizeof(struct HdfDevListenerThread)); HdfDevListenerThreadObtain() local
533 HdfListenThreadPollAdd(struct HdfDevListenerThread *thread, struct HdfSyscallAdapter *adapter) HdfListenThreadPollAdd() argument
590 HdfListenThreadPollDel(struct HdfDevListenerThread *thread, struct HdfSyscallAdapter *adapter) HdfListenThreadPollDel() argument
618 HdfDevListenerThreadFree(struct HdfDevListenerThread *thread) HdfDevListenerThreadFree() argument
626 HdfDevListenerThreadDestroy(struct HdfDevListenerThread *thread) HdfDevListenerThreadDestroy() argument
1022 GetListenerCount(struct HdfDevListenerThread *thread) GetListenerCount() argument
[all...]
/kernel/linux/linux-5.10/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c65 struct cmdq_thread *thread; member
75 struct cmdq_thread *thread; member
94 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend() argument
98 writel(CMDQ_THR_SUSPEND, thread->base + CMDQ_THR_SUSPEND_TASK); in cmdq_thread_suspend()
101 if (!(readl(thread->base + CMDQ_THR_ENABLE_TASK) & CMDQ_THR_ENABLED)) in cmdq_thread_suspend()
104 if (readl_poll_timeout_atomic(thread->base + CMDQ_THR_CURR_STATUS, in cmdq_thread_suspend()
106 dev_err(cmdq->mbox.dev, "suspend GCE thread 0x%x failed\n", in cmdq_thread_suspend()
107 (u32)(thread->base - cmdq->base)); in cmdq_thread_suspend()
114 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume() argument
116 writel(CMDQ_THR_RESUME, thread in cmdq_thread_resume()
130 cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) cmdq_thread_reset() argument
146 cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) cmdq_thread_disable() argument
153 cmdq_thread_invalidate_fetched_data(struct cmdq_thread *thread) cmdq_thread_invalidate_fetched_data() argument
162 struct cmdq_thread *thread = task->thread; cmdq_task_insert_into_thread() local
179 cmdq_thread_is_in_wfe(struct cmdq_thread *thread) cmdq_thread_is_in_wfe() argument
199 struct cmdq_thread *thread = task->thread; cmdq_task_handle_error() local
213 cmdq_thread_irq_handler(struct cmdq *cmdq, struct cmdq_thread *thread) cmdq_thread_irq_handler() argument
277 struct cmdq_thread *thread = &cmdq->thread[bit]; cmdq_irq_handler() local
290 struct cmdq_thread *thread; cmdq_suspend() local
333 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; cmdq_mbox_send_data() local
401 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; cmdq_mbox_shutdown() local
437 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; cmdq_mbox_flush() local
497 struct cmdq_thread *thread; cmdq_xlate() local
[all...]
/third_party/vk-gl-cts/framework/delibs/dethread/unix/
H A DdeThreadUnix.c21 * \brief Unix implementation of thread management.
53 pthread_t thread; member
62 Thread* thread = (Thread*)entryPtr; in startThread() local
63 deThreadFunc func = thread->func; in startThread()
64 void* arg = thread->arg; in startThread()
66 /* Start actual thread. */ in startThread()
75 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() local
77 if (!thread) in deThread_create()
80 thread->func = func; in deThread_create()
81 thread in deThread_create()
114 Thread* thread = (Thread*)threadptr; deThread_join() local
132 Thread* thread = (Thread*)threadptr; deThread_destroy() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Ddwarf-unwind.c16 #include "thread.h"
52 int test_dwarf_unwind__thread(struct thread *thread);
54 int test_dwarf_unwind__krava_3(struct thread *thread);
55 int test_dwarf_unwind__krava_2(struct thread *thread);
56 int test_dwarf_unwind__krava_1(struct thread *thread);
98 noinline int test_dwarf_unwind__thread(struct thread *threa argument
132 struct thread *thread = *(struct thread **)p1; test_dwarf_unwind__compare() local
148 test_dwarf_unwind__krava_3(struct thread *thread) test_dwarf_unwind__krava_3() argument
167 test_dwarf_unwind__krava_2(struct thread *thread) test_dwarf_unwind__krava_2() argument
172 test_dwarf_unwind__krava_1(struct thread *thread) test_dwarf_unwind__krava_1() argument
180 struct thread *thread; test__dwarf_unwind() local
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Ddwarf-unwind.c16 #include "thread.h"
65 int test_dwarf_unwind__thread(struct thread *thread);
67 int test_dwarf_unwind__krava_3(struct thread *thread);
68 int test_dwarf_unwind__krava_2(struct thread *thread);
69 int test_dwarf_unwind__krava_1(struct thread *thread);
112 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *threa argument
146 struct thread *thread = *(struct thread **)p1; test_dwarf_unwind__compare() local
162 test_dwarf_unwind__krava_3(struct thread *thread) test_dwarf_unwind__krava_3() argument
181 test_dwarf_unwind__krava_2(struct thread *thread) test_dwarf_unwind__krava_2() argument
190 test_dwarf_unwind__krava_1(struct thread *thread) test_dwarf_unwind__krava_1() argument
203 struct thread *thread; test__dwarf_unwind() local
[all...]
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dasmmacro-64.h15 .macro cpu_save_nonscratch thread
16 stptr.d s0, \thread, THREAD_REG23 variable
17 stptr.d s1, \thread, THREAD_REG24 variable
18 stptr.d s2, \thread, THREAD_REG25 variable
19 stptr.d s3, \thread, THREAD_REG26 variable
20 stptr.d s4, \thread, THREAD_REG27 variable
21 stptr.d s5, \thread, THREAD_REG28 variable
22 stptr.d s6, \thread, THREAD_REG29 variable
23 stptr.d s7, \thread, THREAD_REG30 variable
24 stptr.d s8, \thread, THREAD_REG3 variable
25 stptr.d sp, \\thread, THREAD_REG03 global() variable
26 stptr.d fp, \\thread, THREAD_REG22 global() variable
30 ldptr.d s0, \\thread, THREAD_REG23 global() variable
31 ldptr.d s1, \\thread, THREAD_REG24 global() variable
32 ldptr.d s2, \\thread, THREAD_REG25 global() variable
33 ldptr.d s3, \\thread, THREAD_REG26 global() variable
34 ldptr.d s4, \\thread, THREAD_REG27 global() variable
35 ldptr.d s5, \\thread, THREAD_REG28 global() variable
36 ldptr.d s6, \\thread, THREAD_REG29 global() variable
37 ldptr.d s7, \\thread, THREAD_REG30 global() variable
38 ldptr.d s8, \\thread, THREAD_REG31 global() variable
39 ldptr.d sp, \\thread, THREAD_REG03 global() variable
40 ldptr.d fp, \\thread, THREAD_REG22 global() variable
41 ldptr.d ra, \\thread, THREAD_REG01 global() variable
[all...]
/third_party/vk-gl-cts/framework/delibs/destream/
H A DdeStreamCpyThread.c21 * \brief Stream copying thread
30 deStreamCpyThread* thread = (deStreamCpyThread*)arg; in cpyStream() local
31 deUint8* buffer = malloc(sizeof(deUint8) * (size_t)thread->bufferSize); in cpyStream()
39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read); in cpyStream()
44 deOutStream_write(thread->output, buffer, read - written, &wrote); in cpyStream()
56 deOutStream_flush(thread->output); in cpyStream()
62 deStreamCpyThread* thread = malloc(sizeof(deStreamCpyThread)); in deStreamCpyThread_create() local
64 DE_ASSERT(thread); in deStreamCpyThread_create()
68 thread in deStreamCpyThread_create()
76 deStreamCpyThread_destroy(deStreamCpyThread* thread) deStreamCpyThread_destroy() argument
83 deStreamCpyThread_join(deStreamCpyThread* thread) deStreamCpyThread_join() argument
[all...]
/third_party/ltp/testcases/realtime/func/async_handler/
H A Dasync_handler_jk.c24 * An async event server thread is created that goes to sleep waiting
27 * A user thread is created that simulates the firing of an event by
28 * signalling the async handler thread to do some work.
82 struct thread *thread = ((struct thread *)arg); in async_event_server() local
84 thread->func = NULL; // entrypoint in async_event_server()
85 thread->flags |= THREAD_FLAG_SUSPENDED; in async_event_server()
88 if ((err = pthread_mutex_lock(&thread->mutex))) in async_event_server()
92 while (thread in async_event_server()
112 struct thread *thread = ((struct thread *)arg); user_thread() local
[all...]
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dasm-offsets.c53 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main()
54 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
55 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main()
56 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); in main()
57 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); in main()
58 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); in main()
59 DEFINE(TASK_PT_GR5, offsetof(struct task_struct, thread.regs.gr[ 5])); in main()
60 DEFINE(TASK_PT_GR6, offsetof(struct task_struct, thread.regs.gr[ 6])); in main()
61 DEFINE(TASK_PT_GR7, offsetof(struct task_struct, thread.regs.gr[ 7])); in main()
62 DEFINE(TASK_PT_GR8, offsetof(struct task_struct, thread in main()
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dasm-offsets.c49 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main()
50 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
51 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main()
52 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); in main()
53 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); in main()
54 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); in main()
55 DEFINE(TASK_PT_GR5, offsetof(struct task_struct, thread.regs.gr[ 5])); in main()
56 DEFINE(TASK_PT_GR6, offsetof(struct task_struct, thread.regs.gr[ 6])); in main()
57 DEFINE(TASK_PT_GR7, offsetof(struct task_struct, thread.regs.gr[ 7])); in main()
58 DEFINE(TASK_PT_GR8, offsetof(struct task_struct, thread in main()
[all...]

Completed in 10 milliseconds

12345678910>>...96