Lines Matching refs:end

3329 	uint64_t end,
3370 nfsm_chain_add_64(error, &nmreq, NFS_LOCK_LENGTH(start, end));
3407 uint64_t end,
3442 nfsm_chain_add_64(error, &nmreq, NFS_LOCK_LENGTH(start, end));
3494 uint64_t end,
3514 if ((start <= nflp->nfl_end) && (end >= nflp->nfl_start) &&
3541 error = nmp->nm_funcs->nf_getlock_rpc(np, nlop, fl, start, end, ctx);
3554 * Once end of queue is reached, send request to the server.
3566 uint64_t end,
3590 newnflp->nfl_end = end;
3892 /* We're replacing the end of a lock. */
3981 uint64_t end,
4009 if ((start > 0) && (end < UINT64_MAX) && !willsplit) {
4022 if ((start > nflp->nfl_end) || (end < nflp->nfl_start))
4024 if ((start > nflp->nfl_start) && (end < nflp->nfl_end)) {
4088 error = nmp->nm_funcs->nf_unlock_rpc(np, nlop, type, s, end, 0,
4109 if ((start > nflp->nfl_end) || (end < nflp->nfl_start))
4112 if ((start <= nflp->nfl_start) && (end >= nflp->nfl_end)) {
4133 } else if ((start > nflp->nfl_start) && (end < nflp->nfl_end)) {
4138 error = nmp->nm_funcs->nf_unlock_rpc(np, nlop, nflp->nfl_type, start, end, 0,
4152 newnflp->nfl_start = end + 1;
4160 /* We're unlocking the end of a lock. */
4176 } else if (end < nflp->nfl_end) {
4180 error = nmp->nm_funcs->nf_unlock_rpc(np, nlop, nflp->nfl_type, nflp->nfl_start, end, 0,
4192 nflp->nfl_start = end + 1;
4239 uint64_t start, end;
4262 /* Convert the flock structure into a start and end. */
4274 /* sure we have the correct end of file offset */
4299 end = UINT64_MAX;
4303 end = start - 1 + fl->l_len;
4307 end = start - 1;
4310 if ((nmp->nm_vers == NFS_VER2) && ((start > INT32_MAX) || (fl->l_len && (end > INT32_MAX))))
4314 if ((style == NFS_FILE_LOCK_STYLE_FLOCK) && ((start != 0) || (end != UINT64_MAX)))
4327 error = nfs_advlock_getlock(np, nlop, fl, start, end, ctx);
4356 error = nfs_advlock_unlock(np, nofp, nlop, start, end, style, ctx);
4360 error = nfs_advlock_setlock(np, nofp, nlop, op, start, end, style, fl->l_type, ctx);
7128 * data in the mbufs until the end.
8043 /* hit end of buffer, move to next buffer */