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

/freebsd-head/share/examples/kld/syscall/test/
H A Dcall.c43 int modid, syscall_num; local
47 if ((modid = modfind("sys/syscall")) == -1)
49 if (modstat(modid, &stat) != 0)
/freebsd-head/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
94 for (modid = kldfirstmod(fileid); modid > 0;
95 modid = modfnext(modid))
96 printmod(modid);
156 int modid; local
[all...]
/freebsd-head/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.c1370 iarg[0] = p->modid; /* int */
1377 iarg[0] = p->modid; /* int */
1385 iarg[0] = p->modid; /* int */
/freebsd-head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp590 // Find the module's modid.
591 int modid = ReadInt(m_process, link_map + metadata.modid_offset); local
592 if (modid == -1)
602 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid;
610 ", modid=%i, tls_block=0x%" PRIx64,
611 mod->GetObjectName().AsCString(""), link_map, tp, modid,
/freebsd-head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp682 // Find the module's modid.
684 int64_t modid = ReadUnsignedIntWithSizeInBytes( local
686 if (modid == -1)
696 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid;
703 ", modid=%" PRId64 ", tls_block=0x%" PRIx64 "\n",
705 (int64_t)modid, tls_block);
/freebsd-head/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c84 int fileid, modid; local
92 for (modid = kldfirstmod(fileid); modid > 0;
93 modid = modfnext(modid)) {
95 if (modstat(modid, &mstat) < 0)
/freebsd-head/sbin/ifconfig/
H A Difconfig.c1450 int i, fileid, modid; local
1491 for (modid = kldfirstmod(fileid); modid > 0;
1492 modid = modfnext(modid)) {
1493 if (modstat(modid, &mstat) < 0)
/freebsd-head/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-head/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c126 int fileid, modid; local
131 for (modid = kldfirstmod(fileid); modid > 0;
132 modid = modfnext(modid)) {
133 if (modstat(modid, &mstat) < 0)
/freebsd-head/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c1336 iarg[0] = p->modid; /* int */
1343 iarg[0] = p->modid; /* int */
1351 iarg[0] = p->modid; /* int */
H A Dfreebsd32_proto.h264 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:freebsd32_modstat_args
/freebsd-head/sys/sys/
H A Dsysproto.h742 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:modnext_args
745 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:modstat_args
749 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member in struct:modfnext_args

Completed in 825 milliseconds