Lines Matching defs:length
82 u64 length = 0;
106 /* mds requires start and length rather than start and end */
108 length = 0;
110 length = fl->fl_end - fl->fl_start + 1;
115 "start: %llu, length: %llu, wait: %d, type: %d\n", (int)lock_type,
116 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length,
124 req->r_args.filelock_change.length = cpu_to_le64(length);
141 length = le64_to_cpu(req->r_reply_info.filelock_reply->start) +
142 le64_to_cpu(req->r_reply_info.filelock_reply->length);
143 if (length >= 1)
144 fl->fl_end = length -1;
151 "length: %llu, wait: %d, type: %d, err code %d\n", (int)lock_type,
153 length, wait, fl->fl_type, err);
401 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1);