Home
last modified time | relevance | path

Searched refs:copyp (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetmntent.c144 char *copyp, *bufp; in getmntany() local
156 if ((copyp = bufp = getmntbuf(MNT_LINE_MAX)) == NULL) { in getmntany()
162 mgetp->mnt_special = copyp; in getmntany()
163 copyp += snprintf(mgetp->mnt_special, MNT_LINE_MAX, "%s", in getmntany()
167 mgetp->mnt_mountp = copyp; in getmntany()
168 copyp += snprintf(mgetp->mnt_mountp, in getmntany()
169 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mountp) + 1; in getmntany()
172 mgetp->mnt_fstype = copyp; in getmntany()
173 copyp += snprintf(mgetp->mnt_fstype, in getmntany()
174 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_fstype) + 1; in getmntany()
[all …]
/titanic_41/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c449 mntelem_t *copyp; in mntfs_copy() local
451 copyp = kmem_zalloc(sizeof (mntelem_t), KM_SLEEP); in mntfs_copy()
452 copyp->mnte_vfs_ctime = origp->mnte_vfs_ctime; in mntfs_copy()
453 copyp->mnte_text_size = origp->mnte_text_size; in mntfs_copy()
454 copyp->mnte_text = kmem_alloc(copyp->mnte_text_size, KM_SLEEP); in mntfs_copy()
455 bcopy(origp->mnte_text, copyp->mnte_text, copyp->mnte_text_size); in mntfs_copy()
456 copyp->mnte_tab = origp->mnte_tab; in mntfs_copy()
457 copyp->mnte_hidden = origp->mnte_hidden; in mntfs_copy()
459 return (copyp); in mntfs_copy()
/titanic_41/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c3133 dsw_copyp_t copyp; in _ii_copyparm() local
3143 II_TAIL_COPY(copyp, copyp32, shadow_vol, dsw_copyp_t); in _ii_copyparm()
3144 copyp.status = (spcs_s_info_t)copyp32.status; in _ii_copyparm()
3145 } else if (copyin((void *)arg, &copyp, sizeof (copyp)) < 0) in _ii_copyparm()
3152 if (!copyp.shadow_vol[0]) in _ii_copyparm()
3153 return (spcs_s_ocopyoutf(&kstatus, copyp.status, DSW_EEMPTY)); in _ii_copyparm()
3156 ip = _ii_find_set(copyp.shadow_vol); in _ii_copyparm()
3159 return (spcs_s_ocopyoutf(&kstatus, copyp.status, in _ii_copyparm()
3163 if (copyp.copy_delay != -1) { in _ii_copyparm()
3164 if (copyp.copy_delay >= MIN_THROTTLE_DELAY && in _ii_copyparm()
[all …]