Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/kldstat/
H A Dkldstat.c53 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 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-13.1/sbin/pfctl/tests/
H A Dpfctl_test.c73 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 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()
390 mod = module_lookupbyid(uap->modid); in sys_modstat()
514 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-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp588 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 DDynamicLoaderPOSIXDYLD.cpp707 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 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-13.1/sbin/ifconfig/
H A Difconfig.c1557 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 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-13.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c125 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 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.h273 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; member
/freebsd-13.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