/** * drm_suballoc_soffset - Range start. * @sa: The struct drm_suballoc. * * Return: The start of the allocated range.
*/ staticinline size_t drm_suballoc_soffset(struct drm_suballoc *sa)
{ return sa->soffset;
}
/** * drm_suballoc_eoffset - Range end. * @sa: The struct drm_suballoc. * * Return: The end of the allocated range + 1.
*/ staticinline size_t drm_suballoc_eoffset(struct drm_suballoc *sa)
{ return sa->eoffset;
}
/** * drm_suballoc_size - Range size. * @sa: The struct drm_suballoc. * * Return: The size of the allocated range.
*/ staticinline size_t drm_suballoc_size(struct drm_suballoc *sa)
{ return sa->eoffset - sa->soffset;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.