Lines Matching defs:hdr
69 uint32_t *hdr;
75 hdr = (uint32_t *)curp;
76 if (hdr[0] == 0 && hdr[1] == 0)
80 if ((hdr[0] == MODINFO_NAME) &&
85 next = sizeof(uint32_t) * 2 + hdr[1];
100 uint32_t *hdr;
107 hdr = (uint32_t *)curp;
108 if (hdr[0] == 0 && hdr[1] == 0)
112 if (hdr[0] == MODINFO_NAME)
116 if ((hdr[0] == MODINFO_TYPE) &&
121 next = sizeof(uint32_t) * 2 + hdr[1];
136 uint32_t *hdr;
144 hdr = (uint32_t *)curp;
145 next = sizeof(uint32_t) * 2 + hdr[1];
152 hdr = (uint32_t *)curp;
153 if (hdr[0] == 0 && hdr[1] == 0)
157 if (hdr[0] == MODINFO_NAME)
161 next = sizeof(uint32_t) * 2 + hdr[1];
177 uint32_t *hdr;
186 hdr = (uint32_t *)curp;
188 if (hdr[0] == 0 && hdr[1] == 0)
195 type = hdr[0];
197 if (hdr[0] == type)
206 if (hdr[0] == inf)
210 next = sizeof(uint32_t) * 2 + hdr[1];
224 uint32_t *hdr, sz;
235 hdr = (uint32_t *)curp;
236 if (hdr[0] == MODINFO_NAME || (hdr[0] == 0 && hdr[1] == 0)) {
243 if (hdr[0] == 0)
252 if (hdr[0] == MODINFO_ADDR)
254 else if (hdr[0] == MODINFO_SIZE)
256 hdr[0] = MODINFO_EMPTY;
260 next = sizeof(uint32_t) * 2 + hdr[1];
294 uint32_t *hdr;
301 hdr = (uint32_t *)curp;
302 if (hdr[0] == 0 && hdr[1] == 0)
306 switch (hdr[0]) {
319 next = sizeof(uint32_t) * 2 + hdr[1];