Home
last modified time | relevance | path

Searched refs:evp (Results 1 – 25 of 207) sorted by relevance

123456789

/freebsd/usr.sbin/bhyve/
H A Dmevent.c384 mevent_update(struct mevent *evp, enum mevent_update_type type, int msecs) in mevent_update() argument
393 assert((evp->me_state & EV_DELETE) == 0); in mevent_update()
395 newstate = evp->me_state; in mevent_update()
404 assert(evp->me_type == EVF_TIMER); in mevent_update()
406 evp->me_msecs = msecs; in mevent_update()
412 if (evp->me_state != newstate || type == UPDATE_TIMER) { in mevent_update()
413 evp->me_state = newstate; in mevent_update()
419 if (evp->me_cq == 0) { in mevent_update()
420 evp->me_cq = 1; in mevent_update()
421 LIST_REMOVE(evp, me_list); in mevent_update()
[all …]
/freebsd/contrib/nvi/common/
H A Dkey.c360 EVENT *evp; in v_event_push() local
389 for (evp = gp->i_event + gp->i_next; nitems--; ++evp) { in v_event_push()
391 *evp = *p_evp++; in v_event_push()
393 evp->e_event = E_CHARACTER; in v_event_push()
394 evp->e_c = *p_s++; in v_event_push()
395 evp->e_value = KEY_VAL(sp, evp->e_c); in v_event_push()
396 F_INIT(&evp->e_ch, flags); in v_event_push()
410 EVENT *evp; in v_event_append() local
420 evp = gp->i_event + gp->i_next + gp->i_cnt; in v_event_append()
425 for (s = argp->e_csp; nevents--; ++evp) { in v_event_append()
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dprovider.c19 #define DEFINE_ALGORITHMS(name, evp) \ argument
20 DEFINE_STACK_OF(evp) \
21 static int cmp_##evp(const evp *const *a, const evp *const *b); \
22 static void collect_##evp(evp *obj, void *stack); \
25 static STACK_OF(evp) *name##_collection; \
26 static int cmp_##evp(const evp *const *a, const evp *const *b) \
28 return strcmp(OSSL_PROVIDER_get0_name(evp##_get0_provider(*a)), \
29 OSSL_PROVIDER_get0_name(evp##_get0_provider(*b))); \
31 static void collect_##evp(evp *obj, void *stack) \
33 STACK_OF(evp) *obj_stack = stack; \
[all …]
/freebsd/crypto/openssh/
H A Dcipher.c61 EVP_CIPHER_CTX *evp; member
291 if ((cc->evp = EVP_CIPHER_CTX_new()) == NULL) { in cipher_init()
295 if (EVP_CipherInit(cc->evp, type, NULL, (u_char *)iv, in cipher_init()
301 EVP_CIPHER_CTX_ctrl(cc->evp, EVP_CTRL_GCM_SET_IV_FIXED, in cipher_init()
306 klen = EVP_CIPHER_CTX_key_length(cc->evp); in cipher_init()
308 if (EVP_CIPHER_CTX_set_key_length(cc->evp, keylen) == 0) { in cipher_init()
313 if (EVP_CipherInit(cc->evp, NULL, (u_char *)key, NULL, -1) == 0) { in cipher_init()
326 EVP_CIPHER_CTX_free(cc->evp); in cipher_init()
372 if (EVP_CIPHER_CTX_ctrl(cc->evp, EVP_CTRL_GCM_IV_GEN, in cipher_crypt()
377 EVP_CIPHER_CTX_ctrl(cc->evp, EVP_CTRL_GCM_SET_TAG, in cipher_crypt()
[all …]
/freebsd/sys/x86/iommu/
H A Damd_event.c89 const struct amdiommu_event_generic *evp, bool fancy) in amdiommu_event_log_print() argument
92 unit->iommu.unit, evp->code, evp->w0, evp->ww1, evp->w2, evp->w3); in amdiommu_event_log_print()
97 if (evp->code == AMDIOMMU_EV_ILL_DEV_TABLE_ENTRY) { in amdiommu_event_log_print()
104 amdiommu_event_ill_dev_table_entry *)evp; in amdiommu_event_log_print()
112 } else if (evp->code == AMDIOMMU_EV_IO_PAGE_FAULT) { in amdiommu_event_log_print()
118 amdiommu_event_io_page_fault_entry *)evp; in amdiommu_event_log_print()
164 struct amdiommu_event_generic *evp; in amdiommu_event_intr() local
175 evp = &unit->event_log[unit->event_log_head]; in amdiommu_event_intr()
179 *evp; in amdiommu_event_intr()
185 amdiommu_event_log_print(unit, evp, false); in amdiommu_event_intr()
/freebsd/contrib/nvi/cl/
H A Dcl_read.c46 cl_event(SCR *sp, EVENT *evp, u_int32_t flags, int ms) in cl_event() argument
64 evp->e_event = E_INTERRUPT; in cl_event()
66 evp->e_event = E_TIMEOUT; in cl_event()
71 evp->e_event = E_SIGHUP; in cl_event()
75 evp->e_event = E_SIGTERM; in cl_event()
84 evp->e_event = E_WRESIZE; in cl_event()
107 evp->e_csp = wp; in cl_event()
108 evp->e_len = wlen; in cl_event()
109 evp->e_event = E_STRING; in cl_event()
122 evp->e_event = E_EOF; in cl_event()
[all …]
/freebsd/sys/netsmb/
H A Dsmb_iod.c372 struct smbiod_event *evp; in smb_iod_request() local
376 evp = smb_zmalloc(sizeof(*evp), M_SMBIOD, M_WAITOK); in smb_iod_request()
377 evp->ev_type = event; in smb_iod_request()
378 evp->ev_ident = ident; in smb_iod_request()
380 STAILQ_INSERT_TAIL(&iod->iod_evlist, evp, ev_link); in smb_iod_request()
387 msleep(evp, SMB_IOD_EVLOCKPTR(iod), PWAIT | PDROP, "90evw", 0); in smb_iod_request()
388 error = evp->ev_error; in smb_iod_request()
389 free(evp, M_SMBIOD); in smb_iod_request()
579 struct smbiod_event *evp; in smb_iod_main() local
589 evp = STAILQ_FIRST(&iod->iod_evlist); in smb_iod_main()
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dclock.c92 register SM_EVENT **evp; local
119 for (evp = (SM_EVENT **) (&SmEventQueue);
120 (ev = *evp) != NULL;
121 evp = &ev->ev_link)
160 ev->ev_link = *evp;
161 *evp = ev;
199 register SM_EVENT **evp; local
210 for (evp = (SM_EVENT **) (&SmEventQueue);
211 *evp != NULL;
212 evp = &(*evp)->ev_link)
[all …]
/freebsd/sys/kern/
H A Dvfs_inotify.c525 struct inotify_event *evp; in inotify_alloc_record() local
532 evp = &rec->ev; in inotify_alloc_record()
533 evp->wd = wd; in inotify_alloc_record()
534 evp->mask = event; in inotify_alloc_record()
535 evp->cookie = cookie; in inotify_alloc_record()
536 evp->len = _IN_NAMESIZE(namelen); in inotify_alloc_record()
538 memcpy(evp->name, name, namelen); in inotify_alloc_record()
543 inotify_can_coalesce(struct inotify_softc *sc, struct inotify_event *evp) in inotify_can_coalesce() argument
550 return (prev != NULL && prev->ev.mask == evp->mask && in inotify_can_coalesce()
551 prev->ev.wd == evp->wd && prev->ev.cookie == evp->cookie && in inotify_can_coalesce()
[all …]
H A Dkern_time.c1245 struct sigevent * evp; member
1252 struct sigevent *evp, ev; in sys_ktimer_create() local
1256 if (uap->evp == NULL) { in sys_ktimer_create()
1257 evp = NULL; in sys_ktimer_create()
1259 error = copyin(uap->evp, &ev, sizeof(ev)); in sys_ktimer_create()
1262 evp = &ev; in sys_ktimer_create()
1264 error = kern_ktimer_create(td, uap->clock_id, evp, &id, -1); in sys_ktimer_create()
1274 kern_ktimer_create(struct thread *td, clockid_t clock_id, struct sigevent *evp, in kern_ktimer_create() argument
1288 if (evp != NULL) { in kern_ktimer_create()
1289 if (evp->sigev_notify != SIGEV_NONE && in kern_ktimer_create()
[all …]
/freebsd/sys/compat/linux/
H A Dlinux_timer.c88 struct sigevent ev, *evp; in linux_timer_create() local
92 if (uap->evp == NULL) { in linux_timer_create()
93 evp = NULL; in linux_timer_create()
95 error = copyin(uap->evp, &l_ev, sizeof(l_ev)); in linux_timer_create()
101 evp = &ev; in linux_timer_create()
106 error = kern_ktimer_create(td, nwhich, evp, &id, -1); in linux_timer_create()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_report.cpp369 for (Event *evp = &part->events[0]; evp < end; evp++) { in TraceReplay() local
370 Event *evp0 = evp; in TraceReplay()
371 if (!evp->is_access && !evp->is_func) { in TraceReplay()
372 switch (evp->type) { in TraceReplay()
374 auto *ev = reinterpret_cast<EventTime *>(evp); in TraceReplay()
389 evp++; in TraceReplay()
488 [&](Sid ev_sid, Epoch ev_epoch, Event *evp) { in RestoreStack() argument
489 if (evp == nullptr) { in RestoreStack()
497 if (evp->is_access) { in RestoreStack()
498 if (evp->is_func == 0 && evp->type == EventType::kAccessExt && in RestoreStack()
[all …]
/freebsd/lib/librt/
H A Dtimer.c79 __timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid) in __timer_create() argument
90 if (evp == NULL || evp->sigev_notify != SIGEV_THREAD) { in __timer_create()
91 ret = __sys_ktimer_create(clockid, evp, &timer->oshandle); in __timer_create()
109 sn = __sigev_alloc(SI_TIMER, evp, NULL, 0); in __timer_create()
H A Dmq.c122 __mq_notify(mqd_t mqd, const struct sigevent *evp) in mq_dispatch()
128 if (evp == NULL || evp->sigev_notify != SIGEV_THREAD) { in mq_dispatch()
135 return __sys_kmq_notify(mqd->oshandle, evp); in __mq_notify()
146 sn = __sigev_alloc(SI_MESGQ, evp, mqd->node, 1); in __mq_notify()
134 __mq_notify(mqd_t mqd,const struct sigevent * evp) __mq_notify() argument
H A Dsigev_thread.c190 __sigev_alloc(int type, const struct sigevent *evp, struct sigev_node *prev, in __sigev_alloc() argument
197 sn->sn_value = evp->sigev_value; in __sigev_alloc()
198 sn->sn_func = evp->sigev_notify_function; in __sigev_alloc()
204 if (evp->sigev_notify_attributes) in __sigev_alloc()
205 attrcopy(evp->sigev_notify_attributes, &sn->sn_attr); in __sigev_alloc()
/freebsd/crypto/heimdal/include/hcrypto/
H A DMakefile.am15 evp.h \
16 evp-hcrypto.h \
17 evp-cc.h \
/freebsd/contrib/tcpdump/
H A Dprint-esp.c107 const EVP_CIPHER *evp; member
199 if (set_cipher_parameters(ctx, sa->evp, sa->secret, NULL) < 0) { in do_decrypt()
299 if(sa->evp == NULL) return 0; in esp_decrypt_buffer_by_ikev2_print()
414 const EVP_CIPHER *evp; in espprint_decode_encalgo() local
448 evp = EVP_get_cipherbyname(real_decode); in espprint_decode_encalgo()
450 if (!evp) { in espprint_decode_encalgo()
455 sa->evp = NULL; in espprint_decode_encalgo()
461 sa->evp = evp; in espprint_decode_encalgo()
464 sa->ivlen = EVP_CIPHER_iv_length(evp); in espprint_decode_encalgo()
861 if (sa->evp == NULL) in esp_print()
/freebsd/crypto/openssl/test/recipes/
H A D15-test_mp_rsa.t53 my $evp = shift;
58 my $name = ($evp ? "evp" : "") . "${bits}p${primes}";
60 if ($evp) {
/freebsd/crypto/openssl/providers/
H A Dfips.module.sources207 crypto/evp/asymcipher.c
208 crypto/evp/dh_support.c
209 crypto/evp/digest.c
210 crypto/evp/ec_support.c
211 crypto/evp/evp_enc.c
212 crypto/evp/evp_fetch.c
213 crypto/evp/evp_lib.c
214 crypto/evp/evp_local.h
215 crypto/evp/evp_rand.c
216 crypto/evp/evp_utils.c
[all …]
H A Dfips-sources.checksums207 3ba8412897cbf17881fbf23cec27a487b2c587348e1f859ec44e47f366877249 crypto/evp/asymcipher.c
208 1f64d4752074f954af4f290788e4332e3874ba3282bd03d3e1d1f5ce4b0888bc crypto/evp/dh_support.c
209 da3140dbda8a35cfe4a0748892a3e381e3988a94ddb945c2371922bb3010d96d crypto/evp/digest.c
210 4ffc3fc5ee5f0dcadf1516f1cc29338f0f4d85c59881c06d5a777cf4e47a6d5f crypto/evp/ec_support.c
211 6f8a9bb4d8da878aab6bf5f4bef286a0045fee1b140a1f9151c830d03778f879 crypto/evp/evp_enc.c
212 8683c25d4bcb598375a04d4682399c9eef095225b49498afe819e5193e9cc117 crypto/evp/evp_fetch.c
213 75855fc64e44e5bbfb728d85014c65e8b0668faee26f0901aaa729c16679dee8 crypto/evp/evp_lib.c
214 e997e921669076c51e230ccb2e36b1c6755fe408c61b1177d2aa67529cab15f3 crypto/evp/evp_local.h
215 8963ef06e4d228f7067917434f60f0502dc4bbdf3b271649498b734f4074bfb0 crypto/evp/evp_rand.c
216 0bdae4714221662282dccd5b1f2485370d24e463c11bdbb71a310f34616954fe crypto/evp/evp_utils.c
[all …]
/freebsd/sys/contrib/openzfs/config/
H A Duser-libcrypto.m45 …ZFS_AC_FIND_SYSTEM_LIBRARY(LIBCRYPTO, [libcrypto], [openssl/evp.h], [], [crypto], [PKCS5_PBKDF2_HM…
7 *** evp.h missing, libssl-devel package required])])
/freebsd/crypto/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl54 $::code.=<<___ if (!$::evp);
66 $::code.=<<___ if ($::evp);
126 $::code.=<<___ if ($::evp);
132 $::code.=<<___ if (!$::evp);
161 $::code.=<<___ if ($::evp);
167 $::code.=<<___ if (!$::evp);
238 $::code.=<<___ if ($::evp);
244 $::code.=<<___ if (!$::evp);
272 $::code.=<<___ if (!$::evp);
284 $::code.=<<___ if ($::evp);
[all …]
/freebsd/contrib/nvi/vi/
H A Dv_txt.c248 EVENT ev, *evp = NULL; /* Current event. */ in v_txt() local
476 evp = &ev; in v_txt()
477 next: if (v_event_get(sp, evp, 0, ec_flags)) in v_txt()
499 switch (evp->e_event) { in v_txt()
524 v_event_err(sp, evp); in v_txt()
535 if (LF_ISSET(TXT_RECORD) && rcol == 0 && evp->e_c == '\0') { in v_txt()
557 O_STR(sp, O_CEDIT)[0] == evp->e_c) in v_txt()
560 O_STR(sp, O_FILEC)[0] == evp->e_c) in v_txt()
575 if (F_ISSET(&evp->e_ch, CH_ABBREVIATED)) { in v_txt()
592 vip->rep[rcol++] = *evp; in v_txt()
[all …]
/freebsd/contrib/netbsd-tests/crypto/libcrypto/
H A Dt_ciphers.sh59 atf_test_case evp
117 atf_add_test_case evp
/freebsd/contrib/openbsm/libauditd/
H A Dauditd_lib.c693 au_event_ent_t ev, *evp; in auditd_set_evcmap() local
716 evp = &ev; in auditd_set_evcmap()
718 while ((evp = getauevent_r(evp)) != NULL) { in auditd_set_evcmap()
724 if (strlcpy(evn_map.en_name, evp->ae_name, in auditd_set_evcmap()
726 evn_map.en_number = evp->ae_number; in auditd_set_evcmap()
733 evc_map.ec_number = evp->ae_number; in auditd_set_evcmap()
734 evc_map.ec_class = evp->ae_class; in auditd_set_evcmap()

123456789