Searched refs:kqueueop (Results 1 – 3 of 3) sorted by relevance
94 struct kqop *kqueueop; in kq_init() local100 if (!(kqueueop = calloc(1, sizeof(struct kqop)))) in kq_init()107 free (kqueueop); in kq_init()111 kqueueop->kq = kq; in kq_init()114 kqueueop->changes = malloc(NEVENT * sizeof(struct kevent)); in kq_init()115 if (kqueueop->changes == NULL) { in kq_init()116 free (kqueueop); in kq_init()119 kqueueop->events = malloc(NEVENT * sizeof(struct kevent)); in kq_init()120 if (kqueueop->events == NULL) { in kq_init()121 free (kqueueop->changes); in kq_init()[all …]
124 struct kqop *kqueueop = NULL; in kq_init() local 126 if (!(kqueueop = mm_calloc(1, sizeof(struct kqop)))) in kq_init() 136 kqueueop->kq = kq; in kq_init() 138 kqueueop->pid = getpid(); in kq_init() 141 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init() 142 if (kqueueop->changes == NULL) in kq_init() 144 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init() 145 if (kqueueop->events == NULL) in kq_init() 147 kqueueop->events_size = kqueueop in kq_init() [all...]
124 struct kqop *kqueueop = NULL; in kq_init() local126 if (!(kqueueop = mm_calloc(1, sizeof(struct kqop)))) in kq_init()136 kqueueop->kq = kq; in kq_init()138 kqueueop->pid = getpid(); in kq_init()141 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()142 if (kqueueop->changes == NULL) in kq_init()144 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()145 if (kqueueop->events == NULL) in kq_init()147 kqueueop->events_size = kqueueop->changes_size = NEVENT; in kq_init()150 memset(&kqueueop->changes[0], 0, sizeof kqueueop->changes[0]); in kq_init()[all …]