Lines Matching refs:shstrlen
2629 size_t shstrlen;
2645 shstrlen = shp->sh_size;
2646 shstrtab = kobj_alloc(shstrlen, KM_WAIT|KM_TMP);
2648 if (kobj_read_file(file, shstrtab, shstrlen, shp->sh_offset) < 0) {
2653 kobj_free(shstrtab, shstrlen);
2660 if (shp->sh_size != 0 && shp->sh_name < shstrlen &&
2669 kobj_free(shstrtab, shstrlen);
2679 kobj_free(shstrtab, shstrlen);
2736 size_t shstrlen;
2749 shstrlen = shp->sh_size;
2750 shstrtab = kobj_alloc(shstrlen, KM_WAIT|KM_TMP);
2752 if (kobj_read_file(file, shstrtab, shstrlen, shp->sh_offset) < 0) {
2757 kobj_free(shstrtab, shstrlen);
2763 if (shp->sh_size != 0 && shp->sh_name < shstrlen &&
2776 kobj_free(shstrtab, shstrlen);
2785 kobj_free(shstrtab, shstrlen);
2799 kobj_free(shstrtab, shstrlen);