Home
last modified time | relevance | path

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

/freebsd-12.1/sbin/kldstat/
H A Dkldstat.c48 printmod(int modid) in printmod() argument
54 if (modstat(modid, &stat) < 0) in printmod()
55 warn("can't stat module id %d", modid); in printmod()
69 int modid; in printfile() local
94 for (modid = kldfirstmod(fileid); modid > 0; in printfile()
95 modid = modfnext(modid)) in printfile()
96 printmod(modid); in printfile()
156 int modid; in main() local
159 if ((modid = modfind(modname)) < 0) { in main()
168 if (modstat(modid, &stat) < 0) in main()
[all …]
/freebsd-12.1/share/examples/kld/syscall/test/
H A Dcall.c43 int modid, syscall_num; in main() local
47 if ((modid = modfind("sys/syscall")) == -1) in main()
49 if (modstat(modid, &stat) != 0) in main()
/freebsd-12.1/sys/kern/
H A Dkern_module.c230 module_lookupbyid(int modid) in module_lookupbyid() argument
237 if (mod->id == modid) in module_lookupbyid()
317 if (uap->modid == 0) { in sys_modnext()
325 mod = module_lookupbyid(uap->modid); in sys_modnext()
348 mod = module_lookupbyid(uap->modid); in sys_modfnext()
380 mod = module_lookupbyid(uap->modid); in sys_modstat()
477 mod = module_lookupbyid(uap->modid); in freebsd32_modstat()
H A Dsystrace_args.c1370 iarg[0] = p->modid; /* int */ in systrace_args()
1377 iarg[0] = p->modid; /* int */ in systrace_args()
1385 iarg[0] = p->modid; /* int */ in systrace_args()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp589 int modid = ReadInt(m_process, link_map + metadata.modid_offset); in GetThreadLocalData() local
590 if (modid == -1) in GetThreadLocalData()
600 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid; in GetThreadLocalData()
609 mod->GetObjectName().AsCString(""), link_map, tp, modid, in GetThreadLocalData()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp681 int64_t modid = ReadUnsignedIntWithSizeInBytes( in GetThreadLocalData() local
683 if (modid == -1) in GetThreadLocalData()
693 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid; in GetThreadLocalData()
702 (int64_t)modid, tls_block); in GetThreadLocalData()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c84 int fileid, modid; in bridge_kmod_load() local
92 for (modid = kldfirstmod(fileid); modid > 0; in bridge_kmod_load()
93 modid = modfnext(modid)) { in bridge_kmod_load()
95 if (modstat(modid, &mstat) < 0) in bridge_kmod_load()
/freebsd-12.1/sbin/ifconfig/
H A Difconfig.c1442 int i, fileid, modid; in ifmaybeload() local
1483 for (modid = kldfirstmod(fileid); modid > 0; in ifmaybeload()
1484 modid = modfnext(modid)) { in ifmaybeload()
1485 if (modstat(modid, &mstat) < 0) in ifmaybeload()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c1145 int modid; in dt_module_update() local
1295 for (modid = kldfirstmod(k_stat->id); modid > 0; in dt_module_update()
1296 modid = modnext(modid)) { in dt_module_update()
1297 if (modstat(modid, &ms) != 0) { in dt_module_update()
1299 modid, k_stat->name, strerror(errno)); in dt_module_update()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c126 int fileid, modid; in wlan_kmod_load() local
131 for (modid = kldfirstmod(fileid); modid > 0; in wlan_kmod_load()
132 modid = modfnext(modid)) { in wlan_kmod_load()
133 if (modstat(modid, &mstat) < 0) in wlan_kmod_load()
/freebsd-12.1/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c1336 iarg[0] = p->modid; /* int */ in systrace_args()
1343 iarg[0] = p->modid; /* int */ in systrace_args()
1351 iarg[0] = p->modid; /* int */ in systrace_args()
H A Dfreebsd32_proto.h264 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member
/freebsd-12.1/sys/sys/
H A Dsysproto.h742 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member
745 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member
749 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member