Searched refs:modid (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/share/examples/kld/syscall/test/
H A Dcall.c41 int modid, syscall_num; local
45 if ((modid = modfind("sys/syscall")) == -1)
47 if (modstat(modid, &stat) != 0)
/freebsd-11-stable/sbin/kldstat/
H A Dkldstat.c48 printmod(int modid) argument
54 if (modstat(modid, &stat) < 0)
55 warn("can't stat module id %d", modid);
69 int modid; local
92 for (modid = kldfirstmod(fileid); modid > 0;
93 modid = modfnext(modid))
94 printmod(modid);
154 int modid; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_module.c230 module_lookupbyid(int modid) argument
237 if (mod->id == modid)
317 if (uap->modid == 0) {
325 mod = module_lookupbyid(uap->modid);
348 mod = module_lookupbyid(uap->modid);
380 mod = module_lookupbyid(uap->modid);
477 mod = module_lookupbyid(uap->modid);
H A Dsystrace_args.c1488 iarg[0] = p->modid; /* int */
1495 iarg[0] = p->modid; /* int */
1503 iarg[0] = p->modid; /* int */
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp676 // Find the module's modid.
678 int64_t modid = ReadUnsignedIntWithSizeInBytes( local
680 if (modid == -1)
690 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid;
697 ", modid=%" PRId64 ", tls_block=0x%" PRIx64 "\n",
699 (int64_t)modid, tls_block);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp585 // Find the module's modid.
586 int modid = ReadInt(m_process, link_map + metadata.modid_offset); local
587 if (modid == -1)
597 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid;
605 ", modid=%i, tls_block=0x%" PRIx64,
606 mod->GetObjectName().AsCString(""), link_map, tp, modid, tls_block);
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c83 int fileid, modid; local
91 for (modid = kldfirstmod(fileid); modid > 0;
92 modid = modfnext(modid)) {
94 if (modstat(modid, &mstat) < 0)
/freebsd-11-stable/sbin/ifconfig/
H A Difconfig.c1500 int i, fileid, modid; local
1541 for (modid = kldfirstmod(fileid); modid > 0;
1542 modid = modfnext(modid)) {
1543 if (modstat(modid, &mstat) < 0)
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c1145 int modid; local
1295 for (modid = kldfirstmod(k_stat->id); modid > 0;
1296 modid = modnext(modid)) {
1297 if (modstat(modid, &ms) != 0) {
1299 modid, k_stat->name, strerror(errno));
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c125 int fileid, modid; local
130 for (modid = kldfirstmod(fileid); modid > 0;
131 modid = modfnext(modid)) {
132 if (modstat(modid, &mstat) < 0)
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c1454 iarg[0] = p->modid; /* int */
1461 iarg[0] = p->modid; /* int */
1469 iarg[0] = p->modid; /* int */
H A Dfreebsd32_proto.h281 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:freebsd32_modstat_args
/freebsd-11-stable/sys/sys/
H A Dsysproto.h793 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:modnext_args
796 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:modstat_args
800 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:modfnext_args

Completed in 297 milliseconds