Lines Matching refs:ztmp
308 struct zipwork_entry *ztmp;
363 ztmp = SLIST_FIRST(&zwhead);
364 do_zipwork(ztmp);
366 free(ztmp);
2209 struct zipwork_entry *zprev, *ztmp;
2219 SLIST_FOREACH(ztmp, &zwhead, zw_nextp) {
2220 ndiff = strcmp(zipfname, ztmp->zw_fname);
2223 if (zsize > ztmp->zw_fsize)
2224 zprev = ztmp;
2226 if (ztmp != NULL && ndiff == 0)
2227 return (ztmp);
2230 ztmp = malloc(tmpsiz);
2231 ztmp->zw_conf = ent;
2232 ztmp->zw_swork = swork;
2233 ztmp->zw_fsize = zsize;
2234 strcpy(ztmp->zw_fname, zipfname);
2236 SLIST_INSERT_HEAD(&zwhead, ztmp, zw_nextp);
2238 SLIST_INSERT_AFTER(zprev, ztmp, zw_nextp);
2239 return (ztmp);