Lines Matching refs:structsize
759 int name[5], structsize; in procstat_sysctl() local
763 structsize = structsz; in procstat_sysctl()
771 buf = calloc(1, sizeof(structsize) + len * 4 / 3); in procstat_sysctl()
774 bcopy(&structsize, buf, sizeof(structsize)); in procstat_sysctl()
775 p = (char *)buf + sizeof(structsize); in procstat_sysctl()
779 *sizep = sizeof(structsize) + len; in procstat_sysctl()
857 int i, name[5], structsize; in elf_note_procstat_rlimit() local
861 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()
862 buf = calloc(1, sizeof(structsize) + structsize); in elf_note_procstat_rlimit()
865 bcopy(&structsize, buf, sizeof(structsize)); in elf_note_procstat_rlimit()
866 p = (char *)buf + sizeof(structsize); in elf_note_procstat_rlimit()
881 *sizep = sizeof(structsize) + structsize; in elf_note_procstat_rlimit()