Lines Matching refs:field
22 #define hdr_field(pfx, idx, field) ({ \ argument
27 _val = pfx##hdr64[idx].field; \
28 _size = sizeof(pfx##hdr64[0].field); \
30 _val = pfx##hdr32[idx].field; \
31 _size = sizeof(pfx##hdr32[0].field); \
51 #define set_hdr_field(pfx, idx, field, val) ({ \ argument
56 _size = sizeof(pfx##hdr64[0].field); \
58 _size = sizeof(pfx##hdr32[0].field); \
81 pfx##hdr64[idx].field = _val; \
83 pfx##hdr32[idx].field = _val; \
86 #define ehdr_field(field) \ argument
87 hdr_field(e, 0, field)
88 #define phdr_field(idx, field) \ argument
89 hdr_field(p, idx, field)
90 #define shdr_field(idx, field) \ argument
91 hdr_field(s, idx, field)
93 #define set_phdr_field(idx, field, val) \ argument
94 set_hdr_field(p, idx, field, val)
95 #define set_shdr_field(idx, field, val) \ argument
96 set_hdr_field(s, idx, field, val)