Lines Matching refs:structsize
759 int name[4], 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()
849 int i, name[5], structsize; in elf_note_procstat_rlimit() local
853 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()
854 buf = calloc(1, sizeof(structsize) + structsize); in elf_note_procstat_rlimit()
857 bcopy(&structsize, buf, sizeof(structsize)); in elf_note_procstat_rlimit()
858 p = (char *)buf + sizeof(structsize); in elf_note_procstat_rlimit()
873 *sizep = sizeof(structsize) + structsize; in elf_note_procstat_rlimit()