Home
last modified time | relevance | path

Searched refs:ke (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc3.c61 struct kevent ke; in ATF_TC_BODY() local
66 EV_SET(&ke, (uintptr_t)getpid(), EVFILT_PROC, EV_ADD, NOTE_TRACK, 0, 0); in ATF_TC_BODY()
68 RL(kevent(kq, &ke, 1, NULL, 0, NULL)); in ATF_TC_BODY()
82 ke.ident = 0; in ATF_TC_BODY()
83 ke.fflags = 0; in ATF_TC_BODY()
84 ke.flags = EV_ENABLE; in ATF_TC_BODY()
86 RL(kevent(kq, NULL, 0, &ke, 1, &timeout)); in ATF_TC_BODY()
89 ATF_REQUIRE(ke.fflags & NOTE_CHILD); in ATF_TC_BODY()
90 ATF_REQUIRE((ke.fflags & NOTE_TRACKERR) == 0); in ATF_TC_BODY()
91 ATF_REQUIRE_EQ((pid_t)ke.ident, pid); in ATF_TC_BODY()
H A Dt_proc2.c94 struct kevent ke; in ATF_TC_BODY() local
109 EV_SET(&ke, (uintptr_t)pid, EVFILT_PROC, EV_ADD, NOTE_FORK|NOTE_TRACK, in ATF_TC_BODY()
112 RL(kevent(kq, &ke, 1, NULL, 0, &timeout)); in ATF_TC_BODY()
116 ke.ident = 0; in ATF_TC_BODY()
117 ke.fflags = 0; in ATF_TC_BODY()
118 ke.flags = EV_ENABLE; in ATF_TC_BODY()
120 RL(kevent(kq, NULL, 0, &ke, 1, &timeout)); in ATF_TC_BODY()
131 ATF_REQUIRE(ke.fflags & NOTE_TRACKERR); in ATF_TC_BODY()
/freebsd/sys/netpfil/pf/
H A Dpf_table.c84 #define KENTRY_NETWORK(ke) ((ke)->pfrke_net < AF_BITS((ke)->pfrke_af)) argument
85 #define KENTRY_RNF_ROOT(ke) \ argument
86 ((((struct radix_node *)(ke))->rn_flags & RNF_ROOT) != 0)
130 const struct pfr_kentry *ke);
752 struct pfr_kentry *ke; in pfr_lookup_addr() local
771 ke = (struct pfr_kentry *)rn_lookup(&sa, &mask, head); in pfr_lookup_addr()
772 if (ke && KENTRY_RNF_ROOT(ke)) in pfr_lookup_addr()
773 ke = NULL; in pfr_lookup_addr()
775 ke = (struct pfr_kentry *)rn_match(&sa, head); in pfr_lookup_addr()
776 if (ke && KENTRY_RNF_ROOT(ke)) in pfr_lookup_addr()
[all …]
/freebsd/tools/regression/sockets/kqueue/
H A Dkqueue.c105 struct kevent ke; in test_evfilt_read() local
110 EV_SET(&ke, fd[0], EVFILT_READ, EV_ADD, 0, 0, NULL); in test_evfilt_read()
111 if (kevent(kq, &ke, 1, NULL, 0, NULL) == -1) in test_evfilt_read()
120 i = kevent(kq, NULL, 0, &ke, 1, &ts); in test_evfilt_read()
146 i = kevent(kq, NULL, 0, &ke, 1, &ts); in test_evfilt_read()
171 i = kevent(kq, NULL, 0, &ke, 1, &ts); in test_evfilt_read()
180 EV_SET(&ke, fd[0], EVFILT_READ, EV_DELETE, 0, 0, NULL); in test_evfilt_read()
181 if (kevent(kq, &ke, 1, NULL, 0, NULL) == -1) in test_evfilt_read()
190 struct kevent ke; in test_evfilt_write() local
195 EV_SET(&ke, fd[0], EVFILT_WRITE, EV_ADD, 0, 0, NULL); in test_evfilt_write()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dcrypto-arcfour.c135 struct _krb5_key_data ke; in ARCFOUR_subencrypt() local
159 ke.key = &kb; in ARCFOUR_subencrypt()
165 ret = _krb5_internal_hmac(NULL, c, cdata + 16, len - 16, 0, &ke, &cksum); in ARCFOUR_subencrypt()
169 ke.key = &kb; in ARCFOUR_subencrypt()
175 ret = _krb5_internal_hmac(NULL, c, data, 16, 0, &ke, &k3_c); in ARCFOUR_subencrypt()
204 struct _krb5_key_data ke; in ARCFOUR_subdecrypt() local
229 ke.key = &kb; in ARCFOUR_subdecrypt()
235 ret = _krb5_internal_hmac(NULL, c, cdata, 16, 0, &ke, &k3_c); in ARCFOUR_subdecrypt()
246 ke.key = &kb; in ARCFOUR_subdecrypt()
252 ret = _krb5_internal_hmac(NULL, c, cdata + 16, len - 16, 0, &ke, &cksum); in ARCFOUR_subdecrypt()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c188 struct sshkey *ke = NULL; in sshkey_tests() local
293 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 256, &ke), 0); in sshkey_tests()
294 ASSERT_PTR_NE(ke, NULL); in sshkey_tests()
295 ASSERT_PTR_NE(EVP_PKEY_get0_EC_KEY(ke->pkey), NULL); in sshkey_tests()
296 ASSERT_PTR_NE(EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(ke->pkey)), in sshkey_tests()
298 ASSERT_PTR_NE(EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(ke->pkey)), in sshkey_tests()
348 ASSERT_INT_EQ(sshkey_from_private(ke, &k1), 0); in sshkey_tests()
350 ASSERT_PTR_NE(ke, k1); in sshkey_tests()
353 ASSERT_INT_EQ(k1->ecdsa_nid, ke->ecdsa_nid); in sshkey_tests()
354 ASSERT_PTR_NE(EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(ke->pkey)), in sshkey_tests()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dkevent3.sh63 struct kevent ke;
67 EV_SET(&ke, getpid(), EVFILT_PROC, EV_ADD,
69 kevent(kq, &ke, 1, NULL, 0, NULL);
71 kevent(kq, NULL, 0, &ke, 1, NULL);
H A Dkevent13.sh77 struct kevent kev[2], ke[2];
94 if (kevent(kq, kev, 2, ke, 2, &timeout) < 0)
/freebsd/tests/sys/kern/pipe/
H A Dpipe_fstat_bug_test.c52 struct kevent event, ke; in main() local
127 EV_SET(&ke, desc[0], EVFILT_READ, EV_ADD, 0, 0, NULL); in main()
130 if (kevent(kq, &ke, 1, NULL, 0, NULL) != 0) in main()
/freebsd/contrib/sqlite3/tea/win/
H A Dnmakehlp.c628 unsigned char *ks, *ke, *vs, *ve; in SubstituteFile() local
631 ke = ks; in SubstituteFile()
632 while (ke && *ke && !isspace(*ke)) ++ke; in SubstituteFile()
633 vs = ke; in SubstituteFile()
637 *ke = 0, *ve = 0; in SubstituteFile()
/freebsd/contrib/bmake/
H A Dbmake.cat14 bbmmaakkee - maintain program dependencies
7 bbmmaakkee [--BBeeiikkNNnnqqrrSSssttWWwwXX] [--CC _d_i_r_e_c_t_o_r_y] [--DD _v_a_r_i_a_b_l_e] [--dd _f_l_a_g_s]
13 bbmmaakkee is a program designed to simplify the maintenance of other
16 given, bbmmaakkee looks for the makefiles listed in _._M_A_K_E_._M_A_K_E_F_I_L_E___P_R_E_F_E_R_E_N_C_E
21 thorough description of bbmmaakkee and makefiles, please refer to _P_M_a_k_e _- _A
24 bbmmaakkee prepends the contents of the MAKEFLAGS environment variable to the
43 Turn on debugging, and specify which portions of bbmmaakkee are to
143 is read. If _m_a_k_e_f_i_l_e starts with the string `.../', bbmmaakkee
165 Specify the maximum number of jobs that bbmmaakkee may have running at
180 total number of jobs running. Each instance of bbmmaakke
[all...]
/freebsd/usr.sbin/jail/
H A Dcommand.c229 struct kevent ke; in next_proc() local
258 switch (kevent(kq, NULL, 0, &ke, 1, tsp)) { in next_proc()
272 (void)waitpid(ke.ident, NULL, WNOHANG); in next_proc()
273 if ((j = find_proc(ke.ident))) { in next_proc()
274 j->pstatus = ke.data; in next_proc()
815 struct kevent ke; in add_proc() local
821 EV_SET(&ke, pid, EVFILT_PROC, EV_ADD, NOTE_EXIT, 0, NULL); in add_proc()
822 if (kevent(kq, &ke, 1, NULL, 0, NULL) < 0) { in add_proc()
860 struct kevent ke; in clear_procs() local
868 EV_SET(&ke, ph->pid, EVFILT_PROC, EV_DELETE, in clear_procs()
[all …]
/freebsd/usr.sbin/camdd/
H A Dcamdd.c573 struct kevent *ke; in camdd_alloc_dev() local
615 ke = calloc(1, ke_size); in camdd_alloc_dev()
616 if (ke == NULL) { in camdd_alloc_dev()
621 bcopy(new_ke, ke, num_ke * sizeof(struct kevent)); in camdd_alloc_dev()
623 EV_SET(&ke[num_ke++], (uintptr_t)&dev->work_queue, EVFILT_USER, in camdd_alloc_dev()
625 EV_SET(&ke[num_ke++], (uintptr_t)&dev->peer_done_queue, EVFILT_USER, in camdd_alloc_dev()
627 EV_SET(&ke[num_ke++], SIGINFO, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0,0,0); in camdd_alloc_dev()
628 EV_SET(&ke[num_ke++], SIGINT, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0,0,0); in camdd_alloc_dev()
630 retval = kevent(dev->kq, ke, num_ke, NULL, 0, NULL); in camdd_alloc_dev()
1461 struct kevent ke; in camdd_probe_pass() local
[all …]
/freebsd/lib/libutil/tests/
H A Dpidfile_test.c130 struct kevent event, ke; in common_test_pidfile_child() local
173 EV_SET(&ke, SIGINT, EVFILT_SIGNAL, EV_ADD, 0, 0, NULL); in common_test_pidfile_child()
175 if (kevent(kq, &ke, 1, NULL, 0, NULL) != 0) in common_test_pidfile_child()
/freebsd/crypto/heimdal/lib/hx509/
H A Dtest_query.in149 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null && exit 1
154 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null || exit 1
160 FILE:$srcdir/data/test-ke-only.crt >/dev/null 2>/dev/null && exit 1
H A Dtest_cms.in349 --certificate=FILE:$srcdir/data/test-ke-only.crt,$srcdir/data/test-ke-only.key \
355 --certificate=FILE:$srcdir/data/test-ke-only.crt,$srcdir/data/test-ke-only.key \
363 --certificate=FILE:$srcdir/data/test-ke-only.crt,$srcdir/data/test-ke-only.key \
/freebsd/usr.bin/truss/
H A Dsyscalls.c1033 print_kevent(FILE *fp, struct kevent *ke) in print_kevent() argument
1036 switch (ke->filter) { in print_kevent()
1044 fprintf(fp, "%ju", (uintmax_t)ke->ident); in print_kevent()
1047 fputs(strsig2(ke->ident), fp); in print_kevent()
1050 fprintf(fp, "%p", (void *)ke->ident); in print_kevent()
1053 print_integer_arg(sysdecode_kevent_filter, fp, ke->filter); in print_kevent()
1055 print_mask_arg(sysdecode_kevent_flags, fp, ke->flags); in print_kevent()
1057 sysdecode_kevent_fflags(fp, ke->filter, ke->fflags, 16); in print_kevent()
1058 fprintf(fp, ",%#jx,%p", (uintmax_t)ke->data, ke->udata); in print_kevent()
2099 struct kevent *ke; in print_arg() local
[all …]
/freebsd/crypto/libecc/src/sig/
H A Dfuzzing_ecrdsa.c93 nn tmp, s, rx, ke, k, r, e; in ecrdsa_sign_raw() local
100 tmp.magic = s.magic = rx.magic = ke.magic = WORD(0); in ecrdsa_sign_raw()
222 ret = nn_mod_mul(&ke, &k, &e, q); EG(ret, err); in ecrdsa_sign_raw()
223 ret = nn_mod_add(&s, &rx, &ke, q); EG(ret, err); in ecrdsa_sign_raw()
251 nn_uninit(&ke); in ecrdsa_sign_raw()
H A Decrdsa.c206 nn s, rx, ke, k, r, e; in _ecrdsa_sign_finalize() local
214 s.magic = rx.magic = ke.magic = WORD(0); in _ecrdsa_sign_finalize()
326 ret = nn_mod_mul(&ke, &k, &e, q); EG(ret, err); in _ecrdsa_sign_finalize()
327 ret = nn_mod_add(&s, &rx, &ke, q); EG(ret, err); in _ecrdsa_sign_finalize()
354 nn_uninit(&ke); in _ecrdsa_sign_finalize()
/freebsd/contrib/mandoc/
H A Dmandoc_dbg.c253 const char *ks, *ke; in dhash_slot() local
257 ke = ks + sizeof(ptr); in dhash_slot()
258 hv = ohash_interval(ks, &ke); in dhash_slot()
/freebsd/contrib/wpa/src/eap_common/
H A Deap_eke_common.c466 os_memcpy(sess->ke, buf, ke_len); in eap_eke_derive_ke_ki()
467 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: Ke", sess->ke, ke_len); in eap_eke_derive_ke_ki()
627 if (aes_128_cbc_encrypt(sess->ke, iv, e, data_len + pad) < 0 || in eap_eke_prot()
675 if (aes_128_cbc_decrypt(sess->ke, prot, data, *data_len) < 0) { in eap_eke_decrypt_prot()
725 os_memset(sess->ke, 0, EAP_EKE_MAX_KE_LEN); in eap_eke_session_clean()
/freebsd/sys/dev/evdev/
H A Dcdev.c397 struct input_keymap_entry *ke; in evdev_ioctl() local
496 ke = (struct input_keymap_entry *)data; in evdev_ioctl()
497 evdev->ev_methods->ev_get_keycode(evdev, ke); in evdev_ioctl()
509 ke = (struct input_keymap_entry *)data; in evdev_ioctl()
510 evdev->ev_methods->ev_set_keycode(evdev, ke); in evdev_ioctl()
/freebsd/contrib/tcsh/
H A Dtermcap.vms26 :ks=\E[?1h\E=:ke=\E[?1l\E>:\
46 :ks=\E[?1h\E=:ke=\E[?1l\E>:\
/freebsd/contrib/wpa/src/utils/
H A Deloop.c245 struct kevent ke; in eloop_sock_queue() local
247 EV_SET(&ke, sock, event_type_kevent_filter(type), EV_ADD, 0, 0, 0); in eloop_sock_queue()
248 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) == -1) { in eloop_sock_queue()
389 struct kevent ke; in eloop_sock_table_remove_sock() local
421 EV_SET(&ke, sock, event_type_kevent_filter(table->type), EV_DELETE, 0, in eloop_sock_table_remove_sock()
423 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) < 0) { in eloop_sock_table_remove_sock()
/freebsd/share/timedef/
H A Dfi_FI.ISO8859-15.src38 ke

123