/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | dseng.c | 62 isns_type_t ptype = 0; in load_data() local 80 ptype = obj->type; in load_data() 84 ptype = OBJ_ENTITY; in load_data() 102 TYPE_OF_PARENT[obj->type] == ptype) { in load_data() 110 ec = buff_child_obj(ptype, type, in load_data() 124 TYPE_OF_PARENT[OBJ_PG] == ptype) { in load_data() 133 TYPE_OF_PARENT[OBJ_ASSOC_ISCSI] == ptype) { in load_data() 147 TYPE_OF_PARENT[OBJ_ASSOC_DD] == ptype) { in load_data() 171 NUM_OF_CHILD[ptype] > 0 && in load_data() 173 TYPE_OF_PARENT[obj->type] != ptype)) { in load_data() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/arp/ |
H A D | arp.c | 60 print_arp(char field_id, const uchar_t *buf, const arh_t *arh, uint16_t ptype) in print_arp() argument 72 } else if (ptype == IP_ARP_PROTO_TYPE) { in print_arp() 94 uint16_t htype, ptype, op; in arphdr_cmd() local 107 mdb_nhconvert(&ptype, arp.arh.arh_proto, sizeof (ptype)); in arphdr_cmd() 125 mdb_printf("%?s ar$pro %x (%s)\n", "", ptype, in arphdr_cmd() 126 ptype == IP_ARP_PROTO_TYPE ? "IP" : "Unknown"); in arphdr_cmd() 159 print_arp('s', arp.addrs, &arp.arh, ptype); in arphdr_cmd() 161 &arp.arh, ptype); in arphdr_cmd()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | outfile.c | 287 create_outsec(Ofl_desc *ofl, Sg_desc *sgp, Os_desc *osp, Word ptype, int shidx, in create_outsec() argument 319 if ((fixalign == TRUE) && (ptype == PT_LOAD) && (shidx == 1)) in create_outsec() 431 Word ptype = phdr->p_type; in ld_create_outfile() local 444 if ((ptype >= PT_LOOS) && (ptype <= PT_HIOS)) in ld_create_outfile() 447 if (ptype == PT_PHDR) { in ld_create_outfile() 463 } else if (ptype == PT_INTERP) { in ld_create_outfile() 466 } else if (ptype == PT_DYNAMIC) { in ld_create_outfile() 469 } else if (ptype == PT_TLS) { in ld_create_outfile() 472 } else if (ptype == PT_SUNW_UNWIND) { in ld_create_outfile() 475 } else if (ptype == PT_SUNWDTRACE) { in ld_create_outfile() [all …]
|
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | ndr_marshal.c | 317 mxa->ptype = hdr->ptype; in ndr_decode_pdu_hdr() 334 int ptype; in ndr_decode_hdr_common() local 372 ptype = hdr->ptype; in ndr_decode_hdr_common() 373 if (ptype == NDR_PTYPE_REQUEST && in ndr_decode_hdr_common() 375 ptype = NDR_PTYPE_REQUEST_WITH; /* fake for sizing */ in ndr_decode_hdr_common() 378 rc = ndr_encode_decode_common(nds, ptype, &TYPEINFO(ndr_hdr), hdr); in ndr_decode_hdr_common() 522 hdr->rpc_vers, hdr->rpc_vers_minor, hdr->ptype, in ndr_show_hdr() 545 int ptype; in ndr_encode_pdu_hdr() local 551 ptype = hdr->ptype; in ndr_encode_pdu_hdr() 552 if (ptype == NDR_PTYPE_REQUEST && in ndr_encode_pdu_hdr() [all …]
|
H A D | ndr_server.c | 249 switch (mxa->ptype) { in ndr_svc_process() 569 switch (mxa->ptype) { in ndr_reply_prepare_hdr() 585 hdr->ptype = NDR_PTYPE_BIND_ACK; in ndr_reply_prepare_hdr() 605 hdr->ptype = NDR_PTYPE_RESPONSE; in ndr_reply_prepare_hdr() 614 hdr->ptype = NDR_PTYPE_ALTER_CONTEXT_RESP; in ndr_reply_prepare_hdr() 628 hdr->ptype = 0xFF; in ndr_reply_prepare_hdr() 685 mxa->send_hdr.fault_hdr.common_hdr.ptype = NDR_PTYPE_FAULT; in ndr_reply_fault() 716 switch (hdr->ptype) { in ndr_send_reply()
|
H A D | ndr_client.c | 64 hdr->ptype = NDR_PTYPE_BIND; in ndr_clnt_bind() 136 if (mxa.ptype != NDR_PTYPE_BIND_ACK) { in ndr_clnt_bind() 186 mxa.ptype = NDR_PTYPE_REQUEST; in ndr_clnt_call() 193 reqhdr->common_hdr.ptype = NDR_PTYPE_REQUEST; in ndr_clnt_call() 246 if (mxa.ptype != NDR_PTYPE_RESPONSE) { in ndr_clnt_call()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlether.c | 188 int ptype) in dladm_ether_autoneg2str() argument 190 boolean_t autoneg = eattr->lei_attr[ptype].le_autoneg; in dladm_ether_autoneg2str() 203 int ptype) in dladm_ether_pause2str() argument 205 boolean_t pause = eattr->lei_attr[ptype].le_pause; in dladm_ether_pause2str() 206 boolean_t asmpause = eattr->lei_attr[ptype].le_asmpause; in dladm_ether_pause2str() 228 int ptype) in dladm_ether_spdx2str() argument 238 spdx = eattr->lei_attr[ptype].le_spdx; in dladm_ether_spdx2str() 239 nspdx = eattr->lei_attr[ptype].le_num_spdx; in dladm_ether_spdx2str()
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_clntout.c | 85 ptype(proc->res_prefix, proc->res_type, 1); in write_program() 121 ptype(proc->args.decls->decl.prefix, in printarglist() 127 ptype(proc->res_prefix, in printarglist() 149 ptype(proc->args.decls->decl.prefix, in printarglist() 154 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 165 ptype(proc->res_prefix, in printarglist() 195 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 206 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 251 ptype(proc->res_prefix, proc->res_type, 0); in printbody()
|
H A D | rpc_sample.c | 104 ptype(proc->res_prefix, in write_sample_client() 111 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 118 ptype(proc->args.decls->decl.prefix, in write_sample_client() 129 ptype(l->decl.prefix, l->decl.type, 1); in write_sample_client() 197 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 284 ptype(plist->res_prefix, plist->res_type, 1); in return_type()
|
H A D | rpc_svcout.c | 91 ptype(plist->res_prefix, plist->res_type, 1); in internal_proctype() 379 ptype(proc->args.decls->decl.prefix, in write_real_program() 384 ptype(proc->res_prefix, in write_real_program() 403 ptype(proc->args.decls->decl.prefix, in write_real_program() 475 ptype(proc->args.decls->decl.prefix, in write_program() 503 ptype(proc->res_prefix, proc->res_type, 0); in write_program()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | linker_set.h | 71 #define SET_DECLARE(set, ptype) \ argument 72 extern ptype __weak_symbol *__CONCAT(__start_set_, set); \ 73 extern ptype __weak_symbol *__CONCAT(__stop_set_, set)
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | ports.c | 50 open_dialup(char *ptype, PRINTER *pp) in open_dialup() argument 163 open_direct(char *ptype, PRINTER *pp) in open_direct() argument 185 tidbit(ptype, "bufsz", &bufsz); in open_direct() 186 tidbit(ptype, "cps", &cps); in open_direct()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | linker_set.h | 82 #define SET_DECLARE(set, ptype) \ argument 83 extern ptype __weak_symbol *__CONCAT(__start_set_,set); \ 84 extern ptype __weak_symbol *__CONCAT(__stop_set_,set)
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
H A D | Configuration.java | 472 Value ptype = new Value("type", type); in getComponent() local 475 props.add(ptype); in getComponent() 478 ptype.close(); in getComponent() 497 Value ptype = new Value("type", type); in checkComponent() local 500 props.add(ptype); in checkComponent() 503 ptype.close(); in checkComponent()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | nic.c | 279 unsigned short ptype, struct iphdr *ip __unused, struct udphdr *udp __unused) in await_arp() argument 282 if (ptype != ARP) in await_arp() 433 unsigned short ptype __unused, in await_qdrain() 455 static int await_rarp(int ival, void *ptr, unsigned short ptype, in await_rarp() argument 459 if (ptype != RARP) in await_rarp() 525 unsigned short ptype __unused, struct iphdr *ip __unused, in await_bootp() 622 unsigned short ptype __unused, struct iphdr *ip __unused, in await_dhcp() 887 unsigned short ptype; in await_reply() local 920 ptype = ((unsigned short) nic.packet[12]) << 8 in await_reply() 925 if ((ptype == IP) && (nic.packetlen >= ETH_HLEN + sizeof(struct iphdr))) { in await_reply() [all …]
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 398 priv_ptype_t ptype; in dlmgmt_drop_privileges() local 421 ptype = PRIV_EFFECTIVE; in dlmgmt_drop_privileges() 427 ptype = PRIV_PERMITTED; in dlmgmt_drop_privileges() 429 if (err == 0 && setppriv(PRIV_SET, ptype, pset) == -1) in dlmgmt_drop_privileges()
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | plural_parser.c | 456 unsigned int ntype, nprio, ptype, popnum; in plural_expr() local 596 ptype = GETTYPE(exp->flag); in plural_expr() 601 type_name[ptype]); in plural_expr() 603 if (ptype == T_LPAR) { in plural_expr() 617 (ptype == T_LNOT) || in plural_expr() 618 (ptype == T_CONDC)) { in plural_expr()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 215 xlate_common(topo_mod_t *mp, xmlNodePtr xn, topo_type_t ptype, nvlist_t *nvl, in xlate_common() argument 230 switch (ptype) { in xlate_common() 287 "Unrecognized type attribute (ptype = %d)\n", ptype); in xlate_common() 291 switch (ptype) { in xlate_common() 429 topo_type_t ptype; in xmlprop_xlate() local 445 if ((ptype = xmlattr_to_type(mp, xn, (xmlChar *)Type)) in xmlprop_xlate() 449 if (nvlist_add_int32(nvl, INV_PVALTYPE, ptype) != 0) in xmlprop_xlate() 452 return (xlate_common(mp, xn, ptype, nvl, INV_PVAL)); in xmlprop_xlate() 522 topo_type_t ptype, int flag) in prop_create() argument 536 switch (ptype) { in prop_create() [all …]
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.h | 117 int ptype, int pmode, size_t psize, char *pname, 132 picl_prop_type_t ptype, void *pval, size_t valsize,
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_lookup.c | 89 ctf_id_t ntype, ptype; in ctf_lookup_by_name() local 171 (ptype = ctf_lookup_by_name(fp->ctf_parent, name)) != CTF_ERR) in ctf_lookup_by_name() 172 return (ptype); in ctf_lookup_by_name()
|
/illumos-gate/usr/src/lib/libnvpair/ |
H A D | libnvpair.c | 189 #define NVLIST_PRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument 199 (void) fprintf(fp, vfmt, (ptype)value); \ 222 #define NVLIST_ARRPRTFUNC(type_and_variant, vtype, ptype, vfmt) \ argument 240 (void) fprintf(fp, vfmt, (ptype)valuep[i]); \ 770 #define NVP(elem, type, vtype, ptype, format) { \ argument 775 nvpair_name(elem), (ptype)value); \ 778 #define NVPA(elem, type, vtype, ptype, format) { \ argument 785 nvpair_name(elem), i, (ptype)value[i]); \
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 549 uint16_t ptype; in interpret_params() local 592 ptype = ntohs(hdr->sph_type); in interpret_params() 595 dp = lookup_dispatch(ptype, tbl, tbl_size); in interpret_params() 605 actstr = get_action_desc((uint8_t)(ptype >> 8)); in interpret_params() 608 " ------- SCTP %s Type = %s (%u%s)", type, desc, ptype, in interpret_params()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | nvtype.c | 75 Namtype_t *ptype; member 215 Namval_t *nq = pp->ptype->np; in name_chtype() 240 size_t dsize=0,offset = (char*)np-(char*)pp->ptype; in put_chtype() 245 np->nvalue.cp = pp->ptype->data + (mp->nvalue.cp-pp->ptype->data); in put_chtype() 339 else if(!nq->nvfun && pp->childfun.ttype!=pp->childfun.ptype) in fixnode() 379 pp->childfun.ptype = pp; in clone_type() 400 dp->childfun.ptype = dp; in clone_type() 942 pp->childfun.ptype = pp; in nv_mktype() 1109 … if(xp && nr->nvalue.cp >= xp->ptype->data && nr->nvalue.cp < xp->ptype->data+xp->ptype->fun.dsize) in nv_mktype() 1479 pp->childfun.ptype = pp; in nv_mkstruct()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal.c | 265 int j=0, ptype=0, pcount=0; local 284 if (((st=krb5_get_princ_type(context, &entries, &(ptype))) != 0) || 298 if (ptype == KDB_STANDALONE_PRINCIPAL_OBJECT) {
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | file_object.c | 1532 uint32_t ptype = pp->rn_id.rl_type; in object_do_create() local 1542 assert(ptype > 0 && ptype < NUM_INFO); in object_do_create() 1544 ip = &info[ptype]; in object_do_create() 1638 uint32_t ptype = pp->rn_id.rl_type; in object_create_pg() local 1654 assert(ptype > 0 && ptype < NUM_INFO); in object_create_pg() 1656 if (ptype != REP_PROTOCOL_ENTITY_SERVICE && in object_create_pg() 1657 ptype != REP_PROTOCOL_ENTITY_INSTANCE) in object_create_pg() 1660 ip = &info[ptype]; in object_create_pg()
|