Searched refs:kqueue (Results 1 - 13 of 13) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | eventvar.h | 66 struct kqueue { struct 67 decl_lck_spin_data( ,kq_lock) /* kqueue lock */ 72 struct selinfo kq_sel; /* parent select/kqueue info */ 73 struct proc *kq_p; /* process containing kqueue */ 81 extern struct kqueue *kqueue_alloc(struct proc *); 82 extern void kqueue_dealloc(struct kqueue *); 84 typedef int (*kevent_callback_t)(struct kqueue *, struct kevent *, void *); 85 typedef void (*kevent_continue_t)(struct kqueue *, void *, int); 87 extern int kevent_register(struct kqueue *, struct kevent *, struct proc *); 88 extern int kevent_scan(struct kqueue *, kevent_callback_ [all...] |
H A D | event.h | 216 /* Temporay solution for BootX to use inode.h till kqueue moves to vfs layer */ 237 struct kqueue *kn_kq; /* which kqueue we are on */ 298 int kqueue(void);
|
H A D | file_internal.h | 124 DTYPE_KQUEUE, /* kqueue */ 194 struct kqueue; 195 int fp_getfkq(struct proc *p, int fd, struct fileproc **resultfp, struct kqueue **resultkq);
|
H A D | proc_info.h | 610 extern int fill_kqueueinfo(struct kqueue * kq, struct kqueue_info * kinfo);
|
H A D | sysproto.h | 2037 int kqueue(struct proc *, struct kqueue_args *, int *);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_event.c | 94 MALLOC_DEFINE(M_KQUEUE, "kqueue", "memory for kqueue system"); 96 static inline void kqlock(struct kqueue *kq); 97 static inline void kqunlock(struct kqueue *kq); 99 static int kqlock2knoteuse(struct kqueue *kq, struct knote *kn); 100 static int kqlock2knoteusewait(struct kqueue *kq, struct knote *kn); 101 static int kqlock2knotedrop(struct kqueue *kq, struct knote *kn); 102 static int knoteuse2kqlock(struct kqueue *kq, struct knote *kn); 104 static void kqueue_wakeup(struct kqueue *kq); 130 static int kevent_callback(struct kqueue *k 838 kqueue(struct proc *p, __unused struct kqueue_args *uap, register_t *retval) function [all...] |
H A D | kern_malloc.c | 280 "kqueue", /* 94 M_KQUEUE */ 463 { SOS(kqueue), KMZ_CREATEZONE }, /* 94 M_KQUEUE */
|
H A D | proc_info.c | 83 struct kqueue; 115 int pid_kqueueinfo(struct kqueue * kq, struct fileproc * fp, int closeonexec, user_addr_t buffer, uint32_t buffersize, register_t * retval); 1031 pid_kqueueinfo(struct kqueue * kq, struct fileproc *fp, int closeonexec, user_addr_t buffer, __unused uint32_t buffersize, register_t * retval) 1186 struct kqueue * kq;
|
H A D | sys_generic.c | 1375 int poll_callback(struct kqueue *, struct kevent *, void *); 1396 struct kqueue *kq; 1461 /* convert the poll event into a kqueue kevent */ 1538 poll_callback(__unused struct kqueue *kq, struct kevent *kevp, void *data)
|
H A D | kern_descrip.c | 2579 * Description: Get fileproc and kqueue pointer for a given fd from the 2587 * resultkq Pointer to result kqueue 2596 * *resultkq (modified) kqueue pointer 2603 struct kqueue **resultkq) 2624 *resultkq = (struct kqueue *)fp->f_data; 4516 * Description: Generic fileops kqueue filter indirected through the fileops 4524 * !0 Errno from kqueue filter
|
H A D | init_sysent.c | 530 {0, 0, 0, (sy_call_t *)kqueue, NULL, NULL, _SYSCALL_RET_INT_T, 0}, /* 362 = kqueue */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/man/man2/ |
H A D | Makefile | 96 kqueue.2 \
|
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/ |
H A D | tests.c | 11 #include <sys/event.h> /* for kqueue tests */ 4843 * Test kevent, kqueue system calls. 4949 /* set up a kqueue and register for some events */ 4950 my_kqueue = kqueue( ); 4952 printf( "kqueue call failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
Completed in 153 milliseconds