| /freebsd/sys/compat/linuxkpi/common/src/ | 
| H A D | linux_hdmi.c | 58  * @frame: HDMI AVI infoframe60 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 D | hdmi.c | 56  * @frame: HDMI AVI infoframe60 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 D | trap.c | 53 #include <machine/frame.h>84 static void print_registers(struct trapframe *frame);
 197 svc_handler(struct thread *td, struct trapframe *frame)  in svc_handler()  argument
 200 	if ((frame->tf_esr & ESR_ELx_ISS_MASK) == 0) {  in svc_handler()
 204 		call_trapsignal(td, SIGILL, ILL_ILLOPN, (void *)frame->tf_elr,  in svc_handler()
 205 		    ESR_ELx_EXCEPTION(frame->tf_esr));  in svc_handler()
 206 		userret(td, frame);  in svc_handler()
 211 align_abort(struct thread *td, struct trapframe *frame, uint64_t esr,  in align_abort()  argument
 215 		print_registers(frame);  in align_abort()
 221 	call_trapsignal(td, SIGBUS, BUS_ADRALN, (void *)frame->tf_elr,  in align_abort()
 [all …]
 
 | 
| /freebsd/sys/riscv/riscv/ | 
| H A D | trap.c | 62 #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 D | trap.c | 102 void __noinline trap(struct trapframe *frame);103 void trap_check(struct trapframe *frame);
 104 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/crypto/openssl/include/internal/ | 
| H A D | quic_wire.h | 127  * QUIC Frame Logical Representations131 /* QUIC Frame: ACK */
 153      * num_ack_ranges must be greater than zero, as an ACK frame must
 164 /* Returns 1 if the given frame contains the given PN. */
 167 /* QUIC Frame: STREAM */
 176      * not. If zero, the len field is not encoded and it is assumed the frame
 179      * On decode, this determines whether the frame had an explicitly encoded
 180      * length. If not set, the frame runs to the end of the packet and len has
 189 /* QUIC Frame: CRYPTO */
 196 /* QUIC Frame: RESET_STREAM */
 [all …]
 
 | 
| H A D | quic_sf_list.h | 18  * Stream frame list26  *   Insert frame (optimized insertion at the beginning and at the end).
 27  *   Iterated peek into the frame(s) from the beginning.
 32  *            be fully encompassed by another frame in the list.
 33  * Invariant: No frame has start > end.
 35  *            able to mark an empty frame.
 36  * Invariant: The offset never points further than into the first frame.
 44     /* Is the tail frame final. */
 57  * Initializes the stream frame list fl.
 62  * Destroys the stream frame list fl releasing any data
 [all …]
 
 | 
| /freebsd/contrib/unbound/dnstap/ | 
| H A D | dnstap_fstrm.h | 2  * dnstap/dnstap_fstrm.h - Frame Streams protocol for dnstap40  * 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/contrib/llvm-project/lldb/source/API/ | 
| H A D | SBFrame.cpp | 111   // 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/sys/powerpc/powerpc/ | 
| H A D | trap.c | 65 #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()  argument
 196 	return (frame->exc == EXC_PGM && frame->srr1 & EXC_PGM_TRAP);  in frame_is_trap_inst()
 198 	return ((frame->cpu.booke.esr & ESR_PTR) != 0);  in frame_is_trap_inst()
 [all …]
 
 | 
| /freebsd/crypto/openssl/crypto/bn/asm/ | 
| H A D | ppc64-mont.pl | 117 $FRAME=64;	# padded frame header235 	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/i386/ | 
| H A D | trap.c | 107 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 D | StackFrame.h | 34 /// 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 D | RegisterContextUnwind.h | 70   // Indicates whether this frame *behaves* like frame zero -- the currently71   // 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 D | StackFrameList.h | 31   /// is true. Synthetic (inline) frames expanded from the concrete frame #035   /// 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/i386/linux/ | 
| H A D | linux_sysvec.c | 159 	struct l_rt_sigframe *fp, frame;  in linux_rt_sendsig()  local183 	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/contrib/llvm-project/lldb/bindings/interface/ | 
| H A D | SBFrameDocstrings.i | 12             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 D | SBFrameExtensions.i | 22             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 D | SBValueListDocstrings.i | 7     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/sys/amd64/linux32/ | 
| H A D | linux32_sysvec.c | 152 	struct l_rt_sigframe *fp, frame;  in linux_rt_sendsig()  local177 	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/crypto/openssl/crypto/ec/asm/ | 
| H A D | x25519-ppc64.pl | 53 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 D | test_write_filter_zstd.c | 136 	/* 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 D | gdbinit.i386 | 12 # Top 12 words from frame pointer29 # 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 D | sanitizer_stacktrace.cpp | 73 // cell in stack to be a saved frame pointer. GetCanonicFrame returns the74 // 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 D | dtrace_isa.c | 38 #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 …]
 
 |