Lines Matching +full:all +full:- +full:inputs
8 * Copyright (c) 1999-2004 Silicon Graphics, Inc. All Rights Reserved.
9 * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved.
30 * kdbgetsymval - Return the address of the given symbol.
43 symtab->sym_start = kallsyms_lookup_name(symname); in kdbgetsymval()
44 if (symtab->sym_start) { in kdbgetsymval()
45 kdb_dbg_printf(AR, "returns 1, symtab->sym_start=0x%lx\n", in kdbgetsymval()
46 symtab->sym_start); in kdbgetsymval()
55 * kdbnearsym() - Return the name of the symbol with the nearest address
62 * threaded, all other CPUs halted) provides us sufficient locking for
67 * Note that, strictly speaking, some architectures may re-enter the kdb
69 * the single-threaded assumption above. In these circumstances successful
73 * namebuf[KSYM_NAME_LEN-1] will never change from '\0' although we do
78 * * 0 - No sections contain this address, symtab zero filled
79 * * 1 - Address mapped to module/symbol/section, data in symtab
94 symtab->sym_name = kallsyms_lookup(addr, &symbolsize , &offset, in kdbnearsym()
95 (char **)(&symtab->mod_name), namebuf); in kdbnearsym()
97 symtab->sym_name = NULL; in kdbnearsym()
100 symtab->sym_start = addr - offset; in kdbnearsym()
101 symtab->sym_end = symtab->sym_start + symbolsize; in kdbnearsym()
102 ret = symtab->sym_name != NULL && *(symtab->sym_name) != '\0'; in kdbnearsym()
104 if (symtab->mod_name == NULL) in kdbnearsym()
105 symtab->mod_name = "kernel"; in kdbnearsym()
106 …kdb_dbg_printf(AR, "returns %d symtab->sym_start=0x%lx, symtab->mod_name=%px, symtab->sym_name=%px… in kdbnearsym()
107 ret, symtab->sym_start, symtab->mod_name, symtab->sym_name, symtab->sym_name); in kdbnearsym()
138 prev_len = min_t(int, max_len-1, in kallsyms_symbol_complete()
187 * kdb_symbol_print - Standard method for printing a symbol name and offset.
188 * Inputs:
208 if (!(symtab_p2->sym_name || (punc & KDB_SP_VALUE))) in kdb_symbol_print()
214 if (symtab_p2->sym_name) { in kdb_symbol_print()
219 if (strcmp(symtab_p2->mod_name, "kernel")) in kdb_symbol_print()
220 kdb_printf("[%s]", symtab_p2->mod_name); in kdb_symbol_print()
221 kdb_printf("%s", symtab_p2->sym_name); in kdb_symbol_print()
222 if (addr != symtab_p2->sym_start) in kdb_symbol_print()
223 kdb_printf("+0x%lx", addr - symtab_p2->sym_start); in kdb_symbol_print()
226 symtab_p2->sym_end - symtab_p2->sym_start); in kdb_symbol_print()
237 * kdb_strdup - kdb equivalent of strdup, for disasm code.
238 * Inputs:
257 * kdb_getarea_size - Read an area of data. The kdb equivalent of
259 * Inputs:
282 * kdb_putarea_size - Write an area of data. The kdb equivalent of
284 * Inputs:
307 * kdb_getphys - Read data from a physical address. Validate the
309 * similar to kdb_getarea() - but for phys addresses
310 * Inputs:
328 memcpy(res, vaddr + (addr & (PAGE_SIZE - 1)), size); in kdb_getphys()
336 * Inputs:
384 * kdb_getword - Read a binary value. Unlike kdb_getarea, this treats
386 * Inputs:
433 * kdb_putword - Write a binary value. Unlike kdb_putarea, this
435 * Inputs:
479 * kdb_task_state_char - Return the character that represents the task state.
480 * Inputs:
503 state = '-'; /* idle task */ in kdb_task_state_char()
505 } else if (!p->mm && strchr("IMS", state)) { in kdb_task_state_char()
512 * kdb_task_state - Return true if a process has the desired state
514 * Inputs:
531 return !strchr("-ims", state); in kdb_task_state()
533 /* A is a special case that matches all states */ in kdb_task_state()
555 kdb_flags = kdb_flags_stack[--kdb_flags_index]; in kdb_restore_flags()