Lines Matching defs:alignment
850 /* size of a non-packed struct has to be a multiple of its alignment */
877 * natural alignment rules to minimize unnecessary explicit
883 * alignment to close natural alignment with markers like
885 * that even if struct itself has, let's say 4-byte alignment
888 * overall alignment requirements, but compiler does take into
890 * alignment requirements when adding implicit padding. We use
892 * struct alignment requirement.
905 * field is right on alignment offset and its
906 * alignment requirement is less strict than <type>'s
907 * alignment (so compiler won't naturally align to the
1852 int alignment = btf__align_of(btf, type_id);
1854 if (alignment == 0)
1857 return ((uintptr_t)data) % alignment == 0;