Home
last modified time | relevance | path

Searched refs:prevp (Results 1 – 25 of 35) sorted by relevance

12

/titanic_44/usr/src/cmd/vntsd/
H A Dqueue.c61 el->prevp = NULL; in alloc_que_el()
96 el->prevp = p; in vntsd_que_append()
132 el->prevp = q; in vntsd_que_insert_after()
144 vntsd_que_t *prevp = NULL; in vntsd_que_rm() local
152 prevp = p; in vntsd_que_rm()
166 prevp->nextp = p->nextp; in vntsd_que_rm()
170 p->nextp->prevp = prevp; in vntsd_que_rm()
266 if (p->prevp != NULL) { in vntsd_que_pos()
267 return (p->prevp->handle); in vntsd_que_pos()
H A Dvntsd.h254 struct vntsd_que *prevp; /* previous queue element */ member
/titanic_44/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_queue.c66 L1el_t *prevp; in L1_delete() local
77 for (prevp = lp->l1_headp; prevp != NULL; prevp = prevp->le_nextp) { in L1_delete()
78 if (prevp->le_nextp == lep) { in L1_delete()
79 if ((prevp->le_nextp = lep->le_nextp) == NULL) in L1_delete()
80 lp->l1_tailp = prevp; in L1_delete()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dtable.c84 TABLE_ENTRY *prevp; in find_match() local
105 prevp = ptr; in find_match()
107 delete(prevp); in find_match()
135 TABLE_ENTRY *prevp; in find_request() local
161 prevp = ptr; in find_request()
163 delete(prevp); in find_request()
/titanic_44/usr/src/cmd/sgs/gprof/common/
H A Dprintgprof.c552 arctype *prevp; in sortchildren() local
573 for (prevp = &sorted; prevp->arc_childlist; in sortchildren()
574 prevp = prevp->arc_childlist) { in sortchildren()
575 if (arccmp(arcp, prevp->arc_childlist) != LESSTHAN) in sortchildren()
579 arcp->arc_childlist = prevp->arc_childlist; in sortchildren()
580 prevp->arc_childlist = arcp; in sortchildren()
595 arctype *prevp; in sortparents() local
616 for (prevp = &sorted; prevp->arc_parentlist; in sortparents()
617 prevp = prevp->arc_parentlist) { in sortparents()
618 if (arccmp(arcp, prevp->arc_parentlist) != GREATERTHAN) in sortparents()
[all …]
/titanic_44/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_sc.c77 struct rds_node_record_s *prevp; member
146 p->prevp = NULL; in rds_path_up()
159 rds_pathmap->prevp = p; in rds_path_up()
245 if (p->prevp) { in rds_path_down()
246 p->prevp->nextp = p->nextp; in rds_path_down()
254 p->nextp->prevp = p->prevp; in rds_path_down()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_sc.c73 struct rds_node_record_s *prevp; member
142 p->prevp = NULL; in rdsv3_path_up()
155 rdsv3_pathmap->prevp = p; in rdsv3_path_up()
241 if (p->prevp) { in rdsv3_path_down()
242 p->prevp->nextp = p->nextp; in rdsv3_path_down()
250 p->nextp->prevp = p->prevp; in rdsv3_path_down()
/titanic_44/usr/src/uts/common/crypto/api/
H A Dkcf_cbufcall.c164 kcf_cbuf_elem_t *prevp = cbufp->kc_prev; in crypto_unbufcall() local
167 nextp->kc_prev = prevp; in crypto_unbufcall()
169 cbuf_list_tail = prevp; in crypto_unbufcall()
171 if (prevp != NULL) in crypto_unbufcall()
172 prevp->kc_next = nextp; in crypto_unbufcall()
H A Dkcf_miscapi.c378 kcf_ntfy_elem_t *prevp = nep->kn_prev; in crypto_unnotify_events() local
381 nextp->kn_prev = prevp; in crypto_unnotify_events()
383 ntfy_list_tail = prevp; in crypto_unnotify_events()
385 if (prevp != NULL) in crypto_unnotify_events()
386 prevp->kn_next = nextp; in crypto_unnotify_events()
/titanic_44/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c208 struct mntpnt_list *prevp; in load_mnttab() local
215 prevp = NULL; in load_mnttab()
250 prevp->next = currp; in load_mnttab()
275 prevp = currp; in load_mnttab()
304 prevp->next = currp; in load_mnttab()
333 prevp = currp; in load_mnttab()
/titanic_44/usr/src/uts/common/io/1394/
H A Ds1394_fa.c148 s1394_target_t *curp, **nextp, *prevp = NULL; in s1394_fa_list_remove() local
154 fal->fal_tail = prevp; in s1394_fa_list_remove()
160 prevp = curp; in s1394_fa_list_remove()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dlocaltime.c1070 prev_t *prevp; in set_zone_context() local
1148 prevp = &lclzonep->prev[tidx]; in set_zone_context()
1153 if ((alt = prevp->alt) != NULL) { in set_zone_context()
1163 if ((std = prevp->std) != NULL) { in set_zone_context()
1430 prev_t *prevp; in load_zoneinfo() local
1579 prevp = &sp->prev[0]; in load_zoneinfo()
1586 prevp->std = most_recent_std; in load_zoneinfo()
1587 prevp->alt = most_recent_alt; in load_zoneinfo()
1600 ++prevp; in load_zoneinfo()
2040 prev_t *prevp; in load_posix_transitions() local
[all …]
/titanic_44/usr/src/cmd/fs.d/
H A Dumount.c897 mountent_t *mp, *prevp; in dowait() local
915 for (prevp = NULL, mp = mntll; mp; mp = mp->link) { in dowait()
917 prevp = mp; in dowait()
923 if (prevp) { in dowait()
924 prevp->link = mp->link; in dowait()
H A Dmount.c1427 vfsent_t *vp, *prevp; in cleanupkid() local
1444 for (prevp = NULL, vp = vfsll; vp; vp = vp->next) { in cleanupkid()
1446 prevp = vp; in cleanupkid()
1452 if (prevp) { in cleanupkid()
1453 prevp->next = vp->next; in cleanupkid()
/titanic_44/usr/src/uts/common/crypto/core/
H A Dkcf_sched.c918 kcf_areq_node_t *prevp = node->an_prev; in kcf_remove_node() local
923 nextp->an_prev = prevp; in kcf_remove_node()
925 gswq->gs_last = prevp; in kcf_remove_node()
927 if (prevp != NULL) in kcf_remove_node()
928 prevp->an_next = nextp; in kcf_remove_node()
1539 kcf_areq_node_t *nextp, *prevp; in kcf_reqid_delete() local
1549 prevp = areq->an_idprev; in kcf_reqid_delete()
1551 nextp->an_idprev = prevp; in kcf_reqid_delete()
1552 if (prevp != NULL) in kcf_reqid_delete()
1553 prevp->an_idnext = nextp; in kcf_reqid_delete()
/titanic_44/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c436 mntfs_insert_after(mntelem_t *newp, mntelem_t *prevp) in mntfs_insert_after() argument
438 newp->mnte_prev = prevp; in mntfs_insert_after()
439 newp->mnte_next = prevp->mnte_next; in mntfs_insert_after()
440 prevp->mnte_next = newp; in mntfs_insert_after()
512 mntelem_t *prevp = NULL; in mntfs_snapshot() local
645 for (; elemp; prevp = elemp, elemp = elemp->mnte_next) { in mntfs_snapshot()
705 if (prevp) { in mntfs_snapshot()
706 mntfs_insert_after(newp, prevp); in mntfs_snapshot()
720 if (prevp) { in mntfs_snapshot()
721 mntfs_insert_after(newp, prevp); in mntfs_snapshot()
[all …]
/titanic_44/usr/src/uts/common/io/dls/
H A Ddls_link.c145 mblk_t *prevp; in i_dls_link_subchain() local
156 for (prevp = mp; (mp = mp->b_next) != NULL; prevp = mp) { in i_dls_link_subchain()
165 prevp->b_next = mp; in i_dls_link_subchain()
212 prevp->b_next = NULL; in i_dls_link_subchain()
/titanic_44/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c138 struct autovec *p, *prevp = NULL; in apix_add_pending_hardint() local
157 prevp = p; in apix_add_pending_hardint()
171 if (prevp && ((prevp->av_flags & AV_PENTRY_LEVEL) != 0)) in apix_add_pending_hardint()
172 prevp->av_flags |= (vector & AV_PENTRY_VECTMASK); in apix_add_pending_hardint()
/titanic_44/usr/src/uts/sun4u/io/
H A Diommu.c369 struct io_mem_list **prevp, *walk; in iommu_remove_mappings() local
382 prevp = &softsp->iomem; in iommu_remove_mappings()
387 *prevp = walk->next; in iommu_remove_mappings()
391 prevp = &walk->next; in iommu_remove_mappings()
1597 struct io_mem_list **prevp, *walk; in iommu_dvma_unload() local
1607 prevp = &softsp->iomem; in iommu_dvma_unload()
1612 *prevp = walk->next; in iommu_dvma_unload()
1615 prevp = &walk->next; in iommu_dvma_unload()
H A Dsysiosbus.c1891 struct sbus_intr_handler *listp, *prevp; in sbus_free_handler() local
1894 prevp = NULL; in sbus_free_handler()
1899 if (prevp) in sbus_free_handler()
1900 prevp->next = listp->next; in sbus_free_handler()
1902 prevp = listp->next; in sbus_free_handler()
1903 sbus_arg->handler_list = prevp; in sbus_free_handler()
1910 prevp = listp; in sbus_free_handler()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_node.c972 NODELIST *prevp; in emlxs_node_rm() local
980 prevp = NULL; in emlxs_node_rm()
983 if (prevp == NULL) { in emlxs_node_rm()
986 prevp->nlp_list_next = np->nlp_list_next; in emlxs_node_rm()
1019 prevp = np; in emlxs_node_rm()
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_utils.c691 ibcm_ud_state_data_t *prevp, *headp; in ibcm_delete_ud_state_data() local
709 prevp = NULL; in ibcm_delete_ud_state_data()
715 if (prevp) { in ibcm_delete_ud_state_data()
716 prevp->ud_nextp = headp->ud_nextp; in ibcm_delete_ud_state_data()
718 prevp = headp->ud_nextp; in ibcm_delete_ud_state_data()
719 hcap->hca_sidr_list = prevp; in ibcm_delete_ud_state_data()
723 prevp = headp; in ibcm_delete_ud_state_data()
H A Dibcm_impl.c1175 ibcm_hca_info_t *headp, *prevp = NULL; in ibcm_delete_hca_entry() local
1189 if (prevp) { in ibcm_delete_hca_entry()
1190 prevp->hca_next = headp->hca_next; in ibcm_delete_hca_entry()
1192 prevp = headp->hca_next; in ibcm_delete_hca_entry()
1193 ibcm_hca_listp = prevp; in ibcm_delete_hca_entry()
1203 prevp = headp; in ibcm_delete_hca_entry()
/titanic_44/usr/src/uts/common/os/
H A Dinstance.c1372 in_drv_t *prevp; in in_removedrv() local
1381 prevp = dnp->dn_inlist; in in_removedrv()
1382 for (dp = prevp->ind_next; dp; dp = dp->ind_next) { in in_removedrv()
1386 prevp = dp; in in_removedrv()
1391 prevp->ind_next = mp->ind_next; in in_removedrv()
H A Dlabelsys.c229 tsol_tnrhc_t **prevp; in tnrh_delete() local
258 prevp = &tnrhc_hash->tnrh_list; in tnrh_delete()
259 while ((current = *prevp) != NULL) { in tnrh_delete()
262 prevp = &current->rhc_next; in tnrh_delete()
267 *prevp = current->rhc_next; in tnrh_delete()

12