Home
last modified time | relevance | path

Searched refs:ta (Results 1 – 25 of 131) sorted by relevance

123456

/freebsd/lib/libthread_db/
H A Dlibpthread_db.c46 static void pt_unmap_lwp(const td_thragent_t *ta, lwpid_t lwp);
75 td_thragent_t *ta = __DECONST(td_thragent_t *, const_ta); in pt_map_thread() local
81 for (i = 1; i < ta->map_len; ++i) { in pt_map_thread()
82 if (ta->map[i].type == PT_NONE) { in pt_map_thread()
85 } else if (ta->map[i].type == type && ta->map[i].thr == pt) { in pt_map_thread()
91 if (ta->map_len == 0) { in pt_map_thread()
92 ta->map = calloc(20, sizeof(struct pt_map)); in pt_map_thread()
93 if (ta->map == NULL) in pt_map_thread()
95 ta->map_len = 20; in pt_map_thread()
98 new = reallocarray(ta->map, ta->map_len, in pt_map_thread()
[all …]
H A Dlibthr_db.c132 td_thragent_t *ta; in pt_ta_new() local
139 ta = malloc(sizeof(td_thragent_t)); in pt_ta_new()
140 if (ta == NULL) in pt_ta_new()
143 ta->ph = ph; in pt_ta_new()
145 LOOKUP_SYM(ph, "_libthr_debug", &ta->libthr_debug_addr); in pt_ta_new()
146 LOOKUP_SYM(ph, "_thread_list", &ta->thread_list_addr); in pt_ta_new()
147 LOOKUP_SYM(ph, "_thread_active_threads",&ta->thread_active_threads_addr); in pt_ta_new()
148 LOOKUP_SYM(ph, "_thread_keytable", &ta->thread_keytable_addr); in pt_ta_new()
149 LOOKUP_SYM(ph, "_thread_last_event", &ta->thread_last_event_addr); in pt_ta_new()
150 LOOKUP_SYM(ph, "_thread_event_mask", &ta->thread_event_mask_addr); in pt_ta_new()
[all …]
H A Dthread_db.c69 td_ta_clear_event(const td_thragent_t *ta, td_thr_events_t *events) in td_ta_clear_event() argument
71 return (ta->ta_ops->to_ta_clear_event(ta, events)); in td_ta_clear_event()
75 td_ta_delete(td_thragent_t *ta) in td_ta_delete() argument
77 TAILQ_REMOVE(&proclist, ta, ta_next); in td_ta_delete()
78 return (ta->ta_ops->to_ta_delete(ta)); in td_ta_delete()
82 td_ta_event_addr(const td_thragent_t *ta, td_event_e event, td_notify_t *ptr) in td_ta_event_addr() argument
84 return (ta->ta_ops->to_ta_event_addr(ta, event, ptr)); in td_ta_event_addr()
88 td_ta_event_getmsg(const td_thragent_t *ta, td_event_msg_t *msg) in td_ta_event_getmsg() argument
90 return (ta->ta_ops->to_ta_event_getmsg(ta, msg)); in td_ta_event_getmsg()
94 td_ta_map_id2thr(const td_thragent_t *ta, thread_t id, td_thrhandle_t *th) in td_ta_map_id2thr() argument
[all …]
/freebsd/contrib/unbound/validator/
H A Dval_anchor.c118 struct trust_anchor* ta = (struct trust_anchor*)elem; in anchors_delfunc() local
119 if(!ta) return; in anchors_delfunc()
120 if(ta->autr) { in anchors_delfunc()
121 autr_point_delete(ta); in anchors_delfunc()
124 lock_basic_destroy(&ta->lock); in anchors_delfunc()
125 free(ta->name); in anchors_delfunc()
126 p = ta->keylist; in anchors_delfunc()
133 assembled_rrset_delete(ta->ds_rrset); in anchors_delfunc()
134 assembled_rrset_delete(ta->dnskey_rrset); in anchors_delfunc()
135 free(ta); in anchors_delfunc()
[all …]
H A Dautotrust.c130 verbose_key(struct autr_ta* ta, enum verbosity_value level,
140 verbose_key(struct autr_ta* ta, enum verbosity_value level, in verbose_key() argument
146 char* str = sldns_wire2str_dname(ta->rr, ta->dname_len); in verbose_key()
148 ta->rr, ta->rr_len, ta->dname_len), in verbose_key()
149 sldns_wirerr_get_rdatalen(ta->rr, ta->rr_len, in verbose_key()
150 ta->dname_len)); in verbose_key()
166 parse_comments(char* str, struct autr_ta* ta) in parse_comments() argument
200 ta->s = AUTR_STATE_VALID; in parse_comments()
212 ta->s = s; in parse_comments()
215 verbose_key(ta, VERB_OPS, "has undefined " in parse_comments()
[all …]
/freebsd/tools/boot/
H A Duniverse.sh24 local ta=$1
28 echo -n "Building $ta ${opt} ... "
29 objdir=$(make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make -V .OBJDIR" | tail -1)
37 … if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make clean cleandepend cleandir obj depend" \
42 if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make ${opt} -j 40 all" \
59 ta=${i##*/}
60 dobuild $ta _.boot.${ta}.no_forth.log "WITHOUT_FORTH=yes"
69 ta=${i##*/}
70 dobuild $ta _.boot.${ta}.no_geli.log "WITHOUT_LOADER_GEIL=yes"
84 ta=${i##*/}
[all …]
/freebsd/contrib/bearssl/tools/
H A Dcerts.c40 certificate_to_trust_anchor_inner(br_x509_trust_anchor *ta, in certificate_to_trust_anchor_inner() argument
56 ta->dn.data = VEC_TOARRAY(vdn); in certificate_to_trust_anchor_inner()
57 ta->dn.len = VEC_LEN(vdn); in certificate_to_trust_anchor_inner()
59 ta->flags = 0; in certificate_to_trust_anchor_inner()
61 ta->flags |= BR_X509_TA_CA; in certificate_to_trust_anchor_inner()
65 ta->pkey.key_type = BR_KEYTYPE_RSA; in certificate_to_trust_anchor_inner()
66 ta->pkey.key.rsa.n = xblobdup(pk->key.rsa.n, pk->key.rsa.nlen); in certificate_to_trust_anchor_inner()
67 ta->pkey.key.rsa.nlen = pk->key.rsa.nlen; in certificate_to_trust_anchor_inner()
68 ta->pkey.key.rsa.e = xblobdup(pk->key.rsa.e, pk->key.rsa.elen); in certificate_to_trust_anchor_inner()
69 ta->pkey.key.rsa.elen = pk->key.rsa.elen; in certificate_to_trust_anchor_inner()
[all …]
H A Dta.c91 print_ta_internals(br_x509_trust_anchor *ta, long ctr) in print_ta_internals() argument
96 print_blob(tmp, ta->dn.data, ta->dn.len); in print_ta_internals()
97 switch (ta->pkey.key_type) { in print_ta_internals()
100 print_blob(tmp, ta->pkey.key.rsa.n, ta->pkey.key.rsa.nlen); in print_ta_internals()
102 print_blob(tmp, ta->pkey.key.rsa.e, ta->pkey.key.rsa.elen); in print_ta_internals()
106 print_blob(tmp, ta->pkey.key.ec.q, ta->pkey.key.ec.qlen); in print_ta_internals()
110 ta->pkey.key_type); in print_ta_internals()
117 print_ta(br_x509_trust_anchor *ta, long ctr) in print_ta() argument
124 printf("\t\t%s,\n", (ta->flags & BR_X509_TA_CA) in print_ta()
127 switch (ta->pkey.key_type) { in print_ta()
[all …]
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_table.c86 struct table_algo *ta; /* Callbacks for given algo */ member
97 struct tid_info *ti, struct table_algo *ta, char *adata, uint8_t tflags);
352 struct table_algo *ta; in rollback_added_entries() local
361 ta = tc->ta; in rollback_added_entries()
362 ta_buf_sz = ta->ta_buf_size; in rollback_added_entries()
373 error = ta->add(tc->astate, tinfo, ptei, v, &num); in rollback_added_entries()
379 error = ta->prepare_del(ch, ptei, vv); in rollback_added_entries()
381 error = ta->del(tc->astate, tinfo, ptei, vv, &num); in rollback_added_entries()
395 prepare_batch_buffer(struct ip_fw_chain *ch, struct table_algo *ta, in prepare_batch_buffer() argument
404 ta_buf_sz = ta->ta_buf_size; in prepare_batch_buffer()
[all …]
H A Dip_fw_table_value.c269 struct table_algo *ta; member
280 struct table_algo *ta; in unref_table_value_cb() local
286 ta = fa->ta; in unref_table_value_cb()
289 error = ta->dump_tentry(fa->astate, fa->ti, e, tent); in unref_table_value_cb()
306 struct table_algo *ta, void *astate, struct table_info *ti) in ipfw_unref_table_values() argument
314 fa.ta = ta; in ipfw_unref_table_values()
318 ta->foreach(astate, ti, unref_table_value_cb, &fa); in ipfw_unref_table_values()
383 vlimit = ts->ta->vlimit; in alloc_table_vidx()
490 vlimit = ts->ta->vlimit; in ipfw_link_table_values()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_trim.c487 vdev_trim_calculate_rate(trim_args_t *ta) in vdev_trim_calculate_rate() argument
489 return (ta->trim_bytes_done * 1000 / in vdev_trim_calculate_rate()
490 (NSEC2MSEC(gethrtime() - ta->trim_start_time) + 1)); in vdev_trim_calculate_rate()
498 vdev_trim_range(trim_args_t *ta, uint64_t start, uint64_t size) in vdev_trim_range() argument
500 vdev_t *vd = ta->trim_vdev; in vdev_trim_range()
510 if (ta->trim_type == TRIM_TYPE_MANUAL) { in vdev_trim_range()
512 vdev_trim_calculate_rate(ta) > vd->vdev_trim_rate) { in vdev_trim_range()
518 ta->trim_bytes_done += size; in vdev_trim_range()
525 vd->vdev_trim_inflight[ta->trim_type]++; in vdev_trim_range()
535 if (ta->trim_type == TRIM_TYPE_MANUAL && in vdev_trim_range()
[all …]
/freebsd/lib/libsecureboot/
H A Dbrf.c342 certificate_to_trust_anchor_inner(br_x509_trust_anchor *ta, in certificate_to_trust_anchor_inner() argument
358 ta->dn.data = VEC_TOARRAY(vdn); in certificate_to_trust_anchor_inner()
359 ta->dn.len = VEC_LEN(vdn); in certificate_to_trust_anchor_inner()
361 ta->flags = 0; in certificate_to_trust_anchor_inner()
363 ta->flags |= BR_X509_TA_CA; in certificate_to_trust_anchor_inner()
367 ta->pkey.key_type = BR_KEYTYPE_RSA; in certificate_to_trust_anchor_inner()
368 ta->pkey.key.rsa.n = xblobdup(pk->key.rsa.n, pk->key.rsa.nlen); in certificate_to_trust_anchor_inner()
369 ta->pkey.key.rsa.nlen = pk->key.rsa.nlen; in certificate_to_trust_anchor_inner()
370 ta->pkey.key.rsa.e = xblobdup(pk->key.rsa.e, pk->key.rsa.elen); in certificate_to_trust_anchor_inner()
371 ta->pkey.key.rsa.elen = pk->key.rsa.elen; in certificate_to_trust_anchor_inner()
[all …]
/freebsd/contrib/libfido2/src/
H A Dbio.c139 bio_reset_template_array(fido_bio_template_array_t *ta) in bio_reset_template_array() argument
141 for (size_t i = 0; i < ta->n_alloc; i++) in bio_reset_template_array()
142 bio_reset_template(&ta->ptr[i]); in bio_reset_template_array()
144 free(ta->ptr); in bio_reset_template_array()
145 ta->ptr = NULL; in bio_reset_template_array()
146 memset(ta, 0, sizeof(*ta)); in bio_reset_template_array()
173 fido_bio_template_array_t *ta = arg; in decode_template_array() local
181 if (ta->n_rx >= ta->n_alloc) { in decode_template_array()
186 if (cbor_map_iter(item, &ta->ptr[ta->n_rx], decode_template) < 0) { in decode_template_array()
191 ta->n_rx++; in decode_template_array()
[all …]
/freebsd/contrib/sendmail/src/
H A Dtimers.c57 addtimer(ta, tb) in addtimer() argument
58 TIMER *ta; in addtimer()
61 tb->ti_wall_sec += ta->ti_wall_sec;
62 tb->ti_wall_usec += ta->ti_wall_usec;
68 tb->ti_cpu_sec += ta->ti_cpu_sec;
69 tb->ti_cpu_usec += ta->ti_cpu_usec;
78 subtimer(ta, tb) in subtimer() argument
79 TIMER *ta; in subtimer()
82 tb->ti_wall_sec -= ta->ti_wall_sec;
83 tb->ti_wall_usec -= ta->ti_wall_usec;
[all …]
/freebsd/tools/test/stress2/misc/
H A Drename9.sh102 struct stat fb, tb, fa, ta;
114 bzero(&ta, sizeof(ta));
133 if (stat(toFile, &ta) == -1)
136 if (tb.st_ino == ta.st_ino) {
156 toFile, (uintmax_t)ta.st_ino, (uintmax_t)ta.st_nlink,
157 ta.st_blocks);
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_mod.c141 BN_ULONG borrow, carry, ta, tb, mask, *rp; in bn_mod_sub_fixed_top() local
153 ta = ap[ai] & mask; in bn_mod_sub_fixed_top()
157 rp[i] = ta - tb - borrow; in bn_mod_sub_fixed_top()
158 if (ta != tb) in bn_mod_sub_fixed_top()
159 borrow = (ta < tb); in bn_mod_sub_fixed_top()
167 ta = ((ap[i] & mask) + carry) & BN_MASK2; in bn_mod_sub_fixed_top()
168 carry = (ta < carry); in bn_mod_sub_fixed_top()
169 rp[i] = (rp[i] + ta) & BN_MASK2; in bn_mod_sub_fixed_top()
170 carry += (rp[i] < ta); in bn_mod_sub_fixed_top()
174 ta = ((ap[i] & mask) + carry) & BN_MASK2; in bn_mod_sub_fixed_top()
[all …]
/freebsd/lib/libc/stdlib/
H A Dradixsort.c101 const u_char *tr, **ta; in sradixsort() local
109 if ((ta = malloc(n * sizeof(a))) == NULL) in sradixsort()
111 r_sort_b(a, ta, n, 0, tr, endch); in sradixsort()
112 free(ta); in sradixsort()
222 r_sort_b(const u_char **a, const u_char **ta, int n, int i, const u_char *tr, in r_sort_b() argument
252 r_sort_b(a, ta, n, i, tr, endch); in r_sort_b()
283 for (ak = ta + n, ai = a+n; ak > ta;) /* Copy to temp. */ in r_sort_b()
285 for (ak = ta+n; --ak >= ta;) /* Deal to piles. */ in r_sort_b()
/freebsd/contrib/libfido2/tools/
H A Dbio.c22 print_template(const fido_bio_template_array_t *ta, size_t idx) in print_template() argument
27 if ((t = fido_bio_template(ta, idx)) == NULL) { in print_template()
46 fido_bio_template_array_t *ta = NULL; in bio_list() local
51 if ((ta = fido_bio_template_array_new()) == NULL) in bio_list()
56 r = fido_bio_dev_get_template_array(dev, ta, pin); in bio_list()
63 for (size_t i = 0; i < fido_bio_template_array_count(ta); i++) in bio_list()
64 if (print_template(ta, i) < 0) in bio_list()
69 fido_bio_template_array_free(&ta); in bio_list()
/freebsd/crypto/heimdal/lib/asn1/
H A Dasn1_gen.c74 int ret, l, c, ty, ta; in doit() local
102 ta = der_get_tag_num(tag); in doit()
103 if (ta == -1) in doit()
104 ta = atoi(tag); in doit()
110 line, (unsigned long)offset, c, ty, ta, l, in doit()
117 ta, in doit()
/freebsd/sbin/bsdlabel/
H A Ddisktab87 :pa#13824:oa#0:ta=4.2BSD:ba#4096:fa#512: \
94 :pa#13260:oa#0:ta=4.2BSD:ba#4096:fa#512:\
101 :pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\
108 :pa#12144:oa#0:ta=4.2BSD:ba#4096:fa#512: \
122 :pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \
132 :pa#21600:oa#0:ta=4.2BSD:ba#4096:fa#512:\
140 :pa#21000:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
148 :pa#20160:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
158 :pa#20160:oa#82656:ba#4096:fa#512:ta=4.2BSD: \
166 :pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024:
[all …]
/freebsd/contrib/bearssl/src/x509/
H A Dx509_minimal.c1120 const br_x509_trust_anchor *ta; in br_x509_minimal_run() local
1124 ta = &CTX->trust_anchors[u]; in br_x509_minimal_run()
1125 if (ta->flags & BR_X509_TA_CA) { in br_x509_minimal_run()
1128 hash_dn(CTX, ta->dn.data, ta->dn.len, hashed_DN); in br_x509_minimal_run()
1133 if ((ta->pkey.key_type & 0x0F) != kt) { in br_x509_minimal_run()
1141 ta->pkey.key.rsa.n, in br_x509_minimal_run()
1142 ta->pkey.key.rsa.nlen) in br_x509_minimal_run()
1145 ta->pkey.key.rsa.e, in br_x509_minimal_run()
1146 ta->pkey.key.rsa.elen)) in br_x509_minimal_run()
1153 if (CTX->pkey.key.ec.curve != ta->pkey.key.ec.curve in br_x509_minimal_run()
[all …]
/freebsd/lib/libc/nameser/
H A Dns_samedomain.c196 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; in ns_samename() local
198 if (ns_makecanon(a, ta, sizeof ta) < 0 || in ns_samename()
201 if (strcasecmp(ta, tb) == 0) in ns_samename()
/freebsd/sbin/pfctl/
H A Dpfctl_table.c379 print_table(struct pfr_table *ta, int verbose, int debug) in print_table() argument
381 if (!debug && !(ta->pfrt_flags & PFR_TFLAG_ACTIVE)) in print_table()
385 (ta->pfrt_flags & PFR_TFLAG_CONST) ? 'c' : '-', in print_table()
386 (ta->pfrt_flags & PFR_TFLAG_PERSIST) ? 'p' : '-', in print_table()
387 (ta->pfrt_flags & PFR_TFLAG_ACTIVE) ? 'a' : '-', in print_table()
388 (ta->pfrt_flags & PFR_TFLAG_INACTIVE) ? 'i' : '-', in print_table()
389 (ta->pfrt_flags & PFR_TFLAG_REFERENCED) ? 'r' : '-', in print_table()
390 (ta->pfrt_flags & PFR_TFLAG_REFDANCHOR) ? 'h' : '-', in print_table()
391 (ta->pfrt_flags & PFR_TFLAG_COUNTERS) ? 'C' : '-', in print_table()
392 ta->pfrt_name); in print_table()
[all …]
/freebsd/sbin/mdmfs/
H A Dmdmfs.c430 const char *ta; /* Type arg. */ in do_mdconfig_attach() local
434 ta = "-t swap"; in do_mdconfig_attach()
437 ta = "-t vnode"; in do_mdconfig_attach()
440 ta = "-t malloc"; in do_mdconfig_attach()
445 rv = run(NULL, "%s -a %s%s -u %s%d", path_mdconfig, ta, args, in do_mdconfig_attach()
458 const char *ta; /* Type arg. */ in do_mdconfig_attach_au() local
470 ta = "-t swap"; in do_mdconfig_attach_au()
473 ta = "-t vnode"; in do_mdconfig_attach_au()
476 ta = "-t malloc"; in do_mdconfig_attach_au()
481 rv = run(&fd, "%s -a %s%s", path_mdconfig, ta, args); in do_mdconfig_attach_au()
/freebsd/contrib/bsnmp/snmpd/
H A Dtrap.c530 struct target_address *ta; in snmp_send_trap() local
580 SLIST_FOREACH(ta, &target_addresslist, ta) in snmp_send_trap()
581 if ((tag = strstr(ta->taglist, n->taglist)) != NULL && in snmp_send_trap()
587 ta->status == RowStatus_active) in snmp_send_trap()
589 if (ta == NULL) in snmp_send_trap()
593 if (strcmp(tp->name, ta->paramname) == 0 && in snmp_send_trap()
634 if ((len = send(ta->socket, sndbuf, sndlen, 0)) == -1) in snmp_send_trap()
665 return (SLIST_NEXT(addrs, ta)); in target_next_address()
674 SLIST_FOREACH(addrs, &target_addresslist, ta) in target_new_address()
688 SLIST_INSERT_HEAD(&target_addresslist, addrs, ta); in target_new_address()
[all …]

123456