Searched refs:state_file (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 340 if (script_ps_statefd.state_file) { in script_main_init() 553 statefd->state_file = (state_file_t *)mmap(NULL, in open_state_file() 557 if (statefd->state_file == MAP_FAILED) { in open_state_file() 565 if (statefd->state_file->version != version) { in open_state_file() 566 (void) munmap((void *)statefd->state_file, in open_state_file() 568 statefd->state_file = NULL; in open_state_file() 572 statefd->state_file = NULL; in open_state_file() 587 if (statefd->state_file) { in truncate_state_file() 589 statefd->state_file->max_elements; in truncate_state_file() 591 (void) munmap((void *)statefd->state_file, size); in truncate_state_file() [all …]
|
H A D | rcm_script_impl.h | 169 typedef struct state_file { struct 193 state_file_t *state_file; member
|
/titanic_50/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_statd.c | 113 char state_file[MAXPATHLEN+SM_MAXPATHLEN]; in statd_init() local 139 (void) sprintf(state_file, "%s/statmon/state", path_name[i]); in statd_init() 140 if ((fp_tmp = fopen(state_file, "r+")) == NULL) { in statd_init() 141 if ((fp_tmp = fopen(state_file, "w+")) == NULL) { in statd_init() 145 state_file); in statd_init() 148 (void) chmod(state_file, 0644); in statd_init() 153 "statd: %s: file empty\n", state_file); in statd_init() 188 (void) sprintf(state_file, "%s/statmon/state", path_name[i]); in statd_init() 189 if ((fp_tmp = fopen(state_file, "r+")) == NULL) { in statd_init() 190 if ((fp_tmp = fopen(state_file, "w+")) == NULL) { in statd_init() [all …]
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | inherit_001_pos.ksh | 307 typeset state_file=$1 311 log_note "Reading state from $state_file" 314 grep "^[^#]" $state_file | {
|
/titanic_50/usr/src/cmd/allocate/ |
H A D | allocate3.c | 99 struct state_file { struct 118 static int _dev_file_name(struct state_file *, devmap_t *); argument 312 struct state_file sf; in _list_device() 1011 struct state_file sf; in _deallocate_dev() 1161 struct state_file sf; in _allocate_dev() 1561 _dev_file_name(struct state_file *sfp, devmap_t *dm) in _dev_file_name()
|