Lines Matching refs:ulp
931 struct ufslabel *ulp;
978 ulp = (struct ufslabel *)offset;
980 if (ufs_label_check(ulp)) {
981 length = ulp->ul_namelen;
987 bcopy(ulp->ul_name, fsap->f_vol_name, length);
1081 struct ufslabel *ulp;
1110 ulp = (struct ufslabel *)offset;
1111 if (!ufs_label_check(ulp))
1112 ufs_label_init(ulp);
1115 ulp->ul_namelen = strlen(fsap->f_vol_name);
1116 bcopy(fsap->f_vol_name, ulp->ul_name, ulp->ul_namelen);
1117 ulp->ul_name[UFS_MAX_LABEL_NAME - 1] = '\0';
1118 ulp->ul_name[ulp->ul_namelen] = '\0';
1122 ulp->ul_namelen = OSSwapInt16(ulp->ul_namelen);
1126 ulp->ul_checksum = 0;
1127 ulp->ul_checksum = ul_cksum(ulp, sizeof(*ulp));