Searched refs:prefix_name (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | efivar.c | 154 char prefix_name[64]; in read_hfi1_efi_var() local 160 snprintf(prefix_name, sizeof(prefix_name), "%04x:%02x:%02x.%x", in read_hfi1_efi_var() 165 snprintf(name, sizeof(name), "%s-%s", prefix_name, kind); in read_hfi1_efi_var() 174 for (i = 0; prefix_name[i]; i++) in read_hfi1_efi_var() 175 if (isalpha(prefix_name[i])) in read_hfi1_efi_var() 176 prefix_name[i] = toupper(prefix_name[i]); in read_hfi1_efi_var() 177 snprintf(name, sizeof(name), "%s-%s", prefix_name, kind); in read_hfi1_efi_var()
|
/Linux-v5.10/kernel/debug/kdb/ |
D | kdb_support.c | 186 int kallsyms_symbol_complete(char *prefix_name, int max_len) in kallsyms_symbol_complete() argument 189 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete() 194 if (strncmp(name, prefix_name, prefix_len) == 0) { in kallsyms_symbol_complete() 214 memcpy(prefix_name, ks_namebuf_prev, prev_len+1); in kallsyms_symbol_complete() 230 int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size) in kallsyms_symbol_next() argument 232 int prefix_len = strlen(prefix_name); in kallsyms_symbol_next() 240 if (!strncmp(name, prefix_name, prefix_len)) in kallsyms_symbol_next() 241 return strscpy(prefix_name, name, buf_size); in kallsyms_symbol_next()
|
D | kdb_private.h | 86 extern int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size); 87 extern int kallsyms_symbol_complete(char *prefix_name, int max_len);
|