Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/sys/
H A Ddecmpfs.h269 int decmpfs_registration; member
275 } decmpfs_registration; typedef
278 errno_t register_decmpfs_decompressor(uint32_t compression_type, const decmpfs_registration *regist…
279 errno_t unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registrati…
/xnu-12377.61.12/bsd/kern/
H A Ddecmpfs.c163 static const decmpfs_registration *decompressors[CMP_MAX]; /* the registered compressors */
170 #define offsetof_func(func) ((uintptr_t)offsetof(decmpfs_registration, func))
176 const decmpfs_registration *reg = decompressors[type];
178 switch (reg->decmpfs_registration) {
1086 registration_valid(const decmpfs_registration *registration)
1088 …istration && ((registration->decmpfs_registration == DECMPFS_REGISTRATION_VERSION_V1) || (registra…
1092 register_decmpfs_decompressor(uint32_t compression_type, const decmpfs_registration *registration)
1124 unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registration)
2344 SECURITY_READ_ONLY_EARLY(static decmpfs_registration) Type1Reg =
2346 .decmpfs_registration = DECMPFS_REGISTRATION_VERSION,