Searched defs:pi (Results 76 - 100 of 110) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_misc.c1900 hermon_port_query(hermon_state_t *state, uint_t port, ibt_hca_portinfo_t *pi) argument
1911 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*pi))
1942 pi->p_base_lid = portinfo.LID;
1943 pi->p_qkey_violations = portinfo.Q_KeyViolations;
1944 pi->p_pkey_violations = portinfo.P_KeyViolations;
1945 pi->p_sm_sl = portinfo.MasterSMSL;
1946 pi->p_sm_lid = portinfo.MasterSMLID;
1947 pi->p_linkstate = portinfo.PortState;
1948 pi->p_port_num = portinfo.LocalPortNum;
1949 pi
[all...]
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dsense.h265 } pi; member in union:scsi_sk_specific_data
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c1328 xpv_get_physinfo(xen_sysctl_physinfo_t *pi) argument
1345 bcopy(&op.u.physinfo, pi, sizeof (op.u.physinfo));
1362 xen_sysctl_physinfo_t pi; local
1365 if ((ret = xpv_get_physinfo(&pi)) != 0)
1367 nphyscpus = pi.nr_cpus;
1375 xen_sysctl_physinfo_t pi; local
1380 if ((ret = xpv_get_physinfo(&pi)) != 0)
1383 return ((pgcnt_t)pi.total_pages);
1389 xen_sysctl_physinfo_t pi; local
1394 if ((ret = xpv_get_physinfo(&pi)) !
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c706 di_path_t pi = DI_PATH_NIL; local
709 (pi = di_path_client_next_path(node, pi)) != DI_PATH_NIL) {
715 di_node_t phci_node = di_path_phci_node(pi);
718 cnt = di_path_prop_lookup_bytes(pi, WWN_PROP, &bytes);
738 di_path_state(pi), wwn) == NULL) {
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1294 add_to_phci_list(char **phci_list, sv_path_info_t *pi, int npaths, int state, argument
1301 if (state == pi->ret_state) {
1303 pi->device.ret_phci, node_name, pi->ret_addr);
1309 pi++;
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c479 * Free all the memory consumed by 'pi' associated with the instance
483 destroy_proto_info(basic_cfg_t *cfg, proto_info_t *pi) argument
485 if (pi == NULL)
488 assert(pi->listen_fd == -1);
490 free(pi->proto);
491 if (pi->ri != NULL)
492 destroy_rpc_info(pi->ri);
494 destroy_tlx_info((tlx_info_t *)pi);
496 free(pi);
504 proto_info_t *pi; local
585 int pi; local
[all...]
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c1043 di_path_t pi = DI_PATH_NIL; local
1052 while ((pi = di_path_client_next_path(node, pi)) != DI_PATH_NIL) {
1055 phci_node = di_path_phci_node(pi);
1074 path_instance = di_path_instance(pi);
1080 di_path_bus_addr(pi));
1088 di_instance(phci_node), path_state_name(di_path_state(pi)));
1091 pi, DDI_DEV_T_ANY, NULL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c480 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...]
H A Dmpd_tables.c46 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...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c32 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
961 struct phyint *pi; local
1001 solicit_event(struct phyint *pi, enum solicit_events event, uint_t elapsed) argument
1204 struct phyint *pi; local
1331 struct phyint *pi; local
1587 struct phyint *pi; local
1712 struct phyint *pi; local
1822 check_if_removed(struct phyint *pi) argument
1903 loopback_ra_enqueue(struct phyint *pi, struct nd_router_advert *ra, int len) argument
1980 struct phyint *pi; local
2148 logperror_pi(const struct phyint *pi, const char *str) argument
2301 struct phyint *pi; local
2335 struct phyint *pi; local
2409 struct phyint *pi; local
2494 check_autoconf_var_consistency(struct phyint *pi, boolean_t stateless, boolean_t stateful) argument
2528 phyint_check_ipadm_intfid(struct phyint *pi) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c245 struct method_context *mthd_ctxt, const proto_info_t *pi) __NORETURN;
837 proto_info_t *pi; local
840 for (pi = uu_list_first(cfg->proto_list); pi != NULL;
841 pi = uu_list_next(cfg->proto_list, pi)) {
842 if (pi->listen_fd != -1) { /* fd bound */
844 strcmp(pi->proto, proto_name) == 0) {
846 clear_pollfd(pi->listen_fd);
847 } else if (set_pollfd(pi
884 proto_info_t *pi; local
1036 proto_info_t *pi; local
1081 proto_info_t *pi; local
1192 proto_info_t *pi; local
1220 expand_address(instance_t *inst, const proto_info_t *pi) argument
2189 proto_info_t *pi; local
2693 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, struct method_context *mthd_ctxt, const proto_info_t *pi) argument
3171 pending_connections(instance_t *instance, proto_info_t *pi) argument
3183 accept_connection(instance_t *instance, proto_info_t *pi) argument
3219 process_nowait_request(instance_t *instance, proto_info_t *pi) argument
3345 process_wait_request(instance_t *instance, const proto_info_t *pi) argument
3440 proto_info_t *pi; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c162 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...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c408 pid_t pi; local
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c155 static int toe_capability(struct port_info *pi, int enable);
425 struct port_info *pi; local
427 pi = kmem_zalloc(sizeof (*pi), KM_SLEEP);
428 sc->port[i] = pi;
431 pi->adapter = sc;
433 pi->port_id = i;
436 rc = -t4_port_init(pi, sc->mbox, sc->pf, 0);
440 kmem_free(pi, sizeof (*pi));
523 struct port_info *pi = sc->port[i]; local
606 struct port_info *pi = sc->port[i]; local
689 struct port_info *pi; local
810 struct port_info *pi; local
1795 struct port_info *pi; local
1828 struct port_info *pi; local
1979 struct port_info *pi = sc->port[i]; local
2022 port_full_init(struct port_info *pi) argument
2066 port_full_uninit(struct port_info *pi) argument
2078 enable_port_queues(struct port_info *pi) argument
2120 disable_port_queues(struct port_info *pi) argument
2196 const struct port_info *pi = sc->port[idx]; local
2240 toe_capability(struct port_info *pi, int enable) argument
[all...]
H A Dt4_sge.c80 static int alloc_iq_fl(struct port_info *pi, struct sge_iq *iq,
82 static int free_iq_fl(struct port_info *pi, struct sge_iq *iq,
87 static int alloc_rxq(struct port_info *pi, struct sge_rxq *rxq, int intr_idx,
89 static int free_rxq(struct port_info *pi, struct sge_rxq *rxq);
91 static int alloc_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq,
93 static int free_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq);
96 static int eth_eq_alloc(struct adapter *sc, struct port_info *pi,
99 static int ofld_eq_alloc(struct adapter *sc, struct port_info *pi,
102 static int alloc_eq(struct adapter *sc, struct port_info *pi,
105 static int alloc_wrq(struct adapter *sc, struct port_info *pi,
346 first_vector(struct port_info *pi) argument
384 port_intr_iq(struct port_info *pi, int idx) argument
426 t4_setup_port_queues(struct port_info *pi) argument
569 t4_teardown_port_queues(struct port_info *pi) argument
929 t4_eth_tx(struct port_info *pi, struct sge_txq *txq, mblk_t *frame) argument
1098 alloc_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl, int intr_idx, int cong) argument
1229 free_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl) argument
1330 alloc_rxq(struct port_info *pi, struct sge_rxq *rxq, int intr_idx, int i) argument
1345 free_rxq(struct port_info *pi, struct sge_rxq *rxq) argument
1363 alloc_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq, int intr_idx) argument
1377 free_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq) argument
1435 eth_eq_alloc(struct adapter *sc, struct port_info *pi, struct sge_eq *eq) argument
1478 ofld_eq_alloc(struct adapter *sc, struct port_info *pi, struct sge_eq *eq) argument
1521 alloc_eq(struct adapter *sc, struct port_info *pi, struct sge_eq *eq) argument
1619 alloc_wrq(struct adapter *sc, struct port_info *pi, struct sge_wrq *wrq, int idx) argument
1654 alloc_txq(struct port_info *pi, struct sge_txq *txq, int idx) argument
1701 free_txq(struct port_info *pi, struct sge_txq *txq) argument
2561 write_txpkt_wr(struct port_info *pi, struct sge_txq *txq, mblk_t *m, struct txinfo *txinfo) argument
2699 write_ulp_cpl_sgl(struct port_info *pi, struct sge_txq *txq, struct txpkts *txpkts, struct txinfo *txinfo) argument
3093 setup_port_config_kstats(struct port_info *pi) argument
3141 setup_port_info_kstats(struct port_info *pi) argument
3183 struct port_info *pi = ksp->ks_private; local
3248 setup_rxq_kstats(struct port_info *pi, struct sge_rxq *rxq, int idx) argument
3318 setup_txq_kstats(struct port_info *pi, struct sge_txq *txq, int idx) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c1087 scsi_hba_probe_pi(struct scsi_device *sd, int (*callback)(), int pi) argument
1135 if (pi && scsi_pkt_allocated_correctly(inq_pkt)) {
1136 inq_pkt->pkt_path_instance = pi;
1240 if (pi && scsi_pkt_allocated_correctly(rq_pkt)) {
1241 rq_pkt->pkt_path_instance = pi;
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c4209 struct megasas_pci_information pi; local
4269 pi.busNumber = (props[0] >> 16) & 0xFF;
4270 pi.deviceNumber = (props[0] >> 11) & 0x1f;
4271 pi.functionNumber = (props[0] >> 8) & 0x7;
4275 pci_conf_buf = (uint8_t *)&pi.pciHeaderInfo;
4284 if (ddi_copyout(&pi, ubuf, xferlen, mode)) {
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c1022 tf_pad_t *rpad, int pi, const char *ppgrp_name)
1111 rpad->tpad_pgs[pi] = pgnvl;
1120 int pi = 0; local
1126 if (pgroup_record(mp, cn, tn, rname, rpad, pi++, ppgrp)
1021 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
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddevinfo.c900 struct mdi_pathinfo pi; local
905 if (mdb_vread((void*)&pi, sizeof (pi),
914 (uintptr_t)pi.pi_phci) == -1) {
916 (uintptr_t)pi.pi_phci);
935 devinfo_pathinfo_state(pi.pi_state);
940 0, NULL, (uintptr_t)pi.pi_prop) != 0) {
945 pip = pi.pi_client_link;
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c672 pcc_info_t *pi; local
679 pi = (pcc_info_t *)alloc_base;
681 page_ctrs_cands[i][r][mnode] = pi;
684 pi->pcc_color_free =
688 pi++;
956 pcc_info_t *old_pi, *pi; local
1031 pi = kmem_zalloc(nranges * sizeof (pcc_info_t),
1033 if (pi == NULL) {
1037 cands_cache[i * MMU_PAGE_SIZES + r] = pi;
1039 for (mrange = 0; mrange < nranges; mrange++, pi
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c4241 sa_portinfo_record_t *pi; local
4262 if ((pi = ibdm_get_portinfo(
4273 if (!(pi->PortInfo.CapabilityMask &
4275 kmem_free(pi, pi_len);
4291 kmem_free(pi, pi_len);
4294 kmem_free(pi, pi_len);
4302 pi->PortInfo.GidPrefix,
4307 dgid.gid_prefix = pi->PortInfo.GidPrefix;
4314 kmem_free(pi, pi_len);
4346 kmem_free(pi, pi_le
6806 sa_portinfo_record_t *pi; local
[all...]
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c2954 mkpeerinfo(MWL_HAL_PEERINFO *pi, const struct ieee80211_node *ni) argument
2956 (void) memset(pi, 0, sizeof (*pi));
2957 pi->LegacyRateBitMap = get_rate_bitmap(&ni->in_rates);
2958 pi->CapInfo = ni->in_capinfo;
2959 return (pi);
2969 MWL_HAL_PEERINFO pi; local
3020 ic->ic_macaddr, 0, 0, mkpeerinfo(&pi, ni), 0, 0);
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c1046 di_path_t pi = DI_PATH_NIL; local
1100 while ((pi = di_path_next_phci(di_node, pi)) != DI_PATH_NIL) {
1102 di_node_t phci_node = di_path_phci_node(pi);
1113 (void) strlcpy(vbuf, path_state_name(di_path_state(pi)),
1199 di_path_t pi = DI_PATH_NIL; local
1201 while ((pi = di_path_next_phci(di_node, pi)) != DI_PATH_NIL) {
1202 di_node_t phci_node = di_path_phci_node(pi);
1242 for (di_path_prop = di_path_prop_next(pi, DI_PROP_NI
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c1035 PosixNetworkInterface *pi = *ri; local
1036 if (utc - pi->LastSeen < 60) ri = (PosixNetworkInterface **)&pi->coreIntf.next;
1037 else { *ri = (PosixNetworkInterface *)pi->coreIntf.next; free(pi); }
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_internal.h408 int *pi; member in union:ns_param::__anon3992
416 #define ns_pi ns_pu.pi
456 ns_datatype_t data_type; /* ppc,pi,pc,int etc... */

Completed in 170 milliseconds

12345