HomeSort by relevance Sort by last modified time
    Searched refs:proc (Results 51 - 75 of 1058) sorted by null

1 23 4 5 6 7 8 91011>>

  /prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/asm/
pgtable.h 16 #include <asm/proc-fns.h>
  /prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/asm/
pgtable.h 16 #include <asm/proc-fns.h>
  /external/ltrace/sysdeps/linux-gnu/s390/
trace.c 34 #include "proc.h"
46 get_arch_dep(struct process *proc)
51 if (proc->arch_ptr)
54 psw = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWMASK, 0);
57 proc->mask_32bit = 1;
58 proc->personality = 1;
61 proc->arch_ptr = (void *)1;
68 syscall_p(struct process *proc, int status, int *sysnum)
79 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
87 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR2, 0)
    [all...]
regs.c 31 #include "proc.h"
50 get_instruction_pointer(struct process *proc)
52 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_PSWADDR, 0) & PSW_MASK;
54 if (proc->mask_32bit)
62 set_instruction_pointer(struct process *proc, arch_addr_t addr)
65 if (proc->mask_32bit)
72 ptrace(PTRACE_POKEUSER, proc->pid, PT_PSWADDR, addr);
76 get_stack_pointer(struct process *proc)
78 long ret = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR15, 0) & PSW_MASK;
80 if (proc->mask_32bit
    [all...]
  /external/ltrace/sysdeps/linux-gnu/aarch64/
trace.c 30 #include "proc.h"
33 get_arch_dep(struct process *proc)
37 int aarch64_read_gregs(struct process *proc, struct user_pt_regs *regs);
46 syscall_p(struct process *proc, int status, int *sysnum)
49 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
52 if (aarch64_read_gregs(proc, &regs) < 0) {
54 "Couldn't read registers of %d.\n", proc->pid);
60 proc->pid,
64 "Couldn't peek into %d: %s\n", proc->pid,
73 size_t d1 = proc->callstack_depth - 1
    [all...]
  /external/ltrace/sysdeps/linux-gnu/cris/
trace.c 32 #include "proc.h"
43 void get_arch_dep(struct process *proc)
50 int syscall_p(struct process *proc, int status, int *sysnum)
53 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
54 long pc = (long)get_instruction_pointer(proc);
56 (int)ptrace(PTRACE_PEEKTEXT, proc->pid, pc - sizeof(long),
61 (int)ptrace(PTRACE_PEEKUSER, proc->pid,
63 if (proc->callstack_depth > 0
64 && proc->callstack[proc->callstack_depth
    [all...]
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc_qclient.cpp 79 if(mHwcContext->proc)
80 mHwcContext->proc->invalidate(mHwcContext->proc);
88 if(mHwcContext->proc)
89 mHwcContext->proc->invalidate(mHwcContext->proc);
96 if(mHwcContext->proc)
97 mHwcContext->proc->invalidate(mHwcContext->proc);
102 if(mHwcContext->proc) {
    [all...]
  /external/ltrace/
breakpoints.c 41 #include "proc.h"
45 arch_translate_address_dyn(struct process *proc,
63 breakpoint_on_hit(struct breakpoint *bp, struct process *proc)
67 (bp->cbs->on_hit)(bp, proc);
71 breakpoint_on_continue(struct breakpoint *bp, struct process *proc)
75 (bp->cbs->on_continue)(bp, proc);
77 continue_after_breakpoint(proc, bp);
81 breakpoint_on_retract(struct breakpoint *bp, struct process *proc)
85 (bp->cbs->on_retract)(bp, proc);
89 breakpoint_on_install(struct breakpoint *bp, struct process *proc)
386 struct process *proc = data; local
    [all...]
fetch.c 30 struct fetch_context *arch_fetch_arg_init(enum tof type, struct process *proc,
33 struct fetch_context *arch_fetch_arg_clone(struct process *proc,
37 struct process *proc, struct arg_type_info *info,
41 struct process *proc, struct arg_type_info *info,
56 long gimme_arg(enum tof type, struct process *proc, int arg_num,
64 arch_fetch_arg_init(enum tof type, struct process *proc,
71 arch_fetch_arg_clone(struct process *proc, struct fetch_context *context)
81 struct process *proc,
84 long l = gimme_arg(type, proc, context->argnum++, info);
91 struct process *proc,
    [all...]
proc.h 154 int process_init(struct process *proc, const char *filename, pid_t pid);
156 /* PROC underwent an exec. This is a bit like process_destroy
159 int process_exec(struct process *proc);
161 /* Release any memory allocated for PROC (but not PROC itself). Does
162 * NOT remove PROC from internal chain.
167 void process_destroy(struct process *proc);
173 /* Clone the contents of PROC into the memory referenced by RETP.
175 int process_clone(struct process *retp, struct process *proc, pid_t pid);
181 enum callback_status (*cb)(struct process *proc,
    [all...]
backend.h 73 void trace_set_options(struct process *proc);
87 * is a place where it can initialize PROC->arch_dep. XXX this should
89 void get_arch_dep(struct process *proc);
91 /* Return current instruction pointer of PROC.
98 void *get_instruction_pointer(struct process *proc);
100 /* Set instruction pointer of PROC to ADDR. XXX see above. */
101 void set_instruction_pointer(struct process *proc, void *addr);
103 /* Return current stack pointer of PROC. XXX see above. */
104 void *get_stack_pointer(struct process *proc);
108 void *get_return_addr(struct process *proc, void *stack_pointer)
    [all...]
  /external/ltrace/sysdeps/linux-gnu/ppc/
trace.c 39 #include "proc.h"
52 get_arch_dep(struct process *proc)
55 proc->mask_32bit = (proc->e_machine == EM_PPC);
63 syscall_p(struct process *proc, int status, int *sysnum)
66 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
67 long pc = (long)get_instruction_pointer(proc);
69 (int)ptrace(PTRACE_PEEKTEXT, proc->pid, pc - sizeof(long),
74 (int)ptrace(PTRACE_PEEKUSER, proc->pid,
76 if (proc->callstack_depth > 0 &
    [all...]
  /external/ltrace/sysdeps/linux-gnu/ia64/
regs.c 33 #include "proc.h"
37 get_instruction_pointer(struct process *proc)
39 unsigned long ip = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0);
41 (ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0) >> 41) & 3;
47 set_instruction_pointer(struct process *proc, void *addr)
52 unsigned long psr = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0);
59 ptrace(PTRACE_POKEUSER, proc->pid, PT_CR_IIP, (long)newip);
60 ptrace(PTRACE_POKEUSER, proc->pid, PT_CR_IPSR, psr);
64 get_stack_pointer(struct process *proc)
66 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_R12, 0)
    [all...]
trace.c 36 #include "proc.h"
73 syscall_p(struct process *proc, int status, int *sysnum)
76 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
77 long l = ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IPSR, 0);
82 ptrace(PTRACE_PEEKUSER, proc->pid, PT_CR_IIP, 0);
86 ptrace(PTRACE_PEEKUSER, proc->pid, PT_R15, 0);
98 bundle.code[0] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0);
99 bundle.code[1] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip + 8, 0);
133 if (proc->callstack_depth > 0 &&
134 proc->callstack[proc->callstack_depth - 1].is_syscall &
    [all...]
  /external/ltrace/sysdeps/linux-gnu/m68k/
trace.c 31 #include "proc.h"
43 get_arch_dep(struct process *proc)
50 syscall_p(struct process *proc, int status, int *sysnum)
55 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
56 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_ORIG_D0, 0);
60 depth = proc->callstack_depth;
62 proc->callstack[depth - 1].is_syscall &&
63 proc->callstack[depth - 1].c_un.syscall == *sysnum) {
  /external/oprofile/daemon/liblegacy/
opd_proc.c 70 struct opd_proc * proc; local
73 proc = xmalloc(sizeof(struct opd_proc));
74 list_init(&proc->maps);
75 proc->name = NULL;
76 proc->tid = tid;
77 proc->tgid = tgid;
78 proc->dead = 0;
79 proc->accessed = 0;
80 list_add(&proc->next, &opd_procs[proc_hash(tid)]);
81 return proc;
87 struct opd_proc * proc; local
192 struct opd_proc * proc; local
241 struct opd_proc * proc; local
288 struct opd_proc * proc; local
319 struct opd_proc * proc; local
349 struct opd_proc * proc = local
    [all...]
opd_parse_proc.c 3 * Parsing of /proc/#pid
30 * @param proc process to add map to
35 * and add the info to the process @proc. Returns %1
43 static int opd_add_ascii_map(struct opd_proc * proc, char const * line,
75 image = opd_get_image(cp, image_name, 0, proc->tid, proc->tgid);
79 opd_add_mapping(proc, image, start, offset, end);
87 * @param proc process to work on
89 * Read the /proc/<pid>/maps file and add all
90 * mapping information found to the process @proc
203 struct opd_proc * proc; local
    [all...]
  /external/ltrace/sysdeps/linux-gnu/arm/
regs.c 30 #include "proc.h"
43 arm_get_register(struct process *proc, enum arm_register reg, uint32_t *lp)
46 long l = ptrace(PTRACE_PEEKUSER, proc->pid, (void *)(reg * 4L), 0);
54 arm_set_register(struct process *proc, enum arm_register reg, uint32_t lp)
56 return ptrace(PTRACE_PEEKUSER, proc->pid,
61 arm_get_register_offpc(struct process *proc, enum arm_register reg,
64 if (arm_get_register(proc, reg, lp) < 0)
72 arm_get_shifted_register(struct process *proc, uint32_t inst, int carry,
80 if (arm_get_register_offpc(proc, BITS(inst, 8, 11), &shift) < 0)
91 else if (arm_get_register(proc, rm, &res) < 0
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/gl/angle/
GrGLCreateANGLEInterface.cpp 18 GrGLFuncPtr proc = (GrGLFuncPtr) GetProcAddress((HMODULE)ctx, name); local
19 if (proc) {
20 return proc;
  /external/ltrace/sysdeps/linux-gnu/x86/
regs.c 32 #include "proc.h"
59 get_instruction_pointer(struct process *proc)
61 long int ret = ptrace(PTRACE_PEEKUSER, proc->pid, XIP, 0);
62 if (proc->e_machine == EM_386)
68 set_instruction_pointer(struct process *proc, arch_addr_t addr)
70 if (proc->e_machine == EM_386)
72 ptrace(PTRACE_POKEUSER, proc->pid, XIP, addr);
76 get_stack_pointer(struct process *proc)
78 long sp = ptrace(PTRACE_PEEKUSER, proc->pid, XSP, 0);
88 if (proc->e_machine == EM_386
    [all...]
  /hardware/qcom/display/msm8974/libhwcomposer/
hwc_qclient.cpp 80 if(mHwcContext->proc)
81 mHwcContext->proc->invalidate(mHwcContext->proc);
90 if(mHwcContext->proc)
91 mHwcContext->proc->invalidate(mHwcContext->proc);
99 if(mHwcContext->proc)
100 mHwcContext->proc->invalidate(mHwcContext->proc);
105 if(mHwcContext->proc) {
    [all...]
  /system/core/fastboot/
util_linux.c 39 char proc[64]; local
42 sprintf(proc, "/proc/%d/exe", getpid());
43 int err = readlink(proc, path, PATH_MAX - 1);
  /external/jemalloc/test/include/test/
thd.h 8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg);
  /external/jemalloc/test/src/
thd.c 5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
7 LPTHREAD_START_ROUTINE routine = (LPTHREAD_START_ROUTINE)proc;
26 thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
29 if (pthread_create(thd, NULL, proc, arg) != 0)
  /external/ltrace/sysdeps/linux-gnu/metag/
regs.c 28 #include "proc.h"
32 get_instruction_pointer(struct process *proc)
39 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
46 set_instruction_pointer(struct process *proc, arch_addr_t addr)
53 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
60 ptrace(PTRACE_SETREGSET, proc->pid, NT_PRSTATUS, (long)&iov);
64 get_stack_pointer(struct process *proc)
71 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
78 get_return_addr(struct process *proc, void *stack_pointer)
85 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov)
    [all...]

Completed in 1042 milliseconds

1 23 4 5 6 7 8 91011>>