Lines Matching refs:curptr
678 struct _ti_user *curptr;
693 for (curptr = hash_bucket[x]; curptr != NULL;
694 curptr = curptr->ti_next) {
695 if (curptr->ti_fd == s) {
710 if (curptr->ti_rcvbuf != NULL)
711 free(curptr->ti_rcvbuf);
712 free(curptr->ti_ctlbuf);
713 _t_free_lookbufs(curptr);
714 _t_reinit_tiptr(curptr);
715 curptr->ti_rdev = stbuf.st_rdev;
716 curptr->ti_ino = stbuf.st_ino;
717 return (curptr);
719 prevptr = curptr;
758 struct _ti_user *curptr;
771 for (curptr = hash_bucket[x]; curptr; curptr = curptr->ti_next) {
772 if (curptr->ti_fd == s) {
773 if (curptr->ti_rdev == stbuf.st_rdev &&
774 curptr->ti_ino == stbuf.st_ino)
775 return (curptr);
789 struct _ti_user *curptr;
803 for (curptr = hash_bucket[x]; curptr; curptr = curptr->ti_next) {
804 if (curptr->ti_fd == s) {
808 nextptr = curptr->ti_next;
809 prevptr = curptr->ti_prev;
818 * free resource associated with the curptr
820 if (curptr->ti_rcvbuf != NULL)
821 free(curptr->ti_rcvbuf);
822 free(curptr->ti_ctlbuf);
823 _t_free_lookbufs(curptr);
824 (void) mutex_destroy(&curptr->ti_lock);
825 free(curptr);
1521 char *curptr;
1526 curptr = dataptr;
1535 (void) memcpy(curptr, tiov[i].iov_base, cur_count);
1536 curptr += cur_count;
1548 char *curptr;
1558 curptr = pdatabuf->buf;
1565 (void) memcpy(tiov[i].iov_base, curptr, curlen);
1566 curptr += curlen;