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

/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Ddecmpfs.h147 int decmpfs_registration; member in struct:__anon14606
153 } decmpfs_registration; typedef in typeref:struct:__anon14606
156 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);
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Ddecmpfs.c159 static decmpfs_registration * decompressors[CMP_MAX]; /* the registered compressors */
168 #define offsetof_func(func) ((uintptr_t)(&(((decmpfs_registration*)NULL)->func)))
174 decmpfs_registration *reg = decompressors[type];
179 switch (reg->decmpfs_registration) {
254 #define decmp_get_func(type, func) ((typeof(((decmpfs_registration*)NULL)->func))_decmp_get_func(type, offsetof_func(func)))
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)
940 unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registratio
[all...]

Completed in 188 milliseconds