Lines Matching refs:decmpfs_cnode
119 decmpfs_cnode* hfs_lazy_init_decmpfs_cnode (struct cnode *cp);
295 * hfs_lazy_init_decmpfs_cnode(): returns the decmpfs_cnode for a cnode,
299 decmpfs_cnode *
303 decmpfs_cnode *dp = NULL;
304 MALLOC_ZONE(dp, decmpfs_cnode *, sizeof(decmpfs_cnode), M_DECMPFS_CNODE, M_WAITOK);
311 /* another thread got here first, so free the decmpfs_cnode we allocated */
322 * if the file's compressed flag is set, makes sure that the decmpfs_cnode field
336 decmpfs_cnode *dp = hfs_lazy_init_decmpfs_cnode(cp);
342 /* flag was set, see if the decmpfs_cnode state is valid (zero == invalid) */
353 /* decmpfs hasn't seen this file yet, so call decmpfs_file_is_compressed() to init the decmpfs_cnode struct */
357 ret = decmpfs_file_is_compressed(data_vp, VTOCMP(data_vp)); // fill in decmpfs_cnode
1467 decmpfs_cnode *dp = VTOCMP(vp);
1470 * call hfs_lazy_init_decmpfs_cnode() to make sure that the decmpfs_cnode
1471 * is filled in; we need a decmpfs_cnode to lock out decmpfs state changes
1476 /* failed to allocate a decmpfs_cnode */
1701 decmpfs_cnode *dp = VTOCMP(vp);
1704 * call hfs_lazy_init_decmpfs_cnode() to make sure that the decmpfs_cnode
1705 * is filled in; we need a decmpfs_cnode to prevent decmpfs state changes
1710 /* failed to allocate a decmpfs_cnode */