Lines Matching defs:start
94 uint64_t start,
102 status = smb_lock_range_ulckrules(sr, node, start, length, &lock);
141 uint64_t start,
154 lock = smb_lock_create(sr, start, length, locktype, timeout);
273 uint64_t start,
288 if (!smb_lock_range_overlap(lock, start, length))
468 * Checks if lock range(start, length) overlaps range in lock structure.
474 * zero-length range's offset but doesn't start at it
485 smb_lock_range_overlap(struct smb_lock *lock, uint64_t start, uint64_t length)
488 if ((lock->l_start < start) &&
489 ((lock->l_start + lock->l_length) > start))
496 if ((start == lock->l_start) && (length == lock->l_length))
499 if (start < lock->l_start) {
500 if (start + length > lock->l_start)
502 } else if (start < lock->l_start + lock->l_length)
698 uint64_t start,
710 if ((start == lock->l_start) &&
728 uint64_t start,
747 lock->l_start = start;
814 * The range from start to new_mark can be unlocked
820 * The range from start to new_mark can't be unlocked
825 smb_is_range_unlocked(uint64_t start, uint64_t end, uint32_t uniqid,
853 if (lk_end < start) {
863 if ((lk_start <= start) && (lk_end >= end)) {
868 if ((start >= lk_start) && (start <= lk_end)) {
875 if ((lk_start >= start) && (lk_start <= end)) {