Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c338 if (script_ps_statefd.state_file) { in script_main_init()
566 statefd->state_file = NULL; in open_state_file()
570 statefd->state_file = NULL; in open_state_file()
585 if (statefd->state_file) { in truncate_state_file()
587 statefd->state_file->max_elements; in truncate_state_file()
590 statefd->state_file = NULL; in truncate_state_file()
615 if (statefd->state_file) in grow_state_file()
658 if (statefd->state_file && in get_state_element()
661 ptr = (char *)(statefd->state_file); in get_state_element()
690 if (statefd->state_file) { in allocate_state_element()
[all …]
H A Drcm_script_impl.h167 typedef struct state_file { struct
191 state_file_t *state_file; argument
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c113 char state_file[MAXPATHLEN+SM_MAXPATHLEN]; in statd_init() local
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()
189 if ((fp_tmp = fopen(state_file, "r+")) == NULL) { in statd_init()
190 if ((fp_tmp = fopen(state_file, "w+")) == NULL) { in statd_init()
192 "can't open %s: %m", state_file); in statd_init()
195 (void) chmod(state_file, 0644); in statd_init()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dinherit_001_pos.ksh313 typeset state_file=$1
317 log_note "Reading state from $state_file"
320 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 *); argument
312 struct state_file sf; in _list_device()
1010 struct state_file sf; in _deallocate_dev()
1160 struct state_file sf; in _allocate_dev()
1560 _dev_file_name(struct state_file *sfp, devmap_t *dm) in _dev_file_name()