Lines Matching defs:flags

419     KXLDAllocateFlags * flags,
461 *flags = kKxldAllocateWritable;
537 #define notifyAddClassObservers(kext, addedClass, flags) \
542 #define notifyRemoveClassObservers(kext, removedClass, flags) \
551 #define notifyAddClassObservers(kext, addedClass, flags)
552 #define notifyRemoveClassObservers(kext, removedClass, flags)
605 /* Read the log flag boot-args and set the log flags.
610 // log this if any flags are set
656 sKernelKext->flags.hasAllDependencies = 1;
657 sKernelKext->flags.kernelComponent = 1;
658 sKernelKext->flags.prelinked = 0;
659 sKernelKext->flags.loaded = 1;
660 sKernelKext->flags.started = 1;
661 sKernelKext->flags.CPPInitialized = 0;
662 sKernelKext->flags.jettisonLinkeditSeg = 0;
1290 bool result = flags.autounloadEnabled ? true : false;
1291 flags.autounloadEnabled = flag ? 1 : 0;
1299 flags.autounloadEnabled ? "en" : "dis");
1528 flags.prelinked = true;
1955 /* Check right away if the info dictionary has any log flags.
1960 flags.loggingEnabled = 1;
2058 /* Set flags for later use if the infoDict gets flushed. We only
2064 flags.interface = 1;
2070 flags.kernelComponent = 1;
2071 flags.interface = 1; // xxx - hm. the kernel itself isn't an interface...
2072 flags.started = 1;
2076 flags.hasAllDependencies = 1;
3839 return flags.interface;
3855 return flags.kernelComponent ? true : false;
3912 return flags.prelinked ? true : false;
3919 return flags.loaded ? true : false;
3927 return flags.started ? true : false;
3935 return flags.CPPInitialized;
3943 flags.CPPInitialized = initialized;
4247 theKext->flags.delayAutounload = 1;
4468 flags.loaded = true;
4517 if (isExecutable() && !flags.started) {
4906 if (flags.hasBleedthrough) {
5182 if (sKeepSymbols || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditSeg) {
5184 if (sKeepSymbols || isLibrary() || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditSeg) {
5221 flags.jettisonLinkeditSeg = 1;
5293 if (!flags.dtraceInitialized && (dtrace_modload != NULL)) {
5301 flags.dtraceInitialized = true;
5314 if (flags.dtraceInitialized && (dtrace_modunload != NULL)) {
5316 flags.dtraceInitialized = false;
5691 flags.starting = 1;
5721 flags.starting = 0;
5727 flags.started = 1;
5849 flags.stopping = 1;
5858 flags.stopping = 0;
5861 flags.started = 0;
5943 flags.unloading = 1;
6085 flags.loaded = false;
6114 flags.unloading = 0;
6267 !aKext->flags.autounloadEnabled ||
6275 if (aKext->flags.delayAutounload) {
6281 aKext->flags.delayAutounload = 0;
6636 if (flags.hasAllDependencies) {
6929 flags.hasBleedthrough = true;
6978 flags.hasAllDependencies = 1;
7067 flags.hasAllDependencies = 0;
7135 if (!flags.autounloadEnabled) {
7148 flags.autounloadEnabled = 1;
7154 notifyAddClassObservers(this, aClass, flags);
7203 notifyRemoveClassObservers(this, aClass, flags);
7864 if (flags.jettisonLinkeditSeg) {
8267 if (!callbackKext->flags.starting && !callbackKext->flags.started) {
8277 if (callbackKext->flags.stopping) {
8551 if (!callbackKext->flags.starting && !callbackKext->flags.started) {
9271 "User-space log flags changed from 0x%x to 0x%x.",
9321 "User-space log flags changed from 0x%x to 0x%x.",
9364 inline const char * colorForFlags(OSKextLogSpec flags)
9366 OSKextLogSpec logLevel = flags & kOSKextLogLevelMask;
9415 /* Warnings and errors are logged regardless of the flags.
9428 /* Warnings and errors are logged regardless of the flags.
9429 * All other messages must fit the flags and
9478 if (!aKext || aKext->flags.loggingEnabled) {
9524 * log flags.
10415 summary->flags = 0;
10464 * the kernel space address is used to match refs, and a zero 'next' flags