Searched refs:kqueue (Results 1 - 14 of 14) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | eventvar.h | 66 struct kqueue { struct 68 decl_lck_spin_data( ,kq_lock) /* kqueue lock */ 73 struct selinfo kq_sel; /* parent select/kqueue info */ 74 struct proc *kq_p; /* process containing kqueue */ 84 extern struct kqueue *kqueue_alloc(struct proc *); 85 extern void kqueue_dealloc(struct kqueue *); 87 typedef int (*kevent_callback_t)(struct kqueue *, struct kevent64_s *, void *); 88 typedef void (*kqueue_continue_t)(struct kqueue *, void *, int); 90 extern int kevent_register(struct kqueue *, struct kevent64_s *, struct proc *); 91 extern int kqueue_scan(struct kqueue *, kevent_callback_ [all...] |
H A D | event.h | 338 /* Temporay solution for BootX to use inode.h till kqueue moves to vfs layer */ 359 struct kqueue *kn_kq; /* which kqueue we are on */ 436 int kqueue(void);
|
H A D | file_internal.h | 127 DTYPE_KQUEUE, /* kqueue */ 195 struct kqueue; 196 int fp_getfkq(struct proc *p, int fd, struct fileproc **resultfp, struct kqueue **resultkq);
|
H A D | proc_info.h | 734 extern int fill_kqueueinfo(struct kqueue * kq, struct kqueue_info * kinfo);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_event.c | 101 MALLOC_DEFINE(M_KQUEUE, "kqueue", "memory for kqueue system"); 105 static inline void kqlock(struct kqueue *kq); 106 static inline void kqunlock(struct kqueue *kq); 108 static int kqlock2knoteuse(struct kqueue *kq, struct knote *kn); 109 static int kqlock2knoteusewait(struct kqueue *kq, struct knote *kn); 110 static int kqlock2knotedrop(struct kqueue *kq, struct knote *kn); 111 static int knoteuse2kqlock(struct kqueue *kq, struct knote *kn); 113 static void kqueue_wakeup(struct kqueue *kq, int closed); 144 static int kevent_callback(struct kqueue *k 1163 kqueue(struct proc *p, __unused struct kqueue_args *uap, int32_t *retval) function [all...] |
H A D | kern_malloc.c | 264 "kqueue", /* 94 M_KQUEUE */ 450 { SOS(kqueue), KMZ_CREATEZONE, FALSE }, /* 94 M_KQUEUE */
|
H A D | proc_info.c | 87 struct kqueue; 127 int pid_kqueueinfo(struct kqueue * kq, struct fileproc * fp, int closeonexec, user_addr_t buffer, uint32_t buffersize, int32_t * retval); 1375 pid_kqueueinfo(struct kqueue * kq, struct fileproc *fp, int closeonexec, user_addr_t buffer, __unused uint32_t buffersize, int32_t * retval) 1530 struct kqueue * kq;
|
H A D | sys_generic.c | 1404 int poll_callback(struct kqueue *, struct kevent64_s *, void *); 1425 struct kqueue *kq; 1490 /* convert the poll event into a kqueue kevent */ 1569 poll_callback(__unused struct kqueue *kq, struct kevent64_s *kevp, void *data)
|
H A D | kern_descrip.c | 3110 * Description: Get fileproc and kqueue pointer for a given fd from the 3118 * resultkq Pointer to result kqueue 3127 * *resultkq (modified) kqueue pointer 3134 struct kqueue **resultkq) 3155 *resultkq = (struct kqueue *)fp->f_data; 5325 * Description: Generic fileops kqueue filter indirected through the fileops 5333 * !0 Errno from kqueue filter
|
/darwin-on-arm/xnu/bsd/man/man2/ |
H A D | Makefile | 102 kqueue.2 \
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | kqueue_tests.c | 13 #include <sys/event.h> /* for kqueue tests */ 140 * Test kevent, kqueue system calls. 253 /* set up a kqueue and register for some events */ 254 my_kqueue = kqueue( ); 256 printf( "kqueue call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 278 printf( "kevent64 call should fail with kqueue used for kevent() - %d\n", my_err); 282 my_kqueue64 = kqueue(); 345 /* look for child exit notification on the kevent64 kqueue */
|
/darwin-on-arm/xnu/tools/tests/kqueue_tests/ |
H A D | kqueue_timer_tests.c | 220 kq = kqueue();
|
H A D | kqueue_file_tests.c | 405 /* Create kqueue for kqueue tests*/ 407 kqfd = kqueue(); 411 LOG(1, stderr, "Opened kqueue.\n"); 499 LOG(2, stderr, "Couldn't open kqueue.\n");
|
/darwin-on-arm/xnu/tools/tests/MPMMTest/ |
H A D | KQMPMMtest.c | 361 kq = kqueue(); 363 perror("kqueue");
|
Completed in 111 milliseconds