Symbol: ti
bin/ed/ed.h
119
size_t ti = (n); \
bin/ed/ed.h
123
if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \
bin/ed/ed.h
130
if ((ts = (char *) malloc(ti += max((i), MINBUFSZ))) == NULL) { \
bin/ed/ed.h
137
(n) = ti; \
bin/ed/ed.h
145
size_t ti = (n); \
bin/ed/ed.h
148
if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \
bin/ed/ed.h
154
(n) = ti; \
bin/ed/glbl.c
148
size_t ti = active_size;
bin/ed/glbl.c
155
(ti += MINBUFSZ) * sizeof(line_t *))) == NULL) {
bin/ed/glbl.c
163
if ((ts = (line_t **) malloc((ti += MINBUFSZ) *
bin/ed/glbl.c
172
active_size = ti;
crypto/heimdal/kcm/protocol.c
1548
struct ntlm_targetinfo ti;
crypto/heimdal/kcm/protocol.c
1552
ret = heim_ntlm_decode_targetinfo(&type2.targetinfo, 1, &ti);
crypto/heimdal/kcm/protocol.c
1560
if (ti.domainname && strcmp(ti.domainname, name->domain) != 0) {
crypto/heimdal/kdc/digest.c
107
struct ntlm_targetinfo ti;
crypto/heimdal/kdc/digest.c
113
memset(&ti, 0, sizeof(ti));
crypto/heimdal/kdc/digest.c
115
ti.domainname = targetname;
crypto/heimdal/kdc/digest.c
126
ti.dnsservername = rk_UNCONST(str);
crypto/heimdal/kdc/digest.c
129
ret = heim_ntlm_encode_targetinfo(&ti, 1, &d);
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
399
struct ntlm_targetinfo ti;
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
403
ret = heim_ntlm_decode_targetinfo(&type2.targetinfo, 1, &ti);
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
411
if (ti.domainname && strcmp(ti.domainname, name->domain) != 0) {
crypto/heimdal/lib/gssapi/ntlm/kdc.c
256
krb5_data ti;
crypto/heimdal/lib/gssapi/ntlm/kdc.c
316
ret = krb5_ntlm_init_get_targetinfo(c->context, c->ntlm, &ti);
crypto/heimdal/lib/gssapi/ntlm/kdc.c
323
type2.targetinfo.data = ti.data;
crypto/heimdal/lib/gssapi/ntlm/kdc.c
324
type2.targetinfo.length = ti.length;
crypto/heimdal/lib/gssapi/ntlm/kdc.c
328
krb5_data_free(&ti);
crypto/heimdal/lib/ntlm/ntlm.c
359
heim_ntlm_free_targetinfo(struct ntlm_targetinfo *ti)
crypto/heimdal/lib/ntlm/ntlm.c
361
free(ti->servername);
crypto/heimdal/lib/ntlm/ntlm.c
362
free(ti->domainname);
crypto/heimdal/lib/ntlm/ntlm.c
363
free(ti->dnsdomainname);
crypto/heimdal/lib/ntlm/ntlm.c
364
free(ti->dnsservername);
crypto/heimdal/lib/ntlm/ntlm.c
365
free(ti->dnstreename);
crypto/heimdal/lib/ntlm/ntlm.c
366
memset(ti, 0, sizeof(*ti));
crypto/heimdal/lib/ntlm/ntlm.c
395
heim_ntlm_encode_targetinfo(const struct ntlm_targetinfo *ti,
crypto/heimdal/lib/ntlm/ntlm.c
411
if (ti->servername)
crypto/heimdal/lib/ntlm/ntlm.c
412
CHECK(encode_ti_string(out, 1, ucs2, ti->servername), 0);
crypto/heimdal/lib/ntlm/ntlm.c
413
if (ti->domainname)
crypto/heimdal/lib/ntlm/ntlm.c
414
CHECK(encode_ti_string(out, 2, ucs2, ti->domainname), 0);
crypto/heimdal/lib/ntlm/ntlm.c
415
if (ti->dnsservername)
crypto/heimdal/lib/ntlm/ntlm.c
416
CHECK(encode_ti_string(out, 3, ucs2, ti->dnsservername), 0);
crypto/heimdal/lib/ntlm/ntlm.c
417
if (ti->dnsdomainname)
crypto/heimdal/lib/ntlm/ntlm.c
418
CHECK(encode_ti_string(out, 4, ucs2, ti->dnsdomainname), 0);
crypto/heimdal/lib/ntlm/ntlm.c
419
if (ti->dnstreename)
crypto/heimdal/lib/ntlm/ntlm.c
420
CHECK(encode_ti_string(out, 5, ucs2, ti->dnstreename), 0);
crypto/heimdal/lib/ntlm/ntlm.c
421
if (ti->avflags) {
crypto/heimdal/lib/ntlm/ntlm.c
424
CHECK(krb5_store_uint32(out, ti->avflags), 0);
crypto/heimdal/lib/ntlm/ntlm.c
458
struct ntlm_targetinfo *ti)
crypto/heimdal/lib/ntlm/ntlm.c
464
memset(ti, 0, sizeof(*ti));
crypto/heimdal/lib/ntlm/ntlm.c
483
CHECK(ret_string(in, ucs2, len, &ti->servername), 0);
crypto/heimdal/lib/ntlm/ntlm.c
486
CHECK(ret_string(in, ucs2, len, &ti->domainname), 0);
crypto/heimdal/lib/ntlm/ntlm.c
489
CHECK(ret_string(in, ucs2, len, &ti->dnsservername), 0);
crypto/heimdal/lib/ntlm/ntlm.c
492
CHECK(ret_string(in, ucs2, len, &ti->dnsdomainname), 0);
crypto/heimdal/lib/ntlm/ntlm.c
495
CHECK(ret_string(in, ucs2, len, &ti->dnstreename), 0);
crypto/heimdal/lib/ntlm/ntlm.c
498
CHECK(krb5_ret_uint32(in, &ti->avflags), 0);
crypto/heimdal/lib/ntlm/test_ntlm.c
294
struct ntlm_targetinfo ti;
crypto/heimdal/lib/ntlm/test_ntlm.c
299
memset(&ti, 0, sizeof(ti));
crypto/heimdal/lib/ntlm/test_ntlm.c
301
ti.dnsservername = rk_UNCONST(dnsservername);
crypto/heimdal/lib/ntlm/test_ntlm.c
302
ti.avflags = 1;
crypto/heimdal/lib/ntlm/test_ntlm.c
303
ret = heim_ntlm_encode_targetinfo(&ti, 1, &buf);
crypto/heimdal/lib/ntlm/test_ntlm.c
307
memset(&ti, 0, sizeof(ti));
crypto/heimdal/lib/ntlm/test_ntlm.c
309
ret = heim_ntlm_decode_targetinfo(&buf, 1, &ti);
crypto/heimdal/lib/ntlm/test_ntlm.c
313
if (ti.dnsservername == NULL ||
crypto/heimdal/lib/ntlm/test_ntlm.c
314
strcmp(ti.dnsservername, dnsservername) != 0)
crypto/heimdal/lib/ntlm/test_ntlm.c
316
if (ti.avflags != 1)
crypto/heimdal/lib/ntlm/test_ntlm.c
319
heim_ntlm_free_targetinfo(&ti);
crypto/krb5/src/lib/krb5/krb/kfree.c
798
krb5_otp_tokeninfo **ti;
crypto/krb5/src/lib/krb5/krb/kfree.c
804
for (ti = val->tokeninfo; *ti != NULL; ti++)
crypto/krb5/src/lib/krb5/krb/kfree.c
805
k5_free_otp_tokeninfo(context, *ti);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1041
krb5_otp_tokeninfo *ti)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1044
if (ti->vendor.length > 0 &&
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1045
asprintf(&tmp, "%.*s", ti->vendor.length, ti->vendor.data) >= 0) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1049
if (ti->alg_id.length > 0 &&
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1050
asprintf(&tmp, "%.*s", ti->alg_id.length, ti->alg_id.data) >= 0) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1054
if (ti->token_id.length > 0 &&
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1055
asprintf(&tmp, "%.*s", ti->token_id.length, ti->token_id.data) >= 0) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1071
krb5_otp_tokeninfo *ti = NULL;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1094
retval = codec_decode_answer(context, answer, chl->tokeninfo, &ti, &value,
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1100
chl->tokeninfo, &ti, &value, &pin);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1106
retval = make_request(context, ti, &value, &pin, &req);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1111
save_config_tokeninfo(context, cb, rock, ti);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1193
size_t ti, const char *value, const char *pin)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1205
retval = k5_json_number_create(ti, &num);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
150
codec_encode_tokeninfo(krb5_otp_tokeninfo *ti, k5_json_object *out)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
161
if (ti->flags & KRB5_OTP_FLAG_COLLECT_PIN) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
163
if (ti->flags & KRB5_OTP_FLAG_SEPARATE_PIN)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
166
if (ti->flags & KRB5_OTP_FLAG_NEXTOTP)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
173
retval = codec_data_to_value(&ti->vendor, obj, "vendor");
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
177
retval = codec_data_to_value(&ti->challenge, obj, "challenge");
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
181
retval = codec_int32_to_value(ti->length, obj, "length");
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
185
if (ti->format != KRB5_OTP_FORMAT_BASE64 &&
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
186
ti->format != KRB5_OTP_FORMAT_BINARY) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
187
retval = codec_int32_to_value(ti->format, obj, "format");
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
192
retval = codec_data_to_value(&ti->token_id, obj, "tokenID");
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
196
retval = codec_data_to_value(&ti->alg_id, obj, "algID");
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
267
krb5_responder_otp_tokeninfo *ti = NULL;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
270
ti = calloc(1, sizeof(krb5_responder_otp_tokeninfo));
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
271
if (ti == NULL)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
274
retval = codec_value_to_int32(obj, "flags", &ti->flags);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
278
retval = codec_value_to_string(obj, "vendor", &ti->vendor);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
282
retval = codec_value_to_string(obj, "challenge", &ti->challenge);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
286
retval = codec_value_to_int32(obj, "length", &ti->length);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
288
ti->length = -1;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
292
retval = codec_value_to_int32(obj, "format", &ti->format);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
294
ti->format = -1;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
298
retval = codec_value_to_string(obj, "tokenID", &ti->token_id);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
302
retval = codec_value_to_string(obj, "algID", &ti->alg_id);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
306
return ti;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
309
free_tokeninfo(ti);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
376
krb5_otp_tokeninfo **tis, krb5_otp_tokeninfo **ti,
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
412
*ti = tis[i];
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
44
free_tokeninfo(krb5_responder_otp_tokeninfo *ti)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
452
otpvalue_matches_tokeninfo(const char *otpvalue, krb5_otp_tokeninfo *ti)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
456
if (otpvalue == NULL || ti == NULL)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
459
if (ti->length >= 0 && strlen(otpvalue) != (size_t)ti->length)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
46
if (ti == NULL)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
462
if (ti->format >= 0 && ti->format < 3) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
464
if (!(*table[ti->format])((unsigned char)*otpvalue++))
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
49
free(ti->alg_id);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
50
free(ti->challenge);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
509
krb5_otp_tokeninfo *ti = NULL;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
51
free(ti->token_id);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
52
free(ti->vendor);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
53
free(ti);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
540
ti = tis[--j];
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
541
} while (ti == NULL);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
543
*out_ti = ti;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
552
make_challenge(const krb5_otp_tokeninfo *ti, char **challenge)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
559
if (ti == NULL || ti->challenge.data == NULL)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
564
ti->challenge.length,
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
565
ti->challenge.data) < 0)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
574
void *prompter_data, const krb5_otp_tokeninfo *ti,
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
583
collect = ti->flags & (KRB5_OTP_FLAG_COLLECT_PIN |
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
607
make_request(krb5_context ctx, krb5_otp_tokeninfo *ti, const krb5_data *value,
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
613
if (ti == NULL)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
616
if (ti->format == KRB5_OTP_FORMAT_BASE64)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
623
req->flags = ti->flags & KRB5_OTP_FLAG_NEXTOTP;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
625
retval = krb5int_copy_data_contents(ctx, &ti->vendor, &req->vendor);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
629
req->format = ti->format;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
631
retval = krb5int_copy_data_contents(ctx, &ti->token_id, &req->token_id);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
635
retval = krb5int_copy_data_contents(ctx, &ti->alg_id, &req->alg_id);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
643
if (ti->flags & KRB5_OTP_FLAG_COLLECT_PIN) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
644
if (ti->flags & KRB5_OTP_FLAG_SEPARATE_PIN) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
733
krb5_otp_tokeninfo *ti = NULL;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
753
ti = tis[0];
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
758
if (ti == NULL) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
760
tis, &ti);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
766
retval = make_challenge(ti, &challenge);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
778
if (ti == NULL) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
780
retval = filter_tokeninfos(context, otpvalue, tis, &filtered, &ti);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
787
filtered, &ti);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
794
assert(ti != NULL);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
802
retval = collect_pin(context, prompter, prompter_data, ti, &pin);
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
810
*out_ti = ti;
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
870
is_tokeninfo_supported(krb5_otp_tokeninfo *ti)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
877
if (ti->flags & ~supported_flags)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
881
if (ti->supported_hash_alg != NULL || ti->iteration_count >= 0)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
885
if (!is_printable_string(&ti->vendor))
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
889
if (!is_printable_string(&ti->challenge))
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
893
if (ti->format == KRB5_OTP_FORMAT_BASE64)
crypto/krb5/src/plugins/preauth/otp/main.c
226
krb5_otp_tokeninfo ti, *tis[2] = { &ti, NULL };
crypto/krb5/src/plugins/preauth/otp/main.c
251
memset(&ti, 0, sizeof(ti));
crypto/krb5/src/plugins/preauth/otp/main.c
254
ti.format = -1;
crypto/krb5/src/plugins/preauth/otp/main.c
255
ti.length = -1;
crypto/krb5/src/plugins/preauth/otp/main.c
256
ti.iteration_count = -1;
crypto/krb5/src/windows/leash/LeashView.cpp
476
VOID CLeashView::UpdateTicketTime(TICKETINFO& ti)
crypto/krb5/src/windows/leash/LeashView.cpp
478
if (!ti.btickets) {
crypto/krb5/src/windows/leash/LeashView.cpp
483
m_ticketTimeLeft = ti.valid_until - LeashTime();
crypto/krb5/src/windows/leash/LeashView.cpp
486
ti.btickets = EXPIRED_TICKETS;
crypto/openssl/crypto/bf/bf_cfb64.c
32
BF_LONG ti[2];
crypto/openssl/crypto/bf/bf_cfb64.c
40
ti[0] = v0;
crypto/openssl/crypto/bf/bf_cfb64.c
42
ti[1] = v1;
crypto/openssl/crypto/bf/bf_cfb64.c
43
BF_encrypt((BF_LONG *)ti, schedule);
crypto/openssl/crypto/bf/bf_cfb64.c
45
t = ti[0];
crypto/openssl/crypto/bf/bf_cfb64.c
47
t = ti[1];
crypto/openssl/crypto/bf/bf_cfb64.c
60
ti[0] = v0;
crypto/openssl/crypto/bf/bf_cfb64.c
62
ti[1] = v1;
crypto/openssl/crypto/bf/bf_cfb64.c
63
BF_encrypt((BF_LONG *)ti, schedule);
crypto/openssl/crypto/bf/bf_cfb64.c
65
t = ti[0];
crypto/openssl/crypto/bf/bf_cfb64.c
67
t = ti[1];
crypto/openssl/crypto/bf/bf_cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/bf/bf_ofb64.c
33
BF_LONG ti[2];
crypto/openssl/crypto/bf/bf_ofb64.c
40
ti[0] = v0;
crypto/openssl/crypto/bf/bf_ofb64.c
41
ti[1] = v1;
crypto/openssl/crypto/bf/bf_ofb64.c
47
BF_encrypt((BF_LONG *)ti, schedule);
crypto/openssl/crypto/bf/bf_ofb64.c
49
t = ti[0];
crypto/openssl/crypto/bf/bf_ofb64.c
51
t = ti[1];
crypto/openssl/crypto/bf/bf_ofb64.c
59
v0 = ti[0];
crypto/openssl/crypto/bf/bf_ofb64.c
60
v1 = ti[1];
crypto/openssl/crypto/bf/bf_ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/cast/c_cfb64.c
32
CAST_LONG ti[2];
crypto/openssl/crypto/cast/c_cfb64.c
40
ti[0] = v0;
crypto/openssl/crypto/cast/c_cfb64.c
42
ti[1] = v1;
crypto/openssl/crypto/cast/c_cfb64.c
43
CAST_encrypt((CAST_LONG *)ti, schedule);
crypto/openssl/crypto/cast/c_cfb64.c
45
t = ti[0];
crypto/openssl/crypto/cast/c_cfb64.c
47
t = ti[1];
crypto/openssl/crypto/cast/c_cfb64.c
60
ti[0] = v0;
crypto/openssl/crypto/cast/c_cfb64.c
62
ti[1] = v1;
crypto/openssl/crypto/cast/c_cfb64.c
63
CAST_encrypt((CAST_LONG *)ti, schedule);
crypto/openssl/crypto/cast/c_cfb64.c
65
t = ti[0];
crypto/openssl/crypto/cast/c_cfb64.c
67
t = ti[1];
crypto/openssl/crypto/cast/c_cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/cast/c_ofb64.c
33
CAST_LONG ti[2];
crypto/openssl/crypto/cast/c_ofb64.c
40
ti[0] = v0;
crypto/openssl/crypto/cast/c_ofb64.c
41
ti[1] = v1;
crypto/openssl/crypto/cast/c_ofb64.c
47
CAST_encrypt((CAST_LONG *)ti, schedule);
crypto/openssl/crypto/cast/c_ofb64.c
49
t = ti[0];
crypto/openssl/crypto/cast/c_ofb64.c
51
t = ti[1];
crypto/openssl/crypto/cast/c_ofb64.c
59
v0 = ti[0];
crypto/openssl/crypto/cast/c_ofb64.c
60
v1 = ti[1];
crypto/openssl/crypto/cast/c_ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/des/cfb64ede.c
111
ti[0] = v0;
crypto/openssl/crypto/des/cfb64ede.c
112
ti[1] = v1;
crypto/openssl/crypto/des/cfb64ede.c
113
DES_encrypt3(ti, ks1, ks2, ks3);
crypto/openssl/crypto/des/cfb64ede.c
116
d0 ^= ti[0];
crypto/openssl/crypto/des/cfb64ede.c
117
d1 ^= ti[1];
crypto/openssl/crypto/des/cfb64ede.c
152
ti[0] = v0;
crypto/openssl/crypto/des/cfb64ede.c
153
ti[1] = v1;
crypto/openssl/crypto/des/cfb64ede.c
154
DES_encrypt3(ti, ks1, ks2, ks3);
crypto/openssl/crypto/des/cfb64ede.c
185
d0 ^= ti[0];
crypto/openssl/crypto/des/cfb64ede.c
186
d1 ^= ti[1];
crypto/openssl/crypto/des/cfb64ede.c
194
v0 = v1 = d0 = d1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/des/cfb64ede.c
32
DES_LONG ti[2];
crypto/openssl/crypto/des/cfb64ede.c
42
ti[0] = v0;
crypto/openssl/crypto/des/cfb64ede.c
43
ti[1] = v1;
crypto/openssl/crypto/des/cfb64ede.c
44
DES_encrypt3(ti, ks1, ks2, ks3);
crypto/openssl/crypto/des/cfb64ede.c
45
v0 = ti[0];
crypto/openssl/crypto/des/cfb64ede.c
46
v1 = ti[1];
crypto/openssl/crypto/des/cfb64ede.c
64
ti[0] = v0;
crypto/openssl/crypto/des/cfb64ede.c
65
ti[1] = v1;
crypto/openssl/crypto/des/cfb64ede.c
66
DES_encrypt3(ti, ks1, ks2, ks3);
crypto/openssl/crypto/des/cfb64ede.c
67
v0 = ti[0];
crypto/openssl/crypto/des/cfb64ede.c
68
v1 = ti[1];
crypto/openssl/crypto/des/cfb64ede.c
82
v0 = v1 = ti[0] = ti[1] = c = cc = 0;
crypto/openssl/crypto/des/cfb64ede.c
99
DES_LONG ti[2];
crypto/openssl/crypto/des/cfb64enc.c
31
DES_LONG ti[2];
crypto/openssl/crypto/des/cfb64enc.c
39
ti[0] = v0;
crypto/openssl/crypto/des/cfb64enc.c
41
ti[1] = v1;
crypto/openssl/crypto/des/cfb64enc.c
42
DES_encrypt1(ti, schedule, DES_ENCRYPT);
crypto/openssl/crypto/des/cfb64enc.c
44
v0 = ti[0];
crypto/openssl/crypto/des/cfb64enc.c
46
v0 = ti[1];
crypto/openssl/crypto/des/cfb64enc.c
59
ti[0] = v0;
crypto/openssl/crypto/des/cfb64enc.c
61
ti[1] = v1;
crypto/openssl/crypto/des/cfb64enc.c
62
DES_encrypt1(ti, schedule, DES_ENCRYPT);
crypto/openssl/crypto/des/cfb64enc.c
64
v0 = ti[0];
crypto/openssl/crypto/des/cfb64enc.c
66
v0 = ti[1];
crypto/openssl/crypto/des/cfb64enc.c
77
v0 = v1 = ti[0] = ti[1] = c = cc = 0;
crypto/openssl/crypto/des/cfb_enc.c
105
ti[0] = v0;
crypto/openssl/crypto/des/cfb_enc.c
106
ti[1] = v1;
crypto/openssl/crypto/des/cfb_enc.c
107
DES_encrypt1((DES_LONG *)ti, schedule, DES_ENCRYPT);
crypto/openssl/crypto/des/cfb_enc.c
143
d0 ^= ti[0];
crypto/openssl/crypto/des/cfb_enc.c
144
d1 ^= ti[1];
crypto/openssl/crypto/des/cfb_enc.c
152
v0 = v1 = d0 = d1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/des/cfb_enc.c
37
DES_LONG ti[2];
crypto/openssl/crypto/des/cfb_enc.c
59
ti[0] = v0;
crypto/openssl/crypto/des/cfb_enc.c
60
ti[1] = v1;
crypto/openssl/crypto/des/cfb_enc.c
61
DES_encrypt1((DES_LONG *)ti, schedule, DES_ENCRYPT);
crypto/openssl/crypto/des/cfb_enc.c
64
d0 ^= ti[0];
crypto/openssl/crypto/des/cfb_enc.c
65
d1 ^= ti[1];
crypto/openssl/crypto/des/ofb64ede.c
33
DES_LONG ti[2];
crypto/openssl/crypto/des/ofb64ede.c
40
ti[0] = v0;
crypto/openssl/crypto/des/ofb64ede.c
41
ti[1] = v1;
crypto/openssl/crypto/des/ofb64ede.c
49
DES_encrypt3(ti, k1, k2, k3);
crypto/openssl/crypto/des/ofb64ede.c
50
v0 = ti[0];
crypto/openssl/crypto/des/ofb64ede.c
51
v1 = ti[1];
crypto/openssl/crypto/des/ofb64ede.c
66
v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/des/ofb64enc.c
32
DES_LONG ti[2];
crypto/openssl/crypto/des/ofb64enc.c
39
ti[0] = v0;
crypto/openssl/crypto/des/ofb64enc.c
40
ti[1] = v1;
crypto/openssl/crypto/des/ofb64enc.c
46
DES_encrypt1(ti, schedule, DES_ENCRYPT);
crypto/openssl/crypto/des/ofb64enc.c
48
t = ti[0];
crypto/openssl/crypto/des/ofb64enc.c
50
t = ti[1];
crypto/openssl/crypto/des/ofb64enc.c
58
v0 = ti[0];
crypto/openssl/crypto/des/ofb64enc.c
59
v1 = ti[1];
crypto/openssl/crypto/des/ofb64enc.c
64
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/des/ofb_enc.c
32
DES_LONG ti[2];
crypto/openssl/crypto/des/ofb_enc.c
54
ti[0] = v0;
crypto/openssl/crypto/des/ofb_enc.c
55
ti[1] = v1;
crypto/openssl/crypto/des/ofb_enc.c
57
ti[0] = v0;
crypto/openssl/crypto/des/ofb_enc.c
58
ti[1] = v1;
crypto/openssl/crypto/des/ofb_enc.c
59
DES_encrypt1((DES_LONG *)ti, schedule, DES_ENCRYPT);
crypto/openssl/crypto/des/ofb_enc.c
60
vv0 = ti[0];
crypto/openssl/crypto/des/ofb_enc.c
61
vv1 = ti[1];
crypto/openssl/crypto/des/ofb_enc.c
87
v0 = v1 = d0 = d1 = ti[0] = ti[1] = vv0 = vv1 = 0;
crypto/openssl/crypto/idea/i_cfb64.c
33
unsigned long ti[2];
crypto/openssl/crypto/idea/i_cfb64.c
47
ti[0] = v0;
crypto/openssl/crypto/idea/i_cfb64.c
49
ti[1] = v1;
crypto/openssl/crypto/idea/i_cfb64.c
50
IDEA_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/idea/i_cfb64.c
52
t = ti[0];
crypto/openssl/crypto/idea/i_cfb64.c
54
t = ti[1];
crypto/openssl/crypto/idea/i_cfb64.c
67
ti[0] = v0;
crypto/openssl/crypto/idea/i_cfb64.c
69
ti[1] = v1;
crypto/openssl/crypto/idea/i_cfb64.c
70
IDEA_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/idea/i_cfb64.c
72
t = ti[0];
crypto/openssl/crypto/idea/i_cfb64.c
74
t = ti[1];
crypto/openssl/crypto/idea/i_cfb64.c
85
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/idea/i_ofb64.c
34
unsigned long ti[2];
crypto/openssl/crypto/idea/i_ofb64.c
47
ti[0] = v0;
crypto/openssl/crypto/idea/i_ofb64.c
48
ti[1] = v1;
crypto/openssl/crypto/idea/i_ofb64.c
54
IDEA_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/idea/i_ofb64.c
56
t = ti[0];
crypto/openssl/crypto/idea/i_ofb64.c
58
t = ti[1];
crypto/openssl/crypto/idea/i_ofb64.c
66
v0 = ti[0];
crypto/openssl/crypto/idea/i_ofb64.c
67
v1 = ti[1];
crypto/openssl/crypto/idea/i_ofb64.c
72
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/rc2/rc2cfb64.c
32
unsigned long ti[2];
crypto/openssl/crypto/rc2/rc2cfb64.c
40
ti[0] = v0;
crypto/openssl/crypto/rc2/rc2cfb64.c
42
ti[1] = v1;
crypto/openssl/crypto/rc2/rc2cfb64.c
43
RC2_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/rc2/rc2cfb64.c
45
t = ti[0];
crypto/openssl/crypto/rc2/rc2cfb64.c
47
t = ti[1];
crypto/openssl/crypto/rc2/rc2cfb64.c
60
ti[0] = v0;
crypto/openssl/crypto/rc2/rc2cfb64.c
62
ti[1] = v1;
crypto/openssl/crypto/rc2/rc2cfb64.c
63
RC2_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/rc2/rc2cfb64.c
65
t = ti[0];
crypto/openssl/crypto/rc2/rc2cfb64.c
67
t = ti[1];
crypto/openssl/crypto/rc2/rc2cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/rc2/rc2ofb64.c
33
unsigned long ti[2];
crypto/openssl/crypto/rc2/rc2ofb64.c
40
ti[0] = v0;
crypto/openssl/crypto/rc2/rc2ofb64.c
41
ti[1] = v1;
crypto/openssl/crypto/rc2/rc2ofb64.c
47
RC2_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/rc2/rc2ofb64.c
49
t = ti[0];
crypto/openssl/crypto/rc2/rc2ofb64.c
51
t = ti[1];
crypto/openssl/crypto/rc2/rc2ofb64.c
59
v0 = ti[0];
crypto/openssl/crypto/rc2/rc2ofb64.c
60
v1 = ti[1];
crypto/openssl/crypto/rc2/rc2ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
crypto/openssl/crypto/rc5/rc5cfb64.c
32
unsigned long ti[2];
crypto/openssl/crypto/rc5/rc5cfb64.c
40
ti[0] = v0;
crypto/openssl/crypto/rc5/rc5cfb64.c
42
ti[1] = v1;
crypto/openssl/crypto/rc5/rc5cfb64.c
43
RC5_32_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/rc5/rc5cfb64.c
45
t = ti[0];
crypto/openssl/crypto/rc5/rc5cfb64.c
47
t = ti[1];
crypto/openssl/crypto/rc5/rc5cfb64.c
60
ti[0] = v0;
crypto/openssl/crypto/rc5/rc5cfb64.c
62
ti[1] = v1;
crypto/openssl/crypto/rc5/rc5cfb64.c
63
RC5_32_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/rc5/rc5cfb64.c
65
t = ti[0];
crypto/openssl/crypto/rc5/rc5cfb64.c
67
t = ti[1];
crypto/openssl/crypto/rc5/rc5cfb64.c
78
v0 = v1 = ti[0] = ti[1] = t = c = cc = 0;
crypto/openssl/crypto/rc5/rc5ofb64.c
33
unsigned long ti[2];
crypto/openssl/crypto/rc5/rc5ofb64.c
40
ti[0] = v0;
crypto/openssl/crypto/rc5/rc5ofb64.c
41
ti[1] = v1;
crypto/openssl/crypto/rc5/rc5ofb64.c
47
RC5_32_encrypt((unsigned long *)ti, schedule);
crypto/openssl/crypto/rc5/rc5ofb64.c
49
t = ti[0];
crypto/openssl/crypto/rc5/rc5ofb64.c
51
t = ti[1];
crypto/openssl/crypto/rc5/rc5ofb64.c
59
v0 = ti[0];
crypto/openssl/crypto/rc5/rc5ofb64.c
60
v1 = ti[1];
crypto/openssl/crypto/rc5/rc5ofb64.c
65
t = v0 = v1 = ti[0] = ti[1] = 0;
lib/clang/liblldb/LLDBWrapLua.cpp
548
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
lib/clang/liblldb/LLDBWrapLua.cpp
549
swig_cast_info *cast = ti->cast;
lib/clang/liblldb/LLDBWrapLua.cpp
551
ti->clientdata = clientdata;
lib/clang/liblldb/LLDBWrapLua.cpp
564
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
lib/clang/liblldb/LLDBWrapLua.cpp
565
SWIG_TypeClientData(ti, clientdata);
lib/clang/liblldb/LLDBWrapLua.cpp
566
ti->owndata = 1;
lib/libc/gen/dlfcn.c
224
tls_index ti;
lib/libc/gen/dlfcn.c
231
ti.ti_module = 1;
lib/libc/gen/dlfcn.c
232
ti.ti_offset = -TLS_DTV_OFFSET;
lib/libc/gen/dlfcn.c
233
phdr_info.dlpi_tls_data = __tls_get_addr(&ti);
lib/libc/gen/tls.c
84
tls_index *ti;
lib/libc/gen/tls.c
87
ti = vti;
lib/libc/gen/tls.c
88
return (dtv->dtv_slots[ti->ti_module - 1].dtvs_tls +
lib/libc/gen/tls.c
89
(ti->ti_offset + TLS_DTV_OFFSET));
lib/libkvm/kvm_getswapinfo.c
166
int ti, ttl;
lib/libkvm/kvm_getswapinfo.c
216
ti = unswdev;
lib/libkvm/kvm_getswapinfo.c
217
if (ti >= swap_max)
lib/libkvm/kvm_getswapinfo.c
218
ti = swap_max - 1;
lib/libkvm/kvm_getswapinfo.c
219
if (ti >= 0)
lib/libkvm/kvm_getswapinfo.c
220
swap_ary[ti] = tot;
lib/libkvm/kvm_getswapinfo.c
222
return(ti);
lib/libsys/x86/__vdso_gettc.c
352
struct pvclock_vcpu_time_info *ti;
lib/libsys/x86/__vdso_gettc.c
357
ti = &pvclock_timeinfos[0];
lib/libsys/x86/__vdso_gettc.c
358
version = atomic_load_acq_32(&ti->version);
lib/libsys/x86/__vdso_gettc.c
359
stable = (ti->flags & th->th_x86_pvc_stable_mask) != 0;
lib/libsys/x86/__vdso_gettc.c
364
ti = &pvclock_timeinfos[cpuid_ti];
lib/libsys/x86/__vdso_gettc.c
365
version = atomic_load_acq_32(&ti->version);
lib/libsys/x86/__vdso_gettc.c
368
delta = tsc - ti->tsc_timestamp;
lib/libsys/x86/__vdso_gettc.c
369
ns = ti->system_time + pvclock_scale_delta(delta,
lib/libsys/x86/__vdso_gettc.c
370
ti->tsc_to_system_mul, ti->tsc_shift);
lib/libsys/x86/__vdso_gettc.c
372
} while ((ti->version & 1) != 0 || ti->version != version ||
libexec/rtld-elf/aarch64/reloc.c
632
__tls_get_addr(tls_index* ti)
libexec/rtld-elf/aarch64/reloc.c
634
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset));
libexec/rtld-elf/aarch64/rtld_machdep.h
99
extern void *__tls_get_addr(tls_index *ti);
libexec/rtld-elf/amd64/reloc.c
558
__tls_get_addr(tls_index *ti)
libexec/rtld-elf/amd64/reloc.c
560
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset));
libexec/rtld-elf/amd64/rtld_machdep.h
78
void *__tls_get_addr(tls_index *ti) __exported;
libexec/rtld-elf/arm/reloc.c
466
__tls_get_addr(tls_index* ti)
libexec/rtld-elf/arm/reloc.c
468
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset));
libexec/rtld-elf/arm/rtld_machdep.h
82
extern void *__tls_get_addr(tls_index *ti);
libexec/rtld-elf/i386/reloc.c
524
___tls_get_addr(tls_index *ti)
libexec/rtld-elf/i386/reloc.c
526
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset));
libexec/rtld-elf/i386/reloc.c
531
__tls_get_addr(tls_index *ti)
libexec/rtld-elf/i386/reloc.c
533
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset));
libexec/rtld-elf/i386/rtld_machdep.h
78
void *___tls_get_addr(tls_index *ti) __attribute__((__regparm__(1))) __exported;
libexec/rtld-elf/i386/rtld_machdep.h
79
void *__tls_get_addr(tls_index *ti) __exported;
libexec/rtld-elf/powerpc/reloc.c
823
__tls_get_addr(tls_index* ti)
libexec/rtld-elf/powerpc/reloc.c
825
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset +
libexec/rtld-elf/powerpc/rtld_machdep.h
98
extern void *__tls_get_addr(tls_index* ti);
libexec/rtld-elf/powerpc64/reloc.c
720
__tls_get_addr(tls_index* ti)
libexec/rtld-elf/powerpc64/reloc.c
722
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset +
libexec/rtld-elf/powerpc64/rtld_machdep.h
90
extern void *__tls_get_addr(tls_index* ti);
libexec/rtld-elf/riscv/reloc.c
472
__tls_get_addr(tls_index* ti)
libexec/rtld-elf/riscv/reloc.c
474
return (tls_get_addr_common(_tcb_get(), ti->ti_module, ti->ti_offset +
libexec/rtld-elf/riscv/rtld_machdep.h
111
extern void *__tls_get_addr(tls_index* ti);
libexec/rtld-elf/rtld.c
4086
tls_index ti;
libexec/rtld-elf/rtld.c
4215
ti.ti_module = defobj->tlsindex;
libexec/rtld-elf/rtld.c
4216
ti.ti_offset = def->st_value - TLS_DTV_OFFSET;
libexec/rtld-elf/rtld.c
4217
sym = __tls_get_addr(&ti);
sbin/ipf/ipsend/ip.c
288
struct tcpiphdr *ti;
sbin/ipf/ipsend/ip.c
292
ti = (struct tcpiphdr *)lbuf;
sbin/ipf/ipsend/ip.c
293
bzero((char *)ti, sizeof(*ti));
sbin/ipf/ipsend/ip.c
295
ti->ti_pr = ip->ip_p;
sbin/ipf/ipsend/ip.c
296
ti->ti_src = ip->ip_src;
sbin/ipf/ipsend/ip.c
297
ti->ti_dst = ip->ip_dst;
sbin/ipf/ipsend/ip.c
299
(char *)&ti->ti_sport, sizeof(udphdr_t));
sbin/ipf/ipsend/ip.c
301
ti->ti_len = htons(thlen);
sbin/ipf/ipsend/ip.c
303
ti->ti_sum = 0;
sbin/ipf/ipsend/ip.c
304
ti->ti_sum = chksum((u_short *)ti, thlen + sizeof(ip_t));
sbin/ipf/ipsend/ip.c
306
bcopy((char *)&ti->ti_sport,
sbin/ipf/ipsend/iptest.c
160
ip_test1(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
163
ip_test2(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
166
ip_test3(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
169
ip_test4(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
172
ip_test5(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
175
ip_test6(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
178
ip_test7(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
181
ip_test1(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
182
ip_test2(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
183
ip_test3(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
184
ip_test4(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
185
ip_test5(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
186
ip_test6(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
187
ip_test7(dev, mtu, (ip_t *)ti, gwip, pointtest);
sbin/ipf/ipsend/iptest.c
64
struct tcpiphdr *ti;
sbin/ipf/ipsend/iptest.c
76
ti = (struct tcpiphdr *)ip;
sbin/ipf/ipsend/iptests.c
1049
struct tcpiphdr ti;
sbin/ipf/ipsend/iptests.c
1074
bcopy((char *)ip, (char *)&ti, sizeof(*ip));
sbin/ipf/ipsend/iptests.c
1079
if (!(tcbp = find_tcp(fd, &ti))) {
sbin/ipf/ipsend/iptests.c
1084
ti.ti_win = tcb.rcv_adv;
sbin/ipf/ipsend/iptests.c
1085
ti.ti_seq = htonl(tcb.snd_nxt - 1);
sbin/ipf/ipsend/iptests.c
1086
ti.ti_ack = tcb.rcv_nxt;
sbin/ipf/ipsend/sock.c
149
find_tcp(int tfd, struct tcpiphdr *ti)
sbin/ipf/ipsend/sock.c
243
do_socket(char *dev, int mtu, struct tcpiphdr *ti, struct in_addr gwip)
sbin/ipf/ipsend/sock.c
250
printf("Dest. Port: %d\n", ti->ti_dport);
sbin/ipf/ipsend/sock.c
267
bcopy((char *)&ti->ti_src, (char *)&lsin.sin_addr,
sbin/ipf/ipsend/sock.c
276
ti->ti_sport = lsin.sin_port;
sbin/ipf/ipsend/sock.c
283
if (!(t = find_tcp(fd, ti)))
sbin/ipf/ipsend/sock.c
288
bcopy((char *)&ti->ti_dst, (char *)&rsin.sin_addr,
sbin/ipf/ipsend/sock.c
290
rsin.sin_port = ti->ti_dport;
sbin/ipf/ipsend/sock.c
298
ti->ti_win = tcb.rcv_adv;
sbin/ipf/ipsend/sock.c
299
ti->ti_seq = tcb.snd_nxt - 1;
sbin/ipf/ipsend/sock.c
300
ti->ti_ack = tcb.rcv_nxt;
sbin/ipf/ipsend/sock.c
302
if (send_tcp(nfd, mtu, (ip_t *)ti, gwip) == -1)
sbin/pfctl/parse.y
1763
struct node_tinit *ti, *nti;
sbin/pfctl/parse.y
1777
for (ti = SIMPLEQ_FIRST(&$5.init_nodes);
sbin/pfctl/parse.y
1778
ti != SIMPLEQ_END(&$5.init_nodes); ti = nti) {
sbin/pfctl/parse.y
1779
if (ti->file)
sbin/pfctl/parse.y
1780
free(ti->file);
sbin/pfctl/parse.y
1781
for (h = ti->host; h != NULL; h = nh) {
sbin/pfctl/parse.y
1785
nti = SIMPLEQ_NEXT(ti, entries);
sbin/pfctl/parse.y
1786
free(ti);
sbin/pfctl/parse.y
1826
struct node_tinit *ti;
sbin/pfctl/parse.y
1857
if (!(ti = calloc(1, sizeof(*ti))))
sbin/pfctl/parse.y
1859
ti->host = $3;
sbin/pfctl/parse.y
1860
SIMPLEQ_INSERT_TAIL(&table_opts.init_nodes, ti,
sbin/pfctl/parse.y
1865
struct node_tinit *ti;
sbin/pfctl/parse.y
1867
if (!(ti = calloc(1, sizeof(*ti))))
sbin/pfctl/parse.y
1869
ti->file = $2;
sbin/pfctl/parse.y
1870
SIMPLEQ_INSERT_TAIL(&table_opts.init_nodes, ti,
sbin/pfctl/parse.y
5936
struct node_tinit *ti;
sbin/pfctl/parse.y
5943
SIMPLEQ_FOREACH(ti, &opts->init_nodes, entries) {
sbin/pfctl/parse.y
5944
if (ti->file)
sbin/pfctl/parse.y
5945
if (pfr_buf_load(&ab, ti->file, 0, append_addr, popts)) {
sbin/pfctl/parse.y
5948
ti->file, strerror(errno));
sbin/pfctl/parse.y
5951
ti->file);
sbin/pfctl/parse.y
5954
if (ti->host)
sbin/pfctl/parse.y
5955
if (append_addr_host(&ab, ti->host, 0, 0)) {
sbin/pfctl/pfctl_optimize.c
1270
struct node_tinit *ti;
sbin/pfctl/pfctl_optimize.c
1272
if ((ti = calloc(1, sizeof(*ti))) == NULL)
sbin/pfctl/pfctl_optimize.c
1274
if ((ti->host = malloc(sizeof(*ti->host))) == NULL)
sbin/pfctl/pfctl_optimize.c
1276
memcpy(ti->host, &node_host, sizeof(*ti->host));
sbin/pfctl/pfctl_optimize.c
1277
SIMPLEQ_INSERT_TAIL(&(*tbl)->pt_nodes, ti, entries);
sbin/pfctl/pfctl_parser.c
1369
struct node_tinit *ti, *nti;
sbin/pfctl/pfctl_parser.c
1379
SIMPLEQ_FOREACH(ti, nodes, entries) {
sbin/pfctl/pfctl_parser.c
1380
if (ti->file) {
sbin/pfctl/pfctl_parser.c
1381
printf(" file \"%s\"", ti->file);
sbin/pfctl/pfctl_parser.c
1386
for (h = ti->host; h != NULL; h = h->next) {
sbin/pfctl/pfctl_parser.c
1390
nti = SIMPLEQ_NEXT(ti, entries);
sbin/pfctl/pfctl_parser.c
1392
ti = nti; /* merge lists */
stand/efi/libefi/env.c
541
EFI_MEMORY_TYPE_INFORMATION *ti;
stand/efi/libefi/env.c
543
ti = (EFI_MEMORY_TYPE_INFORMATION *)data;
stand/efi/libefi/env.c
548
for (i = 0; i < n && ti[i].NumberOfPages != 0; i++) {
stand/efi/libefi/env.c
549
printf("\t%23s pages: %u", efi_memory_type(ti[i].Type),
stand/efi/libefi/env.c
550
ti[i].NumberOfPages);
stand/kboot/kboot/main.c
478
uint64_t ti, t;
stand/kboot/kboot/main.c
480
ti = tvi.tv_sec*1000000 + tvi.tv_usec;
stand/kboot/kboot/main.c
484
} while (t < ti + usecs);
sys/arm/nvidia/tegra_pcie.c
799
struct tegra_pcib_irqsrc *ti;
sys/arm/nvidia/tegra_pcie.c
805
ti = (struct tegra_pcib_irqsrc *)isrc[i];
sys/arm/nvidia/tegra_pcie.c
807
KASSERT((ti->flags & TEGRA_FLAG_MSI_USED) == TEGRA_FLAG_MSI_USED,
sys/arm/nvidia/tegra_pcie.c
811
ti->flags &= ~TEGRA_FLAG_MSI_USED;
sys/arm/nvidia/tegra_pcie.c
822
struct tegra_pcib_irqsrc *ti = (struct tegra_pcib_irqsrc *)isrc;
sys/arm/nvidia/tegra_pcie.c
825
*data = ti->irq;
sys/cam/ctl/ctl.c
6844
scsi_ulto2b(SLP_TI, data->ti.hdr.param_code);
sys/cam/ctl/ctl.c
6846
data->ti.hdr.param_len = sizeof(struct scsi_log_time_interval) -
sys/cam/ctl/ctl.c
6848
scsi_ulto4b(3, data->ti.exponent);
sys/cam/ctl/ctl.c
6849
scsi_ulto4b(1, data->ti.integer);
sys/cam/ctl/ctl_private.h
295
struct scsi_log_time_interval ti;
sys/dev/cxgbe/t4_filter.c
1111
struct tid_info *ti = &sc->tids;
sys/dev/cxgbe/t4_filter.c
1122
if (!is_hashfilter(sc) || ti->ntids == 0)
sys/dev/cxgbe/t4_filter.c
1137
if (ti->nhpftids == 0)
sys/dev/cxgbe/t4_filter.c
1139
if (t->idx >= ti->nhpftids)
sys/dev/cxgbe/t4_filter.c
1142
if (ti->nftids == 0)
sys/dev/cxgbe/t4_filter.c
1144
if (t->idx >= ti->nftids)
sys/dev/cxgbe/t4_filter.c
1149
((t->idx & 0x3) || t->idx + 4 >= ti->nftids))
sys/dev/cxgbe/t4_filter.c
1190
if (__predict_false(ti->hftid_hash_4t == NULL)) {
sys/dev/cxgbe/t4_filter.c
1196
__predict_false(ti->hpftid_tab == NULL)) {
sys/dev/cxgbe/t4_filter.c
1197
MPASS(ti->nhpftids != 0);
sys/dev/cxgbe/t4_filter.c
1198
KASSERT(ti->hpftids_in_use == 0,
sys/dev/cxgbe/t4_filter.c
1200
__func__, ti->hpftids_in_use));
sys/dev/cxgbe/t4_filter.c
1201
ti->hpftid_tab = malloc(sizeof(struct filter_entry) *
sys/dev/cxgbe/t4_filter.c
1202
ti->nhpftids, M_CXGBE, M_NOWAIT | M_ZERO);
sys/dev/cxgbe/t4_filter.c
1203
if (ti->hpftid_tab == NULL) {
sys/dev/cxgbe/t4_filter.c
1208
mtx_init(&ti->ftid_lock, "T4 filters", 0, MTX_DEF);
sys/dev/cxgbe/t4_filter.c
1209
cv_init(&ti->ftid_cv, "t4fcv");
sys/dev/cxgbe/t4_filter.c
1211
} else if (__predict_false(ti->ftid_tab == NULL)) {
sys/dev/cxgbe/t4_filter.c
1212
MPASS(ti->nftids != 0);
sys/dev/cxgbe/t4_filter.c
1213
KASSERT(ti->ftids_in_use == 0,
sys/dev/cxgbe/t4_filter.c
1215
__func__, ti->ftids_in_use));
sys/dev/cxgbe/t4_filter.c
1216
ti->ftid_tab = malloc(sizeof(struct filter_entry) * ti->nftids,
sys/dev/cxgbe/t4_filter.c
1218
if (ti->ftid_tab == NULL) {
sys/dev/cxgbe/t4_filter.c
1223
mtx_init(&ti->ftid_lock, "T4 filters", 0, MTX_DEF);
sys/dev/cxgbe/t4_filter.c
1224
cv_init(&ti->ftid_cv, "t4fcv");
sys/dev/cxgbe/t4_filter.c
1678
struct tid_info *ti = &sc->tids;
sys/dev/cxgbe/t4_filter.c
1681
const int inv_tid = ti->ntids + ti->tid_base;
sys/dev/cxgbe/t4_filter.c
1685
if (ti->tids_in_use == 0 || ti->hftid_hash_tid == NULL ||
sys/dev/cxgbe/t4_filter.c
1690
if (t->idx < ti->tid_base)
sys/dev/cxgbe/t4_filter.c
1691
t->idx = ti->tid_base;
sys/dev/cxgbe/t4_filter.c
1693
mtx_lock(&ti->hftid_lock);
sys/dev/cxgbe/t4_filter.c
1711
mtx_unlock(&ti->hftid_lock);
sys/dev/cxgbe/t4_filter.c
2006
struct tid_info *ti = &sc->tids;
sys/dev/cxgbe/t4_filter.c
2012
const int inv_tid = ti->ntids + ti->tid_base;
sys/dev/cxgbe/t4_filter.c
2020
mtx_lock(&ti->hftid_lock);
sys/dev/cxgbe/t4_filter.c
2059
if (cv_wait_sig(&ti->hftid_cv, &ti->hftid_lock) != 0) {
sys/dev/cxgbe/t4_filter.c
2066
mtx_unlock(&ti->hftid_lock);
sys/dev/cxgbe/tom/t4_tom.c
740
fill_tcp_info_from_tcb(struct adapter *sc, uint64_t *tcb, struct tcp_info *ti)
sys/dev/cxgbe/tom/t4_tom.c
744
ti->tcpi_state = GET_TCB_FIELD(tcb, T_STATE);
sys/dev/cxgbe/tom/t4_tom.c
747
ti->tcpi_rtt = tcp_ticks_to_us(sc, v);
sys/dev/cxgbe/tom/t4_tom.c
750
ti->tcpi_rttvar = tcp_ticks_to_us(sc, v);
sys/dev/cxgbe/tom/t4_tom.c
752
ti->tcpi_snd_ssthresh = GET_TCB_FIELD(tcb, SND_SSTHRESH);
sys/dev/cxgbe/tom/t4_tom.c
753
ti->tcpi_snd_cwnd = GET_TCB_FIELD(tcb, SND_CWND);
sys/dev/cxgbe/tom/t4_tom.c
754
ti->tcpi_rcv_nxt = GET_TCB_FIELD(tcb, RCV_NXT);
sys/dev/cxgbe/tom/t4_tom.c
755
ti->tcpi_rcv_adv = GET_TCB_FIELD(tcb, RCV_ADV);
sys/dev/cxgbe/tom/t4_tom.c
756
ti->tcpi_dupacks = GET_TCB_FIELD(tcb, T_DUPACKS);
sys/dev/cxgbe/tom/t4_tom.c
759
ti->tcpi_snd_nxt = v - GET_TCB_FIELD(tcb, SND_NXT_RAW);
sys/dev/cxgbe/tom/t4_tom.c
760
ti->tcpi_snd_una = v - GET_TCB_FIELD(tcb, SND_UNA_RAW);
sys/dev/cxgbe/tom/t4_tom.c
761
ti->tcpi_snd_max = v - GET_TCB_FIELD(tcb, SND_MAX_RAW);
sys/dev/cxgbe/tom/t4_tom.c
764
ti->tcpi_rcv_wscale = GET_TCB_FIELD(tcb, SND_SCALE); /* Yes, SND. */
sys/dev/cxgbe/tom/t4_tom.c
765
ti->tcpi_rcv_space = GET_TCB_FIELD(tcb, RCV_WND);
sys/dev/cxgbe/tom/t4_tom.c
768
ti->tcpi_snd_wscale = GET_TCB_FIELD(tcb, RCV_SCALE); /* Yes, RCV. */
sys/dev/cxgbe/tom/t4_tom.c
769
ti->tcpi_snd_wnd = GET_TCB_FIELD(tcb, RCV_ADV);
sys/dev/cxgbe/tom/t4_tom.c
771
ti->tcpi_snd_wnd <<= ti->tcpi_snd_wscale;
sys/dev/cxgbe/tom/t4_tom.c
773
ti->tcpi_snd_wscale = 0;
sys/dev/cxgbe/tom/t4_tom.c
779
struct tcp_info *ti)
sys/dev/cxgbe/tom/t4_tom.c
782
fill_tcp_info_from_tcb(sc, te->te_tcb, ti);
sys/dev/cxgbe/tom/t4_tom.c
815
fill_tcp_info(struct adapter *sc, u_int tid, struct tcp_info *ti)
sys/dev/cxgbe/tom/t4_tom.c
820
ti->tcpi_toe_tid = tid;
sys/dev/cxgbe/tom/t4_tom.c
823
fill_tcp_info_from_history(sc, te, ti);
sys/dev/cxgbe/tom/t4_tom.c
830
fill_tcp_info_from_tcb(sc, tcb, ti);
sys/dev/cxgbe/tom/t4_tom.c
839
t4_tcp_info(struct toedev *tod, const struct tcpcb *tp, struct tcp_info *ti)
sys/dev/cxgbe/tom/t4_tom.c
845
MPASS(ti != NULL);
sys/dev/cxgbe/tom/t4_tom.c
847
fill_tcp_info(sc, toep->tid, ti);
sys/dev/ixl/i40e_common.c
5673
u32 ti;
sys/dev/ixl/i40e_common.c
5679
ti = LE32_TO_CPU(f[i].tenant_id);
sys/dev/ixl/i40e_common.c
5680
f[i].tenant_id = CPU_TO_LE32(ti << 8);
sys/dev/ixl/i40e_common.c
5760
u32 ti;
sys/dev/ixl/i40e_common.c
5771
ti = LE32_TO_CPU(filters[i].element.tenant_id);
sys/dev/ixl/i40e_common.c
5772
filters[i].element.tenant_id = CPU_TO_LE32(ti << 8);
sys/dev/ixl/i40e_common.c
5856
u32 ti;
sys/dev/ixl/i40e_common.c
5867
ti = LE32_TO_CPU(filters[i].element.tenant_id);
sys/dev/ixl/i40e_common.c
5868
filters[i].element.tenant_id = CPU_TO_LE32(ti << 8);
sys/dev/ti/if_ti.c
273
DRIVER_MODULE(ti, pci, ti_driver, 0, 0);
sys/dev/ti/if_ti.c
274
MODULE_DEPEND(ti, pci, 1, 1, 1);
sys/dev/ti/if_ti.c
275
MODULE_DEPEND(ti, ether, 1, 1, 1);
sys/kern/tty.c
922
struct termios *ti = &tp->t_termios_init_in;
sys/kern/tty.c
926
ti->c_ispeed = ti->c_ospeed = s;
sys/kern/tty.c
930
ti->c_cflag |= CLOCAL;
sys/kern/tty_inq.c
100
#define TTYINQ_REMOVE_HEAD(ti) do { \
sys/kern/tty_inq.c
101
ti->ti_firstblock = ti->ti_firstblock->tib_next; \
sys/kern/tty_inq.c
102
if (ti->ti_firstblock != NULL) \
sys/kern/tty_inq.c
103
ti->ti_firstblock->tib_prev = NULL; \
sys/kern/tty_inq.c
104
ti->ti_nblocks--; \
sys/kern/tty_inq.c
107
#define TTYINQ_RECYCLE(ti, tib) do { \
sys/kern/tty_inq.c
108
if (ti->ti_quota <= ti->ti_nblocks) \
sys/kern/tty_inq.c
111
TTYINQ_INSERT_TAIL(ti, tib); \
sys/kern/tty_inq.c
115
ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t size)
sys/kern/tty_inq.c
119
ti->ti_quota = howmany(size, TTYINQ_DATASIZE);
sys/kern/tty_inq.c
121
while (ti->ti_quota > ti->ti_nblocks) {
sys/kern/tty_inq.c
141
TTYINQ_INSERT_TAIL(ti, tib);
sys/kern/tty_inq.c
147
ttyinq_free(struct ttyinq *ti)
sys/kern/tty_inq.c
151
ttyinq_flush(ti);
sys/kern/tty_inq.c
152
ti->ti_quota = 0;
sys/kern/tty_inq.c
154
while ((tib = ti->ti_firstblock) != NULL) {
sys/kern/tty_inq.c
155
TTYINQ_REMOVE_HEAD(ti);
sys/kern/tty_inq.c
159
MPASS(ti->ti_nblocks == 0);
sys/kern/tty_inq.c
163
ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio,
sys/kern/tty_inq.c
176
if (ti->ti_begin == ti->ti_linestart)
sys/kern/tty_inq.c
178
tib = ti->ti_firstblock;
sys/kern/tty_inq.c
188
cbegin = ti->ti_begin;
sys/kern/tty_inq.c
189
cend = MIN(MIN(ti->ti_linestart, ti->ti_begin + rlen),
sys/kern/tty_inq.c
210
if (cend == TTYINQ_DATASIZE || cend == ti->ti_end) {
sys/kern/tty_inq.c
215
TTYINQ_REMOVE_HEAD(ti);
sys/kern/tty_inq.c
216
ti->ti_begin = 0;
sys/kern/tty_inq.c
228
CORRECT_BLOCK(ti->ti_linestart);
sys/kern/tty_inq.c
229
CORRECT_BLOCK(ti->ti_reprint);
sys/kern/tty_inq.c
230
CORRECT_BLOCK(ti->ti_end);
sys/kern/tty_inq.c
244
TTYINQ_RECYCLE(ti, tib);
sys/kern/tty_inq.c
252
ti->ti_begin += clen;
sys/kern/tty_inq.c
253
MPASS(ti->ti_begin < TTYINQ_DATASIZE);
sys/kern/tty_inq.c
287
ttyinq_write(struct ttyinq *ti, const void *buf, size_t nbytes, int quote)
sys/kern/tty_inq.c
295
boff = ti->ti_end % TTYINQ_DATASIZE;
sys/kern/tty_inq.c
297
if (ti->ti_end == 0) {
sys/kern/tty_inq.c
299
MPASS(ti->ti_begin == 0);
sys/kern/tty_inq.c
300
tib = ti->ti_firstblock;
sys/kern/tty_inq.c
305
ti->ti_lastblock = tib;
sys/kern/tty_inq.c
308
tib = ti->ti_lastblock->tib_next;
sys/kern/tty_inq.c
313
ti->ti_lastblock = tib;
sys/kern/tty_inq.c
315
tib = ti->ti_lastblock;
sys/kern/tty_inq.c
328
ti->ti_end += l;
sys/kern/tty_inq.c
335
ttyinq_write_nofrag(struct ttyinq *ti, const void *buf, size_t nbytes, int quote)
sys/kern/tty_inq.c
339
if (ttyinq_bytesleft(ti) < nbytes)
sys/kern/tty_inq.c
343
ret = ttyinq_write(ti, buf, nbytes, quote);
sys/kern/tty_inq.c
350
ttyinq_canonicalize(struct ttyinq *ti)
sys/kern/tty_inq.c
353
ti->ti_linestart = ti->ti_reprint = ti->ti_end;
sys/kern/tty_inq.c
354
ti->ti_startblock = ti->ti_reprintblock = ti->ti_lastblock;
sys/kern/tty_inq.c
362
ttyinq_canonicalize_break(struct ttyinq *ti, const char *breakc)
sys/kern/tty_inq.c
364
struct ttyinq_block *tib = ti->ti_lastblock;
sys/kern/tty_inq.c
369
if (tib == NULL || ti->ti_end == 0)
sys/kern/tty_inq.c
373
off = ti->ti_end;
sys/kern/tty_inq.c
374
canon = ti->ti_begin;
sys/kern/tty_inq.c
376
while (off > ti->ti_begin) {
sys/kern/tty_inq.c
385
if (off != ti->ti_begin && boff == 0)
sys/kern/tty_inq.c
389
MPASS(canon > ti->ti_begin || off == ti->ti_begin);
sys/kern/tty_inq.c
400
if (canon != ti->ti_begin && (canon % TTYINQ_DATASIZE) == 0)
sys/kern/tty_inq.c
402
ti->ti_linestart = ti->ti_reprint = canon;
sys/kern/tty_inq.c
403
ti->ti_startblock = ti->ti_reprintblock = tib;
sys/kern/tty_inq.c
407
ttyinq_findchar(struct ttyinq *ti, const char *breakc, size_t maxlen,
sys/kern/tty_inq.c
410
struct ttyinq_block *tib = ti->ti_firstblock;
sys/kern/tty_inq.c
411
unsigned int boff = ti->ti_begin;
sys/kern/tty_inq.c
412
unsigned int bend = MIN(MIN(TTYINQ_DATASIZE, ti->ti_linestart),
sys/kern/tty_inq.c
413
ti->ti_begin + maxlen);
sys/kern/tty_inq.c
423
return (boff - ti->ti_begin + 1);
sys/kern/tty_inq.c
429
return (bend - ti->ti_begin);
sys/kern/tty_inq.c
433
ttyinq_flush(struct ttyinq *ti)
sys/kern/tty_inq.c
437
ti->ti_begin = 0;
sys/kern/tty_inq.c
438
ti->ti_linestart = 0;
sys/kern/tty_inq.c
439
ti->ti_reprint = 0;
sys/kern/tty_inq.c
440
ti->ti_end = 0;
sys/kern/tty_inq.c
444
for (tib = ti->ti_firstblock; tib != NULL; tib = tib->tib_next)
sys/kern/tty_inq.c
450
ttyinq_peekchar(struct ttyinq *ti, char *c, int *quote)
sys/kern/tty_inq.c
453
struct ttyinq_block *tib = ti->ti_lastblock;
sys/kern/tty_inq.c
455
if (ti->ti_linestart == ti->ti_end)
sys/kern/tty_inq.c
458
MPASS(ti->ti_end > 0);
sys/kern/tty_inq.c
459
boff = (ti->ti_end - 1) % TTYINQ_DATASIZE;
sys/kern/tty_inq.c
468
ttyinq_unputchar(struct ttyinq *ti)
sys/kern/tty_inq.c
471
MPASS(ti->ti_linestart < ti->ti_end);
sys/kern/tty_inq.c
473
if (--ti->ti_end % TTYINQ_DATASIZE == 0) {
sys/kern/tty_inq.c
475
ti->ti_lastblock = ti->ti_lastblock->tib_prev;
sys/kern/tty_inq.c
480
MPASS((ti->ti_lastblock == NULL) == (ti->ti_end == 0));
sys/kern/tty_inq.c
485
ttyinq_reprintpos_set(struct ttyinq *ti)
sys/kern/tty_inq.c
488
ti->ti_reprint = ti->ti_end;
sys/kern/tty_inq.c
489
ti->ti_reprintblock = ti->ti_lastblock;
sys/kern/tty_inq.c
493
ttyinq_reprintpos_reset(struct ttyinq *ti)
sys/kern/tty_inq.c
496
ti->ti_reprint = ti->ti_linestart;
sys/kern/tty_inq.c
497
ti->ti_reprintblock = ti->ti_startblock;
sys/kern/tty_inq.c
501
ttyinq_line_iterate(struct ttyinq *ti,
sys/kern/tty_inq.c
509
tib = ti->ti_firstblock;
sys/kern/tty_inq.c
512
for (; offset < ti->ti_end; offset++) {
sys/kern/tty_inq.c
526
ttyinq_line_iterate_from_linestart(struct ttyinq *ti,
sys/kern/tty_inq.c
530
ttyinq_line_iterate(ti, iterator, data,
sys/kern/tty_inq.c
531
ti->ti_linestart, ti->ti_startblock);
sys/kern/tty_inq.c
535
ttyinq_line_iterate_from_reprintpos(struct ttyinq *ti,
sys/kern/tty_inq.c
539
ttyinq_line_iterate(ti, iterator, data,
sys/kern/tty_inq.c
540
ti->ti_reprint, ti->ti_reprintblock);
sys/kern/tty_inq.c
85
#define TTYINQ_INSERT_TAIL(ti, tib) do { \
sys/kern/tty_inq.c
86
if (ti->ti_end == 0) { \
sys/kern/tty_inq.c
88
tib->tib_next = ti->ti_firstblock; \
sys/kern/tty_inq.c
89
ti->ti_firstblock = tib; \
sys/kern/tty_inq.c
91
tib->tib_prev = ti->ti_lastblock; \
sys/kern/tty_inq.c
92
tib->tib_next = ti->ti_lastblock->tib_next; \
sys/kern/tty_inq.c
93
ti->ti_lastblock->tib_next = tib; \
sys/kern/tty_inq.c
97
ti->ti_nblocks++; \
sys/netinet/in_fib_dxr.c
1000
da->d_tbl[i] = ti;
sys/netinet/in_fib_dxr.c
855
uint32_t ti, trie_rebuild = 0, prev_size = 0;
sys/netinet/in_fib_dxr.c
997
ti = trie_ref(da, i);
sys/netinet/in_fib_dxr.c
998
if (ti < 0)
sys/netinet/tcp_offload.c
188
tcp_offload_tcp_info(const struct tcpcb *tp, struct tcp_info *ti)
sys/netinet/tcp_offload.c
195
tod->tod_tcp_info(tod, tp, ti);
sys/netinet/tcp_stacks/rack.c
24236
rack_fill_info(struct tcpcb *tp, struct tcp_info *ti)
sys/netinet/tcp_stacks/rack.c
24240
bzero(ti, sizeof(*ti));
sys/netinet/tcp_stacks/rack.c
24242
ti->tcpi_state = tp->t_state;
sys/netinet/tcp_stacks/rack.c
24244
ti->tcpi_options |= TCPI_OPT_TIMESTAMPS;
sys/netinet/tcp_stacks/rack.c
24246
ti->tcpi_options |= TCPI_OPT_SACK;
sys/netinet/tcp_stacks/rack.c
24248
ti->tcpi_options |= TCPI_OPT_WSCALE;
sys/netinet/tcp_stacks/rack.c
24249
ti->tcpi_snd_wscale = tp->snd_scale;
sys/netinet/tcp_stacks/rack.c
24250
ti->tcpi_rcv_wscale = tp->rcv_scale;
sys/netinet/tcp_stacks/rack.c
24253
ti->tcpi_options |= TCPI_OPT_ECN;
sys/netinet/tcp_stacks/rack.c
24255
ti->tcpi_options |= TCPI_OPT_TFO;
sys/netinet/tcp_stacks/rack.c
24257
ti->tcpi_last_data_recv = ((uint32_t)ticks - tp->t_rcvtime) * tick;
sys/netinet/tcp_stacks/rack.c
24259
ti->tcpi_rtt = tp->t_srtt;
sys/netinet/tcp_stacks/rack.c
24260
ti->tcpi_rttvar = tp->t_rttvar;
sys/netinet/tcp_stacks/rack.c
24261
ti->tcpi_rto = tp->t_rxtcur;
sys/netinet/tcp_stacks/rack.c
24262
ti->tcpi_snd_ssthresh = tp->snd_ssthresh;
sys/netinet/tcp_stacks/rack.c
24263
ti->tcpi_snd_cwnd = tp->snd_cwnd;
sys/netinet/tcp_stacks/rack.c
24267
ti->tcpi_rcv_space = tp->rcv_wnd;
sys/netinet/tcp_stacks/rack.c
24268
ti->tcpi_rcv_nxt = tp->rcv_nxt;
sys/netinet/tcp_stacks/rack.c
24269
ti->tcpi_snd_wnd = tp->snd_wnd;
sys/netinet/tcp_stacks/rack.c
24270
ti->tcpi_snd_bwnd = 0; /* Unused, kept for compat. */
sys/netinet/tcp_stacks/rack.c
24271
ti->tcpi_snd_nxt = tp->snd_nxt;
sys/netinet/tcp_stacks/rack.c
24272
ti->tcpi_snd_mss = tp->t_maxseg;
sys/netinet/tcp_stacks/rack.c
24273
ti->tcpi_rcv_mss = tp->t_maxseg;
sys/netinet/tcp_stacks/rack.c
24274
ti->tcpi_snd_rexmitpack = tp->t_sndrexmitpack;
sys/netinet/tcp_stacks/rack.c
24275
ti->tcpi_rcv_ooopack = tp->t_rcvoopack;
sys/netinet/tcp_stacks/rack.c
24276
ti->tcpi_snd_zerowin = tp->t_sndzerowin;
sys/netinet/tcp_stacks/rack.c
24277
ti->tcpi_total_tlp = tp->t_sndtlppack;
sys/netinet/tcp_stacks/rack.c
24278
ti->tcpi_total_tlp_bytes = tp->t_sndtlpbyte;
sys/netinet/tcp_stacks/rack.c
24279
ti->tcpi_rttmin = tp->t_rttlow;
sys/netinet/tcp_stacks/rack.c
24281
memcpy(&ti->tcpi_rxsyninfo, &tp->t_rxsyninfo, sizeof(struct tcpsyninfo));
sys/netinet/tcp_stacks/rack.c
24285
ti->tcpi_options |= TCPI_OPT_TOE;
sys/netinet/tcp_stacks/rack.c
24286
tcp_offload_tcp_info(tp, ti);
sys/netinet/tcp_stacks/rack.c
24298
struct tcp_info ti;
sys/netinet/tcp_stacks/rack.c
24314
rack_fill_info(tp, &ti);
sys/netinet/tcp_stacks/rack.c
24317
error = sooptcopyout(sopt, &ti, sizeof ti);
sys/netinet/tcp_usrreq.c
1569
tcp_fill_info(const struct tcpcb *tp, struct tcp_info *ti)
sys/netinet/tcp_usrreq.c
1573
bzero(ti, sizeof(*ti));
sys/netinet/tcp_usrreq.c
1575
ti->tcpi_state = tp->t_state;
sys/netinet/tcp_usrreq.c
1577
ti->tcpi_options |= TCPI_OPT_TIMESTAMPS;
sys/netinet/tcp_usrreq.c
1579
ti->tcpi_options |= TCPI_OPT_SACK;
sys/netinet/tcp_usrreq.c
1581
ti->tcpi_options |= TCPI_OPT_WSCALE;
sys/netinet/tcp_usrreq.c
1582
ti->tcpi_snd_wscale = tp->snd_scale;
sys/netinet/tcp_usrreq.c
1583
ti->tcpi_rcv_wscale = tp->rcv_scale;
sys/netinet/tcp_usrreq.c
1587
ti->tcpi_options |= TCPI_OPT_ECN;
sys/netinet/tcp_usrreq.c
1592
ti->tcpi_options |= TCPI_OPT_ACE;
sys/netinet/tcp_usrreq.c
1598
ti->tcpi_options |= TCPI_OPT_TFO;
sys/netinet/tcp_usrreq.c
1600
ti->tcpi_rto = tp->t_rxtcur * tick;
sys/netinet/tcp_usrreq.c
1601
ti->tcpi_last_data_recv = ((uint32_t)ticks - tp->t_rcvtime) * tick;
sys/netinet/tcp_usrreq.c
1602
ti->tcpi_rtt = ((u_int64_t)tp->t_srtt * tick) >> TCP_RTT_SHIFT;
sys/netinet/tcp_usrreq.c
1603
ti->tcpi_rttvar = ((u_int64_t)tp->t_rttvar * tick) >> TCP_RTTVAR_SHIFT;
sys/netinet/tcp_usrreq.c
1605
ti->tcpi_snd_ssthresh = tp->snd_ssthresh;
sys/netinet/tcp_usrreq.c
1606
ti->tcpi_snd_cwnd = tp->snd_cwnd;
sys/netinet/tcp_usrreq.c
1611
ti->tcpi_rcv_space = tp->rcv_wnd;
sys/netinet/tcp_usrreq.c
1612
ti->tcpi_rcv_nxt = tp->rcv_nxt;
sys/netinet/tcp_usrreq.c
1613
ti->tcpi_snd_wnd = tp->snd_wnd;
sys/netinet/tcp_usrreq.c
1614
ti->tcpi_snd_bwnd = 0; /* Unused, kept for compat. */
sys/netinet/tcp_usrreq.c
1615
ti->tcpi_snd_nxt = tp->snd_nxt;
sys/netinet/tcp_usrreq.c
1616
ti->tcpi_snd_mss = tp->t_maxseg;
sys/netinet/tcp_usrreq.c
1617
ti->tcpi_rcv_mss = tp->t_maxseg;
sys/netinet/tcp_usrreq.c
1618
ti->tcpi_snd_rexmitpack = tp->t_sndrexmitpack;
sys/netinet/tcp_usrreq.c
1619
ti->tcpi_rcv_ooopack = tp->t_rcvoopack;
sys/netinet/tcp_usrreq.c
1620
ti->tcpi_snd_zerowin = tp->t_sndzerowin;
sys/netinet/tcp_usrreq.c
1621
ti->tcpi_snd_una = tp->snd_una;
sys/netinet/tcp_usrreq.c
1622
ti->tcpi_snd_max = tp->snd_max;
sys/netinet/tcp_usrreq.c
1623
ti->tcpi_rcv_numsacks = tp->rcv_numsacks;
sys/netinet/tcp_usrreq.c
1624
ti->tcpi_rcv_adv = tp->rcv_adv;
sys/netinet/tcp_usrreq.c
1625
ti->tcpi_dupacks = tp->t_dupacks;
sys/netinet/tcp_usrreq.c
1626
ti->tcpi_rttmin = tp->t_rttlow;
sys/netinet/tcp_usrreq.c
1629
ti->tcpi_options |= TCPI_OPT_TOE;
sys/netinet/tcp_usrreq.c
1630
tcp_offload_tcp_info(tp, ti);
sys/netinet/tcp_usrreq.c
1642
ti->tcpi_delivered_ce = tp->t_scep - 5;
sys/netinet/tcp_usrreq.c
1644
ti->tcpi_delivered_ce = tp->t_scep;
sys/netinet/tcp_usrreq.c
1645
ti->tcpi_received_ce = tp->t_rcep;
sys/netinet/tcp_usrreq.c
2034
struct tcp_info ti;
sys/netinet/tcp_usrreq.c
2505
tcp_fill_info(tp, &ti);
sys/netinet/tcp_usrreq.c
2507
error = sooptcopyout(sopt, &ti, sizeof ti);
sys/netinet/toecore.c
186
struct tcp_info *ti __unused)
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
157
tftpinfo_t *ti;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
165
KMALLOC(ti, tftpinfo_t *);
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
166
if (ti == NULL)
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
170
KFREE(ti);
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
174
aps->aps_data = ti;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
175
aps->aps_psiz = sizeof(*ti);
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
176
bzero((char *)ti, sizeof(*ti));
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
178
ti->ti_rule = ipn;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
241
ti->ti_lastcmd = 0;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
275
tftpinfo_t *ti;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
284
ti = aps->aps_data;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
295
udp.uh_dport = ti->ti_rule->in_ndport;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
302
fi.fin_dport = ntohs(ti->ti_rule->in_ndport);
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
346
nat2 = ipf_nat6_add(&fi, ti->ti_rule, NULL, nflags, dir);
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
349
nat2 = ipf_nat_add(&fi, ti->ti_rule, NULL, nflags, dir);
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
355
if (ti->ti_rule->in_redir == NAT_MAP) {
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
404
tftpinfo_t *ti;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
412
ti = aps->aps_data;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
426
if (len > sizeof(ti->ti_filename) - 1)
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
427
len = sizeof(ti->ti_filename) - 1;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
429
for (t = (u_char *)ti->ti_filename; (len > 0); len--, s++) {
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
440
ti = aps->aps_data;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
441
ti->ti_lastcmd = opcode;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
450
tftpinfo_t *ti;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
458
ti = aps->aps_data;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
467
ti->ti_lastblk = arg;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
471
ti->ti_lasterror = arg;
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
478
ti->ti_lastcmd = opcode;
sys/netpfil/ipfw/ip_fw_dynamic.c
615
dyn_findbyname(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_dynamic.c
621
DYN_DEBUG("uidx %u", ti->uidx);
sys/netpfil/ipfw/ip_fw_dynamic.c
622
if (ti->uidx != 0) {
sys/netpfil/ipfw/ip_fw_dynamic.c
623
if (ti->tlvs == NULL)
sys/netpfil/ipfw/ip_fw_dynamic.c
626
ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx,
sys/netpfil/ipfw/ip_fw_dynamic.c
657
dyn_create(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_dynamic.c
668
DYN_DEBUG("uidx %u", ti->uidx);
sys/netpfil/ipfw/ip_fw_dynamic.c
669
if (ti->uidx != 0) {
sys/netpfil/ipfw/ip_fw_dynamic.c
670
if (ti->tlvs == NULL)
sys/netpfil/ipfw/ip_fw_dynamic.c
672
ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx,
sys/netpfil/ipfw/ip_fw_eaction.c
146
eaction_findbyname(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_eaction.c
151
if (ti->tlvs == NULL)
sys/netpfil/ipfw/ip_fw_eaction.c
155
ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx,
sys/netpfil/ipfw/ip_fw_eaction.c
160
ti->uidx, ti->type);
sys/netpfil/ipfw/ip_fw_private.h
564
struct tid_info *ti, struct named_object **pno);
sys/netpfil/ipfw/ip_fw_private.h
578
typedef int (ipfw_obj_create_cb)(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_sockopt.c
151
struct rule_check_info *ci, struct obj_idx *oib, struct tid_info *ti);
sys/netpfil/ipfw/ip_fw_sockopt.c
153
struct tid_info *ti, struct obj_idx *pidx, int *unresolved);
sys/netpfil/ipfw/ip_fw_sockopt.c
2021
struct obj_idx *oib, struct obj_idx *pidx, struct tid_info *ti)
sys/netpfil/ipfw/ip_fw_sockopt.c
2036
ti->uidx = p->uidx;
sys/netpfil/ipfw/ip_fw_sockopt.c
2037
ti->type = p->type;
sys/netpfil/ipfw/ip_fw_sockopt.c
2038
ti->atype = 0;
sys/netpfil/ipfw/ip_fw_sockopt.c
2047
error = rw->create_object(ch, ti, &kidx);
sys/netpfil/ipfw/ip_fw_sockopt.c
2150
ref_opcode_object(struct ip_fw_chain *ch, ipfw_insn *cmd, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_sockopt.c
2158
rw = find_op_rw(cmd, &ti->uidx, &ti->type);
sys/netpfil/ipfw/ip_fw_sockopt.c
2163
pidx->uidx = ti->uidx;
sys/netpfil/ipfw/ip_fw_sockopt.c
2164
pidx->type = ti->type;
sys/netpfil/ipfw/ip_fw_sockopt.c
2167
error = rw->find_byname(ch, ti, &no);
sys/netpfil/ipfw/ip_fw_sockopt.c
2183
if (ti->type != no->subtype)
sys/netpfil/ipfw/ip_fw_sockopt.c
2201
struct rule_check_info *ci, struct obj_idx *oib, struct tid_info *ti)
sys/netpfil/ipfw/ip_fw_sockopt.c
2220
error = ref_opcode_object(ch, cmd, ti, pidx, &unresolved);
sys/netpfil/ipfw/ip_fw_sockopt.c
2241
error = create_objects_compat(ch, rule->cmd, oib, pidx, ti);
sys/netpfil/ipfw/ip_fw_sockopt.c
2262
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_sockopt.c
2277
memset(&ti, 0, sizeof(ti));
sys/netpfil/ipfw/ip_fw_sockopt.c
2280
ti.set = ci->krule->set;
sys/netpfil/ipfw/ip_fw_sockopt.c
2282
ti.tlvs = (void *)(ci->ctlv + 1);
sys/netpfil/ipfw/ip_fw_sockopt.c
2283
ti.tlen = ci->ctlv->head.length - sizeof(ipfw_obj_ctlv);
sys/netpfil/ipfw/ip_fw_sockopt.c
2287
error = ref_rule_objects(chain, ci->krule, ci, pidx_first, &ti);
sys/netpfil/ipfw/ip_fw_sockopt.c
3529
ipfw_objhash_find_type(struct namedobj_instance *ni, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_sockopt.c
3536
if (ti->tlvs == NULL)
sys/netpfil/ipfw/ip_fw_sockopt.c
3539
ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx, etlv);
sys/netpfil/ipfw/ip_fw_sockopt.c
3549
set = ti->set;
sys/netpfil/ipfw/ip_fw_table.c
1083
struct table_info ti, *tablestate;
sys/netpfil/ipfw/ip_fw_table.c
1129
ti = tablestate[tc_a->no.kidx];
sys/netpfil/ipfw/ip_fw_table.c
1141
tablestate[tc_b->no.kidx] = ti;
sys/netpfil/ipfw/ip_fw_table.c
1170
destroy_table(struct ip_fw_chain *ch, struct tid_info *ti)
sys/netpfil/ipfw/ip_fw_table.c
1178
if ((tc = find_table(ni, ti)) == NULL) {
sys/netpfil/ipfw/ip_fw_table.c
1218
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table.c
1266
ti = (struct table_info *)ch->tablestate;
sys/netpfil/ipfw/ip_fw_table.c
1267
for (i = 0; i < tbl; i++, ti++) {
sys/netpfil/ipfw/ip_fw_table.c
1268
if (ti->lookup == NULL)
sys/netpfil/ipfw/ip_fw_table.c
1274
tc->ta->change_ti(tc->astate, ti);
sys/netpfil/ipfw/ip_fw_table.c
1303
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
1309
ntlv_to_ti(ntlv, &ti);
sys/netpfil/ipfw/ip_fw_table.c
1310
error = find_table_err(CHAIN_TO_NI(ch), &ti, &tc);
sys/netpfil/ipfw/ip_fw_table.c
1347
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table.c
1349
ti = KIDX_TO_TI(ch, tbl);
sys/netpfil/ipfw/ip_fw_table.c
1351
return (ti->lookup(ti, paddr, plen, val));
sys/netpfil/ipfw/ip_fw_table.c
1405
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
1413
objheader_to_ti(oh, &ti);
sys/netpfil/ipfw/ip_fw_table.c
1416
if ((tc = find_table(CHAIN_TO_NI(ch), &ti)) == NULL) {
sys/netpfil/ipfw/ip_fw_table.c
1441
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
1459
objheader_to_ti(oh, &ti);
sys/netpfil/ipfw/ip_fw_table.c
1460
ti.type = i->type;
sys/netpfil/ipfw/ip_fw_table.c
1464
if ((tc = find_table(ni, &ti)) == NULL) {
sys/netpfil/ipfw/ip_fw_table.c
1498
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
1523
objheader_to_ti(oh, &ti);
sys/netpfil/ipfw/ip_fw_table.c
1524
ti.type = i->type;
sys/netpfil/ipfw/ip_fw_table.c
1529
if (find_table(ni, &ti) != NULL) {
sys/netpfil/ipfw/ip_fw_table.c
1533
rv = create_table_internal(ch, &ti, aname, i, NULL, 0);
sys/netpfil/ipfw/ip_fw_table.c
1549
create_table_internal(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
1561
ta = find_table_algo(CHAIN_TO_TCFG(ch), ti, aname);
sys/netpfil/ipfw/ip_fw_table.c
1565
tc = alloc_table_config(ch, ti, ta, aname, i->tflags);
sys/netpfil/ipfw/ip_fw_table.c
1577
tc_new = find_table(ni, ti);
sys/netpfil/ipfw/ip_fw_table.c
1619
ntlv_to_ti(ipfw_obj_ntlv *ntlv, struct tid_info *ti)
sys/netpfil/ipfw/ip_fw_table.c
1622
memset(ti, 0, sizeof(struct tid_info));
sys/netpfil/ipfw/ip_fw_table.c
1623
ti->set = ntlv->set;
sys/netpfil/ipfw/ip_fw_table.c
1624
ti->uidx = ntlv->idx;
sys/netpfil/ipfw/ip_fw_table.c
1625
ti->tlvs = ntlv;
sys/netpfil/ipfw/ip_fw_table.c
1626
ti->tlen = ntlv->head.length;
sys/netpfil/ipfw/ip_fw_table.c
1630
objheader_to_ti(struct _ipfw_obj_header *oh, struct tid_info *ti)
sys/netpfil/ipfw/ip_fw_table.c
1633
ntlv_to_ti(&oh->ntlv, ti);
sys/netpfil/ipfw/ip_fw_table.c
1677
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table.c
1710
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table.c
1714
ti = KIDX_TO_TI(ch, tc->no.kidx);
sys/netpfil/ipfw/ip_fw_table.c
1723
return (ta->get_count(tc->astate, ti));
sys/netpfil/ipfw/ip_fw_table.c
1727
ta->foreach(tc->astate, ti, count_ext_entries, &da);
sys/netpfil/ipfw/ip_fw_table.c
1739
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table.c
1754
ti = KIDX_TO_TI(ch, tc->no.kidx);
sys/netpfil/ipfw/ip_fw_table.c
1758
ta->print_config(tc->astate, ti, i->algoname,
sys/netpfil/ipfw/ip_fw_table.c
1764
ta->dump_tinfo(tc->astate, ti, &i->ta_info);
sys/netpfil/ipfw/ip_fw_table.c
1842
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
1854
objheader_to_ti(oh, &ti);
sys/netpfil/ipfw/ip_fw_table.c
1857
if ((tc = find_table(CHAIN_TO_NI(ch), &ti)) == NULL) {
sys/netpfil/ipfw/ip_fw_table.c
187
create_table_compat(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
1879
da.ti = KIDX_TO_TI(ch, tc->no.kidx);
sys/netpfil/ipfw/ip_fw_table.c
1885
ta->foreach(tc->astate, da.ti, dump_table_tentry, &da);
sys/netpfil/ipfw/ip_fw_table.c
1918
error = ta->dump_tentry(tc->astate, da->ti, e, tent);
sys/netpfil/ipfw/ip_fw_table.c
1947
error = ta->dump_tentry(tc->astate, da->ti, e, &da->tent);
sys/netpfil/ipfw/ip_fw_table.c
197
error = create_table_internal(ch, ti, NULL, &xi, pkidx, 1);
sys/netpfil/ipfw/ip_fw_table.c
1978
da.ti = KIDX_TO_TI(ch, tc->no.kidx);
sys/netpfil/ipfw/ip_fw_table.c
1983
ta->foreach(tc->astate, da.ti, prepare_table_tentry, &da);
sys/netpfil/ipfw/ip_fw_table.c
1998
find_table_algo(struct tables_config *tcfg, struct tid_info *ti, char *name)
sys/netpfil/ipfw/ip_fw_table.c
2003
if (ti->type > IPFW_TABLE_MAXTYPE)
sys/netpfil/ipfw/ip_fw_table.c
2007
if (ti->atype != 0) {
sys/netpfil/ipfw/ip_fw_table.c
2008
if (ti->atype > tcfg->algo_count)
sys/netpfil/ipfw/ip_fw_table.c
2010
return (tcfg->algo[ti->atype]);
sys/netpfil/ipfw/ip_fw_table.c
2015
return (tcfg->def_algo[ti->type]);
sys/netpfil/ipfw/ip_fw_table.c
2037
if (ti->type != 0 && ti->type != ta->type)
sys/netpfil/ipfw/ip_fw_table.c
213
find_ref_table(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
2249
table_findbyname(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
2257
error = find_table_err(CHAIN_TO_NI(ch), ti, &tc);
sys/netpfil/ipfw/ip_fw_table.c
226
if ((tc = find_table(ni, ti)) != NULL) {
sys/netpfil/ipfw/ip_fw_table.c
228
if (tc->no.subtype != ti->type)
sys/netpfil/ipfw/ip_fw_table.c
252
error = create_table_compat(ch, ti, &kidx);
sys/netpfil/ipfw/ip_fw_table.c
2551
find_table_err(struct namedobj_instance *ni, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
2559
if (ti->tlvs != NULL) {
sys/netpfil/ipfw/ip_fw_table.c
2560
ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx,
sys/netpfil/ipfw/ip_fw_table.c
2571
set = (V_fw_tables_sets != 0) ? ti->set : 0;
sys/netpfil/ipfw/ip_fw_table.c
2573
snprintf(bname, sizeof(bname), "%d", ti->uidx);
sys/netpfil/ipfw/ip_fw_table.c
2592
find_table(struct namedobj_instance *ni, struct tid_info *ti)
sys/netpfil/ipfw/ip_fw_table.c
2596
if (find_table_err(ni, ti, &tc) != 0)
sys/netpfil/ipfw/ip_fw_table.c
2609
alloc_table_config(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
2618
if (ti->tlvs != NULL) {
sys/netpfil/ipfw/ip_fw_table.c
2619
ntlv = ipfw_find_name_tlv_type(ti->tlvs, ti->tlen, ti->uidx,
sys/netpfil/ipfw/ip_fw_table.c
2627
snprintf(bname, sizeof(bname), "%d", ti->uidx);
sys/netpfil/ipfw/ip_fw_table.c
2678
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table.c
2688
ti = KIDX_TO_TI(ch, kidx);
sys/netpfil/ipfw/ip_fw_table.c
2689
*ti = tc->ti_copy;
sys/netpfil/ipfw/ip_fw_table.c
2693
tc->ta->change_ti(tc->astate, ti);
sys/netpfil/ipfw/ip_fw_table.c
2707
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table.c
2718
ti = KIDX_TO_TI(ch, kidx);
sys/netpfil/ipfw/ip_fw_table.c
2719
memset(ti, 0, sizeof(struct table_info));
sys/netpfil/ipfw/ip_fw_table.c
420
add_table_entry(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
436
error = find_ref_table(ch, ti, tei, count, OP_ADD, &tc);
sys/netpfil/ipfw/ip_fw_table.c
545
del_table_entry(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
560
error = find_ref_table(ch, ti, tei, count, OP_DEL, &tc);
sys/netpfil/ipfw/ip_fw_table.c
64
static int find_table_err(struct namedobj_instance *ni, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
642
struct table_info *ti, uint32_t count)
sys/netpfil/ipfw/ip_fw_table.c
666
if (ta->need_modify(tc->astate, ti, count, &pflags) == 0) {
sys/netpfil/ipfw/ip_fw_table.c
67
struct tid_info *ti);
sys/netpfil/ipfw/ip_fw_table.c
677
ti = KIDX_TO_TI(ch, tc->no.kidx);
sys/netpfil/ipfw/ip_fw_table.c
678
if (ta->need_modify(tc->astate, ti, count, &pflags) == 0) {
sys/netpfil/ipfw/ip_fw_table.c
687
error = ta->fill_mod(tc->astate, ti, ta_buf, &pflags);
sys/netpfil/ipfw/ip_fw_table.c
69
struct tid_info *ti, struct table_algo *ta, char *adata, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table.c
691
ta->modify(tc->astate, ti, ta_buf, pflags);
sys/netpfil/ipfw/ip_fw_table.c
72
static int create_table_internal(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
720
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
76
static int find_ref_table(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.c
770
objheader_to_ti(oh, &ti);
sys/netpfil/ipfw/ip_fw_table.c
771
ti.type = oh->ntlv.type;
sys/netpfil/ipfw/ip_fw_table.c
772
ti.uidx = kidx;
sys/netpfil/ipfw/ip_fw_table.c
796
add_table_entry(ch, &ti, tei_buf, ctlv->flags, ctlv->count) :
sys/netpfil/ipfw/ip_fw_table.c
797
del_table_entry(ch, &ti, tei_buf, ctlv->flags, ctlv->count);
sys/netpfil/ipfw/ip_fw_table.c
840
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
860
objheader_to_ti(oh, &ti);
sys/netpfil/ipfw/ip_fw_table.c
861
ti.type = oh->ntlv.type;
sys/netpfil/ipfw/ip_fw_table.c
862
ti.uidx = tent->idx;
sys/netpfil/ipfw/ip_fw_table.c
870
if ((tc = find_table(ni, &ti)) == NULL) {
sys/netpfil/ipfw/ip_fw_table.c
876
if (tc->no.subtype != ti.type) {
sys/netpfil/ipfw/ip_fw_table.c
906
struct tid_info ti;
sys/netpfil/ipfw/ip_fw_table.c
91
struct table_info *ti, uint32_t count);
sys/netpfil/ipfw/ip_fw_table.c
912
objheader_to_ti(oh, &ti);
sys/netpfil/ipfw/ip_fw_table.c
915
error = destroy_table(ch, &ti);
sys/netpfil/ipfw/ip_fw_table.c
917
error = flush_table(ch, &ti);
sys/netpfil/ipfw/ip_fw_table.c
92
static int destroy_table(struct ip_fw_chain *ch, struct tid_info *ti);
sys/netpfil/ipfw/ip_fw_table.c
934
flush_table(struct ip_fw_chain *ch, struct tid_info *ti)
sys/netpfil/ipfw/ip_fw_table.c
95
struct tid_info *ti, char *name);
sys/netpfil/ipfw/ip_fw_table.c
952
if ((tc = find_table(ni, ti)) == NULL) {
sys/netpfil/ipfw/ip_fw_table.c
97
static void objheader_to_ti(struct _ipfw_obj_header *oh, struct tid_info *ti);
sys/netpfil/ipfw/ip_fw_table.c
98
static void ntlv_to_ti(struct _ipfw_obj_ntlv *ntlv, struct tid_info *ti);
sys/netpfil/ipfw/ip_fw_table.h
100
typedef void (ta_destroy)(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table.h
105
typedef int (ta_add)(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
107
typedef int (ta_del)(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
112
typedef int (ta_need_modify)(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
115
typedef int (ta_fill_mod)(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
117
typedef void (ta_modify)(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
121
typedef void (ta_change_ti)(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table.h
122
typedef void (ta_print_config)(void *ta_state, struct table_info *ti, char *buf,
sys/netpfil/ipfw/ip_fw_table.h
126
typedef void ta_foreach(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table.h
128
typedef int ta_dump_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table.h
130
typedef int ta_find_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
132
typedef void ta_dump_tinfo(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
134
typedef uint32_t ta_get_count(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table.h
177
int add_table_entry(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
179
int del_table_entry(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/ip_fw_table.h
181
int flush_table(struct ip_fw_chain *ch, struct tid_info *ti);
sys/netpfil/ipfw/ip_fw_table.h
194
struct table_algo *ta, void *astate, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table.h
99
struct table_info *ti, char *data, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
1001
static void ta_modify_chash(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
1061
ta_lookup_chash_slow(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
1071
head = (struct chashbhead *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
1072
imask = ti->data >> 24;
sys/netpfil/ipfw/ip_fw_table_algo.c
1073
hsize = 1 << ((ti->data & 0xFFFF) >> 8);
sys/netpfil/ipfw/ip_fw_table_algo.c
1089
head = (struct chashbhead *)ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
1090
imask = (ti->data & 0xFF0000) >> 16;
sys/netpfil/ipfw/ip_fw_table_algo.c
1091
hsize = 1 << (ti->data & 0xFF);
sys/netpfil/ipfw/ip_fw_table_algo.c
1106
ta_lookup_chash_aligned(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
1116
head = (struct chashbhead *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
1117
imask = ti->data >> 24;
sys/netpfil/ipfw/ip_fw_table_algo.c
1118
hsize = 1 << ((ti->data & 0xFFFF) >> 8);
sys/netpfil/ipfw/ip_fw_table_algo.c
1135
head = (struct chashbhead *)ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
1136
imask = (ti->data & 0xFF0000) >> 16;
sys/netpfil/ipfw/ip_fw_table_algo.c
1137
hsize = 1 << (ti->data & 0xFF);
sys/netpfil/ipfw/ip_fw_table_algo.c
1155
ta_lookup_chash_64(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
1165
head = (struct chashbhead *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
1166
imask = ti->data >> 24;
sys/netpfil/ipfw/ip_fw_table_algo.c
1167
hsize = 1 << ((ti->data & 0xFFFF) >> 8);
sys/netpfil/ipfw/ip_fw_table_algo.c
1183
head = (struct chashbhead *)ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
1185
hsize = 1 << (ti->data & 0xFF);
sys/netpfil/ipfw/ip_fw_table_algo.c
1247
ta_print_chash_config(void *ta_state, struct table_info *ti, char *buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
1279
ta_init_chash(struct ip_fw_chain *ch, void **ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1309
ti->state = cfg->head4;
sys/netpfil/ipfw/ip_fw_table_algo.c
1310
ti->xstate = cfg->head6;
sys/netpfil/ipfw/ip_fw_table_algo.c
1315
ti->data = (32 - cfg->mask4) << 24 | (128 - cfg->mask6) << 16|
sys/netpfil/ipfw/ip_fw_table_algo.c
1317
ti->lookup = ta_lookup_chash_64;
sys/netpfil/ipfw/ip_fw_table_algo.c
1319
ti->data = (32 - cfg->mask4) << 24 |
sys/netpfil/ipfw/ip_fw_table_algo.c
1321
ti->lookup = ta_lookup_chash_aligned;
sys/netpfil/ipfw/ip_fw_table_algo.c
1324
ti->data = (32 - cfg->mask4) << 24 |
sys/netpfil/ipfw/ip_fw_table_algo.c
1326
ti->lookup = ta_lookup_chash_slow;
sys/netpfil/ipfw/ip_fw_table_algo.c
1333
ta_destroy_chash(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
1356
ta_dump_chash_tinfo(void *ta_state, struct table_info *ti, ipfw_ta_tinfo *tinfo)
sys/netpfil/ipfw/ip_fw_table_algo.c
1374
ta_dump_chash_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
1462
ta_find_chash_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1492
ta_dump_chash_tentry(ta_state, ti, tmp, tent);
sys/netpfil/ipfw/ip_fw_table_algo.c
1509
ta_dump_chash_tentry(ta_state, ti, tmp, tent);
sys/netpfil/ipfw/ip_fw_table_algo.c
1518
ta_foreach_chash(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table_algo.c
1559
ta_add_chash(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
1645
ta_del_chash(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
1713
ta_need_modify_chash(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
1779
ta_fill_mod_chash(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
1791
ta_modify_chash(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
1810
old_head = ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
1821
ti->state = new_head;
sys/netpfil/ipfw/ip_fw_table_algo.c
1831
old_head = ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
1842
ti->xstate = new_head;
sys/netpfil/ipfw/ip_fw_table_algo.c
1849
ti->data &= 0xFFFFFFFF00000000;
sys/netpfil/ipfw/ip_fw_table_algo.c
1850
ti->data |= ta_log2(cfg->size4) << 8 | ta_log2(cfg->size6);
sys/netpfil/ipfw/ip_fw_table_algo.c
1929
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table_algo.c
1943
static struct ifidx * ifidx_find(struct table_info *ti, void *key);
sys/netpfil/ipfw/ip_fw_table_algo.c
1944
static int ta_lookup_ifidx(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
1947
struct table_info *ti, char *data, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
1948
static void ta_change_ti_ifidx(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table_algo.c
1951
static void ta_destroy_ifidx(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table_algo.c
1952
static void ta_dump_ifidx_tinfo(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1956
static int ta_add_ifidx(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1960
static int ta_del_ifidx(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1965
static int ta_need_modify_ifidx(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1968
static int ta_fill_mod_ifidx(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1970
static void ta_modify_ifidx(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
1973
static int ta_dump_ifidx_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
1975
static int ta_find_ifidx_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
1979
static void ta_foreach_ifidx(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2075
ifidx_find(struct table_info *ti, void *key)
sys/netpfil/ipfw/ip_fw_table_algo.c
2079
ifi = bsearch(key, ti->state, ti->data, sizeof(struct ifidx),
sys/netpfil/ipfw/ip_fw_table_algo.c
2086
ta_lookup_ifidx(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
2091
ifi = ifidx_find(ti, key);
sys/netpfil/ipfw/ip_fw_table_algo.c
2102
ta_init_ifidx(struct ip_fw_chain *ch, void **ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2116
ti->state = icfg->main_ptr;
sys/netpfil/ipfw/ip_fw_table_algo.c
2117
ti->lookup = ta_lookup_ifidx;
sys/netpfil/ipfw/ip_fw_table_algo.c
2126
ta_change_ti_ifidx(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
2131
icfg->ti = ti;
sys/netpfil/ipfw/ip_fw_table_algo.c
2154
ta_destroy_ifidx(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
2178
ta_dump_ifidx_tinfo(void *ta_state, struct table_info *ti, ipfw_ta_tinfo *tinfo)
sys/netpfil/ipfw/ip_fw_table_algo.c
2227
ta_add_ifidx(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
2260
ifi = ifidx_find(ti, &iif->ifindex);
sys/netpfil/ipfw/ip_fw_table_algo.c
2309
ta_del_ifidx(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
2337
ti->data = icfg->used;
sys/netpfil/ipfw/ip_fw_table_algo.c
2382
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table_algo.c
2387
ti = icfg->ti;
sys/netpfil/ipfw/ip_fw_table_algo.c
2389
KASSERT(ti != NULL, ("ti=NULL, check change_ti handler"));
sys/netpfil/ipfw/ip_fw_table_algo.c
2400
ti->data = icfg->used;
sys/netpfil/ipfw/ip_fw_table_algo.c
2411
ti->data = icfg->used;
sys/netpfil/ipfw/ip_fw_table_algo.c
2421
ta_need_modify_ifidx(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
2463
ta_fill_mod_ifidx(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
2487
ta_modify_ifidx(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
2500
ti->state = icfg->main_ptr;
sys/netpfil/ipfw/ip_fw_table_algo.c
2519
ta_dump_ifidx_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
2534
ta_find_ifidx_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2550
ta_dump_ifidx_tentry(ta_state, ti, ife, tent);
sys/netpfil/ipfw/ip_fw_table_algo.c
2577
ta_foreach_ifidx(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table_algo.c
2644
static struct numarray *numarray_find(struct table_info *ti, void *key);
sys/netpfil/ipfw/ip_fw_table_algo.c
2645
static int ta_lookup_numarray(struct table_info *ti, void *key,
sys/netpfil/ipfw/ip_fw_table_algo.c
2648
struct table_info *ti, char *data, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
2649
static void ta_destroy_numarray(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table_algo.c
2650
static void ta_dump_numarray_tinfo(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2654
static int ta_add_numarray(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2656
static int ta_del_numarray(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2660
static int ta_need_modify_numarray(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2663
static int ta_fill_mod_numarray(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2665
static void ta_modify_numarray(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2668
static int ta_dump_numarray_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2670
static int ta_find_numarray_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2672
static void ta_foreach_numarray(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2693
numarray_find(struct table_info *ti, void *key)
sys/netpfil/ipfw/ip_fw_table_algo.c
2697
ri = bsearch(key, ti->state, ti->data, sizeof(struct numarray),
sys/netpfil/ipfw/ip_fw_table_algo.c
2704
ta_lookup_numarray(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
2709
ri = numarray_find(ti, key);
sys/netpfil/ipfw/ip_fw_table_algo.c
2720
ta_init_numarray(struct ip_fw_chain *ch, void **ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2732
ti->state = cfg->main_ptr;
sys/netpfil/ipfw/ip_fw_table_algo.c
2733
ti->lookup = ta_lookup_numarray;
sys/netpfil/ipfw/ip_fw_table_algo.c
2742
ta_destroy_numarray(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
2758
ta_dump_numarray_tinfo(void *ta_state, struct table_info *ti, ipfw_ta_tinfo *tinfo)
sys/netpfil/ipfw/ip_fw_table_algo.c
2787
ta_add_numarray(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
2802
ri = numarray_find(ti, &tb->na.number);
sys/netpfil/ipfw/ip_fw_table_algo.c
2826
ti->data = cfg->used;
sys/netpfil/ipfw/ip_fw_table_algo.c
2837
ta_del_numarray(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
2848
ri = numarray_find(ti, &tb->na.number);
sys/netpfil/ipfw/ip_fw_table_algo.c
2859
ti->data = cfg->used;
sys/netpfil/ipfw/ip_fw_table_algo.c
2878
ta_need_modify_numarray(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
2920
ta_fill_mod_numarray(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
2944
ta_modify_numarray(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
2957
ti->state = cfg->main_ptr;
sys/netpfil/ipfw/ip_fw_table_algo.c
2976
ta_dump_numarray_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
2990
ta_find_numarray_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
2995
ri = numarray_find(ti, &tent->k.key);
sys/netpfil/ipfw/ip_fw_table_algo.c
2998
ta_dump_numarray_tentry(ta_state, ti, ri, tent);
sys/netpfil/ipfw/ip_fw_table_algo.c
3006
ta_foreach_numarray(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table_algo.c
3107
static int ta_lookup_fhash(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
3110
struct table_info *ti, char *data, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
3111
static void ta_destroy_fhash(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table_algo.c
3112
static void ta_dump_fhash_tinfo(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3114
static int ta_dump_fhash_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3117
static int ta_find_fhash_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3119
static void ta_foreach_fhash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3123
static int ta_add_fhash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3127
static int ta_del_fhash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3131
static int ta_need_modify_fhash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3134
static int ta_fill_mod_fhash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3136
static void ta_modify_fhash(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
3193
ta_lookup_fhash(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
3203
head = (struct fhashbhead *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
3204
hsize = ti->data;
sys/netpfil/ipfw/ip_fw_table_algo.c
3205
m4 = (struct fhashentry4 *)ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
3259
ta_init_fhash(struct ip_fw_chain *ch, void **ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3304
ti->state = cfg->head;
sys/netpfil/ipfw/ip_fw_table_algo.c
3305
ti->xstate = &cfg->fe4;
sys/netpfil/ipfw/ip_fw_table_algo.c
3306
ti->data = cfg->size;
sys/netpfil/ipfw/ip_fw_table_algo.c
3307
ti->lookup = ta_lookup_fhash;
sys/netpfil/ipfw/ip_fw_table_algo.c
3313
ta_destroy_fhash(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
3333
ta_dump_fhash_tinfo(void *ta_state, struct table_info *ti, ipfw_ta_tinfo *tinfo)
sys/netpfil/ipfw/ip_fw_table_algo.c
3348
ta_dump_fhash_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
3424
ta_find_fhash_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3460
ta_dump_fhash_tentry(ta_state, ti, tmp, tent);
sys/netpfil/ipfw/ip_fw_table_algo.c
3469
ta_foreach_fhash(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table_algo.c
3514
ta_add_fhash(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
3587
ta_del_fhash(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
3642
ta_need_modify_fhash(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
3685
ta_fill_mod_fhash(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
3697
ta_modify_fhash(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
3712
old_head = ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
3722
ti->state = new_head;
sys/netpfil/ipfw/ip_fw_table_algo.c
3723
ti->data = mi->size;
sys/netpfil/ipfw/ip_fw_table_algo.c
3777
static int ta_lookup_kfib(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
3780
static void ta_print_kfib_config(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3783
struct table_info *ti, char *data, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
3784
static void ta_destroy_kfib(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table_algo.c
3785
static void ta_dump_kfib_tinfo(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3787
static int ta_dump_kfib_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
3791
static int ta_find_kfib_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3793
static void ta_foreach_kfib(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3797
ta_lookup_kfib(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
3810
error = fib4_lookup(ti->data, in, 0, NHR_NONE, 0) != NULL;
sys/netpfil/ipfw/ip_fw_table_algo.c
3815
error = fib6_lookup(ti->data, (struct in6_addr *)key,
sys/netpfil/ipfw/ip_fw_table_algo.c
383
static int ta_lookup_addr_radix(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
3857
ta_print_kfib_config(void *ta_state, struct table_info *ti, char *buf,
sys/netpfil/ipfw/ip_fw_table_algo.c
386
struct table_info *ti, char *data, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
3861
if (ti->data != 0)
sys/netpfil/ipfw/ip_fw_table_algo.c
3862
snprintf(buf, bufsize, "%s fib=%lu", "addr:kfib", ti->data);
sys/netpfil/ipfw/ip_fw_table_algo.c
3868
ta_init_kfib(struct ip_fw_chain *ch, void **ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
388
static void ta_destroy_addr_radix(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table_algo.c
3880
ti->data = fibnum;
sys/netpfil/ipfw/ip_fw_table_algo.c
3881
ti->lookup = ta_lookup_kfib;
sys/netpfil/ipfw/ip_fw_table_algo.c
389
static void ta_dump_addr_radix_tinfo(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3890
ta_destroy_kfib(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
3899
ta_dump_kfib_tinfo(void *ta_state, struct table_info *ti, ipfw_ta_tinfo *tinfo)
sys/netpfil/ipfw/ip_fw_table_algo.c
391
static int ta_dump_addr_radix_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
393
static int ta_find_addr_radix_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3938
ta_find_kfib_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
395
static void ta_foreach_addr_radix(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
3951
rt = fib4_lookup_rt(ti->data, tent->k.addr, 0, 0, &rnd);
sys/netpfil/ipfw/ip_fw_table_algo.c
3956
rt = fib6_lookup_rt(ti->data, &tent->k.addr6, 0, 0, &rnd);
sys/netpfil/ipfw/ip_fw_table_algo.c
3977
ta_dump_kfib_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
3995
ta_foreach_kfib(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table_algo.c
4001
rib_walk(ti->data, AF_INET, false, walk_wrapper_f, &karg);
sys/netpfil/ipfw/ip_fw_table_algo.c
4003
rib_walk(ti->data, AF_INET6, false, walk_wrapper_f, &karg);
sys/netpfil/ipfw/ip_fw_table_algo.c
401
static int ta_add_addr_radix(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
4033
ta_lookup_mac_radix(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
4043
rnh = (struct radix_node_head *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
405
static int ta_del_addr_radix(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
4054
ta_init_mac_radix(struct ip_fw_chain *ch, void **ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
4059
if (!rn_inithead(&ti->state, OFF_LEN_MAC))
sys/netpfil/ipfw/ip_fw_table_algo.c
4065
ti->lookup = ta_lookup_mac_radix;
sys/netpfil/ipfw/ip_fw_table_algo.c
4071
ta_destroy_mac_radix(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
4078
rnh = (struct radix_node_head *)(ti->state);
sys/netpfil/ipfw/ip_fw_table_algo.c
4080
rn_detachhead(&ti->state);
sys/netpfil/ipfw/ip_fw_table_algo.c
409
static int ta_need_modify_radix(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
413
ta_lookup_addr_radix(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
4153
ta_add_mac_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
4166
rnh = ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
423
rnh = (struct radix_node_head *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
4235
ta_del_mac_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
4245
rnh = ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
4263
ta_foreach_mac_radix(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table_algo.c
4268
rnh = (struct radix_node_head *)(ti->state);
sys/netpfil/ipfw/ip_fw_table_algo.c
4273
ta_dump_mac_radix_tinfo(void *ta_state, struct table_info *ti, ipfw_ta_tinfo *tinfo)
sys/netpfil/ipfw/ip_fw_table_algo.c
4286
ta_dump_mac_radix_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
4300
ta_find_mac_radix_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
4311
rnh = (struct radix_node_head *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
4316
ta_dump_mac_radix_tentry(ta_state, ti, e, tent);
sys/netpfil/ipfw/ip_fw_table_algo.c
434
rnh = (struct radix_node_head *)ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
449
ta_init_addr_radix(struct ip_fw_chain *ch, void **ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
454
if (!rn_inithead(&ti->state, OFF_LEN_INET))
sys/netpfil/ipfw/ip_fw_table_algo.c
456
if (!rn_inithead(&ti->xstate, OFF_LEN_INET6)) {
sys/netpfil/ipfw/ip_fw_table_algo.c
457
rn_detachhead(&ti->state);
sys/netpfil/ipfw/ip_fw_table_algo.c
464
ti->lookup = ta_lookup_addr_radix;
sys/netpfil/ipfw/ip_fw_table_algo.c
483
ta_destroy_addr_radix(void *ta_state, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_algo.c
490
rnh = (struct radix_node_head *)(ti->state);
sys/netpfil/ipfw/ip_fw_table_algo.c
492
rn_detachhead(&ti->state);
sys/netpfil/ipfw/ip_fw_table_algo.c
494
rnh = (struct radix_node_head *)(ti->xstate);
sys/netpfil/ipfw/ip_fw_table_algo.c
496
rn_detachhead(&ti->xstate);
sys/netpfil/ipfw/ip_fw_table_algo.c
505
ta_dump_addr_radix_tinfo(void *ta_state, struct table_info *ti, ipfw_ta_tinfo *tinfo)
sys/netpfil/ipfw/ip_fw_table_algo.c
521
ta_dump_addr_radix_tentry(void *ta_state, struct table_info *ti, void *e,
sys/netpfil/ipfw/ip_fw_table_algo.c
552
ta_find_addr_radix_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
563
rnh = (struct radix_node_head *)ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
569
rnh = (struct radix_node_head *)ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
574
ta_dump_addr_radix_tentry(ta_state, ti, e, tent);
sys/netpfil/ipfw/ip_fw_table_algo.c
582
ta_foreach_addr_radix(void *ta_state, struct table_info *ti, ta_foreach_f *f,
sys/netpfil/ipfw/ip_fw_table_algo.c
587
rnh = (struct radix_node_head *)(ti->state);
sys/netpfil/ipfw/ip_fw_table_algo.c
590
rnh = (struct radix_node_head *)(ti->xstate);
sys/netpfil/ipfw/ip_fw_table_algo.c
716
ta_add_addr_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
730
rnh = ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
733
rnh = ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
817
ta_del_addr_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei,
sys/netpfil/ipfw/ip_fw_table_algo.c
829
rnh = ti->state;
sys/netpfil/ipfw/ip_fw_table_algo.c
831
rnh = ti->xstate;
sys/netpfil/ipfw/ip_fw_table_algo.c
868
ta_need_modify_radix(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
962
static int ta_lookup_chash_slow(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
964
static int ta_lookup_chash_aligned(struct table_info *ti, void *key,
sys/netpfil/ipfw/ip_fw_table_algo.c
966
static int ta_lookup_chash_64(struct table_info *ti, void *key, uint32_t keylen,
sys/netpfil/ipfw/ip_fw_table_algo.c
969
static void ta_print_chash_config(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
973
struct table_info *ti, char *data, uint8_t tflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
974
static void ta_destroy_chash(void *ta_state, struct table_info *ti);
sys/netpfil/ipfw/ip_fw_table_algo.c
975
static void ta_dump_chash_tinfo(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
977
static int ta_dump_chash_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
982
static int ta_find_chash_tentry(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
984
static void ta_foreach_chash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
988
static int ta_add_chash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
992
static int ta_del_chash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
996
static int ta_need_modify_chash(void *ta_state, struct table_info *ti,
sys/netpfil/ipfw/ip_fw_table_algo.c
999
static int ta_fill_mod_chash(void *ta_state, struct table_info *ti, void *ta_buf,
sys/netpfil/ipfw/ip_fw_table_value.c
268
struct table_info *ti;
sys/netpfil/ipfw/ip_fw_table_value.c
287
error = ta->dump_tentry(fa->astate, fa->ti, e, tent);
sys/netpfil/ipfw/ip_fw_table_value.c
304
struct table_algo *ta, void *astate, struct table_info *ti)
sys/netpfil/ipfw/ip_fw_table_value.c
314
fa.ti = ti;
sys/netpfil/ipfw/ip_fw_table_value.c
316
ta->foreach(astate, ti, unref_table_value_cb, &fa);
sys/netpfil/ipfw/nat64/ip_fw_nat64.h
77
mod ## _findbyname(struct ip_fw_chain *ch, struct tid_info *ti, \
sys/netpfil/ipfw/nat64/ip_fw_nat64.h
80
return (ipfw_objhash_find_type(CHAIN_TO_SRV(ch), ti, \
sys/netpfil/ipfw/nptv6/nptv6.c
942
nptv6_findbyname(struct ip_fw_chain *ch, struct tid_info *ti,
sys/netpfil/ipfw/nptv6/nptv6.c
947
err = ipfw_objhash_find_type(CHAIN_TO_SRV(ch), ti,
sys/netpfil/ipfw/nptv6/nptv6.c
949
NPTV6_DEBUG("uidx %u, type %u, err %d", ti->uidx, ti->type, err);
sys/security/audit/audit_trigger.c
101
struct trigger_info *ti = NULL;
sys/security/audit/audit_trigger.c
111
ti = TAILQ_FIRST(&trigger_list);
sys/security/audit/audit_trigger.c
112
TAILQ_REMOVE(&trigger_list, ti, list);
sys/security/audit/audit_trigger.c
116
error = uiomove(&ti->trigger, sizeof(ti->trigger), uio);
sys/security/audit/audit_trigger.c
117
free(ti, M_AUDITTRIGGER);
sys/security/audit/audit_trigger.c
133
struct trigger_info *ti;
sys/security/audit/audit_trigger.c
135
ti = malloc(sizeof *ti, M_AUDITTRIGGER, M_WAITOK);
sys/security/audit/audit_trigger.c
140
free(ti, M_AUDITTRIGGER);
sys/security/audit/audit_trigger.c
143
ti->trigger = trigger;
sys/security/audit/audit_trigger.c
144
TAILQ_INSERT_TAIL(&trigger_list, ti, list);
sys/security/audit/audit_trigger.c
82
struct trigger_info *ti;
sys/security/audit/audit_trigger.c
88
ti = TAILQ_FIRST(&trigger_list);
sys/security/audit/audit_trigger.c
89
TAILQ_REMOVE(&trigger_list, ti, list);
sys/security/audit/audit_trigger.c
90
free(ti, M_AUDITTRIGGER);
sys/sys/ttyqueue.h
100
return (ti->ti_quota * TTYINQ_DATASIZE);
sys/sys/ttyqueue.h
104
ttyinq_bytesleft(struct ttyinq *ti)
sys/sys/ttyqueue.h
109
len = ti->ti_nblocks * TTYINQ_DATASIZE;
sys/sys/ttyqueue.h
110
MPASS(len >= ti->ti_end);
sys/sys/ttyqueue.h
112
return (len - ti->ti_end);
sys/sys/ttyqueue.h
116
ttyinq_bytescanonicalized(struct ttyinq *ti)
sys/sys/ttyqueue.h
118
MPASS(ti->ti_begin <= ti->ti_linestart);
sys/sys/ttyqueue.h
120
return (ti->ti_linestart - ti->ti_begin);
sys/sys/ttyqueue.h
124
ttyinq_bytesline(struct ttyinq *ti)
sys/sys/ttyqueue.h
126
MPASS(ti->ti_linestart <= ti->ti_end);
sys/sys/ttyqueue.h
128
return (ti->ti_end - ti->ti_linestart);
sys/sys/ttyqueue.h
133
void ttyinq_line_iterate_from_linestart(struct ttyinq *ti,
sys/sys/ttyqueue.h
135
void ttyinq_line_iterate_from_reprintpos(struct ttyinq *ti,
sys/sys/ttyqueue.h
72
int ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t len);
sys/sys/ttyqueue.h
73
void ttyinq_free(struct ttyinq *ti);
sys/sys/ttyqueue.h
74
int ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio,
sys/sys/ttyqueue.h
76
size_t ttyinq_write(struct ttyinq *ti, const void *buf, size_t len,
sys/sys/ttyqueue.h
78
int ttyinq_write_nofrag(struct ttyinq *ti, const void *buf, size_t len,
sys/sys/ttyqueue.h
80
void ttyinq_canonicalize(struct ttyinq *ti);
sys/sys/ttyqueue.h
81
void ttyinq_canonicalize_break(struct ttyinq *ti, const char *breakc);
sys/sys/ttyqueue.h
82
size_t ttyinq_findchar(struct ttyinq *ti, const char *breakc, size_t maxlen,
sys/sys/ttyqueue.h
84
void ttyinq_flush(struct ttyinq *ti);
sys/sys/ttyqueue.h
85
int ttyinq_peekchar(struct ttyinq *ti, char *c, int *quote);
sys/sys/ttyqueue.h
86
void ttyinq_unputchar(struct ttyinq *ti);
sys/sys/ttyqueue.h
87
void ttyinq_reprintpos_set(struct ttyinq *ti);
sys/sys/ttyqueue.h
88
void ttyinq_reprintpos_reset(struct ttyinq *ti);
sys/sys/ttyqueue.h
91
ttyinq_getsize(struct ttyinq *ti)
sys/sys/ttyqueue.h
93
return (ti->ti_nblocks * TTYINQ_DATASIZE);
sys/sys/ttyqueue.h
97
ttyinq_getallocatedsize(struct ttyinq *ti)
sys/x86/include/pvclock.h
133
uint64_t pvclock_tsc_freq(struct pvclock_vcpu_time_info *ti);
sys/x86/include/pvclock.h
134
uint64_t pvclock_get_timecount(struct pvclock_vcpu_time_info *ti);
sys/x86/x86/pvclock.c
102
pvclock_read_time_info(struct pvclock_vcpu_time_info *ti,
sys/x86/x86/pvclock.c
109
version = atomic_load_acq_32(&ti->version);
sys/x86/x86/pvclock.c
110
delta = rdtsc_ordered() - ti->tsc_timestamp;
sys/x86/x86/pvclock.c
111
*ns = ti->system_time + pvclock_scale_delta(delta,
sys/x86/x86/pvclock.c
112
ti->tsc_to_system_mul, ti->tsc_shift);
sys/x86/x86/pvclock.c
113
*flags = ti->flags;
sys/x86/x86/pvclock.c
115
} while ((ti->version & 1) != 0 || ti->version != version);
sys/x86/x86/pvclock.c
159
pvclock_get_timecount(struct pvclock_vcpu_time_info *ti)
sys/x86/x86/pvclock.c
164
pvclock_read_time_info(ti, &now, &flags);
sys/x86/x86/pvclock.c
61
struct pvclock_vcpu_time_info *ti, uint64_t *ns, uint8_t *flags);
sys/x86/x86/pvclock.c
89
pvclock_tsc_freq(struct pvclock_vcpu_time_info *ti)
sys/x86/x86/pvclock.c
93
freq = (1000000000ULL << 32) / ti->tsc_to_system_mul;
sys/x86/x86/pvclock.c
94
if (ti->tsc_shift < 0)
sys/x86/x86/pvclock.c
95
freq <<= -ti->tsc_shift;
sys/x86/x86/pvclock.c
97
freq >>= ti->tsc_shift;
usr.sbin/makefs/zfs/fs.c
746
char ti[16];
usr.sbin/makefs/zfs/fs.c
750
(void)snprintf(ti, sizeof(ti), "%u", index);
usr.sbin/makefs/zfs/fs.c
751
zap_add(zap, ti, sizeof(sa_attr_type_t), sacnt,
usr.sbin/ngctl/types.c
90
struct typeinfo *const ti = &tlist->typeinfo[k];
usr.sbin/ngctl/types.c
91
printf("%15s %5d\n", ti->type_name, ti->numnodes);
usr.sbin/vidcontrol/vidcontrol.c
1386
struct term_info ti;
usr.sbin/vidcontrol/vidcontrol.c
1390
if (get_terminal_emulator(i, &ti) == 0)
usr.sbin/vidcontrol/vidcontrol.c
1392
printf("%d: %s (%s)%s\n", i, ti.ti_name, ti.ti_desc,
usr.sbin/vidcontrol/vidcontrol.c
1400
struct term_info old_ti, ti;
usr.sbin/vidcontrol/vidcontrol.c
1403
strlcpy((char *)ti.ti_name, name, sizeof(ti.ti_name));
usr.sbin/vidcontrol/vidcontrol.c
1404
if (ioctl(0, CONS_SETTERM, &ti) != 0)
usr.sbin/vidcontrol/vidcontrol.c
1406
get_terminal_emulator(0, &ti);
usr.sbin/vidcontrol/vidcontrol.c
1408
ti.ti_name, ti.ti_desc);