Lines Matching refs:search_state
166 struct search_state *search_state; member
354 struct search_state *global_search_state;
932 if (req->handle->search_state && in reply_handle()
3045 struct search_state { struct
3053 search_state_decref(struct search_state *const state) { in search_state_decref() argument
3066 static struct search_state *
3068 struct search_state *state = (struct search_state *) mm_malloc(sizeof(struct search_state)); in search_state_new()
3070 memset(state, 0, sizeof(struct search_state)); in search_state_new()
3176 search_make_new(const struct search_state *const state, int n, const char *const base_name) { in search_make_new()
3237 handle->search_state = base->global_search_state; in search_request_new()
3261 if (handle->search_state) { in search_try_next()
3265 if (handle->search_index >= handle->search_state->num_domains) { in search_try_next()
3268 if (string_num_dots(handle->search_origname) < handle->search_state->ndots) { in search_try_next()
3280 new_name = search_make_new(handle->search_state, handle->search_index, handle->search_origname); in search_try_next()
3301 if (handle->search_state) { in search_request_finished()
3302 search_state_decref(handle->search_state); in search_request_finished()
3303 handle->search_state = NULL; in search_request_finished()