Searched defs:pi (Results 1 - 24 of 24) sorted by relevance

/osnet-11/usr/src/lib/libproc/common/
H A DPexecname.c130 const psinfo_t *pi = Ppsinfo(P); local
140 pi->pr_zoneid != GLOBAL_ZONEID &&
141 zone_getattr(pi->pr_zoneid, ZONE_ATTR_ROOT, zpath,
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dlspci.c153 grub_uint8_t pi = (class >> 8) & 0xff; local
154 if (pi)
155 grub_printf (" [PI %02x]", pi);
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c62 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...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dsun4vpi.c158 pi_enum_t pi; local
176 bzero(&pi, sizeof (pi_enum_t));
177 result = pi_ldompri_open(mod, &pi, TOPO_VERSION);
184 pi.mod = mod;
190 num_components = pi_find_mdenodes(mod, pi.mdp, MDE_INVAL_ELEM_COOKIE,
194 pi_ldompri_close(mod, &pi);
214 component_cookie = md_find_name(pi.mdp, MD_STR_COMPONENT);
215 arc_cookie = md_find_name(pi.mdp, MD_STR_FWD);
224 skip = pi_skip_node(mod, pi.mdp, components[idx]);
230 result = pi_enum_components(&pi, t_paren
[all...]
H A Dpi_subr.c1327 pi_enum_t pi; local
1332 rv = pi_ldompri_open(mod, &pi, version);
1340 ncomp = pi_find_mdenodes(mod, pi.mdp, MDE_INVAL_ELEM_COOKIE,
1346 pi_ldompri_close(mod, &pi);
1356 pi_ldompri_close(mod, &pi);
1365 pi_ldompri_close(mod, &pi);
1375 rv = md_get_prop_str(pi.mdp, component[i], MD_STR_TYPE, &type);
1378 pi_set_topo_auth_impl(mod, pi.mdp, component[i],
1382 pi_set_topo_auth_impl(mod, pi.mdp, component[i],
1386 pi_set_topo_auth_impl(mod, pi
[all...]
/osnet-11/usr/src/lib/libc/amd64/unwind/
H A Deh_frame.c318 unsigned char *pi, *pj; local
347 pi = data;
349 ctx->fde = locate_fde_for_pc(pc, ft_enc, pi, pj, reloc, base);
358 unsigned char *pi = table_bg; local
366 * it must lie in the interval [pi,pj). That is,
367 * pi <= p < pj, if p exists.
369 while (pi < pj) {
371 pi + (((pj - pi) >> (log_size + 1)) << log_size);
372 /* Don't use (pi
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Ducred.c297 priv_info_t *pi = (priv_info_t *)x; local
300 switch (pi->priv_info_type) {
307 if (pi->priv_info_size < sizeof (priv_info_t))
309 x += pi->priv_info_size;
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dlsar_svc.c380 smb_privinfo_t *pi; local
382 if ((pi = smb_priv_getbyname((char *)param->name.str)) == NULL) {
388 param->luid.low_part = pi->id;
404 smb_privinfo_t *pi; local
407 if ((pi = smb_priv_getbyvalue(param->luid.low_part)) == NULL) {
420 rc = NDR_MSTRING(mxa, pi->name, (ndr_mstring_t *)param->name);
442 smb_privinfo_t *pi; local
445 if ((pi = smb_priv_getbyname((char *)param->name.str)) == NULL) {
458 rc = NDR_MSTRING(mxa, pi->display_name,
/osnet-11/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c799 fcoe_port_instance_t *pi = &inportlist->ports[i]; local
801 bcopy(pi->fpi_pwwn, &po->port_wwn, 8);
804 dladm_datalink_id2info(handle, pi->fpi_mac_linkid,
813 bcopy(pi->fpi_mac_factory_addr,
815 bcopy(pi->fpi_mac_current_addr,
817 po->port_type = (FCOE_UINT8)pi->fpi_port_type;
818 po->mtu_size = pi->fpi_mtu_size;
819 po->mac_promisc = pi->fpi_mac_promisc;
924 PFCOE_SMF_PORT_INSTANCE pi = local
926 (void) strcpy((char *)pi
[all...]
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_devinfo.c106 di_path_t pi = DI_PATH_NIL; local
109 if ((pi = di_path_client_next_path(node, pi)) == DI_PATH_NIL)
136 get_string_path_prop(di_path_t pi, char *prop_name) argument
141 while ((pprop = di_path_prop_next(pi, pprop)) != DI_PROP_NIL) {
338 di_path_t pi = DI_PATH_NIL; local
370 pi = DI_PATH_NIL;
371 while ((pi = di_path_client_next_path(node, pi)) != DI_PATH_NIL) {
377 phci_node = di_path_phci_node(pi);
445 di_path_t pi = DI_PATH_NIL; local
570 di_path_t pi = DI_PATH_NIL; local
[all...]
/osnet-11/usr/src/lib/mpss/common/
H A Dmpss.c257 psinfo_t pi; local
265 if (read(fd, &pi, sizeof (pi)) == sizeof (pi)) {
266 argv = (char **)pi.pr_argv;
269 for (arg = 1; arg < pi.pr_argc; arg++, argv++) {
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c99 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...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_pca.c523 char *pi; local
531 pi = di_pca_rec_get_product_id(r);
536 if (pi && cmt)
538 pi, ci, nn, cmt);
539 else if (pi)
540 (void) fprintf(fp, DI_CRODC_PC_FMT "\t%s\n", pi, ci, nn);
H A Ddevfsmap.c1293 add_to_phci_list(char **phci_list, sv_path_info_t *pi, int npaths, int state, argument
1300 if (state == pi->ret_state) {
1302 pi->device.ret_phci, node_name, pi->ret_addr);
1308 pi++;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DComplex.pm48 pi
214 $theta = ($theta <= 0) ? $theta + pi() : $theta - pi();
249 # pi
251 # The number defined as pi = 180 degrees
253 sub pi () { 4 * CORE::atan2(1, 1) } subroutine
260 sub pit2 () { 2 * pi }
267 sub pip2 () { pi / 2 }
275 sub deg1 () { pi / 180 }
394 if ($t > pi()) {
[all...]
/osnet-11/usr/src/lib/libsqlite/src/
H A Dutil.c60 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...]
/osnet-11/usr/src/lib/madv/common/
H A Dmadv.c252 psinfo_t pi; local
260 if (read(fd, &pi, sizeof (pi)) == sizeof (pi)) {
261 argv = (char **)pi.pr_argv;
264 for (arg = 1; arg < pi.pr_argc; arg++, argv++) {
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c704 di_path_t pi = DI_PATH_NIL; local
707 (pi = di_path_client_next_path(node, pi)) != DI_PATH_NIL) {
713 di_node_t phci_node = di_path_phci_node(pi);
716 cnt = di_path_prop_lookup_bytes(pi, WWN_PROP, &bytes);
736 di_path_state(pi), wwn) == NULL) {
/osnet-11/usr/src/lib/libscf/common/
H A Dmidlevel.c2603 scf_iter_t *pi; local
2609 if ((pi = scf_iter_create(h)) == NULL ||
2611 scf_iter_destroy(pi);
2615 if (scf_iter_property_values(pi, p) != 0) {
2620 while (scf_iter_next_value(pi, piv) == 1) {
2732 scf_iter_destroy(pi);
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c477 * Free all the memory consumed by 'pi' associated with the instance
481 destroy_proto_info(basic_cfg_t *cfg, proto_info_t *pi) argument
483 if (pi == NULL)
486 assert(pi->listen_fd == -1);
488 free(pi->proto);
489 if (pi->ri != NULL)
490 destroy_rpc_info(pi->ri);
492 destroy_tlx_info((tlx_info_t *)pi);
494 free(pi);
502 proto_info_t *pi; local
583 int pi; local
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c1097 tf_pad_t *rpad, int pi, const char *ppgrp_name)
1188 rpad->tpad_pgs[pi] = pgnvl;
1197 int pi = 0; local
1203 if (pgroup_record(mp, cn, tn, rname, rpad, pi++, ppgrp)
1096 pgroup_record(topo_mod_t *mp, xmlNodePtr pxn, tnode_t *tn, const char *rname, tf_pad_t *rpad, int pi, const char *ppgrp_name) argument
/osnet-11/usr/src/lib/libuefi_rt/common/
H A Dlibuefi_rt_path.c365 int err, di = 0, pi = 0, num_matches = 0; local
472 pi = 0;
474 while (partition[pi] != NULL) {
476 nvl = dm_get_attributes(partition[pi], &err);
478 DPRINT("\n\npartition: %d\n", pi);
483 pi, err, (void *)nvl);
484 pi++;
493 pi++;
507 pi++;
519 pi
604 int err, di = 0, pi = 0, num_matches = 0; local
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_internal.h411 int *pi; member in union:ns_param::__anon2555
419 #define ns_pi ns_pu.pi
459 ns_datatype_t data_type; /* ppc,pi,pc,int etc... */
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c3472 const zprop_index_t *pi = NULL; local
3481 while ((pi = zfs_share_protocol_next(pi)) != NULL) {
3484 if (val & pi->pi_value) {
3485 p = strchr(pi->pi_name, '.');

Completed in 351 milliseconds