/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 32 static void advertise(struct sockaddr_in6 *sin6, struct phyint *pi, 34 static void solicit(struct sockaddr_in6 *sin6, struct phyint *pi); 36 static void check_if_removed(struct phyint *pi); 37 static void loopback_ra_enqueue(struct phyint *pi, 154 add_opt_lla(struct phyint *pi, struct nd_opt_lla *optp) argument 161 if (phyint_get_lla(pi, &lifr) == -1) 177 solicit(struct sockaddr_in6 *sin6, struct phyint *pi) argument 192 packetlen += add_opt_lla(pi, (struct nd_opt_lla *)pptr); 195 print_route_sol("Sending solicitation to ", pi, rs, packetlen, 198 sendpacket(sin6, pi 208 advertise(struct sockaddr_in6 *sin6, struct phyint *pi, boolean_t no_prefixes) argument 424 struct phyint *pi; local 622 struct phyint *pi; local 710 check_to_advertise(struct phyint *pi, enum adv_events event) argument 740 advertise_event(struct phyint *pi, enum adv_events event, uint_t elapsed) argument 886 check_to_solicit(struct phyint *pi, enum solicit_events event) argument 990 struct phyint *pi; local 1030 solicit_event(struct phyint *pi, enum solicit_events event, uint_t elapsed) argument 1233 struct phyint *pi; local 1360 struct phyint *pi; local 1618 struct phyint *pi; local 1743 struct phyint *pi; local 1853 check_if_removed(struct phyint *pi) argument 1934 loopback_ra_enqueue(struct phyint *pi, struct nd_router_advert *ra, int len) argument 2011 struct phyint *pi; local 2179 logperror_pi(const struct phyint *pi, const char *str) argument 2332 struct phyint *pi; local 2366 struct phyint *pi; local 2440 struct phyint *pi; local 2525 check_autoconf_var_consistency(struct phyint *pi, boolean_t stateless, boolean_t stateful) argument 2559 phyint_check_ipadm_intfid(struct phyint *pi) argument [all...] |
H A D | tables.c | 35 static void phyint_print(struct phyint *pi); 36 static void phyint_insert(struct phyint *pi); 41 static void prefix_insert(struct phyint *pi, struct prefix *pr); 47 static void adv_prefix_insert(struct phyint *pi, struct adv_prefix *adv_pr); 51 static void router_insert(struct phyint *pi, struct router *dr); 63 struct phyint *pi; local 68 for (pi = phyints; pi != NULL; pi = pi 78 struct phyint *pi; local 93 struct phyint *pi; local 154 phyint_insert(struct phyint *pi) argument 171 phyint_init_from_k(struct phyint *pi) argument 473 phyint_delete(struct phyint *pi) argument 518 phyint_timer(struct phyint *pi, uint_t elapsed) argument 572 phyint_print(struct phyint *pi) argument 644 phyint_get_lla(struct phyint *pi, struct lifreq *lifrp) argument 680 phyint_reach_random(struct phyint *pi, boolean_t set_needed) argument 715 struct phyint *pi; local 759 tmptoken_create(struct phyint *pi) argument 826 tmptoken_delete(struct phyint *pi) argument 852 tmptoken_timer(struct phyint *pi, uint_t elapsed) argument 992 prefix_lookup(struct phyint *pi, struct in6_addr prefix, int prefixlen) argument 1069 prefix_lookup_name(struct phyint *pi, char *name) argument 1096 struct phyint *pi; local 1124 prefix_create(struct phyint *pi, struct in6_addr prefix, int prefixlen, uint64_t flags) argument 1160 prefix_create_name(struct phyint *pi, char *name) argument 1181 prefix_insert(struct phyint *pi, struct prefix *pr) argument 1230 struct phyint *pi = pr->pr_physical; local 1367 struct phyint *pi; local 1404 struct phyint *pi = pr->pr_physical; local 1489 struct phyint *pi = pr->pr_physical; local 1920 adv_prefix_lookup(struct phyint *pi, struct in6_addr prefix, int prefixlen) argument 1944 adv_prefix_create(struct phyint *pi, struct in6_addr prefix, int prefixlen) argument 1971 adv_prefix_insert(struct phyint *pi, struct adv_prefix *adv_pr) argument 1989 struct phyint *pi; local 2058 router_lookup(struct phyint *pi, struct in6_addr addr) argument 2082 router_create(struct phyint *pi, struct in6_addr addr, uint_t lifetime) argument 2108 router_insert(struct phyint *pi, struct router *dr) argument 2126 struct phyint *pi; local 2225 struct phyint *pi = dr->dr_physical; local 2269 struct phyint *pi = dr->dr_physical; local 2317 struct phyint *pi; local 2325 phyint_cleanup(struct phyint *pi) argument 2352 struct phyint *pi = pr->pr_physical; local [all...] |
H A D | ndp.c | 36 struct phyint *pi, struct sockaddr_in6 *from); 38 static void incoming_rs(struct phyint *pi, struct nd_router_solicit *rs, 41 void incoming_ra(struct phyint *pi, struct nd_router_advert *ra, 43 static void incoming_prefix_opt(struct phyint *pi, uchar_t *opt, 45 static void incoming_prefix_onlink(struct phyint *pi, uchar_t *opt); 49 static boolean_t incoming_prefix_addrconf(struct phyint *pi, 52 boolean_t incoming_prefix_addrconf_process(struct phyint *pi, 56 static void incoming_mtu_opt(struct phyint *pi, uchar_t *opt, 58 static void incoming_lla_opt(struct phyint *pi, uchar_t *opt, 61 static void verify_ra_consistency(struct phyint *pi, 92 in_data(struct phyint *pi) argument 283 incoming_rs(struct phyint *pi, struct nd_router_solicit *rs, int len, struct sockaddr_in6 *from) argument 313 dhcp_op(struct phyint *pi, int type) argument 350 start_dhcp(struct phyint *pi) argument 384 release_dhcp(struct phyint *pi) argument 412 incoming_ra(struct phyint *pi, struct nd_router_advert *ra, int len, struct sockaddr_in6 *from, boolean_t loopback) argument 557 incoming_prefix_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback) argument 608 incoming_prefix_onlink(struct phyint *pi, uchar_t *opt) argument 692 incoming_prefix_stateful(struct phyint *pi, uchar_t *opt) argument 759 incoming_prefix_addrconf(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback) argument 853 incoming_prefix_addrconf_process(struct phyint *pi, struct prefix *pr, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback, boolean_t new_prefix) argument 1116 incoming_mtu_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from) argument 1172 incoming_lla_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, int isrouter) argument 1233 verify_ra_consistency(struct phyint *pi, struct nd_router_advert *ra, int len, struct sockaddr_in6 *from) argument 1316 verify_prefix_opt(struct phyint *pi, uchar_t *opt, char *frombuf) argument 1430 verify_mtu_opt(struct phyint *pi, uchar_t *opt, char *frombuf) argument 1457 verify_opt_len(struct nd_opt_hdr *opt, int optlen, struct phyint *pi, struct sockaddr_in6 *from) argument 1497 update_ra_flag(const struct phyint *pi, const struct sockaddr_in6 *from, int isrouter) argument [all...] |
H A D | tables.h | 257 extern int phyint_init_from_k(struct phyint *pi); 258 extern void phyint_delete(struct phyint *pi); 259 extern uint_t phyint_timer(struct phyint *pi, uint_t elapsed); 261 extern int phyint_get_lla(struct phyint *pi, struct lifreq *lifrp); 262 extern void phyint_reach_random(struct phyint *pi, 264 extern void phyint_cleanup(struct phyint *pi); 266 extern boolean_t tmptoken_create(struct phyint *pi); 267 extern void tmptoken_delete(struct phyint *pi); 268 extern uint_t tmptoken_timer(struct phyint *pi, uint_t elapsed); 272 extern struct prefix *prefix_create(struct phyint *pi, struc [all...] |
H A D | trace.c | 35 print_route_sol(char *str, struct phyint *pi, argument 44 len, pi->pi_name); 52 print_route_adv(char *str, struct phyint *pi, argument 61 len, pi->pi_name);
|
/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ratoi.c | 12 int ratoi(ps, pi, min, max) 14 int *pi, min, max; 22 *pi = i;
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | pwd.pl | 27 local($pd,$pi) = stat($ENV{'PWD'}); 28 if (!defined $dd or !defined $pd or $di != $pi or $dd != $pd) { 36 local($pd,$pi) = stat($2); 38 if (defined $pd and defined $dd and $di == $pi and $dd == $pd) {
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.c | 46 static void phyint_insert(struct phyint *pi, struct phyint_group *pg); 47 static void phyint_delete(struct phyint *pi); 48 static boolean_t phyint_is_usable(struct phyint *pi); 65 static int phyint_state_event(struct phyint_group *pg, struct phyint *pi); 68 static int phyint_group_member_event(struct phyint_group *pg, struct phyint *pi, 71 static int logint_upcount(struct phyint *pi); 92 struct phyint *pi; local 97 for (pi = phyints; pi != NULL; pi 111 phyint_lookup_hwaddr(struct phyint *pi, boolean_t online_only) argument 148 struct phyint *pi = arg; local 201 phyint_link_init(struct phyint *pi) argument 259 phyint_link_close(struct phyint *pi) argument 279 struct phyint *pi; local 313 phyint_insert(struct phyint *pi, struct phyint_group *pg) argument 373 struct phyint *pi; local 421 phyint_inst_create(struct phyint *pi, int af) argument 458 phyint_chstate(struct phyint *pi, enum pi_state state) argument 478 phyint_changed(struct phyint *pi) argument 603 struct phyint *pi; local 1142 struct phyint *pi, *usablepi; local 1215 struct phyint *pi; local 1327 phyint_delete(struct phyint *pi) argument 1416 phyint_offline(struct phyint *pi, uint_t minred) argument 1495 phyint_undo_offline(struct phyint *pi) argument 1556 struct phyint *pi = pii->pii_phyint; local 2231 struct phyint *pi; local 2513 struct phyint *pi; local 2642 logint_upcount(struct phyint *pi) argument 2680 phyint_is_functioning(struct phyint *pi) argument 2691 phyint_is_usable(struct phyint *pi) argument 2748 ifstate(struct phyint *pi) argument 2778 iftype(struct phyint *pi) argument 2790 iflinkstate(struct phyint *pi) argument 2802 ifprobestate(struct phyint *pi) argument 2834 ifflags(struct phyint *pi) argument 3065 phyint_group_member_event(struct phyint_group *pg, struct phyint *pi, ipmp_if_op_t op) argument 3113 phyint_state_event(struct phyint_group *pg, struct phyint *pi) argument 3178 struct phyint *pi; local 3309 struct phyint *pi; local 3423 struct phyint *pi; local [all...] |
H A D | mpd_tables.h | 76 #define PHYINT_INSTANCE(pi, af) \ 77 ((af) == AF_INET ? (pi)->pi_v4 : (pi)->pi_v6) 127 #define LINK_DOWN(pi) ((pi)->pi_link_state == 0) 128 #define LINK_UP(pi) (!LINK_DOWN(pi)) 129 #define FLAGS_TO_LINK_STATE(pi) (((pi)->pi_flags & IFF_RUNNING) != 0) 130 #define UPDATE_LINK_STATE(pi) ((p [all...] |
H A D | mpd_probe.c | 78 static boolean_t phyint_repaired(struct phyint *pi); 1024 struct phyint *pi; local 1033 for (pi = pg->pg_phyint; pi != NULL; pi = pi->pi_pgnext) { 1034 if (!check_pii_crtt_improved(pi->pi_v4) || 1035 !check_pii_crtt_improved(pi->pi_v6)) 1127 struct phyint *pi; local 1174 pi 1350 phyint_activate_another(struct phyint *pi) argument 1380 phyint_transition_to_running(struct phyint *pi) argument 1454 phyint_standby_refresh_inactive(struct phyint *pi) argument 1493 phyint_check_for_repair(struct phyint *pi) argument 1525 struct phyint *pi = pii->pii_phyint; local 1594 struct phyint *pi; local 1933 process_link_state_down(struct phyint *pi) argument 1966 process_link_state_up(struct phyint *pi) argument 1992 struct phyint *pi; local 2024 reset_crtt_all(struct phyint *pi) argument 2146 struct phyint *pi; local 2524 phyint_repaired(struct phyint *pi) argument 2589 change_pif_flags(struct phyint *pi, uint64_t set, uint64_t clear) argument [all...] |
H A D | mpd_main.c | 480 struct phyint *pi; local 506 for (pi = pg->pg_phyint; pi != NULL; pi = pi->pi_pgnext) { 507 pii = PHYINT_INSTANCE(pi, ss->ss_family); 526 stop_probing(struct phyint *pi) argument 530 pii = pi->pi_v4; 537 pii = pi->pi_v6; 544 phyint_chstate(pi, PI_OFFLIN 581 struct phyint *pi; local 795 struct phyint *pi; local 863 struct phyint *pi; local 1336 struct phyint *pi; local 1658 struct phyint *pi; local 1772 struct phyint *pi; local 1837 struct phyint *pi; local 1922 struct phyint *pi; local 2398 struct phyint *pi; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libsqlite/src/ |
H A D | util.c | 60 int *pi; local 76 pi = malloc( (N_GUARD*2+1+k)*sizeof(int)); 77 if( pi==0 ){ 82 for(i=0; i<N_GUARD; i++) pi[i] = 0xdead1122; 83 pi[N_GUARD] = n; 84 for(i=0; i<N_GUARD; i++) pi[k+1+N_GUARD+i] = 0xdead3344; 85 p = &pi[N_GUARD+1]; 102 int *pi = p; local 104 pi -= N_GUARD+1; 106 assert( pi[ 121 int *pi, i, k, n; local 154 int *oldPi, *pi, i, k, oldN, oldK; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 162 struct phyint *pi); 174 static void free_phyint(struct phyint *pi); 175 static struct logint *find_logint(struct phyint *pi, char *name); 176 static struct logint *add_logint(struct phyint *pi, char *name); 179 static void deleted_phyint(struct phyint *pi, int s, 608 struct phyint *pi; local 620 for (pi = phyint; pi != NULL; pi = pi 1131 struct phyint *pi; local 1200 struct phyint *pi; local 1284 struct phyint *pi; local 1310 struct phyint *pi; local 1633 struct phyint *pi; local 1666 struct phyint *pi; local 1692 struct phyint *pi; local 1705 struct phyint *pi; local 1723 free_phyint(struct phyint *pi) argument 1744 find_logint(struct phyint *pi, char *name) argument 1760 add_logint(struct phyint *pi, char *name) argument 1789 struct phyint *pi; local 1814 deleted_phyint(struct phyint *pi, int s, struct sockaddr_in *joinaddr) argument 1880 struct phyint *pi; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/troff/troff.d/ |
H A D | t10.c | 286 ptout0(pi) 287 tchar *pi; 295 i = *pi; 305 return(pi+outsize); 319 pi++; 320 while( cbits(*pi) != XOFF && pi < olinep ) 321 outascii(*pi++); 323 if ( cbits(*pi) == XOFF ) 324 pi [all...] |
/opensolaris-onvv-gate/usr/src/cmd/tsol/demo/ |
H A D | runwlabel.ksh | 42 for zone in `zoneadm list -pi | nawk -F: -v zonepath=${zonepath} '{
|
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 62 di_node_t cn, int instance, di_path_t pi) 79 if (pi != NULL) { 80 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_TARGET_PORT, 82 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_ATTACHED_PORT, 84 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_TARGET_PORT_PM, 86 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_ATTACHED_PORT_PM, 88 if (di_path_prop_lookup_int64s(pi, 185 di_path_t pi; local 211 for (pi = di_path_phci_next_path(cn, DI_PATH_NIL); 212 pi ! 61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent, di_node_t cn, int instance, di_path_t pi) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/sun4u/os/ |
H A D | mach_mp_startup.c | 43 processor_info_t *pi = &cp->cpu_type_info; local 52 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000; 64 (void) strcpy(pi->pi_processor_type, "sparcv9"); 65 (void) strcpy(pi->pi_fputypes, "sparcv9"); 182 processor_info_t *pi; local 185 pi = &cp->cpu_type_info; 189 cpunode->version, pi->pi_clock);
|
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | sun4vpi.c | 124 pi_enum_t pi; local 142 bzero(&pi, sizeof (pi_enum_t)); 143 result = pi_ldompri_open(mod, &pi); 150 pi.mod = mod; 156 num_components = pi_find_mdenodes(mod, pi.mdp, MDE_INVAL_ELEM_COOKIE, 179 component_cookie = md_find_name(pi.mdp, MD_STR_COMPONENT); 180 arc_cookie = md_find_name(pi.mdp, MD_STR_FWD); 189 skip = pi_skip_node(mod, pi.mdp, components[idx]); 195 result = pi_enum_components(&pi, t_parent, name, 202 pi_ldompri_close(mod, &pi); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/ |
H A D | Trig.t | 57 print 'not ' unless (near(deg2rad(90), pi/2)); 60 print 'not ' unless (near(rad2deg(pi), 180)); 145 unless (near(great_circle_distance(0, 0, 0, pi/2), pi/2)); 149 unless (near(great_circle_distance(0, 0, pi, pi), pi)); 184 unless (near(great_circle_direction(0, 0, 0, pi/2), pi)); 189 # unless (near(great_circle_direction(0, 0, pi, p [all...] |
H A D | Complex.t | 90 (arg($z) - pi / 4 ) < $eps and 100 $z->arg(-3 / 4 * pi); 102 print 'not ' unless (arg($z) + 3 / 4 * pi) < $eps and 114 my $pi = cplx(pi, 0); 115 my $pii = cplx(0, pi); 116 my $pip2 = cplx(pi/2, 0); 222 print "not " unless "\$j" eq "[1,2pi/3]"; 479 [2,0]:[2,pi]:(0,0) 486 [2,pi/ [all...] |
/opensolaris-onvv-gate/usr/src/uts/sun4v/os/ |
H A D | mach_mp_startup.c | 48 processor_info_t *pi = &cp->cpu_type_info; local 57 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000; 69 (void) strcpy(pi->pi_processor_type, "sparcv9"); 70 (void) strcpy(pi->pi_fputypes, "sparcv9"); 277 processor_info_t *pi; local 280 pi = &cp->cpu_type_info; 284 cpunode->name, cpunode->cpuid, pi->pi_clock); 288 cpunode->name, cp->cpu_m.cpu_chip, pi->pi_clock);
|
/opensolaris-onvv-gate/usr/src/cmd/getdevpolicy/ |
H A D | getdevpolicy.c | 44 static const priv_impl_info_t *pi; variable 68 ss = priv_set_to_str(DEVPLCYSYS_RDP(ds, pi), ',', PRIV_STR_SHORT); 71 ss = priv_set_to_str(DEVPLCYSYS_WRP(ds, pi), ',', PRIV_STR_SHORT); 148 if ((pi = getprivimplinfo()) == NULL) 151 sz = DEVPLCYSYS_SZ(pi);
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 243 struct method_context *mthd_ctxt, const proto_info_t *pi) __NORETURN; 835 proto_info_t *pi; local 838 for (pi = uu_list_first(cfg->proto_list); pi != NULL; 839 pi = uu_list_next(cfg->proto_list, pi)) { 840 if (pi->listen_fd != -1) { /* fd bound */ 842 strcmp(pi->proto, proto_name) == 0) { 844 clear_pollfd(pi->listen_fd); 845 } else if (set_pollfd(pi 882 proto_info_t *pi; local 1034 proto_info_t *pi; local 1079 proto_info_t *pi; local 1190 proto_info_t *pi; local 1218 expand_address(instance_t *inst, const proto_info_t *pi) argument 2187 proto_info_t *pi; local 2691 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, struct method_context *mthd_ctxt, const proto_info_t *pi) argument 3162 pending_connections(instance_t *instance, proto_info_t *pi) argument 3174 accept_connection(instance_t *instance, proto_info_t *pi) argument 3210 process_nowait_request(instance_t *instance, proto_info_t *pi) argument 3336 process_wait_request(instance_t *instance, const proto_info_t *pi) argument 3431 proto_info_t *pi; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | mpath.c | 99 sv_path_info_t *pi = NULL; local 125 pi = (sv_path_info_t *)calloc((size_t)num_paths, 128 ioc.ret_buf = pi; 133 pi[i].ret_prop.buf_size = SV_PROP_MAX_BUF_SIZE; 134 if (((pi[i].ret_prop.buf = 136 ((pi[i].ret_prop.ret_buf_size = 137 malloc(sizeof (*pi[i].ret_prop.ret_buf_size))) 140 g_free_pi_list(pi, num_paths); 149 g_free_pi_list(pi, num_paths); 155 charptr1 = strchr(pi[path_nu 627 g_free_pi_list(sv_path_info_t *pi, uint_t num_paths) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | concat.t | 79 *pi = \undef; 83 eval{"$pi\x{1234}"}; 87 eval{"\x{1234}$pi"};
|