/freebsd-10.3-release/contrib/netbsd-tests/kernel/kqueue/ |
H A D | t_proc3.c | 61 struct kevent ke; local 66 EV_SET(&ke, getpid(), EVFILT_PROC, EV_ADD, NOTE_TRACK, 0, 0); 68 RL(kevent(kq, &ke, 1, NULL, 0, NULL)); 82 ke.ident = 0; 83 ke.fflags = 0; 84 ke.flags = EV_ENABLE; 86 RL(kevent(kq, NULL, 0, &ke, 1, &timeout)); 89 ATF_REQUIRE(ke.fflags & NOTE_CHILD); 90 ATF_REQUIRE((ke.fflags & NOTE_TRACKERR) == 0); 91 ATF_REQUIRE_EQ((pid_t)ke [all...] |
H A D | t_proc2.c | 94 struct kevent ke; local 109 EV_SET(&ke, pid, EVFILT_PROC, EV_ADD, NOTE_FORK|NOTE_TRACK, 0, 0); 111 RL(kevent(kq, &ke, 1, NULL, 0, &timeout)); 115 ke.ident = 0; 116 ke.fflags = 0; 117 ke.flags = EV_ENABLE; 119 RL(kevent(kq, NULL, 0, &ke, 1, &timeout)); 130 ATF_REQUIRE(ke.fflags & NOTE_TRACKERR);
|
/freebsd-10.3-release/contrib/binutils/opcodes/ |
H A D | cgen-opc.c | 51 const CGEN_KEYWORD_ENTRY *ke; local 57 ke = kt->name_hash_table[hash_keyword_name (kt, name, 0)]; 63 while (ke != NULL) 66 p = ke->name; 74 return ke; 76 ke = ke->next_name; 90 const CGEN_KEYWORD_ENTRY *ke; local 95 ke = kt->value_hash_table[hash_keyword_value (kt, value)]; 97 while (ke ! 110 cgen_keyword_add(CGEN_KEYWORD *kt, CGEN_KEYWORD_ENTRY *ke) argument [all...] |
H A D | cgen-asm.c | 203 const CGEN_KEYWORD_ENTRY *ke; 238 ke = cgen_keyword_lookup_name (keyword_table, buf); 240 if (ke != NULL) 242 *valuep = ke->value; 244 if (ke->name[0] != 0) 202 const CGEN_KEYWORD_ENTRY *ke; local
|
H A D | mep-dis.c | 864 const CGEN_KEYWORD_ENTRY *ke; 866 ke = cgen_keyword_lookup_value (keyword_table, value); 867 if (ke != NULL) 868 (*info->fprintf_func) (info->stream, "%s", ke->name); 862 const CGEN_KEYWORD_ENTRY *ke; local
|
/freebsd-10.3-release/tools/regression/sockets/kqueue/ |
H A D | kqueue.c | 107 struct kevent ke; local 112 EV_SET(&ke, fd[0], EVFILT_READ, EV_ADD, 0, 0, NULL); 113 if (kevent(kq, &ke, 1, NULL, 0, NULL) == -1) 122 i = kevent(kq, NULL, 0, &ke, 1, &ts); 148 i = kevent(kq, NULL, 0, &ke, 1, &ts); 173 i = kevent(kq, NULL, 0, &ke, 1, &ts); 182 EV_SET(&ke, fd[0], EVFILT_READ, EV_DELETE, 0, 0, NULL); 183 if (kevent(kq, &ke, 1, NULL, 0, NULL) == -1) 192 struct kevent ke; local 197 EV_SET(&ke, f [all...] |
/freebsd-10.3-release/sys/netpfil/pf/ |
H A D | pf_table.c | 86 #define KENTRY_NETWORK(ke) ((ke)->pfrke_net < AF_BITS((ke)->pfrke_af)) 87 #define KENTRY_RNF_ROOT(ke) \ 88 ((((struct radix_node *)(ke))->rn_flags & RNF_ROOT) != 0) 133 struct pfr_kentry *ke); 742 struct pfr_kentry *ke; local 756 ke = (struct pfr_kentry *)rn_lookup(&sa, &mask, head); 757 if (ke && KENTRY_RNF_ROOT(ke)) 772 struct pfr_kentry *ke; local 800 pfr_destroy_kentry(struct pfr_kentry *ke) argument 927 pfr_route_kentry(struct pfr_ktable *kt, struct pfr_kentry *ke) argument 951 pfr_unroute_kentry(struct pfr_ktable *kt, struct pfr_kentry *ke) argument 976 pfr_copyout_addr(struct pfr_addr *ad, struct pfr_kentry *ke) argument 993 struct pfr_kentry *ke = (struct pfr_kentry *)rn; local 1893 struct pfr_kentry *ke = NULL; local 1947 struct pfr_kentry *ke = NULL; local 2063 struct pfr_kentry *ke, *ke2 = NULL; local [all...] |
/freebsd-10.3-release/crypto/heimdal/lib/krb5/ |
H A D | crypto-arcfour.c | 135 struct _krb5_key_data ke; local 159 ke.key = &kb; 165 ret = _krb5_internal_hmac(NULL, c, cdata + 16, len - 16, 0, &ke, &cksum); 169 ke.key = &kb; 175 ret = _krb5_internal_hmac(NULL, c, data, 16, 0, &ke, &k3_c); 202 struct _krb5_key_data ke; local 227 ke.key = &kb; 233 ret = _krb5_internal_hmac(NULL, c, cdata, 16, 0, &ke, &k3_c); 242 ke.key = &kb; 248 ret = _krb5_internal_hmac(NULL, c, cdata + 16, len - 16, 0, &ke, [all...] |
/freebsd-10.3-release/crypto/openssh/regress/unittests/sshkey/ |
H A D | test_sshkey.c | 181 struct sshkey *ke; local 314 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 256, &ke), 0); 315 ASSERT_PTR_NE(ke, NULL); 316 ASSERT_PTR_NE(ke->ecdsa, NULL); 317 ASSERT_PTR_NE(EC_KEY_get0_public_key(ke->ecdsa), NULL); 318 ASSERT_PTR_NE(EC_KEY_get0_private_key(ke->ecdsa), NULL); 363 ASSERT_INT_EQ(sshkey_demote(ke, &k1), 0); 365 ASSERT_PTR_NE(ke, k1); 368 ASSERT_INT_EQ(k1->ecdsa_nid, ke->ecdsa_nid); 369 ASSERT_PTR_NE(EC_KEY_get0_public_key(ke [all...] |
/freebsd-10.3-release/tests/sys/aio/ |
H A D | aio_kqueue_test.c | 62 struct kevent ke, kq_returned; local 148 bzero(&ke, sizeof(ke)); 149 bzero(&kq_returned, sizeof(ke));
|
H A D | lio_kqueue_test.c | 69 struct kevent ke, kq_returned; local 150 bzero(&ke, sizeof(ke)); 151 bzero(&kq_returned, sizeof(ke)); 157 EV_SET(&ke, (uintptr_t)lio[j],
|
/freebsd-10.3-release/crypto/heimdal/lib/hx509/ |
H A D | test_query.in | 119 echo "make sure entry is found (cert ke)" 124 echo "make sure entry is found (cert ke + ds)" 135 echo "make sure entry is not found (cert-ds ke)" 140 echo "make sure entry is not found (cert-ds ke + ds)" 146 echo "make sure entry is not found (cert-ke ds)" 149 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null && exit 1 151 echo "make sure entry is found (cert-ke ke)" 154 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null || exit 1 156 echo "make sure entry is not found (cert-ke k [all...] |
H A D | test_cms.in | 347 echo "create signed data (ke cert)" 349 --certificate=FILE:$srcdir/data/test-ke-only.crt,$srcdir/data/test-ke-only.key \ 353 echo "create signed data (sd + ke certs)" 355 --certificate=FILE:$srcdir/data/test-ke-only.crt,$srcdir/data/test-ke-only.key \ 360 echo "create signed data (ke + sd certs)" 363 --certificate=FILE:$srcdir/data/test-ke-only.crt,$srcdir/data/test-ke-only.key \
|
H A D | Makefile.am | 417 data/test-ke-only.crt \ 418 data/test-ke-only.key \
|
/freebsd-10.3-release/contrib/apr/poll/unix/ |
H A D | kqueue.c | 368 pollcb->pollset.ke = (struct kevent *)apr_pcalloc(p, 2 * size * sizeof(struct kevent)); 460 ret = kevent(pollcb->fd, NULL, 0, pollcb->pollset.ke, 2 * pollcb->nalloc, 471 apr_pollfd_t *pollfd = (apr_pollfd_t *)(pollcb->pollset.ke[i].udata); 473 pollfd->rtnevents = get_kqueue_revent(pollcb->pollset.ke[i].filter, 474 pollcb->pollset.ke[i].flags);
|
/freebsd-10.3-release/usr.sbin/jail/ |
H A D | command.c | 206 struct kevent ke; local 235 switch (kevent(kq, NULL, 0, &ke, 1, tsp)) { 249 (void)waitpid(ke.ident, NULL, WNOHANG); 250 if ((j = find_proc(ke.ident))) { 251 j->pstatus = ke.data; 744 struct kevent ke; local 750 EV_SET(&ke, pid, EVFILT_PROC, EV_ADD, NOTE_EXIT, 0, NULL); 751 if (kevent(kq, &ke, 1, NULL, 0, NULL) < 0) { 789 struct kevent ke; local 797 EV_SET(&ke, p [all...] |
/freebsd-10.3-release/usr.sbin/camdd/ |
H A D | camdd.c | 590 struct kevent *ke; local 634 ke = malloc(ke_size); 635 if (ke == NULL) { 639 bzero(ke, ke_size); 641 bcopy(new_ke, ke, num_ke * sizeof(struct kevent)); 643 EV_SET(&ke[num_ke++], (uintptr_t)&dev->work_queue, EVFILT_USER, 645 EV_SET(&ke[num_ke++], (uintptr_t)&dev->peer_done_queue, EVFILT_USER, 647 EV_SET(&ke[num_ke++], SIGINFO, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0,0,0); 648 EV_SET(&ke[num_ke++], SIGINT, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0,0,0); 650 retval = kevent(dev->kq, ke, num_k 1277 struct kevent ke; local 1525 struct kevent ke; local 1774 struct kevent ke; local 1976 struct kevent ke; local 3154 struct kevent ke; local [all...] |
/freebsd-10.3-release/usr.bin/truss/ |
H A D | syscalls.c | 810 print_kevent(FILE *fp, struct kevent *ke, int input) argument 813 switch (ke->filter) { 819 fprintf(fp, "%ju", (uintmax_t)ke->ident); 822 fputs(strsig2(ke->ident), fp); 825 fprintf(fp, "%p", (void *)ke->ident); 827 fprintf(fp, ",%s,%s,", xlookup(kevent_filters, ke->filter), 828 xlookup_bits(kevent_flags, ke->flags)); 829 switch (ke->filter) { 832 fputs(xlookup_bits(kevent_rdwr_fflags, ke->fflags), fp); 835 fputs(xlookup_bits(kevent_vnode_fflags, ke 1449 struct kevent *ke; local [all...] |
/freebsd-10.3-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_poll_private.h | 140 struct kevent *ke; member in union:__anon112
|
/freebsd-10.3-release/lib/libkse/thread/ |
H A D | thr_kern.c | 2044 struct kse *ke; local 2051 TAILQ_FOREACH(ke, &thread->kseg->kg_kseq, k_kgqe) { 2052 if (KSE_IS_IDLE(ke)) { 2053 KSE_CLEAR_IDLE(ke); 2054 ke->k_kseg->kg_idle_kses--; 2055 return (&ke->k_kcb->kcb_kmbx); 2065 struct kse *ke; local 2069 TAILQ_FOREACH(ke, &curkse->k_kseg->kg_kseq, k_kgqe) { 2070 if (KSE_IS_IDLE(ke)) { 2071 KSE_CLEAR_IDLE(ke); [all...] |
/freebsd-10.3-release/contrib/unbound/validator/ |
H A D | validator.c | 2430 * @param ke: the key entry to return. It returns 2433 * validated. It returns ke=NULL if the DS response indicated that the 2440 struct key_entry_key** ke) 2485 *ke = key_entry_create_null(qstate->region, 2488 return (*ke) != NULL; 2493 *ke = key_entry_create_rrset(qstate->region, 2496 return (*ke) != NULL; 2524 *ke = key_entry_create_null(qstate->region, 2528 return (*ke) != NULL; 2532 *ke 2438 ds_response_to_ke(struct module_qstate* qstate, struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, struct query_info* qinfo, struct key_entry_key** ke) argument [all...] |
/freebsd-10.3-release/contrib/wpa/src/eap_common/ |
H A D | ikev2_common.h | 302 const u8 *ke; member in struct:ikev2_payloads
|
/freebsd-10.3-release/contrib/tcpdump/ |
H A D | print-isakmp.c | 147 "none", "sa", "p", "t", "ke", "id", "cert", "cr", "hash", /* 0 - 8 */ 1572 struct ikev2_ke ke; local 1577 safememcpy(&ke, ext, sizeof(ke)); 1578 ikev2_pay_print(ndo, NPSTR(tpay), ke.h.critical); 1580 ND_PRINT((ndo," len=%u group=%s", ntohs(ke.h.len) - 8, 1581 STR_OR_ID(ntohs(ke.ke_group), dh_p_map))); 1583 if (2 < ndo->ndo_vflag && 8 < ntohs(ke.h.len)) { 1585 if (!rawprint(ndo, (caddr_t)(k + 1), ntohs(ke.h.len) - 8)) 1588 return (u_char *)ext + ntohs(ke [all...] |
/freebsd-10.3-release/contrib/texinfo/info/ |
H A D | infomap.c | 1691 KEYMAP_ENTRY ke; local 1703 ke.type = ISFUNC; 1704 ke.function = 1709 (const char *) keyseq, &ke);
|
/freebsd-10.3-release/contrib/llvm/lib/MC/ |
H A D | WinCOFFObjectWriter.cpp | 894 ke = (*i)->Relocations.end(); 895 k != ke; k++) {
|