Searched refs:structsize (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/lib/libprocstat/ |
| H A D | core.c | 65 int structsize; member 70 { .n_type = NT_PROCSTAT_GROUPS, .structsize = sizeof(gid_t) }, 71 { .n_type = NT_PROCSTAT_UMASK, .structsize = sizeof(u_short) }, 73 { .n_type = NT_PROCSTAT_OSREL, .structsize = sizeof(int) }, 74 { .n_type = NT_PROCSTAT_PSSTRINGS, .structsize = sizeof(vm_offset_t) }, 75 { .n_type = NT_PROCSTAT_PSSTRINGS, .structsize = sizeof(vm_offset_t) }, 76 { .n_type = NT_PROCSTAT_PSSTRINGS, .structsize = sizeof(vm_offset_t) }, 77 { .n_type = NT_PROCSTAT_AUXV, .structsize = sizeof(Elf_Auxinfo) }, 78 { .n_type = NT_PTLWPINFO, .structsize = sizeof(struct ptrace_lwpinfo) }, 220 if (cstructsize != psc_type_info[type].structsize) { in procstat_core_get() [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | imgact_elf.c | 2238 sbuf_bcat(sb, &structsize, sizeof(structsize)); in __elfN() 2304 sbuf_bcat(sb, &structsize, sizeof(structsize)); in __elfN() 2334 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_files() 2343 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_files() 2385 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_vmmap() 2392 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_vmmap() 2411 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_groups() 2430 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_umask() 2449 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_rlimit() 2471 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_osrel() [all …]
|
| /freebsd-12.1/usr.bin/gcore/ |
| H A D | elfcore.c | 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 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() [all …]
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | ntp_request.c | 284 size_t structsize in prepare_pkt() argument 295 rpkt.mbz_itemsize = MBZ_ITEMSIZE(structsize); in prepare_pkt() 304 itemsize = structsize; in prepare_pkt()
|