Lines Matching refs:is

164 /* A usable, uncompressed file is stored under this key.
169 * is stored under this key.
173 /* If the file is contained in a larger buffer laid down by the booter or
175 * references are properly tracked. This is always an mkext, right now.
192 * multiple mkext formats. Mkext format 1 is officially retired as of
212 * sKextLock is the principal lock for OSKext, and guards all static
268 * before OSKext is initialized; that call only needs the name
281 /* id */ 0, // loadTag: kernel is always 0
297 // 'kmod' is a holdover from the old kmod system, we can't rename it.
348 * gLoadedKextSummaries is accessed by other modules, but only during
649 sKernelKext->loadTag = sNextLoadTag++; // the kernel is load tag 0
830 * Prelinked kernel's symtab (if there is one).
841 * pageable, unless keepsyms is set. To do that, we have to copy it from
912 #error CONFIG_KXLD is expected for this arch
915 * Dump the LINKEDIT segment, unless keepsyms is set.
1645 /* A bundle path is not mandatory.
1676 /* An executable is not mandatory.
1782 /* Only get the UUID if the existing kext is loaded. Doing so
1784 * take that hit when neither kext is loaded.
1805 * unrelocated executable is no longer around (and we never had it
1826 "Refusing new kext %s, v%s: a %s copy is already present "
1832 /* This condition is significant so log it under warnings.
1843 /* This condition is significant so log it under warnings.
1848 "executable UUID is already present.",
1897 "Kext %s is already registered with a higher/same version (v%s); "
1926 * All other validation is done on the spot as needed.
1963 /* The very next thing to get is the bundle identifier. Unlike
2095 * Not used for prelinked kernel boot as there is no unrelocated
2454 * compressed binary module, if there is one. If all four fields
2487 * kext is a dup. Either way, we don't care here.
2492 // theKext is released at the top of the loop or in the finish block
2542 * This is safe to call in init because there's an implicit retain.
2626 // Add a terminating nul character in case the data is XML.
3009 /* How's this for cheesy? The kernel is only asked to extract
3199 * user-space program is up and talking to us, so we'll switch our kext
3215 "Kext loading is disabled.");
3302 /* Load the kext, with no deferral, since this is a load from outside
3592 /* Remove personalities as requested. This is a bit redundant for a loaded
3718 * this is guaranteed to exist past then.
3873 * or IOKitDebug is nonzero too (we used to do that, but I don't see
3998 * or if is hasn't been linked yet, the unrelocated executable.
4181 /* Create a new request unless one is already sitting
4219 "Kext %s might not load - kextd is currently unavailable.",
4275 // xxx - this is really a basic alloc failure
4329 "Kext %s is already loaded.",
4338 "Kext loading is disabled (attempt to load kext %s).",
4357 /* This is a bit of a hack, because we shouldn't be handling
4471 * struct to point to that of the last loaded kext (which is the way
4532 * This is a bit of a hack, because we shouldn't be handling
4889 "Can't load kext %s - executable is missing.",
5164 * The linkedit segment is used by the kext linker for dependency
5190 * it will fragment the kext into multiple VM regions, which OSKext is not
5473 // xxx - do we need a distinct OSReturn value for these or is "bad data"
5515 "Kext %s module %s pointer is outside of kext range "
5528 * If anything goes wrong with the mapping while the kext is running,
5533 /* Verify that the start/stop function is executable.
5554 "is not executable.",
5596 "Kext %s - page %p is not backed by physical memory.",
5634 "Kext loading is disabled (attempt to start kext %s).",
5733 "Kext %s is now started.",
5807 /* Refuse to stop if we have clients or instances. It is up to
5833 * we are in serious trouble and a kernel panic is likely whether
5866 "Kext %s is now stopped and ready to unload.",
5895 "Kext unloading is disabled (%s).",
5902 /* Refuse to unload if we have clients or instances. It is up to
5906 // xxx - Don't log under errors? this is more of an info thing
5938 /* Note that the kext is unloading before running any code that
5971 * and that would cause a panic on OSKext::free() when metaClasses is freed.
6119 * Assumes sKextLock is held.
6135 /* Create a new request unless one is already sitting
6153 /* We might want to only queue the notification if kextd is active,
6180 /* The first time we destroy the kxldContext is in the first
6253 * This is a static method because the kext will be deallocated if it
6317 /* If there is an old kext summary, free that now.
6328 /* If the system is powering down, don't try to unload anything.
6436 * period as the first time considerUnloads() is called, and we destroy
6458 /* If the system is going to sleep, cancel the reaper thread timer,
6554 * We will rebuild if any kext is not marked prelinked AND is not in our
6573 /* kext is loaded and was not in current kernel cache so let's rebuild
6866 "Error - kext %s declares a dependency on %s, which is not permitted.",
6890 // xxx - is it invalid to do both "com.apple.kernel" and any
7316 * XXX - this function is a big ugly mess
7513 * (That is, don't schedule an unload if one isn't already pending.
7609 /* Note: Nothing in OSKext is supposed to retain requestDict,
7716 /* Empty list of bundle ids is equivalent to no list (get all).
7786 * failure. Info that is just a lookup should just not set the object
7820 /* Empty keys means no keys, but NULL is quicker to check.
8154 /* Bail if any of the essentials is missing. The root class lacks a superclass,
8270 "Resource request callback is in a kext that is not started.");
8275 /* Do not allow any new requests to be made on a kext that is unloading.
8398 * Assumes sKextLock is held.
8425 * Assumes sKextLock is held.
8476 * Assumes sKextLock is held.
8515 * Get the context pointer of the callback record (if there is one).
8610 * Assumes sKextLock is held.
8640 * Assumes sKextLock is held.
8692 * Assumes sKextLock is held.
9000 "Kext %s is not loadable during safe boot; "
9089 * The publisher ID is used to remove personalities from bundles
9127 "Kext loading is disabled (attempt to start matching for kext %s).",
9137 "Kext %s is not loadable during safe boot; "
9263 /* If the config flag itself is changing, log the state change
9265 * so that this is only logged in the kernel.
9313 /* If the config flag itself is changing, log the state change
9315 * arrays, so this is only logged within the kernel.
9346 * This function is called by OSMetaClass during kernel C++ setup.
9580 IOLog("%s: theObject is NULL \n",
9944 /* On a substring match, append the marker (if there is one) and then
10062 * Assumes sKextLock is held.
10217 * Assumes sKextLock is held.
10284 * Assumes sKextLock is held.
10318 /* If the previous summary is large enough, use it (and be sure to make
10464 * the kernel space address is used to match refs, and a zero 'next' flags
10491 * this case is handled by the caller.