Lines Matching refs:registration
173 /* 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)
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)
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)
948 if ((compression_type >= CMP_MAX) || !registration_valid(registration)) {
954 if (decompressors[compression_type] != registration) {