Lines Matching defs:mrd
366 struct ffa_comp_mrd *mrd;
379 mrd = (struct ffa_comp_mrd *) ((uint8_t *) orig +
383 size += mrd->address_range_count * sizeof(struct ffa_cons_mrd);
400 struct ffa_comp_mrd *mrd;
415 mrd = (struct ffa_comp_mrd *) ((uint8_t *) orig +
419 if (((uintptr_t) mrd + sizeof(struct ffa_comp_mrd)) >
423 size += mrd->address_range_count * sizeof(struct ffa_cons_mrd);
481 /* Place the mrd descriptors after the end of the emad descriptors.*/
489 /* Find the mrd descriptor. */
510 ERROR("%s: Invalid mrd structure.\n", __func__);
514 /* Copy the mrd descriptors directly. */
574 /* Place the mrd descriptors after the end of the emad descriptors. */
588 /* Find the mrd descriptor. */
612 ERROR("%s: Invalid mrd structure.\n", __func__);
616 /* Copy the mrd descriptors directly. */
925 const struct ffa_cons_mrd *mrd = comp->address_range_array + i;
927 if (!is_aligned(mrd->address, PAGE_SIZE)) {
930 __func__, i, (unsigned long long)mrd->address);
938 total_page_count += mrd->page_count;