Home
last modified time | relevance | path

Searched full:frame (Results 1 – 25 of 2683) sorted by relevance

12345678910>>...108

/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_hdmi.c58 * @frame: HDMI AVI infoframe
60 void hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_init() argument
62 memset(frame, 0, sizeof(*frame)); in hdmi_avi_infoframe_init()
64 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init()
65 frame->version = 2; in hdmi_avi_infoframe_init()
66 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init()
70 static int hdmi_avi_infoframe_check_only(const struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_check_only() argument
72 if (frame->type != HDMI_INFOFRAME_TYPE_AVI || in hdmi_avi_infoframe_check_only()
73 frame->version != 2 || in hdmi_avi_infoframe_check_only()
74 frame->length != HDMI_AVI_INFOFRAME_SIZE) in hdmi_avi_infoframe_check_only()
[all …]
/freebsd/sys/arm/nvidia/drm2/
H A Dhdmi.c56 * @frame: HDMI AVI infoframe
60 int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_init() argument
62 memset(frame, 0, sizeof(*frame)); in hdmi_avi_infoframe_init()
64 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init()
65 frame->version = 2; in hdmi_avi_infoframe_init()
66 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init()
74 * @frame: HDMI AVI infoframe
78 * Packs the information contained in the @frame structure into a binary
86 ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, in hdmi_avi_infoframe_pack() argument
92 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_avi_infoframe_pack()
[all …]
/freebsd/sys/arm64/arm64/
H A Dtrap.c53 #include <machine/frame.h>
84 static void print_registers(struct trapframe *frame);
194 svc_handler(struct thread *td, struct trapframe *frame) in svc_handler() argument
197 if ((frame->tf_esr & ESR_ELx_ISS_MASK) == 0) { in svc_handler()
201 call_trapsignal(td, SIGILL, ILL_ILLOPN, (void *)frame->tf_elr, in svc_handler()
202 ESR_ELx_EXCEPTION(frame->tf_esr)); in svc_handler()
203 userret(td, frame); in svc_handler()
208 align_abort(struct thread *td, struct trapframe *frame, uint64_t esr, in align_abort() argument
212 print_registers(frame); in align_abort()
218 call_trapsignal(td, SIGBUS, BUS_ADRALN, (void *)frame->tf_elr, in align_abort()
[all …]
/freebsd/sys/riscv/riscv/
H A Dtrap.c62 #include <machine/frame.h>
163 dump_regs(struct trapframe *frame) in dump_regs() argument
168 for (i = 0; i < nitems(frame->tf_t); i++) { in dump_regs()
170 print_with_symbol(name, frame->tf_t[i]); in dump_regs()
173 for (i = 0; i < nitems(frame->tf_s); i++) { in dump_regs()
175 print_with_symbol(name, frame->tf_s[i]); in dump_regs()
178 for (i = 0; i < nitems(frame->tf_a); i++) { in dump_regs()
180 print_with_symbol(name, frame->tf_a[i]); in dump_regs()
183 print_with_symbol("ra", frame->tf_ra); in dump_regs()
184 print_with_symbol("sp", frame->tf_sp); in dump_regs()
[all …]
/freebsd/sys/amd64/amd64/
H A Dtrap.c105 void __noinline trap(struct trapframe *frame);
106 void trap_check(struct trapframe *frame);
107 void dblfault_handler(struct trapframe *frame);
216 * routines that prepare a suitable stack frame, and restore this
217 * frame after the exception has been processed.
221 trap(struct trapframe *frame) in trap() argument
235 kasan_mark(frame, sizeof(*frame), sizeof(*frame), 0); in trap()
236 kmsan_mark(frame, sizeof(*frame), KMSAN_STATE_INITED); in trap()
239 type = frame->tf_trapno; in trap()
248 nmi_handle_intr(frame); in trap()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBFrame.cpp111 // Without a target & process we can't have a valid stack frame. in operator bool()
127 if (StackFrame *frame = exe_ctx.GetFramePtr()) in GetSymbolContext() local
128 sb_sym_ctx = frame->GetSymbolContext(scope); in GetSymbolContext()
143 StackFrame *frame = nullptr; in GetModule() local
149 frame = exe_ctx.GetFramePtr(); in GetModule()
150 if (frame) { in GetModule()
151 module_sp = frame->GetSymbolContext(eSymbolContextModule).module_sp; in GetModule()
167 StackFrame *frame = nullptr; in GetCompileUnit() local
173 frame = exe_ctx.GetFramePtr(); in GetCompileUnit()
174 if (frame) { in GetCompileUnit()
[all …]
/freebsd/contrib/unbound/dnstap/
H A Ddnstap_fstrm.h2 * dnstap/dnstap_fstrm.h - Frame Streams protocol for dnstap
40 * Definitions for the Frame Streams data transport protocol for
47 /* Frame Streams data transfer protocol encode for DNSTAP messages.
54 * The Frame Streams can be unidirectional or bi-directional.
55 * bi-directional streams use control frame types READY, ACCEPT and FINISH.
56 * uni-directional streams use control frame types START and STOP.
57 * unknown control frame types should be ignored by the receiver, they
58 * do not change the data frame encoding.
63 * The uni-directional control frames have one start and one stop frame,
64 * before and after the data. The start frame can have a content type.
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dtrap.c65 #include <machine/frame.h>
83 static void trap_fatal(struct trapframe *frame);
84 static void printtrap(u_int vector, struct trapframe *frame, int isfatal,
86 static bool trap_pfault(struct trapframe *frame, bool user, int *signo,
88 static int fix_unaligned(struct thread *td, struct trapframe *frame);
89 static int handle_onfault(struct trapframe *frame);
90 static void syscall(struct trapframe *frame);
193 frame_is_trap_inst(struct trapframe *frame) in frame_is_trap_inst()
196 return (frame->exc == EXC_PGM && frame in frame_is_trap_inst()
191 frame_is_trap_inst(struct trapframe * frame) frame_is_trap_inst() argument
201 trap(struct trapframe * frame) trap() argument
515 trap_fatal(struct trapframe * frame) trap_fatal() argument
535 cpu_printtrap(u_int vector,struct trapframe * frame,int isfatal,int user) cpu_printtrap() argument
570 printtrap(u_int vector,struct trapframe * frame,int isfatal,int user) printtrap() argument
612 handle_onfault(struct trapframe * frame) handle_onfault() argument
654 struct trapframe *frame; cpu_fetch_syscall_args() local
740 syscall(struct trapframe * frame) syscall() argument
762 trap_pfault(struct trapframe * frame,bool user,int * signo,int * ucode) trap_pfault() argument
852 fix_unaligned(struct thread * td,struct trapframe * frame) fix_unaligned() argument
989 db_trap_glue(struct trapframe * frame) db_trap_glue() argument
[all...]
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dppc64-mont.pl117 $FRAME=64; # padded frame header
235 addi $tp,$tp,`$FRAME+$TRANSFER+8+64+$RZONE`
268 addi $tp,$sp,`$FRAME+$TRANSFER+8+64`
276 addi $tp,$sp,`$FRAME+$TRANSFER-8`
292 std $t0,`$FRAME+0`($sp)
293 std $t1,`$FRAME+8`($sp)
294 std $t2,`$FRAME+16`($sp)
295 std $t3,`$FRAME+24`($sp)
303 std $t4,`$FRAME+32`($sp)
304 std $t5,`$FRAME+40`($sp)
[all …]
/freebsd/sys/i386/linux/
H A Dlinux_sysvec.c159 struct l_rt_sigframe *fp, frame; in linux_rt_sendsig() local
183 bzero(&frame, sizeof(frame)); in linux_rt_sendsig()
185 frame.sf_sig = sig; in linux_rt_sendsig()
186 frame.sf_siginfo = PTROUT(&fp->sf_si); in linux_rt_sendsig()
187 frame.sf_ucontext = PTROUT(&fp->sf_uc); in linux_rt_sendsig()
190 siginfo_to_lsiginfo(&ksi->ksi_info, &frame.sf_si, sig); in linux_rt_sendsig()
193 frame.sf_uc.uc_stack.ss_sp = PTROUT(td->td_sigstk.ss_sp); in linux_rt_sendsig()
194 frame.sf_uc.uc_stack.ss_size = td->td_sigstk.ss_size; in linux_rt_sendsig()
195 frame.sf_uc.uc_stack.ss_flags = (td->td_pflags & TDP_ALTSTACK) in linux_rt_sendsig()
199 bsd_to_linux_sigset(mask, &frame.sf_uc.uc_sigmask); in linux_rt_sendsig()
[all …]
/freebsd/sys/i386/i386/
H A Dtrap.c107 void trap(struct trapframe *frame);
108 void syscall(struct trapframe *frame);
212 * routines that prepare a suitable stack frame, and restore this
213 * frame after the exception has been processed.
217 trap(struct trapframe *frame) in trap() argument
235 type = frame->tf_trapno; in trap()
238 ("trap: interrupts enabled, type %d frame %p", type, frame)); in trap()
249 nmi_handle_intr(frame); in trap()
254 trap_fatal(frame, 0); in trap()
272 dtrace_trap_func != NULL && (*dtrace_trap_func)(frame, type)) in trap()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DStackFrame.h34 /// StackFrames may have a Canonical Frame Address (CFA) or not.
35 /// A frame may have a plain pc value or it may indicate a specific point in
55 /// A regular stack frame with access to registers and local variables.
58 /// A historical stack frame -- possibly without CFA or registers or
62 /// An artificial stack frame (e.g. a synthesized result of inferring
77 /// The Thread that this frame belongs to.
80 /// This StackFrame's frame index number in the Thread. If inlined stack
82 /// which is the frame index without any inlined stack frames.
85 /// The StackFrame's frame index number in the Thread without any inlined
89 /// The Canonical Frame Address (this terminology from DWARF) for this
[all …]
H A DRegisterContextUnwind.h70 // Indicates whether this frame *behaves* like frame zero -- the currently
71 // executing frame -- or not. This can be true in the middle of the stack
79 eDebuggerFrame, // a debugger inferior function call frame; we get caller's
81 eSkipFrame, // The unwind resulted in a bogus frame but may get back on
83 eNotAValidFrame // this frame is invalid for some reason - most likely it is
90 // Returns true if we have an unwind loop -- the same stack frame unwinding
94 // Indicates whether this frame is frame zero -- the currently
95 // executing frame -- or not.
106 // A SkipFrame occurs when the unwind out of frame 0 didn't go right -- we've
107 // got one bogus frame at frame #1.
[all …]
H A DStackFrameList.h31 /// is true. Synthetic (inline) frames expanded from the concrete frame #0
35 /// Get the frame at index \p idx. Invisible frames cannot be indexed.
38 /// Get the first concrete frame with index greater than or equal to \p idx.
39 /// Unlike \ref GetFrameAtIndex, this cannot return a synthetic frame.
42 /// Retrieve the stack frame with the given ID \p stack_id.
45 /// Mark a stack frame as the currently selected frame and return its index.
46 uint32_t SetSelectedFrame(lldb_private::StackFrame *frame);
48 /// Get the currently selected frame index.
50 /// selected a frame, and (b) if this really is a user facing
51 /// "GetSelectedFrame". SMRF runs the frame recognizers which can do
[all …]
/freebsd/sys/amd64/linux32/
H A Dlinux32_sysvec.c152 struct l_rt_sigframe *fp, frame; in linux_rt_sendsig() local
177 bzero(&frame, sizeof(frame)); in linux_rt_sendsig()
179 frame.sf_sig = sig; in linux_rt_sendsig()
180 frame.sf_siginfo = PTROUT(&fp->sf_si); in linux_rt_sendsig()
181 frame.sf_ucontext = PTROUT(&fp->sf_uc); in linux_rt_sendsig()
184 siginfo_to_lsiginfo(&ksi->ksi_info, &frame.sf_si, sig); in linux_rt_sendsig()
189 frame.sf_uc.uc_stack.ss_sp = PTROUT(td->td_sigstk.ss_sp); in linux_rt_sendsig()
190 frame.sf_uc.uc_stack.ss_size = td->td_sigstk.ss_size; in linux_rt_sendsig()
191 frame.sf_uc.uc_stack.ss_flags = (td->td_pflags & TDP_ALTSTACK) in linux_rt_sendsig()
195 bsd_to_linux_sigset(mask, &frame.sf_uc.uc_sigmask); in linux_rt_sendsig()
[all …]
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBFrameDocstrings.i12 frame = thread.GetFrameAtIndex(i)
13 function = frame.GetFunction()
18 start_addr = frame.GetSymbol().GetStartAddress().GetFileAddress()
20 print >> output, ' frame #{num}: {addr:#016x} {mod}`{symbol} + {offset}'.format(
23 … print >> output, ' frame #{num}: {addr:#016x} {mod}`{func} at {file}:{line} {args}'.format(
25 func='%s [inlined]' % funcs[i] if frame.IsInlined() else funcs[i],
27 … args=get_args_as_string(frame, showFuncName=False) if not frame.IsInlined() else '()')
33 for frame in thread:
34 print frame
40 Get the Canonical Frame Address for this stack frame.
[all …]
H A DSBFrameExtensions.i22 if parent_idx >= 0 and parent_idx < len(self.thread.frame):
23 return self.thread.frame[parent_idx]
71 …fp = property(GetFP, None, doc='''A read only property that returns the frame pointer (FP) as an u…
73 …ty that returns an lldb object that represents the module (lldb.SBModule) for this stack frame.''')
74 …urns an lldb object that represents the compile unit (lldb.SBCompileUnit) for this stack frame.''')
75 …hat returns an lldb object that represents the function (lldb.SBFunction) for this stack frame.''')
76 …ty that returns an lldb object that represents the symbol (lldb.SBSymbol) for this stack frame.''')
77 …erty that returns an lldb object that represents the block (lldb.SBBlock) for this stack frame.''')
78 …'A read only property that returns an boolean that indicates if the block frame is an inlined func…
79 … property that retuns the name for the function that this frame represents. Inlined stack frame mi…
[all …]
H A DSBValueListDocstrings.i7 def get_registers(frame, kind):
8 '''Returns the registers given the frame and the kind of registers desired.
12 registerSet = frame.GetRegisters() # Return type of SBValueList.
19 def get_GPRs(frame):
20 '''Returns the general purpose registers of the frame as an SBValue.
25 regs = get_GPRs(frame)
30 return get_registers(frame, 'general purpose')
32 def get_FPRs(frame):
33 '''Returns the floating point registers of the frame as an SBValue.
38 regs = get_FPRs(frame)
[all …]
/freebsd/crypto/openssl/crypto/ec/asm/
H A Dx25519-ppc64.pl53 my $FRAME = 16*8;
62 stdu $sp,-$FRAME($sp)
63 std r22,`$FRAME-8*10`($sp)
64 std r23,`$FRAME-8*9`($sp)
65 std r24,`$FRAME-8*8`($sp)
66 std r25,`$FRAME-8*7`($sp)
67 std r26,`$FRAME-8*6`($sp)
68 std r27,`$FRAME-8*5`($sp)
69 std r28,`$FRAME-8*4`($sp)
70 std r29,`$FRAME-8*3`($sp)
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_filter_zstd.c136 /* frame-per-file: boolean */ in DEFINE_TEST()
138 archive_write_set_filter_option(a, NULL, "frame-per-file", "")); in DEFINE_TEST()
139 /* min-frame-in: >= 0 */ in DEFINE_TEST()
141 archive_write_set_filter_option(a, NULL, "min-frame-out", "")); in DEFINE_TEST()
143 archive_write_set_filter_option(a, NULL, "min-frame-out", "-1")); in DEFINE_TEST()
145 archive_write_set_filter_option(a, NULL, "min-frame-out", "0")); in DEFINE_TEST()
147 archive_write_set_filter_option(a, NULL, "min-frame-out", "1048576")); in DEFINE_TEST()
149 archive_write_set_filter_option(a, NULL, "min-frame-out", "1k")); in DEFINE_TEST()
151 archive_write_set_filter_option(a, NULL, "min-frame-out", "1kB")); in DEFINE_TEST()
153 archive_write_set_filter_option(a, NULL, "min-frame-out", "1M")); in DEFINE_TEST()
[all …]
/freebsd/tools/debugscripts/
H A Dgdbinit.i38612 # Top 12 words from frame pointer
29 # show current stack frame and first 4 parameters
65 words of the current frame.
68 # show current stack frame and first 10 parameters
126 words of the current frame.
129 # Show first to fifth parameters of current frame as int, int * and char *.
156 Show the first parameter of current stack frame in various formats
159 Show the second parameter of current stack frame in various formats
162 Show the third parameter of current stack frame in various formats
165 Show the fourth parameter of current stack frame in various formats
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace.cpp73 // cell in stack to be a saved frame pointer. GetCanonicFrame returns the
74 // pointer to saved frame pointer in any case.
83 // The next frame pointer does not look right. This could be a GCC frame, step in GetCanonicFrame()
87 // Nope, this does not look right either. This means the frame after next does in GetCanonicFrame()
88 // not have a valid frame pointer, but we can still extract the caller PC. in GetCanonicFrame()
89 // Unfortunately, there is no way to decide between GCC and LLVM frame in GetCanonicFrame()
105 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast() local
106 // Lowest possible address that makes sense as the next frame pointer. in UnwindFast()
109 // Avoid infinite loop when frame == frame[0] by using frame > prev_frame. in UnwindFast()
110 while (IsValidFrame((uptr)frame, stack_top, bottom) && in UnwindFast()
[all …]
/freebsd/sys/cddl/dev/dtrace/amd64/
H A Ddtrace_isa.c38 #include <machine/frame.h>
63 struct amd64_frame *frame; in dtrace_getpcstack() local
74 frame = (struct amd64_frame *)rbp; in dtrace_getpcstack()
77 kmsan_mark(frame, sizeof(*frame), KMSAN_STATE_INITED); in dtrace_getpcstack()
79 if (!kstack_contains(curthread, (vm_offset_t)frame, in dtrace_getpcstack()
80 sizeof(*frame))) in dtrace_getpcstack()
83 callpc = frame->f_retaddr; in dtrace_getpcstack()
97 if ((vm_offset_t)frame->f_frame <= (vm_offset_t)frame) in dtrace_getpcstack()
99 frame = frame->f_frame; in dtrace_getpcstack()
201 * In an entry probe. The frame pointer has not yet been in dtrace_getupcstack()
[all …]
/freebsd/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_subr.c40 #include <machine/frame.h>
62 dtrace_invop(uintptr_t addr, struct trapframe *frame, uintptr_t eax) in dtrace_invop() argument
70 td->t_dtrace_trapframe = frame; in dtrace_invop()
72 if ((rval = hdlr->dtih_func(addr, frame, eax)) != 0) in dtrace_invop()
216 dtrace_trap(struct trapframe *frame, u_int type) in dtrace_trap() argument
238 cpu_core[curcpu].cpuc_dtrace_illval = frame->tf_far; in dtrace_trap()
244 frame->tf_elr += 4; in dtrace_trap()
267 dtrace_load64(uint64_t *addr, struct trapframe *frame, u_int reg) in dtrace_load64() argument
271 if (reg < nitems(frame->tf_x)) in dtrace_load64()
272 frame->tf_x[reg] = *addr; in dtrace_load64()
[all …]
/freebsd/sys/cddl/dev/kinst/aarch64/
H A Dkinst_isa.c22 kinst_emulate(struct trapframe *frame, const struct kinst_probe *kp) in kinst_emulate() argument
38 frame->tf_x[reg] = frame->tf_elr + imm; in kinst_emulate()
44 frame->tf_x[reg] = (frame->tf_elr & ~0xfff) + imm; in kinst_emulate()
46 frame->tf_elr += INSN_SIZE; in kinst_emulate()
52 frame->tf_elr += imm << 2; in kinst_emulate()
61 res = (frame->tf_spsr & PSR_Z) != 0; in kinst_emulate()
64 res = (frame->tf_spsr & PSR_C) != 0; in kinst_emulate()
67 res = (frame->tf_spsr & PSR_N) != 0; in kinst_emulate()
70 res = (frame->tf_spsr & PSR_V) != 0; in kinst_emulate()
73 res = ((frame->tf_spsr & PSR_C) != 0) && in kinst_emulate()
[all …]

12345678910>>...108