Home
last modified time | relevance | path

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

/xnu-10063.101.15/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-10063.101.15/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) {
1084 registration_valid(const decmpfs_registration *registration)
1086 …istration && ((registration->decmpfs_registration == DECMPFS_REGISTRATION_VERSION_V1) || (registra…
1090 register_decmpfs_decompressor(uint32_t compression_type, const decmpfs_registration *registration)
1122 unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registration)
2340 SECURITY_READ_ONLY_EARLY(static decmpfs_registration) Type1Reg =
2342 .decmpfs_registration = DECMPFS_REGISTRATION_VERSION,