Lines Matching refs:structsize
848 int name[4], structsize; in procstat_sysctl() local
852 structsize = structsz; in procstat_sysctl()
860 buf = calloc(1, sizeof(structsize) + len * 4 / 3); in procstat_sysctl()
863 bcopy(&structsize, buf, sizeof(structsize)); in procstat_sysctl()
864 p = (char *)buf + sizeof(structsize); in procstat_sysctl()
868 *sizep = sizeof(structsize) + len; in procstat_sysctl()
938 int i, name[5], structsize; in elf_note_procstat_rlimit() local
942 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()
943 buf = calloc(1, sizeof(structsize) + structsize); in elf_note_procstat_rlimit()
946 bcopy(&structsize, buf, sizeof(structsize)); in elf_note_procstat_rlimit()
947 p = (char *)buf + sizeof(structsize); in elf_note_procstat_rlimit()
962 *sizep = sizeof(structsize) + structsize; in elf_note_procstat_rlimit()