Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/linker.h
Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Lines | |||||
int linker_search_symbol_name_flags(caddr_t value, char *buf, u_int buflen, | int linker_search_symbol_name_flags(caddr_t value, char *buf, u_int buflen, | ||||
long *offset, int flags); | long *offset, int flags); | ||||
int linker_search_symbol_name(caddr_t value, char *buf, u_int buflen, | int linker_search_symbol_name(caddr_t value, char *buf, u_int buflen, | ||||
long *offset); | long *offset); | ||||
/* HWPMC helper */ | /* HWPMC helper */ | ||||
void *linker_hwpmc_list_objects(void); | void *linker_hwpmc_list_objects(void); | ||||
/* kldload/kldunload syscalls blocking */ | |||||
#define LINKER_UB_UNLOCK 0x0001 /* busy: unlock kld_sx locked on | |||||
markj: Seems it is unused. | |||||
Done Inline ActionsIn the sense that there is no consumers? Yes but this comes together with keeping the functions global. kib: In the sense that there is no consumers? Yes but this comes together with keeping the… | |||||
Not Done Inline ActionsOk, fair enough. markj: Ok, fair enough. | |||||
return */ | |||||
#define LINKER_UB_LOCKED 0x0002 /* busy/unbusy: kld_sx locked on | |||||
entry */ | |||||
#define LINKER_UB_PCATCH 0x0004 /* busy: sleep interruptible */ | |||||
int linker_kldload_busy(int flags); | |||||
void linker_kldload_unbusy(int flags); | |||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
/* | /* | ||||
* Module information subtypes | * Module information subtypes | ||||
*/ | */ | ||||
#define MODINFO_END 0x0000 /* End of list */ | #define MODINFO_END 0x0000 /* End of list */ | ||||
#define MODINFO_NAME 0x0001 /* Name of module (string) */ | #define MODINFO_NAME 0x0001 /* Name of module (string) */ | ||||
#define MODINFO_TYPE 0x0002 /* Type of module (string) */ | #define MODINFO_TYPE 0x0002 /* Type of module (string) */ | ||||
▲ Show 20 Lines • Show All 171 Lines • Show Last 20 Lines |
Seems it is unused.