Lines Matching defs:igz
75 struct imgact_gzip igz;
100 bzero(&igz, sizeof igz);
102 infl.gz_private = (void *) &igz;
106 igz.ip = imgp;
107 igz.idx = 10;
110 while (p[igz.idx++])
111 if (igz.idx >= PAGE_SIZE)
115 while (p[igz.idx++])
116 if (igz.idx >= PAGE_SIZE)
119 igz.len = imgp->attr->va_size;
127 if ( !igz.gotheader )
139 if (igz.inbuf)
140 kmap_free_wakeup(exec_map, (vm_offset_t)igz.inbuf, PAGE_SIZE);
141 if (igz.error || error) {
142 printf("Output=%lu ", igz.output);
143 printf("Inflate_error=%d igz.error=%d where=%d\n",
144 error, igz.error, igz.where);
146 if (igz.error)
147 return igz.error;
300 struct imgact_gzip *igz = (struct imgact_gzip *) vp;
302 if (igz->idx >= igz->len) {
303 igz->where = __LINE__;
306 if (igz->inbuf && igz->idx < (igz->offset + PAGE_SIZE)) {
307 return igz->inbuf[(igz->idx++) - igz->offset];
309 if (igz->inbuf)
310 kmap_free_wakeup(exec_map, (vm_offset_t)igz->inbuf, PAGE_SIZE);
311 igz->offset = igz->idx & ~PAGE_MASK;
314 (vm_offset_t *) & igz->inbuf, /* address */
320 igz->ip->vp, /* vnode */
321 igz->offset); /* offset */
323 igz->where = __LINE__;
324 igz->error = error;
327 return igz->inbuf[(igz->idx++) - igz->offset];