Searched refs:structsize (Results 1 – 4 of 4) sorted by relevance
| /src/lib/libprocstat/ |
| H A D | core.c | 62 int structsize; member 66 .structsize = sizeof(struct kinfo_proc) 70 .structsize = sizeof(struct kinfo_file) 74 .structsize = sizeof(struct kinfo_vmentry) 78 .structsize = sizeof(gid_t) 82 .structsize = sizeof(u_short) 86 .structsize = sizeof(struct rlimit) * RLIM_NLIMITS 90 .structsize = sizeof(int) 94 .structsize = sizeof(vm_offset_t) 98 .structsize = sizeof(vm_offset_t) [all …]
|
| /src/sys/kern/ |
| H A D | imgact_elf.c | 2392 int structsize; in get_lwpinfo() local 2394 size = sizeof(structsize) + sizeof(pl); in get_lwpinfo() 2397 structsize = sizeof(pl); in get_lwpinfo() 2398 memcpy(buf, &structsize, sizeof(structsize)); in get_lwpinfo() 2499 int structsize; in note_procstat_proc() local 2502 size = sizeof(structsize) + p->p_numthreads * in note_procstat_proc() 2507 structsize = sizeof(elf_kinfo_proc_t); in note_procstat_proc() 2508 sbuf_bcat(sb, &structsize, sizeof(structsize)); in note_procstat_proc() 2527 int structsize, filedesc_flags; in note_procstat_files() local 2535 structsize = sizeof(struct kinfo_file); in note_procstat_files() [all …]
|
| /src/usr.bin/gcore/ |
| H A D | elfcore.c | 759 int name[5], 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() 857 int i, name[5], structsize; in elf_note_procstat_rlimit() local 861 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit() 862 buf = calloc(1, sizeof(structsize) + structsize); in elf_note_procstat_rlimit() 865 bcopy(&structsize, buf, sizeof(structsize)); in elf_note_procstat_rlimit() [all …]
|
| /src/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()
|