Searched refs:registration (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Ddecmpfs.h156 errno_t register_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registration);
157 errno_t unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registration);
/darwin-on-arm/xnu/bsd/kern/
H A Ddecmpfs.c173 /* get the function at the given offset in the registration for the given type */
902 #pragma mark --- registration/validation routines ---
904 static inline int registration_valid(decmpfs_registration *registration) argument
906 return registration && ((registration->decmpfs_registration == DECMPFS_REGISTRATION_VERSION_V1) || (registration->decmpfs_registration == DECMPFS_REGISTRATION_VERSION_V3));
910 register_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registration) argument
918 if ((compression_type >= CMP_MAX) || !registration_valid(registration)) {
925 /* make sure the registration for this type is zero */
930 decompressors[compression_type] = registration;
940 unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registration) argument
[all...]

Completed in 17 milliseconds