Lines Matching defs:offset

165  * spmc_shmem_obj_get_next - Get the next memory object from an offset.
166 * @offset: Offset used to track which objects have previously been
170 * offset.
174 spmc_shmem_obj_get_next(struct spmc_shmem_obj_state *state, size_t *offset)
176 uint8_t *curr = state->data + *offset;
181 *offset += spmc_shmem_obj_size(obj->desc_size);
247 /* Ensure the composite descriptor offset is aligned. */
249 WARN("Unaligned composite memory region descriptor offset.\n");
496 * Update the offset in the emads by the delta between the input and
595 * Update the offset in the emads by the delta between the input and
629 * @offset: The offset of the converted descriptor to copy.
640 size_t buf_size, size_t offset,
669 *copy_size = MIN(v1_0_obj->desc_size - offset, buf_size);
670 memcpy(dst, (uint8_t *) &v1_0_obj->desc + offset, *copy_size);
719 WARN("%s: Emad offset %" PRIx32 " is not 16-byte aligned.\n",
724 WARN("%s: Emad offset too small: 0x%" PRIx32 " < 0x%zx.\n",
766 emad_advance(const struct ffa_emad_v1_0 *emad, size_t offset)
768 return (const struct ffa_emad_v1_0 *)((const uint8_t *)emad + offset);
777 * constituent_memory_region_descriptor offset or count is invalid.
831 * The offset provided to the composite memory region descriptor
866 WARN("%s: invalid object, offset %u < header + emad %zu\n",
871 /* Ensure the composite descriptor offset is aligned. */
874 "region descriptor offset %u.\n",
883 WARN("%s: invalid object, offset %u > total size %zu\n",
891 WARN("%s: invalid object, offset %u, total size %zu, no header space.\n",
1539 /* Validate that the provided emad offset and structure is valid.*/
1637 * @fragment_offset: Byte offset in descriptor to resume at.