Searched refs:var_ptr (Results 1 – 1 of 1) sorted by relevance
39 def per_cpu(var_ptr, cpu): argument52 pointer = var_ptr.cast(utils.get_long_type()) + offset53 return pointer.cast(var_ptr.type).dereference()156 var_ptr = gdb.parse_and_eval("&" + var_name.string())157 return per_cpu(var_ptr, cpu)169 var_ptr = gdb.parse_and_eval("(struct task_struct *)cpu_tasks[0].task")170 return var_ptr.dereference()172 var_ptr = gdb.parse_and_eval("&pcpu_hot.current_task")173 return per_cpu(var_ptr, cpu).dereference()