Lines Matching defs:state
365 decmpfs_cnode_set_vnode_state(decmpfs_cnode *cp, uint32_t state, int skiplock)
368 cp->cmp_state = state;
369 if (state == FILE_TYPE_UNKNOWN) {
430 #pragma mark --- decmpfs state routines ---
533 return the cached state
535 because this implies that the cached state is valid
629 in the case where the cnode already has a valid cached state
647 we don't want to get/set the state in the cnode, just return 0
652 /* examine the cached a state in this cnode */
666 /* unknown state, assume file is not compressed */
693 /* lock our cnode data so that another caller doesn't change the state under us */
774 /* unknown state, assume file is not compressed */
841 int state;
844 state = decmpfs_fast_get_state(cp);
845 if (state != FILE_IS_CONVERTING) {
848 return state;
1520 /* the file is in an unknown state, so update the state and retry */
1537 and when decmpfs_decompress_file returns, the state should be always be set back to