/freebsd/crypto/openssl/crypto/lhash/ |
H A D | lhash.c | 43 static int expand(OPENSSL_LHASH *lh); 44 static void contract(OPENSSL_LHASH *lh); 45 static OPENSSL_LH_NODE **getrn(OPENSSL_LHASH *lh, const void *data, unsigned long *rhash); 76 void OPENSSL_LH_free(OPENSSL_LHASH *lh) in OPENSSL_LH_free() argument 78 if (lh == NULL) in OPENSSL_LH_free() 81 OPENSSL_LH_flush(lh); in OPENSSL_LH_free() 82 OPENSSL_free(lh->b); in OPENSSL_LH_free() 83 OPENSSL_free(lh); in OPENSSL_LH_free() 86 void OPENSSL_LH_flush(OPENSSL_LHASH *lh) in OPENSSL_LH_flush() argument 91 if (lh == NULL) in OPENSSL_LH_flush() [all …]
|
H A D | lh_stats.c | 24 void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_stats() argument 32 OPENSSL_LH_stats_bio(lh, bp); in OPENSSL_LH_stats() 36 void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_stats() argument 44 OPENSSL_LH_node_stats_bio(lh, bp); in OPENSSL_LH_node_stats() 48 void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_usage_stats() argument 56 OPENSSL_LH_node_usage_stats_bio(lh, bp); in OPENSSL_LH_node_usage_stats() 62 void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out) in OPENSSL_LH_stats_bio() argument 64 BIO_printf(out, "num_items = %lu\n", lh->num_items); in OPENSSL_LH_stats_bio() 65 BIO_printf(out, "num_nodes = %u\n", lh->num_nodes); in OPENSSL_LH_stats_bio() 66 BIO_printf(out, "num_alloc_nodes = %u\n", lh->num_alloc_nodes); in OPENSSL_LH_stats_bio() [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | lhash.h | 80 int OPENSSL_LH_error(OPENSSL_LHASH *lh); 82 void OPENSSL_LH_free(OPENSSL_LHASH *lh); 83 void OPENSSL_LH_flush(OPENSSL_LHASH *lh); 84 void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data); 85 void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data); 86 void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data); 87 void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func); 88 void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg); 90 unsigned long OPENSSL_LH_num_items(const OPENSSL_LHASH *lh); 91 unsigned long OPENSSL_LH_get_down_load(const OPENSSL_LHASH *lh); [all …]
|
H A D | lhash.h.in | 82 int OPENSSL_LH_error(OPENSSL_LHASH *lh); 84 void OPENSSL_LH_free(OPENSSL_LHASH *lh); 85 void OPENSSL_LH_flush(OPENSSL_LHASH *lh); 86 void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data); 87 void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data); 88 void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data); 89 void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func); 90 void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg); 92 unsigned long OPENSSL_LH_num_items(const OPENSSL_LHASH *lh); 93 unsigned long OPENSSL_LH_get_down_load(const OPENSSL_LHASH *lh); [all …]
|
H A D | conf.h | 69 #define lh_CONF_VALUE_free(lh) OPENSSL_LH_free(ossl_check_CONF_VALUE_lh_type(lh)) argument 70 #define lh_CONF_VALUE_flush(lh) OPENSSL_LH_flush(ossl_check_CONF_VALUE_lh_type(lh)) argument 71 #define lh_CONF_VALUE_insert(lh, ptr) ((CONF_VALUE *)OPENSSL_LH_insert(ossl_check_CONF_VALUE_lh_typ… argument 72 #define lh_CONF_VALUE_delete(lh, ptr) ((CONF_VALUE *)OPENSSL_LH_delete(ossl_check_CONF_VALUE_lh_typ… argument 73 #define lh_CONF_VALUE_retrieve(lh, ptr) ((CONF_VALUE *)OPENSSL_LH_retrieve(ossl_check_CONF_VALUE_lh… argument 74 #define lh_CONF_VALUE_error(lh) OPENSSL_LH_error(ossl_check_CONF_VALUE_lh_type(lh)) argument 75 #define lh_CONF_VALUE_num_items(lh) OPENSSL_LH_num_items(ossl_check_CONF_VALUE_lh_type(lh)) argument 76 #define lh_CONF_VALUE_node_stats_bio(lh, out) OPENSSL_LH_node_stats_bio(ossl_check_const_CONF_VALUE… argument 77 …e lh_CONF_VALUE_node_usage_stats_bio(lh, out) OPENSSL_LH_node_usage_stats_bio(ossl_check_const_CON… argument 78 #define lh_CONF_VALUE_stats_bio(lh, out) OPENSSL_LH_stats_bio(ossl_check_const_CONF_VALUE_lh_type(l… argument [all …]
|
H A D | err.h | 376 #define lh_ERR_STRING_DATA_free(lh) OPENSSL_LH_free(ossl_check_ERR_STRING_DATA_lh_type(lh)) argument 377 #define lh_ERR_STRING_DATA_flush(lh) OPENSSL_LH_flush(ossl_check_ERR_STRING_DATA_lh_type(lh)) argument 378 #define lh_ERR_STRING_DATA_insert(lh, ptr) ((ERR_STRING_DATA *)OPENSSL_LH_insert(ossl_check_ERR_STR… argument 379 #define lh_ERR_STRING_DATA_delete(lh, ptr) ((ERR_STRING_DATA *)OPENSSL_LH_delete(ossl_check_ERR_STR… argument 380 …fine lh_ERR_STRING_DATA_retrieve(lh, ptr) ((ERR_STRING_DATA *)OPENSSL_LH_retrieve(ossl_check_ERR_S… argument 381 #define lh_ERR_STRING_DATA_error(lh) OPENSSL_LH_error(ossl_check_ERR_STRING_DATA_lh_type(lh)) argument 382 #define lh_ERR_STRING_DATA_num_items(lh) OPENSSL_LH_num_items(ossl_check_ERR_STRING_DATA_lh_type(lh… argument 383 …ne lh_ERR_STRING_DATA_node_stats_bio(lh, out) OPENSSL_LH_node_stats_bio(ossl_check_const_ERR_STRIN… argument 384 …_STRING_DATA_node_usage_stats_bio(lh, out) OPENSSL_LH_node_usage_stats_bio(ossl_check_const_ERR_ST… argument 385 #define lh_ERR_STRING_DATA_stats_bio(lh, out) OPENSSL_LH_stats_bio(ossl_check_const_ERR_STRING_DATA… argument [all …]
|
/freebsd/usr.bin/sed/ |
H A D | compile.c | 1011 struct labhash **lhp, *lh; in enterlabel() local 1018 for (lh = *lhp; lh != NULL; lh = lh->lh_next) in enterlabel() 1019 if (lh->lh_hash == h && strcmp(cp->t, lh->lh_cmd->t) == 0) in enterlabel() 1021 if ((lh = malloc(sizeof *lh)) == NULL) in enterlabel() 1023 lh->lh_next = *lhp; in enterlabel() 1024 lh->lh_hash = h; in enterlabel() 1025 lh->lh_cmd = cp; in enterlabel() 1026 lh->lh_ref = 0; in enterlabel() 1027 *lhp = lh; in enterlabel() 1037 struct labhash *lh; in findlabel() local [all …]
|
/freebsd/contrib/ntp/ |
H A D | bootstrap | 100 lh= 117 lh="$lh $i" 136 case "$lh" in 138 *) touch $lh 139 echo "Touching <$lh>"
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_aperture.c | 137 struct list_head lh; member 159 list_del(&ap->lh); in devm_aperture_acquire_release() 174 ap = container_of(pos, struct aperture_range, lh); in devm_aperture_acquire() 191 INIT_LIST_HEAD(&ap->lh); in devm_aperture_acquire() 193 list_add(&ap->lh, &apertures); in devm_aperture_acquire() 255 struct aperture_range *ap = container_of(pos, struct aperture_range, lh); in aperture_detach_devices() 265 list_del(&ap->lh); in aperture_detach_devices()
|
/freebsd/usr.sbin/ppp/ |
H A D | pap.c | 86 struct fsmheader lh; in pap_Req() local 98 lh.code = PAP_REQUEST; in pap_Req() 99 lh.id = authp->id; in pap_Req() 100 lh.length = htons(plen + sizeof(struct fsmheader)); in pap_Req() 102 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in pap_Req() 116 struct fsmheader lh; in SendPapCode() local 121 lh.code = code; in SendPapCode() 122 lh.id = authp->id; in SendPapCode() 125 lh.length = htons(plen + sizeof(struct fsmheader)); in SendPapCode() 127 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in SendPapCode()
|
H A D | fsm.c | 192 struct fsmheader lh; in fsm_Output() local 211 lh.code = code; in fsm_Output() 212 lh.id = id; in fsm_Output() 213 lh.length = htons(plen); in fsm_Output() 215 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in fsm_Output() 1047 struct fsmheader lh; in fsm_Input() local 1055 bp = mbuf_Read(bp, &lh, sizeof lh); in fsm_Input() 1057 if (ntohs(lh.length) > len) { in fsm_Input() 1059 "- dropped\n", fp->link->name, len, (int)ntohs(lh.length)); in fsm_Input() 1064 if (lh.code < fp->min_code || lh.code > fp->max_code || in fsm_Input() [all …]
|
/freebsd/crypto/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 300 static ossl_inline void lh_$1_free(LHASH_OF($1) *lh); 301 static ossl_inline $1 *lh_$1_insert(LHASH_OF($1) *lh, $1 *d); 302 static ossl_inline $1 *lh_$1_delete(LHASH_OF($1) *lh, const $1 *d); 303 static ossl_inline $1 *lh_$1_retrieve(LHASH_OF($1) *lh, const $1 *d); 304 static ossl_inline int lh_$1_error(LHASH_OF($1) *lh); 305 static ossl_inline unsigned long lh_$1_num_items(LHASH_OF($1) *lh); 306 static ossl_inline void lh_$1_node_stats_bio(const LHASH_OF($1) *lh, BIO *out); 307 static ossl_inline void lh_$1_node_usage_stats_bio(const LHASH_OF($1) *lh, 309 static ossl_inline void lh_$1_stats_bio(const LHASH_OF($1) *lh, BIO *out); 310 static ossl_inline unsigned long lh_$1_get_down_load(LHASH_OF($1) *lh); [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound_cache.sh | 92 $LS -lh $CONF/$FNAME 96 $LS -lh $filename 107 $LS -lh $CONF/$FNAME 112 $LS -lh $filename
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_types.h | 185 int16_t hh; uint16_t hl; uint16_t lh; uint16_t ll; member 188 uint16_t hh; uint16_t hl; uint16_t lh; uint16_t ll; member 198 uint16_t ll; uint16_t lh; uint16_t hl; int16_t hh; 201 uint16_t ll; uint16_t lh; uint16_t hl; uint16_t hh;
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec2_smpl.c | 512 BIGNUM *lh, *y2; in ossl_ec_GF2m_simple_is_on_curve() local 540 lh = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_is_on_curve() 541 if (lh == NULL) in ossl_ec_GF2m_simple_is_on_curve() 550 if (!BN_GF2m_add(lh, point->X, group->a)) in ossl_ec_GF2m_simple_is_on_curve() 552 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve() 554 if (!BN_GF2m_add(lh, lh, point->Y)) in ossl_ec_GF2m_simple_is_on_curve() 556 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve() 558 if (!BN_GF2m_add(lh, lh, group->b)) in ossl_ec_GF2m_simple_is_on_curve() 562 if (!BN_GF2m_add(lh, lh, y2)) in ossl_ec_GF2m_simple_is_on_curve() 564 ret = BN_is_zero(lh); in ossl_ec_GF2m_simple_is_on_curve()
|
/freebsd/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 52 255 & whoami->client_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc() 58 255 & whoami->client_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc() 87 255 & res.router_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc() 95 255 & res.router_address.bp_address_u.ip_addr.lh, in bootparamproc_whoami_1_svc() 155 255 & res.server_address.bp_address_u.ip_addr.lh, in bootparamproc_getfile_1_svc() 162 255 & res.server_address.bp_address_u.ip_addr.lh, in bootparamproc_getfile_1_svc()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | OPENSSL_LH_COMPFUNC.pod | 39 unsigned long lh_TYPE_num_items(OPENSSL_LHASH *lh); 40 unsigned long lh_TYPE_get_down_load(OPENSSL_LHASH *lh); 41 void lh_TYPE_set_down_load(OPENSSL_LHASH *lh, unsigned long dl); 51 void OPENSSL_LH_free(OPENSSL_LHASH *lh); 52 void OPENSSL_LH_flush(OPENSSL_LHASH *lh); 54 void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data); 55 void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data); 56 void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data); 58 void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func); 59 void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg); [all …]
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cm.c | 417 struct list_head lh; in mlx4_ib_cm_paravirt_clean() local 422 INIT_LIST_HEAD(&lh); in mlx4_ib_cm_paravirt_clean() 447 list_splice_init(&dev->sriov.cm_list, &lh); in mlx4_ib_cm_paravirt_clean() 456 list_move_tail(&ent->list, &lh); in mlx4_ib_cm_paravirt_clean() 459 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean() 467 list_move_tail(&map->list, &lh); in mlx4_ib_cm_paravirt_clean() 474 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean()
|
/freebsd/sys/dev/pms/freebsd/driver/common/ |
H A D | lxencrypt.c | 328 struct list_head *lh; in show_target_dek_map() local 340 lh = MAP_TABLE_ENTRY(pCard, chan, device, lun); in show_target_dek_map() 341 if(lh) { in show_target_dek_map() 342 list_for_each_entry(p, lh, list) { in show_target_dek_map() 480 struct list_head *lh; in agtiapi_MapDek() local 527 lh = MAP_TABLE_ENTRY(pCard, chan, device, lun); in agtiapi_MapDek() 532 list_for_each_entry_safe(p, n, lh, list) { in agtiapi_MapDek() 567 list_for_each_entry(n, lh, list) { in agtiapi_MapDek() 581 list_add(&p->list, lh); in agtiapi_MapDek() 696 struct list_head *lh; in agtiapi_CleanupEncryption() local [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_range.cpp | 39 [](const Event &lh, const Event &rh) { return lh.val < rh.val; }); in Intersect() argument
|
/freebsd/contrib/lua/src/ |
H A D | lparser.c | 1331 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) { in check_conflict() argument 1335 for (; lh; lh = lh->prev) { /* check all previous assignments */ in check_conflict() 1336 if (vkisindexed(lh->v.k)) { /* assignment to table field? */ in check_conflict() 1337 if (lh->v.k == VINDEXUP) { /* is table an upvalue? */ in check_conflict() 1338 if (v->k == VUPVAL && lh->v.u.ind.t == v->u.info) { in check_conflict() 1340 lh->v.k = VINDEXSTR; in check_conflict() 1341 lh->v.u.ind.t = extra; /* assignment will use safe copy */ in check_conflict() 1345 if (v->k == VLOCAL && lh->v.u.ind.t == v->u.var.ridx) { in check_conflict() 1347 lh->v.u.ind.t = extra; /* assignment will use safe copy */ in check_conflict() 1350 if (lh->v.k == VINDEXED && v->k == VLOCAL && in check_conflict() [all …]
|
/freebsd/crypto/openssl/crypto/txt_db/ |
H A D | txt_db.c | 132 LHASH_OF(OPENSSL_STRING) *lh; in TXT_DB_get_by_index() 138 lh = db->index[idx]; in TXT_DB_get_by_index() 139 if (lh == NULL) { in TXT_DB_get_by_index() 143 ret = lh_OPENSSL_STRING_retrieve(lh, value); in TXT_DB_get_by_index()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 749 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local 751 dtrace_aggdesc_t *lagg = lh->dtahe_data.dtada_desc; 766 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local 770 lid = dt_aggregate_aggvarid(lh); 785 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local 787 dtrace_aggdesc_t *lagg = lh->dtahe_data.dtada_desc; 811 ldata = lh->dtahe_data.dtada_data + lrec->dtrd_offset; 896 dt_ahashent_t *lh = *((dt_ahashent_t **)lhs); local 898 dtrace_aggdesc_t *lagg = lh->dtahe_data.dtada_desc; 900 caddr_t ldata = lh->dtahe_data.dtada_data; [all …]
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lparser.c | 1111 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) { in check_conflict() argument 1115 for (; lh; lh = lh->prev) { /* check all previous assignments */ in check_conflict() 1116 if (lh->v.k == VINDEXED) { /* assigning to a table? */ in check_conflict() 1118 if (lh->v.u.ind.vt == v->k && lh->v.u.ind.t == v->u.info) { in check_conflict() 1120 lh->v.u.ind.vt = VLOCAL; in check_conflict() 1121 lh->v.u.ind.t = extra; /* previous assignment will use safe copy */ in check_conflict() 1124 if (v->k == VLOCAL && lh->v.u.ind.idx == v->u.info) { in check_conflict() 1126 lh->v.u.ind.idx = extra; /* previous assignment will use safe copy */ in check_conflict() 1139 static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) { in assignment() argument 1141 check_condition(ls, vkisvar(lh->v.k), "syntax error"); in assignment() [all …]
|
/freebsd/crypto/openssl/crypto/engine/ |
H A D | eng_table.c | 67 LHASH_OF(ENGINE_PILE) *lh; in int_table_check() 73 if ((lh = lh_ENGINE_PILE_new(engine_pile_hash, engine_pile_cmp)) == NULL) in int_table_check() 75 *t = (ENGINE_TABLE *)lh; in int_table_check()
|