Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/sys/
H A Ddecmpfs.h259 int decmpfs_registration; member
265 } decmpfs_registration; typedef
268 errno_t register_decmpfs_decompressor(uint32_t compression_type, const decmpfs_registration *regist…
269 errno_t unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registrati…
/xnu-8792.41.9/bsd/kern/
H A Ddecmpfs.c135 static const decmpfs_registration *decompressors[CMP_MAX]; /* the registered compressors */
142 #define offsetof_func(func) ((uintptr_t)offsetof(decmpfs_registration, func))
148 const decmpfs_registration *reg = decompressors[type];
150 switch (reg->decmpfs_registration) {
1056 registration_valid(const decmpfs_registration *registration)
1058 …istration && ((registration->decmpfs_registration == DECMPFS_REGISTRATION_VERSION_V1) || (registra…
1062 register_decmpfs_decompressor(uint32_t compression_type, const decmpfs_registration *registration)
1094 unregister_decmpfs_decompressor(uint32_t compression_type, decmpfs_registration *registration)
2310 SECURITY_READ_ONLY_EARLY(static decmpfs_registration) Type1Reg =
2312 .decmpfs_registration = DECMPFS_REGISTRATION_VERSION,