Lines Matching defs:tags
43 /* if PG_mte_tagged is set, tags have already been initialised */
51 /* ensure the tags are visible before the PTE is set */
70 * pages is tagged, __set_ptes() may zero or change the tags of the
389 * Access MTE tags in another process' address space as given in mm. Update
390 * the number of tags copied. Return 0 if any tags copied, error otherwise.
409 unsigned long tags, offset;
420 * Only copy tags if the page has been mapped as PROT_MTE
421 * (PG_mte_tagged set). Otherwise the tags are not valid and
423 * would cause the existing tags to be cleared if the page
435 tags = min(len, (PAGE_SIZE - offset) / MTE_GRANULE_SIZE);
439 tags = mte_copy_tags_from_user(maddr + offset, buf, tags);
442 tags = mte_copy_tags_to_user(buf, maddr + offset, tags);
447 if (!tags)
450 len -= tags;
451 buf += tags;
452 addr += tags * MTE_GRANULE_SIZE;
456 /* return an error if no tags copied */
470 * Copy MTE tags in another process' address space at 'addr' to/from tracer's