Lines Matching refs:lp
1263 * to be freed is specified by lp->l_start and lp->l_len (already
1279 struct flock64 *lp,
1287 ASSERT(lp->l_start >= (offset_t)0); /* checked by convoff */
1291 if (lp->l_len != 0) {
1296 if (ip->i_size == (u_offset_t)lp->l_start) {
1308 save_start = lp->l_start;
1310 if (ip->i_size < lp->l_start) {
1317 lp->l_start = ip->i_size;
1319 lp->l_type = F_WRLCK;
1320 lp->l_sysid = 0;
1321 lp->l_pid = ttoproc(curthread)->p_pid;
1324 if ((i = reclock(vp, lp, i, 0, lp->l_start, NULL)) != 0 ||
1325 lp->l_type != F_UNLCK) {
1330 lp->l_start = save_start;
1341 error = ud_itrunc(ip, lp->l_start, 0, cr);