Home
last modified time | relevance | path

Searched refs:n_type (Results 1 – 25 of 82) sorted by relevance

1234

/freebsd/lib/libprocstat/
H A Dcore.c61 unsigned int n_type; member
67 { .n_type = NT_PROCSTAT_GROUPS, .structsize = sizeof(gid_t) },
68 { .n_type = NT_PROCSTAT_UMASK, .structsize = sizeof(u_short) },
70 { .n_type = NT_PROCSTAT_OSREL, .structsize = sizeof(int) },
71 { .n_type = NT_PROCSTAT_PSSTRINGS, .structsize = sizeof(vm_offset_t) },
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_AUXV, .structsize = sizeof(Elf_Auxinfo) },
75 { .n_type = NT_PTLWPINFO, .structsize = sizeof(struct ptrace_lwpinfo) },
203 if (nhdr.n_type != psc_type_info[type].n_type) in procstat_core_get()
[all …]
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dioctl.py109 return cls(hdr.n_type)
145 self = cls(hdr.n_type, data)
163 obj_descr = attr_map.get(hdr.n_type, None)
191 def __init__(self, obj_type, idx=0, n_set=0, n_type=0, name=None): argument
195 self.n_type = n_type
210 self = cls(hdr.head.n_type, hdr.idx, hdr.n_set, hdr.n_type, name)
221 n_type=self.n_type,
228 self.n_type, self.n_set, self.n_idx, self.n_name
262 self = cls(hdr.head.n_type, obj_list=tlv_list)
372 return cls(chdr.head.n_type, obj_list=rule_list)
[all …]
/freebsd/lib/libc/gen/
H A Dnlist.c206 p->n_type = 0; in __elf_fdnlist()
268 nl->n_type = N_UNDF; in elf_sym_to_nlist()
271 nl->n_type = ELF_ST_TYPE(s->st_info) == STT_FILE ? in elf_sym_to_nlist()
276 nl->n_type = N_UNDF; in elf_sym_to_nlist()
280 nl->n_type = sh->sh_type == SHT_PROGBITS ? in elf_sym_to_nlist()
289 nl->n_type |= N_EXT; in elf_sym_to_nlist()
/freebsd/lib/libkvm/
H A Dkvm_private.c535 list[i].n_type = nl[i].n_type; in kvm_fdnlist()
548 list->n_type = 0; in kvm_fdnlist()
551 list->n_type = N_DATA | N_EXT; in kvm_fdnlist()
580 if (p->n_type != N_UNDF) in kvm_fdnlist_prefix()
604 if (p->n_type != N_UNDF) in kvm_fdnlist_prefix()
627 if (np->n_type != N_UNDF) in kvm_fdnlist_prefix()
635 if (p->n_type != N_UNDF) in kvm_fdnlist_prefix()
642 p->n_type = np->n_type; in kvm_fdnlist_prefix()
650 if (np->n_type != N_UNDF) in kvm_fdnlist_prefix()
700 if (p->n_type != N_UNDF) in _kvm_nlist()
[all …]
H A Dkvm_getloadavg.c73 if (kvm_nlist(kd, nl) != 0 && nl[X_AVERUNNABLE].n_type == 0) { in kvm_getloadavg()
90 if (nl[X_FSCALE].n_type != 0 && in kvm_getloadavg()
H A Dkvm.h62 unsigned char n_type; member
/freebsd/usr.bin/mail/
H A Dnames.c55 np->n_type = ntype; in nalloc()
125 if (ntype && (p->n_type & GMASK) != ntype) in detract()
137 if (ntype && (p->n_type & GMASK) != ntype) in detract()
409 np->n_type |= GDEL; in outof()
467 new = gexpand(new, gh, metoo, np->n_type); in usermap()
514 np->n_type |= GDEL; in gexpand()
577 if ((n->n_type & GDEL) == 0) in unpack()
706 if ((np->n_type & GDEL) == 0) in count()
H A Dsend.c429 if (np->n_type & GDEL) in fixhead()
431 if ((np->n_type & GMASK) == GTO) in fixhead()
433 cat(hp->h_to, nalloc(np->n_name, np->n_type)); in fixhead()
434 else if ((np->n_type & GMASK) == GCC) in fixhead()
436 cat(hp->h_cc, nalloc(np->n_name, np->n_type)); in fixhead()
437 else if ((np->n_type & GMASK) == GBCC) in fixhead()
439 cat(hp->h_bcc, nalloc(np->n_name, np->n_type)); in fixhead()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp606 if ((note.info.n_type == ELF::NT_PRSTATUS && have_prstatus) || in parseFreeBSDNotes()
607 (note.info.n_type == ELF::NT_PRPSINFO && have_prpsinfo)) { in parseFreeBSDNotes()
616 switch (note.info.n_type) { in parseFreeBSDNotes()
685 if (note.info.n_type == NETBSD::NT_PROCINFO) { in parseNetBSDNotes()
691 } else if (note.info.n_type == NETBSD::NT_AUXV) { in parseNetBSDNotes()
705 if (note.info.n_type == NETBSD::AARCH64::NT_REGS) { in parseNetBSDNotes()
731 if (note.info.n_type == NETBSD::I386::NT_REGS) { in parseNetBSDNotes()
746 } else if (note.info.n_type == NETBSD::I386::NT_FPREGS) { in parseNetBSDNotes()
757 if (note.info.n_type == NETBSD::AMD64::NT_REGS) { in parseNetBSDNotes()
838 switch (note.info.n_type) { in parseOpenBSDNotes()
[all …]
H A DRegisterUtilities.cpp37 Notes, [Type](const CoreNote &Note) { return Note.info.n_type == Type; }); in getRegset()
/freebsd/contrib/llvm-project/lld/MachO/
H A DMachOStructs.h24 uint8_t n_type; member
32 uint8_t n_type; member
H A DInputFiles.cpp681 if (sym.n_type & N_EXT) { in createDefined()
684 bool isPrivateExtern = sym.n_type & N_PEXT || forceHidden; in createDefined()
740 if (sym.n_type & N_EXT) { in createAbsolute()
760 uint8_t type = sym.n_type & N_TYPE; in parseNonSectionSymbol()
761 bool isPrivateExtern = sym.n_type & N_PEXT || forceHidden; in parseNonSectionSymbol()
774 if (!(sym.n_type & N_EXT)) in parseNonSectionSymbol()
795 return (sym.n_type & N_TYPE) == N_UNDF && sym.n_value == 0; in isUndef()
813 if (sym.n_type & N_STAB) in parseSymbols()
816 if ((sym.n_type & N_TYPE) == N_SECT) { in parseSymbols()
873 nList[lhs].n_type & N_EXT && nList[rhs].n_type & N_EXT) in parseSymbols()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObject.h108 uint8_t n_type; member
113 bool isExternalSymbol() const { return n_type & MachO::N_EXT; } in isExternalSymbol()
118 return (n_type & MachO::N_TYPE) == MachO::N_UNDF; in isUndefinedSymbol()
H A DMachOObjcopy.cpp99 (Sym.n_type & llvm::MachO::N_EXT) && in updateAndRemoveSymbols()
100 (Sym.n_type & llvm::MachO::N_TYPE) != llvm::MachO::N_UNDF; in updateAndRemoveSymbols()
120 if (Config.DiscardMode == DiscardType::All && !(N->n_type & MachO::N_EXT)) in updateAndRemoveSymbols()
123 if (Config.StripDebug && (N->n_type & MachO::N_STAB)) in updateAndRemoveSymbols()
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c279 nlist.n_type = nlist_32.n_type; in scan_macho_load_commands()
284 if ((nlist.n_type & N_STAB) == 0 && in scan_macho_load_commands()
285 ((nlist.n_type & N_EXT) == 1 || in scan_macho_load_commands()
286 ((nlist.n_type & N_TYPE) == N_TYPE && nlist.n_sect != NO_SECT)) && in scan_macho_load_commands()
309 nlist.n_type = nlist_32.n_type; in scan_macho_load_commands()
314 if ((nlist.n_type & N_STAB) == 0 && in scan_macho_load_commands()
315 ((nlist.n_type & N_EXT) == 1 || in scan_macho_load_commands()
316 ((nlist.n_type & N_TYPE) == N_TYPE && nlist.n_sect != NO_SECT)) && in scan_macho_load_commands()
/freebsd/usr.bin/elfctl/
H A Delfctl.c401 note.n_type = bswap32(note.n_type); in get_file_features()
424 note.n_type != NT_FREEBSD_FEATURE_CTL) { in get_file_features()
/freebsd/cddl/contrib/opensolaris/head/
H A Dnlist.h40 unsigned short n_type; /* type and derived type */ member
H A Dsyms.h59 unsigned short n_type; /* type and derived type */ member
/freebsd/sys/sys/
H A Dnlist_aout.h58 unsigned char n_type; /* type defines */ member
/freebsd/usr.bin/vmstat/
H A Dvmstat.c306 if (namelist[X_SUM].n_type == 0 && in main()
316 if (namelist[X_NINTRCNT].n_type == 0 && c == 1) in main()
320 if (namelist[c].n_type == 0) in main()
327 if (namelist[c].n_type == 0) { in main()
669 if (namelist[X_STATHZ].n_type != 0 && in dovmstat()
1190 if (namelist[X_NINTRCNT].n_type == 0) in read_intrcnts()
1260 if (namelist[X_NINTRCNT].n_type == 0) in dointr()
1572 if (namelist[nlx].n_type == 0 || namelist[nlx].n_value == 0) { in kreado()
/freebsd/usr.sbin/iostat/
H A Diostat.c123 .n_type = 0, .n_other = 0, .n_desc = 0, .n_value = 0 },
126 .n_type = 0, .n_other = 0, .n_desc = 0, .n_value = 0 },
129 .n_type = 0, .n_other = 0, .n_desc = 0, .n_value = 0 },
132 .n_type = 0, .n_other = 0, .n_desc = 0, .n_value = 0 },
/freebsd/lib/libkvm/tests/
H A Dkvm_read_test.c72 if (nl[X_MAXCPUS].n_type == 0) in ATF_TC_BODY()
H A Dkvm_geterr_test.c113 if (nl[X_MAXCPUS].n_type == 0) in ATF_TC_BODY()
/freebsd/contrib/file/src/
H A Dreadelf.h265 Elf32_Word n_type; /* Content type */ member
271 Elf64_Word n_type; member
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_globals.cpp70 if (nhdr->n_type != NT_LLVM_HWASAN_GLOBALS || in HwasanGlobalsFor()

1234