Lines Matching refs:structsize
839 int name[4], structsize; in procstat_sysctl() local
843 structsize = structsz; in procstat_sysctl()
851 buf = calloc(1, sizeof(structsize) + len * 4 / 3); in procstat_sysctl()
854 bcopy(&structsize, buf, sizeof(structsize)); in procstat_sysctl()
855 p = (char *)buf + sizeof(structsize); in procstat_sysctl()
859 *sizep = sizeof(structsize) + len; in procstat_sysctl()
929 int i, name[5], structsize; in elf_note_procstat_rlimit() local
933 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit()
934 buf = calloc(1, sizeof(structsize) + structsize); in elf_note_procstat_rlimit()
937 bcopy(&structsize, buf, sizeof(structsize)); in elf_note_procstat_rlimit()
938 p = (char *)buf + sizeof(structsize); in elf_note_procstat_rlimit()
953 *sizep = sizeof(structsize) + structsize; in elf_note_procstat_rlimit()