Searched refs:prev_len (Results 1 – 1 of 1) sorted by relevance
130 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete() local139 prev_len = min_t(int, max_len-1, in kallsyms_symbol_complete()141 memcpy(ks_namebuf_prev, ks_namebuf, prev_len); in kallsyms_symbol_complete()142 ks_namebuf_prev[prev_len] = '\0'; in kallsyms_symbol_complete()145 for (i = 0; i < prev_len; i++) { in kallsyms_symbol_complete()147 prev_len = i; in kallsyms_symbol_complete()154 if (prev_len > prefix_len) in kallsyms_symbol_complete()155 memcpy(prefix_name, ks_namebuf_prev, prev_len+1); in kallsyms_symbol_complete()