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);
44 if (symtab->sym_start) {
45 kdb_dbg_printf(AR, "returns 1, symtab->sym_start=0x%lx\n",
46 symtab->sym_start);
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,
95 (char **)(&symtab->mod_name), namebuf);
97 symtab->sym_name = NULL;
100 symtab->sym_start = addr - offset;
101 symtab->sym_end = symtab->sym_start + symbolsize;
102 ret = symtab->sym_name != NULL && *(symtab->sym_name) != '\0';
104 if (symtab->mod_name == NULL)
105 symtab->mod_name = "kernel";
106 kdb_dbg_printf(AR, "returns %d symtab->sym_start=0x%lx, symtab->mod_name=%px, symtab->sym_name=%px (%s)\n",
107 ret, symtab->sym_start, symtab->mod_name, symtab->sym_name, symtab->sym_name);
138 prev_len = min_t(int, max_len-1,
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)))
214 if (symtab_p2->sym_name) {
219 if (strcmp(symtab_p2->mod_name, "kernel"))
220 kdb_printf("[%s]", symtab_p2->mod_name);
221 kdb_printf("%s", symtab_p2->sym_name);
222 if (addr != symtab_p2->sym_start)
223 kdb_printf("+0x%lx", addr - symtab_p2->sym_start);
226 symtab_p2->sym_end - symtab_p2->sym_start);
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);
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 */
505 } else if (!p->mm && strchr("IMS", state)) {
512 * kdb_task_state - Return true if a process has the desired state
514 * Inputs:
531 return !strchr("-ims", state);
533 /* A is a special case that matches all states */