| /freebsd-13.1/sbin/kldstat/ |
| H A D | kldstat.c | 53 printmod(int modid) in printmod() argument 59 if (modstat(modid, &stat) < 0) { in printmod() 60 warn("can't stat module id %d", modid); in printmod() 75 int modid; in printfile() local 98 for (modid = kldfirstmod(fileid); modid > 0; modid = modfnext(modid)) in printfile() 99 printmod(modid); in printfile() 120 int c, modid; in main() local 161 if ((modid = modfind(modname)) < 0) { in main() 169 if (modstat(modid, &stat) < 0) in main() 170 warn("can't stat module id %d", modid); in main()
|
| /freebsd-13.1/share/examples/kld/syscall/test/ |
| H A D | call.c | 43 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-13.1/sbin/pfctl/tests/ |
| H A D | pfctl_test.c | 73 int modid; in check_pf_module_available() local 76 if ((modid = modfind("pf")) < 0) { in check_pf_module_available() 81 if (modstat(modid, &stat) < 0) { in check_pf_module_available() 82 warn("can't stat pf module id %d", modid); in check_pf_module_available()
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_module.c | 230 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() 390 mod = module_lookupbyid(uap->modid); in sys_modstat() 514 mod = module_lookupbyid(uap->modid); in freebsd32_modstat()
|
| H A D | systrace_args.c | 1370 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-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
| H A D | DynamicLoaderHexagonDYLD.cpp | 588 int modid = ReadInt(m_process, link_map + metadata.modid_offset); in GetThreadLocalData() local 589 if (modid == -1) in GetThreadLocalData() 599 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid; in GetThreadLocalData() 608 mod->GetObjectName().AsCString(""), link_map, tp, modid, tls_block); in GetThreadLocalData()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DynamicLoaderPOSIXDYLD.cpp | 707 int64_t modid = ReadUnsignedIntWithSizeInBytes( in GetThreadLocalData() local 709 if (modid == -1) in GetThreadLocalData() 719 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid; in GetThreadLocalData() 728 (int64_t)modid, tls_block); in GetThreadLocalData()
|
| /freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_bridge/ |
| H A D | bridge_sys.c | 84 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-13.1/sbin/ifconfig/ |
| H A D | ifconfig.c | 1557 int i, fileid, modid; in ifmaybeload() local 1598 for (modid = kldfirstmod(fileid); modid > 0; in ifmaybeload() 1599 modid = modfnext(modid)) { in ifmaybeload() 1600 if (modstat(modid, &mstat) < 0) in ifmaybeload()
|
| /freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_module.c | 1145 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-13.1/usr.sbin/bsnmpd/modules/snmp_wlan/ |
| H A D | wlan_sys.c | 125 int fileid, modid; in wlan_kmod_load() local 130 for (modid = kldfirstmod(fileid); modid > 0; in wlan_kmod_load() 131 modid = modfnext(modid)) { in wlan_kmod_load() 132 if (modstat(modid, &mstat) < 0) in wlan_kmod_load()
|
| /freebsd-13.1/sys/compat/freebsd32/ |
| H A D | freebsd32_systrace_args.c | 1336 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 D | freebsd32_proto.h | 273 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member
|
| /freebsd-13.1/sys/sys/ |
| H A D | sysproto.h | 742 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
|