Lines Matching refs:bufferSize
845 user_addr_t attributeBuffer, size_t bufferSize, uint64_t options,
1076 ab.allocated = ulmin(bufferSize, fixedsize + varsize);
2535 user_addr_t attributeBuffer, size_t bufferSize, uint64_t options,
2560 uio_addiov(auio, attributeBuffer, bufferSize);
2592 bufferSize, options, segflg, proc_is64);
2722 uap->bufferSize, uap->options,
2736 struct attrlist *alp, user_addr_t attributeBuffer, size_t bufferSize,
2763 bufferSize, options, segflg, NULL);
2789 CAST_USER_ADDR_T(uap->attributeBuffer), uap->bufferSize,
2811 CAST_USER_ADDR_T(uap->attributeBuffer), uap->bufferSize,
3361 * size_t bufferSize, uint64_t options)
3482 uio_addiov(auio, uap->attributeBuffer, (user_size_t)uap->bufferSize);
3664 * since the caller's bufferSize could be zero, and MALLOC of zero bytes
3685 if (uap->bufferSize > ATTR_MAX_BUFFER) {
3686 VFS_DEBUG(ctx, vp, "ATTRLIST - ERROR: buffer size %d too large", uap->bufferSize);
3690 MALLOC(user_buf, char *, uap->bufferSize, M_TEMP, M_WAITOK);
3692 VFS_DEBUG(ctx, vp, "ATTRLIST - ERROR: could not allocate %d bytes for buffer", uap->bufferSize);
3696 if ((error = copyin(uap->attributeBuffer, user_buf, uap->bufferSize)) != 0) {
3700 VFS_DEBUG(ctx, vp, "ATTRLIST - copied in %d bytes of user attributes to %p", uap->bufferSize, user_buf);
3712 bufend = cursor + uap->bufferSize;
4011 ap.bufferSize = uap->bufferSize;