/titanic_51/usr/src/lib/libresolv2/common/irs/ |
H A D | gen_pr.c | 70 struct irs_pr *pr; in irs_gen_pr() local 73 if (!(pr = memget(sizeof *pr))) { in irs_gen_pr() 77 memset(pr, 0x5e, sizeof *pr); in irs_gen_pr() 79 memput(pr, sizeof *pr); in irs_gen_pr() 86 pr->private = pvt; in irs_gen_pr() 87 pr->close = pr_close; in irs_gen_pr() 88 pr in irs_gen_pr() 112 struct irs_pr *pr; pr_next() local 135 struct irs_pr *pr; pr_byname() local 152 struct irs_pr *pr; pr_bynumber() local 167 struct irs_pr *pr; pr_rewind() local 182 struct irs_pr *pr = rule->inst->pr; pr_minimize() local 221 struct irs_pr *pr = rule->inst->pr; pr_res_set() local [all...] |
H A D | irp_pr.c | 68 static void free_proto(struct protoent *pr); 79 struct irs_pr *pr; in irs_irp_pr() local 82 if (!(pr = memget(sizeof *pr))) { in irs_irp_pr() 86 memset(pr, 0x0, sizeof *pr); in irs_irp_pr() 89 memput(pr, sizeof *pr); in irs_irp_pr() 96 pr->private = pvt; in irs_irp_pr() 97 pr in irs_irp_pr() 133 struct protoent *pr = &pvt->proto; pr_byname() local 182 struct protoent *pr = &pvt->proto; pr_bynumber() local 260 struct protoent *pr = &pvt->proto; pr_next() local 314 free_proto(struct protoent * pr) free_proto() argument [all...] |
H A D | getprotoent.c | 89 struct irs_pr *pr; in getprotoent_p() local 91 if (!net_data || !(pr = net_data->pr)) in getprotoent_p() 93 net_data->pr_last = (*pr->next)(pr); in getprotoent_p() 99 struct irs_pr *pr; in getprotobyname_p() local 102 if (!net_data || !(pr = net_data->pr)) in getprotobyname_p() 111 net_data->pr_last = (*pr->byname)(pr, nam in getprotobyname_p() 119 struct irs_pr *pr; getprotobynumber_p() local 134 struct irs_pr *pr; setprotoent_p() local 146 struct irs_pr *pr; endprotoent_p() local [all...] |
H A D | dns_pr.c | 76 struct irs_pr *pr; in irs_dns_pr() local 87 if (!(pr = memget(sizeof *pr))) { in irs_dns_pr() 92 memset(pr, 0x5e, sizeof *pr); in irs_dns_pr() 94 pr->private = pvt; in irs_dns_pr() 95 pr->byname = pr_byname; in irs_dns_pr() 96 pr->bynumber = pr_bynumber; in irs_dns_pr() 97 pr->next = pr_next; in irs_dns_pr() 98 pr in irs_dns_pr() [all...] |
H A D | lcl_pr.c | 112 struct irs_pr *pr; in irs_lcl_pr() local 115 if (!(pr = memget(sizeof *pr))) { in irs_lcl_pr() 120 memput(pr, sizeof *this); in irs_lcl_pr() 125 pr->private = pvt; in irs_lcl_pr() 126 pr->close = pr_close; in irs_lcl_pr() 127 pr->byname = pr_byname; in irs_lcl_pr() 128 pr->bynumber = pr_bynumber; in irs_lcl_pr() 129 pr->next = pr_next; in irs_lcl_pr() 130 pr in irs_lcl_pr() [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.c | 40 static void prefix_print(struct prefix *pr); 41 static void prefix_insert(struct phyint *pi, struct prefix *pr); 574 struct prefix *pr; in phyint_print() local 621 for (pr = pi->pi_prefix_list; pr != NULL; pr = pr->pr_next) in phyint_print() 622 prefix_print(pr); in phyint_print() 828 struct prefix *pr; in tmptoken_delete() local 830 for (pr in tmptoken_delete() 856 struct prefix *pr, *newpr; tmptoken_timer() local 994 struct prefix *pr; prefix_lookup() local 1071 struct prefix *pr; prefix_lookup_name() local 1093 prefix_lookup_addr_match(struct prefix * pr) prefix_lookup_addr_match() argument 1127 struct prefix *pr; prefix_create() local 1162 struct prefix *pr; prefix_create_name() local 1181 prefix_insert(struct phyint * pi,struct prefix * pr) prefix_insert() argument 1200 prefix_init_from_k(struct prefix * pr) prefix_init_from_k() argument 1365 prefix_delete(struct prefix * pr) prefix_delete() argument 1401 prefix_modify_flags(struct prefix * pr,uint64_t onflags,uint64_t offflags) prefix_modify_flags() argument 1458 prefix_update_dhcp(struct prefix * pr) prefix_update_dhcp() argument 1484 prefix_update_k(struct prefix * pr) prefix_update_k() argument 1775 prefix_timer(struct prefix * pr,uint_t elapsed) prefix_timer() argument 1892 prefix_print(struct prefix * pr) prefix_print() argument 2350 prefix_update_ipadm_addrobj(struct prefix * pr,boolean_t add) prefix_update_ipadm_addrobj() argument [all...] |
H A D | ndp.c | 50 void incoming_prefix_onlink_process(struct prefix *pr, 57 struct prefix *pr, uchar_t *opt, 646 struct prefix *pr; in incoming_prefix_onlink() local 651 for (pr = pi->pi_prefix_list; pr != NULL; pr = pr->pr_next) { in incoming_prefix_onlink() 652 if (pr->pr_prefix_len == plen && in incoming_prefix_onlink() 653 prefix_equal(po->nd_opt_pi_prefix, pr->pr_prefix, plen)) { in incoming_prefix_onlink() 655 if (pr in incoming_prefix_onlink() 676 incoming_prefix_onlink_process(struct prefix * pr,uchar_t * opt) incoming_prefix_onlink_process() argument 729 struct prefix *pr; incoming_prefix_stateful() local 798 struct prefix *pr; incoming_prefix_addrconf() local 887 incoming_prefix_addrconf_process(struct phyint * pi,struct prefix * pr,uchar_t * opt,struct sockaddr_in6 * from,boolean_t loopback,boolean_t new_prefix) incoming_prefix_addrconf_process() argument [all...] |
H A D | main.c | 425 struct prefix *pr; in if_process() local 541 pr = prefix_lookup_name(pi, ifname); in if_process() 542 if (pr == NULL) { in if_process() 543 pr = prefix_create_name(pi, ifname); in if_process() 544 if (pr == NULL) { in if_process() 548 if (prefix_init_from_k(pr) == -1) { in if_process() 549 prefix_delete(pr); in if_process() 554 if (pr->pr_kernel_state != 0) in if_process() 555 pr->pr_in_use = _B_TRUE; in if_process() 559 (pr in if_process() 624 struct prefix *pr; initifs() local 1206 struct prefix *pr; run_timeouts() local 1588 struct prefix *pr; process_rtsock() local 1824 struct prefix *pr, *next_pr; check_if_removed() local 2161 logperror_pr(const struct prefix * pr,const char * str) logperror_pr() argument 2410 struct prefix *pr, *next_pr; ndpd_delete_addrs() local [all...] |
H A D | tables.h | 275 extern struct prefix *prefix_lookup_addr_match(struct prefix *pr); 277 extern int prefix_init_from_k(struct prefix *pr); 278 extern void prefix_delete(struct prefix *pr); 281 extern void prefix_update_dhcp(struct prefix *pr); 282 extern void prefix_update_k(struct prefix *pr); 283 extern uint_t prefix_timer(struct prefix *pr, uint_t elapsed); 326 struct prefix *pr, uchar_t *opt, 330 extern void incoming_prefix_onlink_process(struct prefix *pr, 335 extern void prefix_update_ipadm_addrobj(struct prefix *pr, boolean_t add);
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pr_to_salt.c | 40 krb5_principal2salt_internal(krb5_context context, register krb5_const_principal pr, krb5_data *ret, int use_realm) in krb5_principal2salt_internal() argument 46 if (pr == 0) { in krb5_principal2salt_internal() 52 nelem = krb5_princ_size(context, pr); in krb5_principal2salt_internal() 55 size += krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal() 58 size += krb5_princ_component(context, pr, i)->length; in krb5_principal2salt_internal() 65 offset = krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal() 66 memcpy(ret->data, krb5_princ_realm(context, pr)->data, offset); in krb5_principal2salt_internal() 70 memcpy(&ret->data[offset], krb5_princ_component(context, pr, i)->data, in krb5_principal2salt_internal() 71 krb5_princ_component(context, pr, i)->length); in krb5_principal2salt_internal() 72 offset += krb5_princ_component(context, pr, in krb5_principal2salt_internal() 78 krb5_principal2salt(krb5_context context,register krb5_const_principal pr,krb5_data * ret) krb5_principal2salt() argument 84 krb5_principal2salt_norealm(krb5_context context,register krb5_const_principal pr,krb5_data * ret) krb5_principal2salt_norealm() argument [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 759 calc_packetlen(int plen_input, struct pr_set *pr) in calc_packetlen() argument 785 optlen = 8 + gw_count * pr->addr_len; in calc_packetlen() 791 minpacket = pr->ip_hdr_len + sizeof (struct outdata) + optlen; in calc_packetlen() 793 minpacket += pr->icmp_minlen; /* minimum ICMP header size */ in calc_packetlen() 801 prog, pr->name, minpacket, IP_MAXPACKET); in calc_packetlen() 816 set_src_addr(struct pr_set *pr, struct ifaddrlist **alp) in set_src_addr() argument 823 struct sockaddr_in *sin_from = (struct sockaddr_in *)pr->from; in set_src_addr() 825 struct sockaddr_in6 *sin6_from = (struct sockaddr_in6 *)pr->from; in set_src_addr() 840 num_ifs = ifaddrlist(&al, pr->family, ifaddrflags, errbuf); in set_src_addr() 854 prog, pr in set_src_addr() 1161 setup_protocol(struct pr_set * pr,int family) setup_protocol() argument 1214 setup_socket(struct pr_set * pr,int packet_len) setup_socket() argument 1471 device_name(struct ifaddrlist * al,int len,union any_in_addr * ip_addr,struct pr_set * pr) device_name() argument 1491 traceroute(union any_in_addr * ip_addr,struct msghdr * msg6,struct pr_set * pr,int num_ifs,struct ifaddrlist * al) traceroute() argument [all...] |
/titanic_51/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_typedef.c | 299 parse_root_t *pr; in typedef_parse() local 303 pr = mdb_zalloc(sizeof (parse_root_t), UM_SLEEP | UM_GC); in typedef_parse() 315 pr->pr_kind = CTF_K_STRUCT; in typedef_parse() 317 pr->pr_kind = CTF_K_UNION; in typedef_parse() 362 pr->pr_name = defn; in typedef_parse() 365 pr->pr_name = NULL; in typedef_parse() 389 mdb_list_append(&pr->pr_nodes, pn); in typedef_parse() 400 pr->pr_tname = name; in typedef_parse() 401 *prp = pr; in typedef_parse() 412 typedef_validate(parse_root_t *pr) in typedef_validate() argument 466 typedef_add(parse_root_t * pr) typedef_add() argument 584 parse_root_t *pr; cmd_typedef() local [all...] |
/titanic_51/usr/src/lib/libmvec/common/ |
H A D | __vrem_pio2m.c | 172 double z, t, p, q[20], r[21], *pr; in __vlibm_rem_pio2m() local 279 /* set pr and nq so that pr[0,...,nq] is the part of r remaining */ in __vlibm_rem_pio2m() 280 pr = &r[j]; in __vlibm_rem_pio2m() 283 /* compute pio2 * pr[0,...,nq]; note that nq >= 4 here */ in __vlibm_rem_pio2m() 284 q[0] = pio2[0] * pr[0]; in __vlibm_rem_pio2m() 285 q[1] = pio2[0] * pr[1] + pio2[1] * pr[0]; in __vlibm_rem_pio2m() 286 q[2] = pio2[0] * pr[2] + pio2[1] * pr[ in __vlibm_rem_pio2m() [all...] |
/titanic_51/usr/src/cmd/ipf/lib/common/ |
H A D | printproto.c | 15 void printproto(pr, p, np) in printproto() argument 16 struct protoent *pr; in printproto() 36 else if (pr != NULL) 37 printf("%s", pr->p_name); 46 if (pr != NULL) 47 printf("%s", pr->p_name);
|
H A D | portname.c | 11 char *portname(pr, port) in portname() argument 12 int pr, port; in portname() 19 if (pr == -1) { 29 } else if ((pr != -2) && (p = getprotobynumber(pr))) {
|
H A D | printportcmp.c | 12 void printportcmp(pr, frp) in printportcmp() argument 13 int pr; in printportcmp() 26 portname(pr, frp->frp_port));
|
/titanic_51/usr/src/cmd/lp/cmd/lpsched/ |
H A D | alerts.c | 83 PSTATUS *pr = va_arg(args, PSTATUS *); in alert() local 86 pformat(pr->alert->msgfile, text, pr, rp); in alert() 87 if (!pr->alert->active) in alert() 89 if (exec(EX_ALERT, pr) == 0) in alert() 90 pr->alert->active = 1; in alert() 94 pr->alert->exec->flags |= EXF_RESTART; in alert() 96 Unlink(pr->alert->msgfile); in alert() 150 pformat(char *file, char *text, PSTATUS *pr, RSTATUS *rp) in pformat() argument 154 if (Access(pr in pformat() [all...] |
/titanic_51/usr/src/uts/common/fs/zfs/ |
H A D | dsl_prop.c | 221 dsl_prop_record_t *pr = NULL; in dsl_prop_record_find() local 225 for (pr = list_head(&dd->dd_props); in dsl_prop_record_find() 226 pr != NULL; pr = list_next(&dd->dd_props, pr)) { in dsl_prop_record_find() 227 if (strcmp(pr->pr_propname, propname) == 0) in dsl_prop_record_find() 231 return (pr); in dsl_prop_record_find() 237 dsl_prop_record_t *pr; in dsl_prop_record_create() local 241 pr = kmem_alloc(sizeof (dsl_prop_record_t), KM_SLEEP); in dsl_prop_record_create() 242 pr in dsl_prop_record_create() 260 dsl_prop_record_t *pr; dsl_prop_fini() local 284 dsl_prop_record_t *pr; dsl_prop_register() local 471 dsl_prop_record_t *pr; dsl_prop_notify_all_cb() local 539 dsl_prop_record_t *pr; dsl_prop_changed_notify() local [all...] |
/titanic_51/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 1359 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_uint8() local 1362 if (pr->pr_default == NULL) in mac_prop_info_set_default_uint8() 1365 ASSERT(pr->pr_default_size >= sizeof (uint8_t)); in mac_prop_info_set_default_uint8() 1367 *(uint8_t *)(pr->pr_default) = val; in mac_prop_info_set_default_uint8() 1368 pr->pr_flags |= MAC_PROP_INFO_DEFAULT; in mac_prop_info_set_default_uint8() 1374 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; in mac_prop_info_set_default_uint64() local 1377 if (pr->pr_default == NULL) in mac_prop_info_set_default_uint64() 1380 ASSERT(pr->pr_default_size >= sizeof (uint64_t)); in mac_prop_info_set_default_uint64() 1382 bcopy(&val, pr->pr_default, sizeof (val)); in mac_prop_info_set_default_uint64() 1384 pr in mac_prop_info_set_default_uint64() 1390 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; mac_prop_info_set_default_uint32() local 1406 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; mac_prop_info_set_default_str() local 1423 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; mac_prop_info_set_default_link_flowctrl() local 1440 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; mac_prop_info_set_range_uint32() local 1469 mac_prop_info_state_t *pr = (mac_prop_info_state_t *)ph; mac_prop_info_set_perm() local [all...] |
/titanic_51/usr/src/cmd/dircmp/ |
H A D | dircmp.sh | 55 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 59 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 63 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 72 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 76 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 80 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 93 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g 146 pr -w${width} -h "$D1 only and $D2 only" -m $TEMPDIR/dc$$e $TEMPDIR/dc$$d 235 done 3<$TEMPDIR/dc$$h 4<$TEMPDIR/dc$$i | pr -r -h "Comparison of $D1 $D2"
|
/titanic_51/usr/src/cmd/more/ |
H A D | more.c | 142 #define pr(s1) fputs(s1, stdout) macro 388 pr("::::::::::::::"); in main() 395 pr("::::::::::::::\n"); in main() 679 pr(gettext("--More--")); in prompt() 687 promptlen += pr(gettext("[Hit space to continue, Del to abort]")); in prompt() 710 promptlen = pr(gettext("--No more--")); /*M003*/ in wait_eof() 712 promptlen += pr(gettext("[Hit any key to continue]")); in wait_eof() 1029 pr ("s\n"); in command() 1031 pr ("\n"); in command() 1035 pr ("\ in command() [all...] |
/titanic_51/usr/src/cmd/acct/ |
H A D | prdaily.sh | 81 (cat reboots; echo ""; cat lineuse) | pr -h "DAILY REPORT FOR ${_sysname}" 84 pr -h "DAILY COMMAND SUMMARY" daycms 85 pr -h "MONTHLY TOTAL COMMAND SUMMARY" cms 86 pr -h "LAST LOGIN" -3 ../sum/loginlog
|
/titanic_51/usr/src/cmd/prctl/ |
H A D | prctl.c | 60 struct ps_prochandle *pr; member 734 errflg = get_rctls(p.pr); in main() 739 if (match_rctl(p.pr, &rctlblkA, arg_name, in main() 765 if (prctl_setrctl(p.pr, arg_name, NULL, in main() 774 if (match_rctl(p.pr, &rctlblkA, arg_name, in main() 799 if (prctl_setrctl(p.pr, arg_name, NULL, in main() 809 if (match_rctl(p.pr, &rctlblkA, arg_name, in main() 839 if (match_rctl(p.pr, &rctlblkB, arg_name, in main() 886 if (prctl_setrctl(p.pr, arg_name, rctlblkA, in main() 902 if (match_rctl(p.pr, in main() [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | ucred.c | 217 const prpriv_t *pr = UCPRIV(uc); in ucred_getprivset() local 221 if (pr == NULL || pset == -1) { in ucred_getprivset() 229 &pr->pr_sets[d->pd_pinfo->priv_setsize * pset]); in ucred_getprivset() 285 prpriv_t *pr = UCPRIV(uc); in ucred_getpflags() local 288 if (pr == NULL) { in ucred_getpflags() 293 end = (char *)pr + PRIV_PRPRIV_SIZE(pr); in ucred_getpflags() 294 x = end - pr->pr_infosize; in ucred_getpflags()
|
/titanic_51/usr/src/cmd/cron/ |
H A D | atq.c | 74 struct passwd pr; in main() local 94 pr.pw_uid = pp->pw_uid; in main() 95 pr.pw_name = pp->pw_name; in main() 133 if (cron_admin(pr.pw_name) || in main() 134 strcmp(pr.pw_name, argv[i]) == 0) { in main() 149 "for %s:\n", pr.pw_name); in main() 156 } else if (!cron_admin(pr.pw_name)) { in main() 162 *uidlist = pr.pw_uid; in main() 204 if (argnum != argc) c = pr.pw_name; in main()
|