/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
nouveau_nvkm_core_event.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 27 #include <core/event.h> 31 nvkm_event_put(struct nvkm_event *event, u32 types, int index) 33 assert_spin_locked(&event->refs_lock); 36 if (--event->refs[index * event->types_nr + type] == 0) { 37 if (event->func->fini) 38 event->func->fini(event, 1 << type, index); 44 nvkm_event_get(struct nvkm_event *event, u32 types, int index [all...] |
nouveau_nvkm_core_event.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 27 #include <core/event.h> 31 nvkm_event_put(struct nvkm_event *event, u32 types, int index) 33 assert_spin_locked(&event->refs_lock); 36 if (--event->refs[index * event->types_nr + type] == 0) { 37 if (event->func->fini) 38 event->func->fini(event, 1 << type, index); 44 nvkm_event_get(struct nvkm_event *event, u32 types, int index [all...] |
nouveau_nvkm_core_event.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 27 #include <core/event.h> 31 nvkm_event_put(struct nvkm_event *event, u32 types, int index) 33 assert_spin_locked(&event->refs_lock); 36 if (--event->refs[index * event->types_nr + type] == 0) { 37 if (event->func->fini) 38 event->func->fini(event, 1 << type, index); 44 nvkm_event_get(struct nvkm_event *event, u32 types, int index [all...] |
nouveau_nvkm_core_event.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 27 #include <core/event.h> 31 nvkm_event_put(struct nvkm_event *event, u32 types, int index) 33 assert_spin_locked(&event->refs_lock); 36 if (--event->refs[index * event->types_nr + type] == 0) { 37 if (event->func->fini) 38 event->func->fini(event, 1 << type, index); 44 nvkm_event_get(struct nvkm_event *event, u32 types, int index [all...] |
nouveau_nvkm_core_event.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 27 #include <core/event.h> 31 nvkm_event_put(struct nvkm_event *event, u32 types, int index) 33 assert_spin_locked(&event->refs_lock); 36 if (--event->refs[index * event->types_nr + type] == 0) { 37 if (event->func->fini) 38 event->func->fini(event, 1 << type, index); 44 nvkm_event_get(struct nvkm_event *event, u32 types, int index [all...] |
nouveau_nvkm_core_event.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 27 #include <core/event.h> 31 nvkm_event_put(struct nvkm_event *event, u32 types, int index) 33 assert_spin_locked(&event->refs_lock); 36 if (--event->refs[index * event->types_nr + type] == 0) { 37 if (event->func->fini) 38 event->func->fini(event, 1 << type, index); 44 nvkm_event_get(struct nvkm_event *event, u32 types, int index [all...] |
nouveau_nvkm_core_notify.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 #include <core/event.h> 36 nvkm_event_put(notify->event, notify->types, notify->index); 42 struct nvkm_event *event = notify->event; local in function:nvkm_notify_put 44 if (likely(event) && 46 spin_lock_irqsave(&event->refs_lock, flags); 48 spin_unlock_irqrestore(&event->refs_lock, flags); 58 nvkm_event_get(notify->event, notify->types, notify->index); 64 struct nvkm_event *event = notify->event local in function:nvkm_notify_get 77 struct nvkm_event *event = notify->event; local in function:nvkm_notify_func 98 struct nvkm_event *event = notify->event; local in function:nvkm_notify_send [all...] |
nouveau_nvkm_core_notify.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 #include <core/event.h> 36 nvkm_event_put(notify->event, notify->types, notify->index); 42 struct nvkm_event *event = notify->event; local in function:nvkm_notify_put 44 if (likely(event) && 46 spin_lock_irqsave(&event->refs_lock, flags); 48 spin_unlock_irqrestore(&event->refs_lock, flags); 58 nvkm_event_get(notify->event, notify->types, notify->index); 64 struct nvkm_event *event = notify->event local in function:nvkm_notify_get 77 struct nvkm_event *event = notify->event; local in function:nvkm_notify_func 98 struct nvkm_event *event = notify->event; local in function:nvkm_notify_send [all...] |
nouveau_nvkm_core_notify.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 #include <core/event.h> 36 nvkm_event_put(notify->event, notify->types, notify->index); 42 struct nvkm_event *event = notify->event; local in function:nvkm_notify_put 44 if (likely(event) && 46 spin_lock_irqsave(&event->refs_lock, flags); 48 spin_unlock_irqrestore(&event->refs_lock, flags); 58 nvkm_event_get(notify->event, notify->types, notify->index); 64 struct nvkm_event *event = notify->event local in function:nvkm_notify_get 77 struct nvkm_event *event = notify->event; local in function:nvkm_notify_func 98 struct nvkm_event *event = notify->event; local in function:nvkm_notify_send [all...] |
nouveau_nvkm_core_notify.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 #include <core/event.h> 36 nvkm_event_put(notify->event, notify->types, notify->index); 42 struct nvkm_event *event = notify->event; local in function:nvkm_notify_put 44 if (likely(event) && 46 spin_lock_irqsave(&event->refs_lock, flags); 48 spin_unlock_irqrestore(&event->refs_lock, flags); 58 nvkm_event_get(notify->event, notify->types, notify->index); 64 struct nvkm_event *event = notify->event local in function:nvkm_notify_get 77 struct nvkm_event *event = notify->event; local in function:nvkm_notify_func 98 struct nvkm_event *event = notify->event; local in function:nvkm_notify_send [all...] |
nouveau_nvkm_core_notify.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 #include <core/event.h> 36 nvkm_event_put(notify->event, notify->types, notify->index); 42 struct nvkm_event *event = notify->event; local in function:nvkm_notify_put 44 if (likely(event) && 46 spin_lock_irqsave(&event->refs_lock, flags); 48 spin_unlock_irqrestore(&event->refs_lock, flags); 58 nvkm_event_get(notify->event, notify->types, notify->index); 64 struct nvkm_event *event = notify->event local in function:nvkm_notify_get 77 struct nvkm_event *event = notify->event; local in function:nvkm_notify_func 98 struct nvkm_event *event = notify->event; local in function:nvkm_notify_send [all...] |
nouveau_nvkm_core_notify.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 30 #include <core/event.h> 36 nvkm_event_put(notify->event, notify->types, notify->index); 42 struct nvkm_event *event = notify->event; local in function:nvkm_notify_put 44 if (likely(event) && 46 spin_lock_irqsave(&event->refs_lock, flags); 48 spin_unlock_irqrestore(&event->refs_lock, flags); 58 nvkm_event_get(notify->event, notify->types, notify->index); 64 struct nvkm_event *event = notify->event local in function:nvkm_notify_get 77 struct nvkm_event *event = notify->event; local in function:nvkm_notify_func 98 struct nvkm_event *event = notify->event; local in function:nvkm_notify_send [all...] |
/src/sbin/devpubd/hooks/ |
01-makedev | 8 event="$1" 11 case $event in
|
01-makedev | 8 event="$1" 11 case $event in
|
01-makedev | 8 event="$1" 11 case $event in
|
01-makedev | 8 event="$1" 11 case $event in
|
01-makedev | 8 event="$1" 11 case $event in
|
01-makedev | 8 event="$1" 11 case $event in
|
/src/tests/kernel/kqueue/ |
t_oneshot.c | 19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 33 #include <sys/event.h> 53 struct kevent event[1]; local in function:ATF_TC_BODY 58 EV_SET(&event[0], 1, EVFILT_TIMER, EV_ADD | EV_ONESHOT, 0, 1, MY_UDATA); 60 ATF_REQUIRE(kevent(kq, event, 1, NULL, 0, NULL) == 0); 61 memset(event, 0, sizeof(event)); 62 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, NULL) == 1); 63 ATF_REQUIRE(event[0].ident == 1); 64 ATF_REQUIRE(event[0].data == 1) [all...] |
t_oneshot.c | 19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 33 #include <sys/event.h> 53 struct kevent event[1]; local in function:ATF_TC_BODY 58 EV_SET(&event[0], 1, EVFILT_TIMER, EV_ADD | EV_ONESHOT, 0, 1, MY_UDATA); 60 ATF_REQUIRE(kevent(kq, event, 1, NULL, 0, NULL) == 0); 61 memset(event, 0, sizeof(event)); 62 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, NULL) == 1); 63 ATF_REQUIRE(event[0].ident == 1); 64 ATF_REQUIRE(event[0].data == 1) [all...] |
t_oneshot.c | 19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 33 #include <sys/event.h> 53 struct kevent event[1]; local in function:ATF_TC_BODY 58 EV_SET(&event[0], 1, EVFILT_TIMER, EV_ADD | EV_ONESHOT, 0, 1, MY_UDATA); 60 ATF_REQUIRE(kevent(kq, event, 1, NULL, 0, NULL) == 0); 61 memset(event, 0, sizeof(event)); 62 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, NULL) == 1); 63 ATF_REQUIRE(event[0].ident == 1); 64 ATF_REQUIRE(event[0].data == 1) [all...] |
t_oneshot.c | 19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 33 #include <sys/event.h> 53 struct kevent event[1]; local in function:ATF_TC_BODY 58 EV_SET(&event[0], 1, EVFILT_TIMER, EV_ADD | EV_ONESHOT, 0, 1, MY_UDATA); 60 ATF_REQUIRE(kevent(kq, event, 1, NULL, 0, NULL) == 0); 61 memset(event, 0, sizeof(event)); 62 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, NULL) == 1); 63 ATF_REQUIRE(event[0].ident == 1); 64 ATF_REQUIRE(event[0].data == 1) [all...] |
t_oneshot.c | 19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 33 #include <sys/event.h> 53 struct kevent event[1]; local in function:ATF_TC_BODY 58 EV_SET(&event[0], 1, EVFILT_TIMER, EV_ADD | EV_ONESHOT, 0, 1, MY_UDATA); 60 ATF_REQUIRE(kevent(kq, event, 1, NULL, 0, NULL) == 0); 61 memset(event, 0, sizeof(event)); 62 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, NULL) == 1); 63 ATF_REQUIRE(event[0].ident == 1); 64 ATF_REQUIRE(event[0].data == 1) [all...] |
t_oneshot.c | 19 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 33 #include <sys/event.h> 53 struct kevent event[1]; local in function:ATF_TC_BODY 58 EV_SET(&event[0], 1, EVFILT_TIMER, EV_ADD | EV_ONESHOT, 0, 1, MY_UDATA); 60 ATF_REQUIRE(kevent(kq, event, 1, NULL, 0, NULL) == 0); 61 memset(event, 0, sizeof(event)); 62 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, NULL) == 1); 63 ATF_REQUIRE(event[0].ident == 1); 64 ATF_REQUIRE(event[0].data == 1) [all...] |
t_proc1.c | 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 43 #include <sys/event.h> 100 struct kevent event[1]; local in function:ATF_TC_BODY 116 event[0].ident = (uintptr_t)pid; 117 event[0].filter = EVFILT_PROC; 118 event[0].flags = EV_ADD | EV_ENABLE; 119 event[0].fflags = NOTE_EXIT | NOTE_FORK | NOTE_EXEC; /* | NOTE_TRACK;*/ 122 RL(kevent(kq, event, 1, NULL, 0, NULL)); 126 RL(kevent(kq, NULL, 0, event, 1, NULL)); 127 printf("%ld:", (long)event[0].ident) [all...] |