Searched refs:statefd (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 526 state_file_descr_t *statefd, 534 if ((statefd->fd = open(filename, O_CREAT|O_RDWR, 0600)) == 543 if (fstat(statefd->fd, &stats) != 0) { 553 statefd->state_file = (state_file_t *)mmap(NULL, 555 statefd->fd, 0); 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; 569 (void) ftruncate(statefd 525 open_state_file(const char *filename, state_file_descr_t *statefd, size_t element_size, int chunk_size, uint32_t version) argument 583 truncate_state_file(state_file_descr_t *statefd) argument 598 close_state_file(const char *filename, state_file_descr_t *statefd) argument 610 grow_state_file(state_file_descr_t *statefd) argument 656 get_state_element(state_file_descr_t *statefd, int index, int *flag) argument 686 allocate_state_element(state_file_descr_t *statefd, int *index) argument [all...] |
Completed in 45 milliseconds