| /linux/tools/testing/selftests/bpf/ |
| H A D | usdt.h | 211 #define USDT_SEMA(sema) __usdt_sema_##sema argument 247 #define USDT_DEFINE_SEMA(sema) \ argument 248 struct usdt_sema __usdt_sema_sec USDT_SEMA(sema) \ 249 __usdt_asm_name(USDT_SEMA(sema)) \ 261 #define USDT_DECLARE_SEMA(sema) \ argument 262 extern struct usdt_sema USDT_SEMA(sema) __usdt_asm_name(USDT_SEMA(sema)) 279 #define USDT_SEMA_IS_ACTIVE(sema) (USDT_SEMA(sema).active > 0) argument 290 #define USDT_WITH_EXPLICIT_SEMA(sema, group, name, ...) \ argument 291 __usdt_probe(group, name, __usdt_sema_explicit, USDT_SEMA(sema), ##__VA_ARGS__) 293 #define USDT_WITH_EXPLICIT_SEMA(sema, group, name, ...) \ argument [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_engine_pm.c | 77 u32 *sema = memset32(engine->status_page.addr + 1000, 0, 5); in __measure_timestamps() local 111 while (READ_ONCE(sema[2]) == 0) in __measure_timestamps() 116 write_semaphore(&sema[2], 0); in __measure_timestamps() 117 while (READ_ONCE(sema[1]) == 0) /* wait for the gpu to catch up */ in __measure_timestamps() 122 write_semaphore(&sema[2], 1); in __measure_timestamps() 132 engine->name, sema[1], sema[3], sema[0], sema[4]); in __measure_timestamps() 134 *d_ctx = sema[3] - sema[1]; in __measure_timestamps() 135 *d_ring = sema[4] - sema[0]; in __measure_timestamps()
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | base507c.c | 217 PUSH_MTHD(push, NV507C, SET_SEMAPHORE_CONTROL, asyw->sema.offset, in base507c_sema_set() 218 SET_SEMAPHORE_ACQUIRE, asyw->sema.acquire, in base507c_sema_set() 219 SET_SEMAPHORE_RELEASE, asyw->sema.release, in base507c_sema_set() 220 SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle); in base507c_sema_set() 329 wndw->sema = NV50_DISP_BASE_SEM0(wndw->id); in base507c_new_()
|
| H A D | atom.h | 205 } sema; member 269 bool sema:1; member
|
| H A D | wndw.c | 139 if (clr.sema ) wndw->func-> sema_clr(wndw); in nv50_wndw_flush_clr() 157 if (asyw->set.sema ) wndw->func->sema_set (wndw, asyw); in nv50_wndw_flush_set() 208 asyw->sema.handle = 0; in nv50_wndw_atomic_check_release() 511 asyw->clr.sema = armw->sema.handle != 0; in nv50_wndw_atomic_check() 736 asyw->sema = armw->sema; in nv50_wndw_atomic_duplicate_state()
|
| H A D | ovly507e.c | 171 wndw->sema = NV50_DISP_OVLY_SEM0(wndw->id); in ovly507e_new_()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nv10_fence.h | 10 struct nvif_object sema; member
|
| /linux/include/net/mana/ |
| H A D | hw_channel.h | 195 struct semaphore sema; 193 struct semaphore sema; global() member
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | uprobe_syscall.c | 673 const char *sema[2] = { in worker_attach() local 684 err = elf_resolve_syms_offsets("/proc/self/exe", 1, (const char **) &sema, &ref, STT_OBJECT); in worker_attach()
|
| H A D | fill_link_info.c | 246 const char *sema[1] = { in test_uprobe_fill_link_info() 253 err = elf_resolve_syms_offsets("/proc/self/exe", 1, sema, in test_uprobe_fill_link_info() 557 const char *sema[3] = { in test_uprobe_multi_fill_link_info() 566 err = elf_resolve_syms_offsets("/proc/self/exe", 3, sema, in test_uprobe_multi_fill_link_info() 543 const char *sema[3] = { test_uprobe_multi_fill_link_info() local
|
| H A D | uprobe_multi_test.c | 598 const char *sema[3] = { in attach_uprobe_fail_refctr() local 611 err = elf_resolve_syms_offsets("/proc/self/exe", 2, (const char **) &sema, in attach_uprobe_fail_refctr()
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | raw_gadget.c | 50 struct semaphore sema; member 58 sema_init(&queue->sema, 0); in raw_event_queue_init() 84 up(&queue->sema); in raw_event_queue_add() 101 ret = down_interruptible(&queue->sema); in raw_event_queue_fetch()
|