Lines Matching defs:vec
986 decmpfs_fetch_uncompressed_data(vnode_t vp, decmpfs_cnode *cp, decmpfs_header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read)
1017 err = fetch(vp, decmpfs_ctx, hdr, offset, size, nvec, vec, bytes_read);
1025 flush_dcache64((addr64_t)(uintptr_t)vec[i].buf, vec[i].size, FALSE);
1118 decmpfs_vector vec;
1122 vec.buf = (char*)data + pl_offset;
1123 vec.size = size;
1135 err = decmpfs_fetch_uncompressed_data(vp, cp, hdr, uplPos, uplSize, 1, &vec, &did_read);
1160 memset((char*)vec.buf + did_read, 0, total_size - did_read);
1331 decmpfs_vector vec;
1333 vec = (decmpfs_vector){ .buf = data, .size = curUplSize };
1334 err = decmpfs_fetch_uncompressed_data(vp, cp, hdr, curUplPos, curUplSize, 1, &vec, &did_read);
1588 decmpfs_vector vec = { .buf = data, .size = MIN(allocSize, remaining) };
1589 err = decmpfs_fetch_uncompressed_data(vp, cp, hdr, offset, vec.size, 1, &vec, &bytes_read);
1723 decmpfs_fetch_uncompressed_data_Type1(__unused vnode_t vp, __unused vfs_context_t ctx, decmpfs_header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read)
1742 user_ssize_t curCopy = vec[i].size;
1745 memcpy(vec[i].buf, hdr->attr_bytes + offset, curCopy);