Home
last modified time | relevance | path

Searched refs:tg (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c54 static void target_print(struct target *tg);
55 static void target_insert(struct phyint_instance *pii, struct target *tg);
60 static void reset_pii_probes(struct phyint_instance *pii, struct target *tg);
1621 struct target *tg; in phyint_inst_print() local
1641 for (tg = pii->pii_targets; tg != NULL; tg = tg->tg_next) in phyint_inst_print()
1642 target_print(tg); in phyint_inst_print()
2014 struct target *tg; in target_lookup() local
2024 for (tg = pii->pii_targets; tg != NULL; tg = tg->tg_next) { in target_lookup()
2025 if (IN6_ARE_ADDR_EQUAL(&tg->tg_address, &addr)) in target_lookup()
2028 return (tg); in target_lookup()
[all …]
H A Dmpd_probe.c61 static void pi_set_crtt(struct target *tg, int64_t m,
80 static boolean_t highest_ack_tg(uint16_t seq, struct target *tg);
984 highest_ack_tg(uint16_t seq, struct target *tg) in highest_ack_tg() argument
990 pii = tg->tg_phyint_inst; in highest_ack_tg()
1007 if (pii->pii_probes[pr_ndx].pr_target == tg && in highest_ack_tg()
1049 struct target *tg; in check_pii_crtt_improved() local
1058 for (tg = pii->pii_targets; tg != NULL; tg = tg->tg_next) { in check_pii_crtt_improved()
1059 if (tg->tg_status != TG_ACTIVE) in check_pii_crtt_improved()
1061 if (tg->tg_crtt > (pii->pii_phyint->pi_group->pg_probeint / in check_pii_crtt_improved()
1078 struct target *tg; in check_exception_target() local
[all …]
H A Dmpd_main.c1771 struct target *tg; in init_router_targets() local
1787 for (tg = pii->pii_targets; tg != NULL; tg = tg->tg_next) in init_router_targets()
1788 tg->tg_in_use = 0; in init_router_targets()
1799 for (tg = pii->pii_targets; tg != NULL; tg = next_tg) { in init_router_targets()
1800 next_tg = tg->tg_next; in init_router_targets()
1808 if (!tg->tg_in_use && !GROUP_FAILED(pi->pi_group)) in init_router_targets()
1809 target_delete(tg); in init_router_targets()
1841 struct target *tg; in dup_host_targets() local
1864 for (tg = pii->pii_targets; tg != NULL; tg = tg->tg_next) { in dup_host_targets()
1865 target_create(desired_pii, tg->tg_address, _B_FALSE); in dup_host_targets()
H A Dmpd_tables.h444 extern void target_delete(struct target *tg);
445 extern struct target *target_next(struct target *tg);
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c189 stmf_id_data_t *tg; in stmf_session_create_lun_map() local
198 tg = ilport->ilport_tg; in stmf_session_create_lun_map()
211 if ((ptg_data[0] != '*') && (!tg || in stmf_session_create_lun_map()
212 ((tg->id_data[0] != '*') && in stmf_session_create_lun_map()
213 (vertg->vert_tg_ref != tg)))) { in stmf_session_create_lun_map()
888 stmf_add_view_entry(stmf_id_data_t *hg, stmf_id_data_t *tg, in stmf_add_view_entry() argument
922 phg = (char *)hg->id_data; ptg = (char *)tg->id_data; in stmf_add_view_entry()
927 (ve->ve_tg->id_data[0] == '*') || (tg == ve->ve_tg))) { in stmf_add_view_entry()
939 if ((ptg[0] != '*') && (tg->id_data[0] != '*') && in stmf_add_view_entry()
940 (vertg->vert_tg_ref != tg)) { in stmf_add_view_entry()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c608 struct tgate *tg; in parse_parms() local
863 tg = rtmalloc(sizeof (*tg), in parse_parms()
865 (void) memset(tg, 0, sizeof (*tg)); in parse_parms()
866 tg->tgate_addr = addr; in parse_parms()
874 !getnet(buf2, &tg->tgate_nets[i].net, in parse_parms()
875 &tg->tgate_nets[i].mask) || in parse_parms()
876 tg->tgate_nets[i].net == RIP_DEFAULT || in parse_parms()
877 tg->tgate_nets[i].mask == 0) { in parse_parms()
878 free(tg); in parse_parms()
883 tg->tgate_next = tgates; in parse_parms()
[all …]
H A Dinput.c169 struct tgate *tg = NULL; in input() local
545 tg = tgates; in input()
546 while (tg->tgate_addr != FROM_NADDR) { in input()
547 tg = tg->tgate_next; in input()
548 if (tg == NULL) { in input()
698 tg = tgates; in input()
699 while (tg->tgate_addr != FROM_NADDR) { in input()
700 tg = tg->tgate_next; in input()
701 if (tg == NULL) { in input()
731 if (tg != NULL && tg->tgate_nets->mask != 0) { in input()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_yp_util.c436 __nis_table_mapping_t *t_new = NULL, *tg; in second_parser_pass() local
461 tg = NULL; in second_parser_pass()
475 tg = find_table_mapping(t->dbId, dom - t->dbId, in second_parser_pass()
494 tg = find_table_mapping(t->dbId, dom - t->dbId, in second_parser_pass()
496 if (tg == NULL || tg->objName == NULL) { in second_parser_pass()
508 tobj = s_strndup(tg->objName, in second_parser_pass()
509 strlen(tg->objName)); in second_parser_pass()
586 if (tg != NULL) { in second_parser_pass()
587 if (merge_table_mapping(tg, t)) { in second_parser_pass()
590 tg->dbId, t->dbId); in second_parser_pass()
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymcheck.pl1281 my (@t, $tg, $tg2, $tp);
1282 foreach $tg (@tag_list) {
1283 next if ($tg eq $tag0);
1284 ($tg2, $tp) = split(/\|/, $tg, 2);
1286 push(@t, $tg);
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_locale_misc.sh167 err_exit "test '${tg.name}'/'$ts' failed: Expected '_A_', got '${out2}'"
/illumos-gate/usr/src/cmd/tbl/
H A DMakefile32 t8.c t9.c tb.c tc.c te.c tf.c tg.c ti.c \
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c1173 char *tg = NULL; in _walk_template_instances() local
1197 tg = _scf_read_single_astring_from_pg(p->pw_pg, in _walk_template_instances()
1199 if (tg == NULL || /* scf_error() was set */ in _walk_template_instances()
1200 (strcmp(tg, SCF_TM_TARGET_INSTANCE) != 0 && in _walk_template_instances()
1201 strcmp(tg, SCF_TM_TARGET_THIS) != 0 && in _walk_template_instances()
1206 if (tg != NULL) { in _walk_template_instances()
1207 free(tg); in _walk_template_instances()
1208 tg = NULL; in _walk_template_instances()
1235 tg = _scf_read_single_astring_from_pg(p->pw_pg, in _walk_template_instances()
1237 if (tg == NULL || /* scf_error() was set */ in _walk_template_instances()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dlc.tab146 tg tajik