Home
last modified time | relevance | path

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

123

/freebsd-10-stable/contrib/netbsd-tests/kernel/kqueue/
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()
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-10-stable/sys/netpfil/pf/
Dpf_table.c86 #define KENTRY_NETWORK(ke) ((ke)->pfrke_net < AF_BITS((ke)->pfrke_af)) argument
87 #define KENTRY_RNF_ROOT(ke) \ argument
88 ((((struct radix_node *)(ke))->rn_flags & RNF_ROOT) != 0)
133 struct pfr_kentry *ke);
741 struct pfr_kentry *ke; in pfr_lookup_addr() local
755 ke = (struct pfr_kentry *)rn_lookup(&sa, &mask, head); in pfr_lookup_addr()
756 if (ke && KENTRY_RNF_ROOT(ke)) in pfr_lookup_addr()
757 ke = NULL; in pfr_lookup_addr()
759 ke = (struct pfr_kentry *)rn_match(&sa, head); in pfr_lookup_addr()
760 if (ke && KENTRY_RNF_ROOT(ke)) in pfr_lookup_addr()
[all …]
/freebsd-10-stable/contrib/binutils/opcodes/
Dcgen-opc.c51 const CGEN_KEYWORD_ENTRY *ke; in cgen_keyword_lookup_name() local
57 ke = kt->name_hash_table[hash_keyword_name (kt, name, 0)]; in cgen_keyword_lookup_name()
63 while (ke != NULL) in cgen_keyword_lookup_name()
66 p = ke->name; in cgen_keyword_lookup_name()
74 return ke; in cgen_keyword_lookup_name()
76 ke = ke->next_name; in cgen_keyword_lookup_name()
90 const CGEN_KEYWORD_ENTRY *ke; in cgen_keyword_lookup_value() local
95 ke = kt->value_hash_table[hash_keyword_value (kt, value)]; in cgen_keyword_lookup_value()
97 while (ke != NULL) in cgen_keyword_lookup_value()
99 if (value == ke->value) in cgen_keyword_lookup_value()
[all …]
Dcgen-asm.c202 const CGEN_KEYWORD_ENTRY *ke; in cgen_parse_keyword() local
237 ke = cgen_keyword_lookup_name (keyword_table, buf); in cgen_parse_keyword()
239 if (ke != NULL) in cgen_parse_keyword()
241 *valuep = ke->value; in cgen_parse_keyword()
243 if (ke->name[0] != 0) in cgen_parse_keyword()
Dcgen-dis.in125 const CGEN_KEYWORD_ENTRY *ke;
127 ke = cgen_keyword_lookup_value (keyword_table, value);
128 if (ke != NULL)
129 (*info->fprintf_func) (info->stream, "%s", ke->name);
/freebsd-10-stable/tools/regression/sockets/kqueue/
Dkqueue.c107 struct kevent ke; in test_evfilt_read() local
112 EV_SET(&ke, fd[0], EVFILT_READ, EV_ADD, 0, 0, NULL); in test_evfilt_read()
113 if (kevent(kq, &ke, 1, NULL, 0, NULL) == -1) in test_evfilt_read()
122 i = kevent(kq, NULL, 0, &ke, 1, &ts); in test_evfilt_read()
148 i = kevent(kq, NULL, 0, &ke, 1, &ts); in test_evfilt_read()
173 i = kevent(kq, NULL, 0, &ke, 1, &ts); in test_evfilt_read()
182 EV_SET(&ke, fd[0], EVFILT_READ, EV_DELETE, 0, 0, NULL); in test_evfilt_read()
183 if (kevent(kq, &ke, 1, NULL, 0, NULL) == -1) in test_evfilt_read()
192 struct kevent ke; in test_evfilt_write() local
197 EV_SET(&ke, fd[0], EVFILT_WRITE, EV_ADD, 0, 0, NULL); in test_evfilt_write()
[all …]
/freebsd-10-stable/crypto/heimdal/lib/krb5/
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()
202 struct _krb5_key_data ke; in ARCFOUR_subdecrypt() local
227 ke.key = &kb; in ARCFOUR_subdecrypt()
233 ret = _krb5_internal_hmac(NULL, c, cdata, 16, 0, &ke, &k3_c); in ARCFOUR_subdecrypt()
242 ke.key = &kb; in ARCFOUR_subdecrypt()
248 ret = _krb5_internal_hmac(NULL, c, cdata + 16, len - 16, 0, &ke, &cksum); in ARCFOUR_subdecrypt()
/freebsd-10-stable/crypto/openssh/regress/unittests/sshkey/
Dtest_sshkey.c181 struct sshkey *ke; in sshkey_tests() local
314 ASSERT_INT_EQ(sshkey_generate(KEY_ECDSA, 256, &ke), 0); in sshkey_tests()
315 ASSERT_PTR_NE(ke, NULL); in sshkey_tests()
316 ASSERT_PTR_NE(ke->ecdsa, NULL); in sshkey_tests()
317 ASSERT_PTR_NE(EC_KEY_get0_public_key(ke->ecdsa), NULL); in sshkey_tests()
318 ASSERT_PTR_NE(EC_KEY_get0_private_key(ke->ecdsa), NULL); in sshkey_tests()
363 ASSERT_INT_EQ(sshkey_demote(ke, &k1), 0); in sshkey_tests()
365 ASSERT_PTR_NE(ke, k1); in sshkey_tests()
368 ASSERT_INT_EQ(k1->ecdsa_nid, ke->ecdsa_nid); in sshkey_tests()
369 ASSERT_PTR_NE(EC_KEY_get0_public_key(ke->ecdsa), NULL); in sshkey_tests()
[all …]
/freebsd-10-stable/tests/sys/aio/
Dlio_kqueue_test.c70 struct kevent ke, kq_returned; in main() local
151 bzero(&ke, sizeof(ke)); in main()
152 bzero(&kq_returned, sizeof(ke)); in main()
158 EV_SET(&ke, (uintptr_t)lio[j], in main()
Daio_kqueue_test.c62 struct kevent ke, kq_returned; in main() local
148 bzero(&ke, sizeof(ke)); in main()
149 bzero(&kq_returned, sizeof(ke)); in main()
/freebsd-10-stable/tests/sys/kern/pipe/
Dpipe_fstat_bug_test.c53 struct kevent event, ke; in main() local
128 EV_SET(&ke, desc[0], EVFILT_READ, EV_ADD, 0, 0, NULL); in main()
131 if (kevent(kq, &ke, 1, NULL, 0, NULL) != 0) in main()
/freebsd-10-stable/contrib/sqlite3/tea/win/
Dnmakehlp.c606 unsigned char *ks, *ke, *vs, *ve; in SubstituteFile() local
609 ke = ks; in SubstituteFile()
610 while (ke && *ke && !isspace(*ke)) ++ke; in SubstituteFile()
611 vs = ke; in SubstituteFile()
615 *ke = 0, *ve = 0; in SubstituteFile()
/freebsd-10-stable/contrib/bmake/
Dbmake.cat14 bbmmaakkee -- maintain program dependencies
7 …bbmmaakkee [--BBeeiikkNNnnqqrrssttWWwwXX] [--CC _d_i_r_e_c_t_o_r_y] …
13 bbmmaakkee is a program designed to simplify the maintenance of other pro-
16 …given, bbmmaakkee will try to open `_m_a_k_e_f_i_l_e' then `_M_a_k_e_f_i_l_e'…
21 thorough description of bbmmaakkee and makefiles, please refer to _P_M_a_k_e _- _A
24 …bbmmaakkee will prepend the contents of the _M_A_K_E_F_L_A_G_S environment variable …
43 Turn on debugging, and specify which portions of bbmmaakkee are to
154 Specify the maximum number of jobs that bbmmaakkee may have running at
180 then bbmmaakkee will search for the specified file or directory named
185 tion in the --mm argument. If used, this feature allows bbmmaakkee to
[all …]
/freebsd-10-stable/usr.bin/truss/
Dsyscalls.c812 print_kevent(FILE *fp, struct kevent *ke, int input) in print_kevent() argument
815 switch (ke->filter) { in print_kevent()
821 fprintf(fp, "%ju", (uintmax_t)ke->ident); in print_kevent()
824 fputs(strsig2(ke->ident), fp); in print_kevent()
827 fprintf(fp, "%p", (void *)ke->ident); in print_kevent()
829 fprintf(fp, ",%s,%s,", xlookup(kevent_filters, ke->filter), in print_kevent()
830 xlookup_bits(kevent_flags, ke->flags)); in print_kevent()
831 switch (ke->filter) { in print_kevent()
834 fputs(xlookup_bits(kevent_rdwr_fflags, ke->fflags), fp); in print_kevent()
837 fputs(xlookup_bits(kevent_vnode_fflags, ke->fflags), fp); in print_kevent()
[all …]
/freebsd-10-stable/usr.sbin/camdd/
Dcamdd.c590 struct kevent *ke; in camdd_alloc_dev() local
634 ke = malloc(ke_size); in camdd_alloc_dev()
635 if (ke == NULL) { in camdd_alloc_dev()
639 bzero(ke, ke_size); in camdd_alloc_dev()
641 bcopy(new_ke, ke, num_ke * sizeof(struct kevent)); in camdd_alloc_dev()
643 EV_SET(&ke[num_ke++], (uintptr_t)&dev->work_queue, EVFILT_USER, in camdd_alloc_dev()
645 EV_SET(&ke[num_ke++], (uintptr_t)&dev->peer_done_queue, EVFILT_USER, in camdd_alloc_dev()
647 EV_SET(&ke[num_ke++], SIGINFO, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0,0,0); in camdd_alloc_dev()
648 EV_SET(&ke[num_ke++], SIGINT, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0,0,0); in camdd_alloc_dev()
650 retval = kevent(dev->kq, ke, num_ke, NULL, 0, NULL); in camdd_alloc_dev()
[all …]
/freebsd-10-stable/usr.sbin/jail/
Dcommand.c214 struct kevent ke; in next_proc() local
243 switch (kevent(kq, NULL, 0, &ke, 1, tsp)) { in next_proc()
257 (void)waitpid(ke.ident, NULL, WNOHANG); in next_proc()
258 if ((j = find_proc(ke.ident))) { in next_proc()
259 j->pstatus = ke.data; in next_proc()
758 struct kevent ke; in add_proc() local
764 EV_SET(&ke, pid, EVFILT_PROC, EV_ADD, NOTE_EXIT, 0, NULL); in add_proc()
765 if (kevent(kq, &ke, 1, NULL, 0, NULL) < 0) { in add_proc()
803 struct kevent ke; in clear_procs() local
811 EV_SET(&ke, ph->pid, EVFILT_PROC, EV_DELETE, in clear_procs()
[all …]
/freebsd-10-stable/lib/libutil/tests/
Dpidfile_test.c133 struct kevent event, ke; in common_test_pidfile_child() local
176 EV_SET(&ke, SIGINT, EVFILT_SIGNAL, EV_ADD, 0, 0, NULL); in common_test_pidfile_child()
178 if (kevent(kq, &ke, 1, NULL, 0, NULL) != 0) in common_test_pidfile_child()
/freebsd-10-stable/crypto/heimdal/lib/hx509/
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
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-10-stable/contrib/apr/poll/unix/
Dkqueue.c368 pollcb->pollset.ke = (struct kevent *)apr_pcalloc(p, 2 * size * sizeof(struct kevent)); in impl_pollcb_create()
460 ret = kevent(pollcb->fd, NULL, 0, pollcb->pollset.ke, 2 * pollcb->nalloc, in impl_pollcb_poll()
471 apr_pollfd_t *pollfd = (apr_pollfd_t *)(pollcb->pollset.ke[i].udata); in impl_pollcb_poll()
473 pollfd->rtnevents = get_kqueue_revent(pollcb->pollset.ke[i].filter, in impl_pollcb_poll()
474 pollcb->pollset.ke[i].flags); in impl_pollcb_poll()
/freebsd-10-stable/lib/libkse/thread/
Dthr_kern.c2044 struct kse *ke; in kse_wakeup_one() local
2051 TAILQ_FOREACH(ke, &thread->kseg->kg_kseq, k_kgqe) { in kse_wakeup_one()
2052 if (KSE_IS_IDLE(ke)) { in kse_wakeup_one()
2053 KSE_CLEAR_IDLE(ke); in kse_wakeup_one()
2054 ke->k_kseg->kg_idle_kses--; in kse_wakeup_one()
2055 return (&ke->k_kcb->kcb_kmbx); in kse_wakeup_one()
2065 struct kse *ke; in kse_wakeup_multi() local
2069 TAILQ_FOREACH(ke, &curkse->k_kseg->kg_kseq, k_kgqe) { in kse_wakeup_multi()
2070 if (KSE_IS_IDLE(ke)) { in kse_wakeup_multi()
2071 KSE_CLEAR_IDLE(ke); in kse_wakeup_multi()
[all …]
/freebsd-10-stable/contrib/tcsh/
Dtermcap.vms27 :ks=\E[?1h\E=:ke=\E[?1l\E>:\
47 :ks=\E[?1h\E=:ke=\E[?1l\E>:\
/freebsd-10-stable/contrib/unbound/validator/
Dvalidator.c2440 struct key_entry_key** ke) in ds_response_to_ke() argument
2485 *ke = key_entry_create_null(qstate->region, in ds_response_to_ke()
2488 return (*ke) != NULL; in ds_response_to_ke()
2493 *ke = key_entry_create_rrset(qstate->region, in ds_response_to_ke()
2496 return (*ke) != NULL; in ds_response_to_ke()
2524 *ke = key_entry_create_null(qstate->region, in ds_response_to_ke()
2528 return (*ke) != NULL; in ds_response_to_ke()
2532 *ke = NULL; in ds_response_to_ke()
2556 *ke = key_entry_create_null(qstate->region, in ds_response_to_ke()
2560 return (*ke) != NULL; in ds_response_to_ke()
[all …]
/freebsd-10-stable/usr.bin/calendar/calendars/hr_HR.ISO8859-2/
Dcalendar.praznici16 06/22 Dan antifa�isti�ke borbe

123