Home
last modified time | relevance | path

Searched refs:LOCAL_STATE (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c81 int LOCAL_STATE; variable
129 if ((fscanf(fp, "%d", &LOCAL_STATE)) == EOF) { in statd_init()
132 LOCAL_STATE = 0; in statd_init()
157 if (tmp_state > LOCAL_STATE) { in statd_init()
158 LOCAL_STATE = tmp_state; in statd_init()
166 LOCAL_STATE = ((LOCAL_STATE%2) == 0) ? LOCAL_STATE+1 : LOCAL_STATE+2; in statd_init()
169 if (LOCAL_STATE < 0) { in statd_init()
170 LOCAL_STATE = 1; in statd_init()
179 (void) fprintf(fp, "%-10d", LOCAL_STATE); in statd_init()
197 (void) fprintf(fp_tmp, "%-10d", LOCAL_STATE); in statd_init()
[all …]
H A Dsm_statd.h155 extern int LOCAL_STATE;
H A Dsm_proc.c109 resp->state = LOCAL_STATE; in sm_stat_svc()