/freebsd-10.1-release/lib/libc/gen/ |
H A D | __getosreldate.c | 53 int error, osrel; local 64 osrel = 0; 65 len = sizeof(osrel); 66 error = sysctl(oid, 2, &osrel, &len, NULL, 0); 67 if (error == 0 && osrel > 0 && len == sizeof(osrel)) 68 osreldate = osrel;
|
/freebsd-10.1-release/sys/fs/procfs/ |
H A D | procfs_osrel.c | 45 int ov, osrel, i; local 55 osrel = 0; 60 ov = osrel * 10 + *pp++ - '0'; 61 if (ov < osrel) 63 osrel = ov; 65 p->p_osrel = osrel;
|
/freebsd-10.1-release/usr.bin/procstat/ |
H A D | procstat_bin.c | 45 int osrel; local 55 if (procstat_getosrel(prstat, kipp, &osrel) != 0) 60 printf("%8d ", osrel);
|
/freebsd-10.1-release/sys/compat/linux/ |
H A D | linux_mib.c | 232 linux_map_osrel(char *osrelease, int *osrel) argument 237 LIN_SDT_PROBE2(mib, linux_map_osrel, entry, osrelease, osrel); 265 *osrel = v; 386 int error, jsys, len, osrel, oss_version; local 447 error = linux_map_osrel(osrelease, &osrel); 734 int osrel; local 739 osrel = lpr->pr_osrel; 742 LIN_SDT_PROBE1(mib, linux_kernver, return, osrel); 743 return (osrel);
|
/freebsd-10.1-release/sys/kern/ |
H A D | imgact_elf.c | 89 const char *interp, int interp_name_len, int32_t *osrel); 97 int32_t *osrel); 98 static boolean_t kfreebsd_trans_osrel(const Elf_Note *note, int32_t *osrel); 100 Elf_Brandnote *checknote, int32_t *osrel); 160 __elfN(freebsd_trans_osrel)(const Elf_Note *note, int32_t *osrel) argument 166 *osrel = *(const int32_t *)(p); 184 kfreebsd_trans_osrel(const Elf_Note *note, int32_t *osrel) argument 200 *osrel = desc[1] * 100000 + desc[2] * 1000 + desc[3]; 260 int interp_name_len, int32_t *osrel) 281 ret = __elfN(check_note)(imgp, bi->brand_note, osrel); 259 get_brandinfo(struct image_params *imgp, const char *interp, int interp_name_len, int32_t *osrel) argument 726 int32_t osrel = 0; local 1972 parse_notes(struct image_params *imgp, Elf_Brandnote *checknote, int32_t *osrel, const Elf_Phdr *pnote) argument 2024 check_note(struct image_params *imgp, Elf_Brandnote *checknote, int32_t *osrel) argument [all...] |
H A D | kern_proc.c | 2655 int flags, error, osrel; local 2660 if (req->newptr != NULL && req->newlen != sizeof(osrel)) 2677 error = SYSCTL_IN(req, &osrel, sizeof(osrel)); 2680 if (osrel < 0) { 2684 p->p_osrel = osrel; 2850 static SYSCTL_NODE(_kern_proc, KERN_PROC_OSREL, osrel, CTLFLAG_RW |
|
/freebsd-10.1-release/libexec/rtld-elf/ |
H A D | rtld.h | 244 int32_t osrel; /* OSREL note value */ member in struct:Struct_Obj_Entry
|
H A D | rtld.c | 1328 /* FreeBSD osrel note */ 1331 obj->osrel = *(const int32_t *)(p); 1332 dbg("note osrel %d", obj->osrel); 4804 int error, osrel; local 4811 osrel = 0; 4812 len = sizeof(osrel); 4813 error = sysctl(oid, 2, &osrel, &len, NULL, 0); 4814 if (error == 0 && osrel > 0 && len == sizeof(osrel)) [all...] |
/freebsd-10.1-release/sys/i386/linux/ |
H A D | linux_sysvec.c | 112 static boolean_t linux_trans_osrel(const Elf_Note *note, int32_t *osrel); 1024 linux_trans_osrel(const Elf_Note *note, int32_t *osrel) argument 1037 * For linux we encode osrel as follows (see linux_mib.c): 1040 *osrel = desc[1] * 1000000 + desc[2] * 1000 + desc[3];
|
/freebsd-10.1-release/sys/amd64/linux32/ |
H A D | linux32_sysvec.c | 129 static boolean_t linux32_trans_osrel(const Elf_Note *note, int32_t *osrel); 1049 linux32_trans_osrel(const Elf_Note *note, int32_t *osrel) argument 1062 * For linux we encode osrel as follows (see linux_mib.c): 1065 *osrel = desc[1] * 1000000 + desc[2] * 1000 + desc[3];
|