Lines Matching refs:hfs_gcb
70 hfs_callbacks hfs_gcb; /* global callbacks */
106 memcpy(&hfs_gcb, in_callbacks, sizeof(hfs_callbacks));
2205 if (hfs_gcb.error != NULL) {
2207 hfs_gcb.error(in_format, in_file, in_line, ap);
2215 if (hfs_gcb.allocmem != NULL)
2216 return hfs_gcb.allocmem(size, cbargs);
2224 if (hfs_gcb.reallocmem != NULL)
2225 return hfs_gcb.reallocmem(ptr, size, cbargs);
2233 if (hfs_gcb.freemem != NULL && ptr != NULL)
2234 hfs_gcb.freemem(ptr, cbargs);
2243 if (hfs_gcb.openvol != NULL && in_device != NULL)
2244 return hfs_gcb.openvol(in_vol, in_device, cbargs);
2252 if (hfs_gcb.closevol != NULL)
2253 hfs_gcb.closevol(in_vol, cbargs);
2267 if (hfs_gcb.read != NULL)
2268 return hfs_gcb.read(in_vol, out_bytes, in_length, in_offset, cbargs);