Searched refs:state_file (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script_impl.h169 typedef struct state_file { struct
193 state_file_t *state_file; member in struct:state_file_descr
H A Drcm_script.c340 if (script_ps_statefd.state_file) {
553 statefd->state_file = (state_file_t *)mmap(NULL,
557 if (statefd->state_file == MAP_FAILED) {
565 if (statefd->state_file->version != version) {
566 (void) munmap((void *)statefd->state_file,
568 statefd->state_file = NULL;
572 statefd->state_file = NULL;
587 if (statefd->state_file) {
589 statefd->state_file->max_elements;
591 (void) munmap((void *)statefd->state_file, siz
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c113 char state_file[MAXPATHLEN+SM_MAXPATHLEN]; local
139 (void) sprintf(state_file, "%s/statmon/state", path_name[i]);
140 if ((fp_tmp = fopen(state_file, "r+")) == NULL) {
141 if ((fp_tmp = fopen(state_file, "w+")) == NULL) {
145 state_file);
148 (void) chmod(state_file, 0644);
153 "statd: %s: file empty\n", state_file);
188 (void) sprintf(state_file, "%s/statmon/state", path_name[i]);
189 if ((fp_tmp = fopen(state_file, "r+")) == NULL) {
190 if ((fp_tmp = fopen(state_file, "
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dinherit_001_pos.ksh307 typeset state_file=$1
311 log_note "Reading state from $state_file"
314 grep "^[^#]" $state_file | {
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c99 struct state_file { struct
118 static int _dev_file_name(struct state_file *, devmap_t *);
312 struct state_file sf;
1011 struct state_file sf;
1161 struct state_file sf;
1561 _dev_file_name(struct state_file *sfp, devmap_t *dm)

Completed in 67 milliseconds