Lines Matching refs:ch_state
79 if (chandle->ch_state != SMB_CACHE_STATE_NOCACHE) {
87 chandle->ch_state = SMB_CACHE_STATE_READY;
109 switch (chandle->ch_state) {
119 chandle->ch_state = SMB_CACHE_STATE_DESTROYING;
127 chandle->ch_state = SMB_CACHE_STATE_NOCACHE;
310 switch (chandle->ch_state) {
312 chandle->ch_state = SMB_CACHE_STATE_REFRESHING;
317 while (chandle->ch_state == SMB_CACHE_STATE_REFRESHING)
321 if (chandle->ch_state == SMB_CACHE_STATE_READY) {
322 chandle->ch_state = SMB_CACHE_STATE_REFRESHING;
355 switch (chandle->ch_state) {
357 chandle->ch_state = SMB_CACHE_STATE_READY;
385 switch (chandle->ch_state) {
474 while (chandle->ch_state == SMB_CACHE_STATE_REFRESHING) {
481 return (chandle->ch_state == SMB_CACHE_STATE_READY);