Lines Matching refs:tptr
813 struct iodev_snapshot *tptr = NULL;
826 tptr = safe_alloc(sizeof (*old));
827 bzero(tptr, sizeof (*old));
829 tptr->is_pretty = safe_alloc(strlen(old->is_pretty) + 1);
830 (void) strcpy(tptr->is_pretty, old->is_pretty);
832 bcopy(&old->is_parent_id, &tptr->is_parent_id,
835 tptr->is_type = type;
840 tptr->is_id.id = tgt;
841 (void) snprintf(tptr->is_id.tid, sizeof (tptr->is_id.tid),
843 (void) snprintf(tptr->is_name, sizeof (tptr->is_name),
847 ptr = strrchr(tptr->is_pretty, '.');
854 tptr->is_id.id = initiator;
855 (void) snprintf(tptr->is_id.tid, sizeof (tptr->is_id.tid),
857 (void) snprintf(tptr->is_name, sizeof (tptr->is_name),
861 ptr = strchr(tptr->is_pretty, '.');
864 strlen(tptr->is_pretty) + 1,
868 return (tptr);