Searched refs:max_elements (Results 1 – 3 of 3) sorted by relevance
587 statefd->state_file->max_elements; in truncate_state_file()611 int max_elements; in grow_state_file() local614 max_elements = statefd->chunk_size; in grow_state_file()616 max_elements += statefd->state_file->max_elements; in grow_state_file()619 statefd->element_size * max_elements; in grow_state_file()641 statefd->index = statefd->state_file->max_elements; in grow_state_file()642 statefd->state_file->max_elements = max_elements; in grow_state_file()659 (index < statefd->state_file->max_elements)) { in get_state_element()692 for (i = 0; i < statefd->state_file->max_elements; i++) { in allocate_state_element()708 i == statefd->state_file->max_elements) { in allocate_state_element()[all …]
169 uint32_t max_elements; /* number of state elements */ member
9044 ASSERT(*cur_elements <= *max_elements); in add_to_phci_list()9045 if (*cur_elements == *max_elements) { in add_to_phci_list()9046 *max_elements += 10; in add_to_phci_list()9049 sizeof (char *) * (*max_elements)); in add_to_phci_list()9052 sizeof (int) * (*max_elements)); in add_to_phci_list()9072 *max_elements = 0; in get_phci_driver_list()9092 cur_elements, max_elements, dnp->dn_name, in get_phci_driver_list()9142 int cur_elements, max_elements, i; in attach_phci_drivers() local9146 &cur_elements, &max_elements); in attach_phci_drivers()9650 int cur_elements, max_elements; in mdi_get_phci_driver_list() local[all …]