Lines Matching refs:ztmp
329 struct zipwork_entry *ztmp;
384 ztmp = SLIST_FIRST(&zwhead);
385 do_zipwork(ztmp);
387 free(ztmp);
2336 struct zipwork_entry *zprev, *ztmp;
2346 SLIST_FOREACH(ztmp, &zwhead, zw_nextp) {
2347 ndiff = strcmp(zipfname, ztmp->zw_fname);
2350 if (zsize > ztmp->zw_fsize)
2351 zprev = ztmp;
2353 if (ztmp != NULL && ndiff == 0)
2354 return (ztmp);
2357 ztmp = malloc(tmpsiz);
2358 ztmp->zw_conf = ent;
2359 ztmp->zw_swork = swork;
2360 ztmp->zw_fsize = zsize;
2361 strcpy(ztmp->zw_fname, zipfname);
2363 SLIST_INSERT_HEAD(&zwhead, ztmp, zw_nextp);
2365 SLIST_INSERT_AFTER(zprev, ztmp, zw_nextp);
2366 return (ztmp);