Home
last modified time | relevance | path

Searched refs:pptr (Results 1 – 25 of 76) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_intr.c268 for (pptr = pwp->root_phys; pptr; pptr = pptr->sibling) { in pmcs_kill_port()
270 if (pptr->link_rate && pptr->portid == portid && in pmcs_kill_port()
417 iport->pptr = pptr; in pmcs_process_sas_hw_event()
439 if (pptr->dtype != NOTHING && pptr->configured) { in pmcs_process_sas_hw_event()
497 pmcs_get_rate(pptr->link_rate), pptr->width); in pmcs_process_sas_hw_event()
521 iport->pptr = pptr; in pmcs_process_sas_hw_event()
563 if (pptr->dtype != NOTHING && pptr->configured) { in pmcs_process_sas_hw_event()
614 iport->pptr = pptr; in pmcs_process_sas_hw_event()
632 pwp->ports[pptr->portid] = pptr; in pmcs_process_sas_hw_event()
702 for (pptr = pwp->root_phys; pptr; in pmcs_process_sas_hw_event()
[all …]
H A Dpmcs_subr.c1758 for (pptr = pwp->root_phys; pptr; pptr = pptr->sibling) { in pmcs_soft_reset()
2133 iport->pptr = pptr; in pmcs_iport_configure_phys()
2224 for (pptr = pwp->root_phys; pptr; pptr = pptr->sibling) { in pmcs_promote_next_phy()
2238 iport->pptr = pptr; in pmcs_promote_next_phy()
2540 for (pptr = pwp->root_phys; pptr; pptr = pptr->sibling) { in pmcs_discover()
2772 pptr = pptr->sibling; in pmcs_report_observations()
2810 pptr = pptr->sibling; in pmcs_report_observations()
2847 pptr = iport->pptr; in pmcs_report_observations()
3156 pptr = pptr->sibling; in pmcs_kill_changed()
6159 for (pptr = pwp->root_phys; pptr; pptr = pptr->sibling) { in pmcs_ack_events()
[all …]
H A Dpmcs_ds.c228 ASSERT(pptr); in pmcs_ds_operational()
281 pptr = phyp; in pmcs_dev_state_recovery()
284 while (pptr) { in pmcs_dev_state_recovery()
301 if (pptr->dead || !pptr->valid_device_id) { in pmcs_dev_state_recovery()
305 if (pptr->iport && (pptr->iport->ua_state != UA_ACTIVE)) { in pmcs_dev_state_recovery()
306 pmcs_prt(pwp, PMCS_PRT_DEBUG, pptr, pptr->target, in pmcs_dev_state_recovery()
427 cv_wait(&pptr->abort_all_cv, &pptr->phy_lock); in pmcs_dev_state_recovery()
433 rc = pmcs_abort(pwp, pptr, pptr->device_id, 1, 1); in pmcs_dev_state_recovery()
476 pptr = pnext; in pmcs_dev_state_recovery()
617 if (pptr) { in pmcs_start_ssp_event_recovery()
[all …]
H A Dpmcs_sata.c64 pmcs_phy_t *pptr; in pmcs_sata_special_work() local
91 pptr = xp->phy; in pmcs_sata_special_work()
100 pmcs_prt(pwp, PMCS_PRT_DEBUG2, pptr, xp, in pmcs_sata_special_work()
115 retval = pmcs_sata_identify(pwp, pptr); in pmcs_sata_special_work()
122 pmcs_prt(pwp, PMCS_PRT_DEBUG2, pptr, xp, in pmcs_sata_special_work()
640 msg[2] = LE_32(pptr->device_id); in pmcs_run_sata_cmd()
676 pmcs_unlock_phy(pptr); in pmcs_run_sata_cmd()
679 pmcs_lock_phy(pptr); in pmcs_run_sata_cmd()
684 pptr->abort_pending = 1; in pmcs_run_sata_cmd()
694 pmcs_prt(pwp, PMCS_PRT_DEBUG, pptr, pptr->target, in pmcs_run_sata_cmd()
[all …]
H A Dpmcs_scsa.c804 pptr = xp->phy; in pmcs_scsa_reset()
1053 if (pptr == NULL || pptr->dtype != EXPANDER) { in pmcs_smp_start()
1054 if (pptr) { in pmcs_smp_start()
1064 if ((pptr->iport == NULL) || !pptr->valid_device_id) { in pmcs_smp_start()
1067 pmcs_prt(pwp, PMCS_PRT_DEBUG, pptr, pptr->target, in pmcs_smp_start()
1127 pmcs_prt(pwp, PMCS_PRT_DEBUG_CONFIG, pptr, pptr->target, in pmcs_smp_start()
1131 pmcs_prt(pwp, PMCS_PRT_DEBUG_CONFIG, pptr, pptr->target, in pmcs_smp_start()
1148 pmcs_prt(pwp, PMCS_PRT_DEBUG_CONFIG, pptr, pptr->target, in pmcs_smp_start()
1151 pmcs_prt(pwp, PMCS_PRT_DEBUG_CONFIG, pptr, pptr->target, in pmcs_smp_start()
1179 if (pmcs_abort(pwp, pptr, pptr->device_id, 1, 1) != 0) { in pmcs_smp_start()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c1482 while (pptr) { in fcp_setup_device_data_ioctl()
1486 pptr = pptr->port_next; in fcp_setup_device_data_ioctl()
1794 pptr = pptr->port_next; in fcp_get_target_mappings()
2368 pptr = pptr->port_next; in fcp_send_scsi_ioctl()
5533 for (pptr = fcp_port_head; pptr != NULL; pptr = pptr->port_next) { in fcp_get_port()
5738 pptr->port_dmacookie_sz + pptr->port_priv_pkt_len, in fcp_icmd_alloc()
10277 while (pptr->port_tmp_cnt || pptr->port_ipkt_cnt || in fcp_handle_port_detach()
10295 if (pptr->port_tmp_cnt || pptr->port_ipkt_cnt || in fcp_handle_port_detach()
10303 pptr = fcp_soft_state_unlink(pptr); in fcp_handle_port_detach()
13499 for (pptr = fcp_port_head; pptr != NULL; pptr = pptr->port_next) { in fcp_watch()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetprotoent_r.c44 *answerp = pptr; in getprotobyname_r()
64 *answerp = pptr; in getprotobynumber_r()
90 *answerp = pptr; in getprotoent_r()
155 pptr->p_proto = pe->p_proto; in copy_protoent()
162 pptr->p_name = cp; in copy_protoent()
170 pptr->p_aliases[i] = cp; in copy_protoent()
173 pptr->p_aliases[i] = NULL; in copy_protoent()
184 pptr->p_proto = pe->p_proto; in copy_protoent()
191 pptr->p_name = cp; in copy_protoent()
203 pptr->p_aliases[i] = cp; in copy_protoent()
[all …]
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_krcvudat.c76 union T_primitives *pptr; in t_krcvudata() local
115 pptr = (union T_primitives *)bp->b_rptr; in t_krcvudata()
116 switch (pptr->type) { in t_krcvudata()
126 pptr->unitdata_ind.OPT_offset) || in t_krcvudata()
128 pptr->unitdata_ind.SRC_offset)) { in t_krcvudata()
241 pptr->uderror_ind.OPT_offset) || in t_krcvudata()
243 pptr->uderror_ind.DEST_offset)) { in t_krcvudata()
249 if (pptr->uderror_ind.DEST_length > in t_krcvudata()
251 pptr->uderror_ind.OPT_length > in t_krcvudata()
271 *uderr = pptr->uderror_ind.ERROR_type; in t_krcvudata()
[all …]
H A Dt_kconnect.c75 union T_primitives *pptr; in t_kconnect() local
169 pptr = (union T_primitives *)bp->b_rptr; in t_kconnect()
170 switch (pptr->type) { in t_kconnect()
178 hdrsz < (pptr->conn_con.OPT_length + in t_kconnect()
179 pptr->conn_con.OPT_offset) || in t_kconnect()
180 hdrsz < (pptr->conn_con.RES_length + in t_kconnect()
181 pptr->conn_con.RES_offset)) { in t_kconnect()
191 len = MIN(pptr->conn_con.RES_length, in t_kconnect()
193 bcopy(bp->b_rptr + pptr->conn_con.RES_offset, in t_kconnect()
197 len = MIN(pptr->conn_con.OPT_length, in t_kconnect()
[all …]
H A Dt_kutil.c117 union T_primitives *pptr; in get_ok_ack() local
135 pptr = (void *)bp->b_rptr; in get_ok_ack()
136 switch (pptr->type) { in get_ok_ack()
138 if (msgsz < TOKACKSZ || pptr->ok_ack.CORRECT_prim != type) in get_ok_ack()
148 if (pptr->error_ack.TLI_error == TSYSERR) in get_ok_ack()
149 error = pptr->error_ack.UNIX_error; in get_ok_ack()
151 error = t_tlitosyserr(pptr->error_ack.TLI_error); in get_ok_ack()
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) in __rtld()
172 fph = pptr; in __rtld()
175 lph = pptr; in __rtld()
222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) { in __rtld()
228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0)) in __rtld()
237 flen = pptr->p_memsz + (pptr->p_offset - foff); in __rtld()
248 if (pptr == phdr) { in __rtld()
267 if (pptr->p_flags & PF_R) in __rtld()
283 if (pptr->p_memsz > pptr->p_filesz) { in __rtld()
284 foff = (int)faddr + pptr->p_vaddr + pptr->p_filesz; in __rtld()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) in __rtld()
172 fph = pptr; in __rtld()
175 lph = pptr; in __rtld()
222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) { in __rtld()
228 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0)) in __rtld()
237 flen = pptr->p_memsz + (pptr->p_offset - foff); in __rtld()
248 if (pptr == phdr) { in __rtld()
267 if (pptr->p_flags & PF_R) in __rtld()
283 if (pptr->p_memsz > pptr->p_filesz) { in __rtld()
285 pptr->p_filesz; in __rtld()
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dexpand.c388 for(wild=0,pptr=path; !wild && *pptr; pptr++) { in ef_expand_file()
392 pptr++; in ef_expand_file()
938 pptr++; in ef_matches_range()
946 pptr++; in ef_matches_range()
962 pptr++; in ef_matches_range()
974 while(!matched && *pptr && *pptr != ']') { in ef_matches_range()
981 if(c >= pptr[-1] && c <= pptr[1]) in ef_matches_range()
983 pptr += 2; in ef_matches_range()
995 while(*pptr && *pptr != ']') in ef_matches_range()
996 pptr++; in ef_matches_range()
[all …]
H A Dpcache.c536 pptr = path; in pca_scan_path()
537 while(*pptr) { in pca_scan_path()
541 if(pca_extract_dir(pc, pptr, &pptr)) in pca_scan_path()
598 sptr = pptr; in pca_extract_dir()
604 while(*pptr && (escaped || *pptr != ':')) in pca_extract_dir()
634 if(*pptr==':') in pca_extract_dir()
635 pptr++; in pca_extract_dir()
639 *nextp = pptr; in pca_extract_dir()
1649 if(*pptr == '~') { in pca_expand_tilde()
1654 if(pca_read_username(pc, ++pptr, pathlen-1, literal, &pptr)) in pca_expand_tilde()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drtld.4.x.c414 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize))
417 fph = pptr;
421 lph = pptr;
468 for (pptr = phdr; (pptr - phdr) < (int)ehdr->e_phnum; pptr++) {
474 if ((pptr->p_type != PT_LOAD) || (pptr->p_memsz == 0))
483 flen = pptr->p_memsz + (pptr->p_offset - foff);
504 if (pptr->p_flags & PF_R)
506 if (pptr->p_flags & PF_W)
520 if (pptr->p_memsz > pptr->p_filesz) {
521 foff = (int)faddr + pptr->p_vaddr + pptr->p_filesz;
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dpartition.c380 for (pptr = parts; pptr != NULL; pptr = pptr->pinfo_next) { in get_partition()
382 if (pptr->pinfo_name != NULL && strcmp(pptr->pinfo_name, in get_partition()
427 cur_dtype->dtype_plist = pptr; in make_partition()
432 parts->pinfo_next = pptr; in make_partition()
433 pptr->pinfo_next = NULL; in make_partition()
448 pptr->etoc = map; in make_partition()
457 pptr->vtoc = cur_parts->vtoc; in make_partition()
462 set_vtoc_defaults(pptr); in make_partition()
480 struct partition_info *pptr; in delete_partition() local
495 for (pptr = cur_dtype->dtype_plist; pptr->pinfo_next != parts; in delete_partition()
[all …]
H A Dmenu_partition.c188 struct partition_info *pptr, *parts; in p_select() local
211 for (i = 0, pptr = parts; pptr != NULL; pptr = pptr->pinfo_next) { in p_select()
212 if (cur_parts == pptr) { in p_select()
216 if (pptr->pinfo_name == NULL) in p_select()
228 for (i = 0, pptr = parts; i < index; i++, pptr = pptr->pinfo_next) in p_select()
232 cur_disk->disk_parts = cur_parts = pptr; in p_select()
277 pptr->pinfo_map[i].dkl_cylno); in p_select()
280 if (pptr->pinfo_map[i].dkl_nblk > ((ncyl - in p_select()
286 pptr->pinfo_map[i].dkl_nblk); in p_select()
297 if (cur_parts != NULL && cur_parts != pptr && in p_select()
[all …]
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_rcvudata.c62 union T_primitives *pptr; in _tx_rcvudata() local
148 pptr = (union T_primitives *)ctlbuf.buf; in _tx_rcvudata()
150 switch (pptr->type) { in _tx_rcvudata()
155 (pptr->unitdata_ind.OPT_length && in _tx_rcvudata()
157 + pptr->unitdata_ind.OPT_offset)))) { in _tx_rcvudata()
166 if (TLEN_GT_NLEN(pptr->unitdata_ind.SRC_length, in _tx_rcvudata()
174 (size_t)pptr->unitdata_ind.SRC_length); in _tx_rcvudata()
176 pptr->unitdata_ind.SRC_length; in _tx_rcvudata()
187 pptr->unitdata_ind.OPT_offset, in _tx_rcvudata()
188 (size_t)pptr->unitdata_ind.OPT_length); in _tx_rcvudata()
[all …]
H A Dt_rcvuderr.c53 union T_primitives *pptr; in _tx_rcvuderr() local
140 pptr = (union T_primitives *)ctlbuf.buf; in _tx_rcvuderr()
143 (pptr->type != T_UDERROR_IND)) { in _tx_rcvuderr()
151 if (TLEN_GT_NLEN(pptr->uderror_ind.DEST_length, in _tx_rcvuderr()
157 pptr->uderror_ind.DEST_offset, in _tx_rcvuderr()
158 (size_t)pptr->uderror_ind.DEST_length); in _tx_rcvuderr()
163 if (TLEN_GT_NLEN(pptr->uderror_ind.OPT_length, in _tx_rcvuderr()
169 pptr->uderror_ind.OPT_offset, in _tx_rcvuderr()
170 (size_t)pptr->uderror_ind.OPT_length); in _tx_rcvuderr()
172 (unsigned int)pptr->uderror_ind.OPT_length; in _tx_rcvuderr()
[all …]
H A Dt_rcvvudata.c64 union T_primitives *pptr; in _tx_rcvvudata() local
157 pptr = (union T_primitives *)ctlbuf.buf; in _tx_rcvvudata()
159 switch (pptr->type) { in _tx_rcvvudata()
164 (pptr->unitdata_ind.OPT_length && in _tx_rcvvudata()
166 + pptr->unitdata_ind.OPT_offset)))) { in _tx_rcvvudata()
173 if (TLEN_GT_NLEN(pptr->unitdata_ind.SRC_length, in _tx_rcvvudata()
180 (size_t)pptr->unitdata_ind.SRC_length); in _tx_rcvvudata()
182 pptr->unitdata_ind.SRC_length; in _tx_rcvvudata()
191 pptr->unitdata_ind.OPT_offset, in _tx_rcvvudata()
192 (size_t)pptr->unitdata_ind.OPT_length); in _tx_rcvvudata()
[all …]
H A D_conn_util.c159 union T_primitives *pptr; in _t_rcv_conn_con() local
227 pptr = (union T_primitives *)ctlbufp->buf; in _t_rcv_conn_con()
229 switch (pptr->type) { in _t_rcv_conn_con()
234 (pptr->conn_con.OPT_length != 0 && in _t_rcv_conn_con()
236 pptr->conn_con.OPT_offset)))) { in _t_rcv_conn_con()
248 if (TLEN_GT_NLEN(pptr->conn_con.RES_length, in _t_rcv_conn_con()
255 (size_t)pptr->conn_con.RES_length); in _t_rcv_conn_con()
256 call->addr.len = pptr->conn_con.RES_length; in _t_rcv_conn_con()
259 if (TLEN_GT_NLEN(pptr->conn_con.OPT_length, in _t_rcv_conn_con()
266 (size_t)pptr->conn_con.OPT_length); in _t_rcv_conn_con()
[all …]
H A Dt_listen.c52 union T_primitives *pptr; in _tx_listen() local
173 pptr = (union T_primitives *)ctlbuf.buf; in _tx_listen()
175 switch (pptr->type) { in _tx_listen()
180 + pptr->conn_ind.OPT_offset))) { in _tx_listen()
198 call->sequence = pptr->conn_ind.SEQ_number; in _tx_listen()
201 if (TLEN_GT_NLEN(pptr->conn_ind.SRC_length, in _tx_listen()
207 (size_t)pptr->conn_ind.SRC_offset, in _tx_listen()
208 (unsigned int)pptr->conn_ind.SRC_length); in _tx_listen()
218 pptr->conn_ind.OPT_offset, in _tx_listen()
219 (size_t)pptr->conn_ind.OPT_length); in _tx_listen()
[all …]
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvuid.c44 valid_uid( uid, pptr ) in valid_uid() argument
46 struct passwd **pptr;
52 if( pptr ) *pptr = getpwuid( uid );
60 if( pptr ) *pptr = t_pptr;
/illumos-gate/usr/src/uts/common/io/
H A Dtirdwr.c211 union T_primitives *pptr; in tirdwrclose() local
223 pptr = (union T_primitives *)mp->b_rptr; in tirdwrclose()
225 pptr->type = T_ORDREL_REQ; in tirdwrclose()
244 union T_primitives *pptr; in tirdwrrput() local
275 pptr = (union T_primitives *)mp->b_rptr; in tirdwrrput()
277 switch (pptr->type) { in tirdwrrput()
381 union T_primitives *pptr; in check_strhead() local
387 pptr = (union T_primitives *)mp->b_rptr; in check_strhead()
390 switch (pptr->type) { in check_strhead()
423 union T_primitives *pptr; in strip_strhead() local
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dsetup.c590 Phdr *pptr; in setup() local
632 if (pptr->p_type == PT_INTERP) { in setup()
633 i_offset = pptr->p_offset; in setup()
637 if ((pptr->p_type == PT_LOAD) && in setup()
638 (pptr->p_filesz || pptr->p_memsz)) { in setup()
645 (pptr->p_memsz + pptr->p_offset))) { in setup()
647 pptr->p_vaddr + i_offset - in setup()
648 pptr->p_offset + base; in setup()
652 if (pptr->p_flags & PF_W) in setup()
661 off = pptr->p_vaddr + base; in setup()
[all …]

1234