Searched refs:structsize (Results 1 – 4 of 4) sorted by relevance
/freebsd/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 …]
|
/freebsd/sys/kern/ |
H A D | imgact_elf.c | 2381 int structsize; in __elfN() local 2383 size = sizeof(structsize) + sizeof(pl); in __elfN() 2386 structsize = sizeof(pl); in __elfN() 2387 memcpy(buf, &structsize, sizeof(structsize)); in __elfN() 2488 int structsize; in __elfN() local 2491 size = sizeof(structsize) + p->p_numthreads * in __elfN() 2496 structsize = sizeof(elf_kinfo_proc_t); in __elfN() 2497 sbuf_bcat(sb, &structsize, sizeof(structsize)); in __elfN() 2516 int structsize, filedesc_flags; in note_procstat_files() local 2524 structsize = sizeof(struct kinfo_file); in note_procstat_files() [all …]
|
/freebsd/usr.bin/gcore/ |
H A D | elfcore.c | 761 int name[5], structsize; in procstat_sysctl() local 765 structsize = structsz; in procstat_sysctl() 773 buf = calloc(1, sizeof(structsize) + len * 4 / 3); in procstat_sysctl() 776 bcopy(&structsize, buf, sizeof(structsize)); in procstat_sysctl() 777 p = (char *)buf + sizeof(structsize); in procstat_sysctl() 781 *sizep = sizeof(structsize) + len; in procstat_sysctl() 859 int i, name[5], structsize; in elf_note_procstat_rlimit() local 863 structsize = sizeof(struct rlimit) * RLIM_NLIMITS; in elf_note_procstat_rlimit() 864 buf = calloc(1, sizeof(structsize) + structsize); in elf_note_procstat_rlimit() 867 bcopy(&structsize, buf, sizeof(structsize)); in elf_note_procstat_rlimit() [all …]
|
/freebsd/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()
|