Lines Matching defs:length
100 ssize_t length = 0;
129 if (cx->length == -1) {
134 ret = cx->length;
137 if (cx->length > size) {
141 memcpy(buffer, cx->val, cx->length);
142 memset(buffer + cx->length, 0, size - cx->length);
143 ret = cx->length;
157 * strings, I am going to explicitly pass the length just in case
175 cx->length = -1;
188 length = new_op->downcall.resp.getxattr.val_sz;
191 * Just return the length of the queried attribute.
194 ret = length;
199 * Check to see if key length is > provided buffer size.
201 if (length > size) {
206 memcpy(buffer, new_op->downcall.resp.getxattr.val, length);
207 memset(buffer + length, 0, size - length);
218 ret = length;
222 memcpy(cx->val, buffer, length);
223 cx->length = length;
229 memcpy(cx->val, buffer, length);
230 cx->length = length;
266 * length just in case we change this later on...
359 * strings, I am going to explicitly pass the length just in