Lines Matching refs:read_buf
2124 char *read_buf = NULL, *next_str = NULL, *current_str = NULL, *buf = NULL; in second_stage_parsing_thread() local
2141 read_buf = (char *) mmap(0, st.st_size, PROT_READ | PROT_WRITE, in second_stage_parsing_thread()
2143 if (read_buf == MAP_FAILED) { in second_stage_parsing_thread()
2148 current_str = read_buf; in second_stage_parsing_thread()
2249 munmap(read_buf, st.st_size); in second_stage_parsing_thread()
2283 char *read_buf, *next_str, *current_str, *buf, *p, *verb_name; in snd_ucm_parse() local
2300 read_buf = (char *) mmap(0, st.st_size, PROT_READ | PROT_WRITE, in snd_ucm_parse()
2302 if (read_buf == MAP_FAILED) { in snd_ucm_parse()
2307 current_str = read_buf; in snd_ucm_parse()
2313 munmap(read_buf, st.st_size); in snd_ucm_parse()
2320 munmap(read_buf, st.st_size); in snd_ucm_parse()
2328 munmap(read_buf, st.st_size); in snd_ucm_parse()
2416 munmap(read_buf, st.st_size); in snd_ucm_parse()
2877 char *read_buf, *next_str, *current_str, *verb_ptr; in snd_ucm_parse_verb() local
2907 read_buf = (char *) mmap(0, st.st_size, PROT_READ | PROT_WRITE, in snd_ucm_parse_verb()
2909 if (read_buf == MAP_FAILED) { in snd_ucm_parse_verb()
2914 current_str = read_buf; in snd_ucm_parse_verb()
2982 munmap(read_buf, st.st_size); in snd_ucm_parse_verb()