Lines Matching defs:length
65 u64 length = 0;
89 /* mds requires start and length rather than start and end */
91 length = 0;
93 length = fl->fl_end - fl->fl_start + 1;
98 "start: %llu, length: %llu, wait: %d, type: %d\n", (int)lock_type,
99 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length,
107 req->r_args.filelock_change.length = cpu_to_le64(length);
124 length = le64_to_cpu(req->r_reply_info.filelock_reply->start) +
125 le64_to_cpu(req->r_reply_info.filelock_reply->length);
126 if (length >= 1)
127 fl->fl_end = length -1;
134 "length: %llu, wait: %d, type: %d, err code %d\n", (int)lock_type,
136 length, wait, fl->fl_type, err);
384 cephlock->length = cpu_to_le64(lock->fl_end - lock->fl_start + 1);