Searched refs:structsize (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/lib/libprocstat/ |
| H A D | core.c | 63 int structsize; member 68 { .n_type = NT_PROCSTAT_GROUPS, .structsize = sizeof(gid_t) }, 69 { .n_type = NT_PROCSTAT_UMASK, .structsize = sizeof(u_short) }, 71 { .n_type = NT_PROCSTAT_OSREL, .structsize = sizeof(int) }, 72 { .n_type = NT_PROCSTAT_PSSTRINGS, .structsize = sizeof(vm_offset_t) }, 73 { .n_type = NT_PROCSTAT_PSSTRINGS, .structsize = sizeof(vm_offset_t) }, 74 { .n_type = NT_PROCSTAT_PSSTRINGS, .structsize = sizeof(vm_offset_t) }, 75 { .n_type = NT_PROCSTAT_AUXV, .structsize = sizeof(Elf_Auxinfo) }, 76 { .n_type = NT_PTLWPINFO, .structsize = sizeof(struct ptrace_lwpinfo) }, 218 if (cstructsize != psc_type_info[type].structsize) { in procstat_core_get() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | imgact_elf.c | 2371 memcpy(buf, &structsize, sizeof(structsize)); in __elfN() 2478 sbuf_bcat(sb, &structsize, sizeof(structsize)); in __elfN() 2510 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_files() 2519 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_files() 2561 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_vmmap() 2568 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_vmmap() 2587 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_groups() 2606 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_umask() 2625 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_rlimit() 2647 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_osrel() [all …]
|
| /freebsd-14.2/usr.bin/gcore/ |
| H A D | elfcore.c | 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 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() [all …]
|
| /freebsd-14.2/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()
|