Searched refs:cs (Results 1 - 25 of 31) sorted by relevance

12

/xnu-2422.115.4/osfmk/kperf/
H A Dcallstack.c43 callstack_sample( struct callstack *cs, argument
59 cs->flags = 0;
62 cs->flags |= CALLSTACK_KERNEL;
64 cs->flags |= CALLSTACK_64BIT;
75 cs->frames,
82 cs->flags |= CALLSTACK_VALID;
83 cs->nframes = nframes;
88 cs->flags |= CALLSTACK_TRUNCATED;
89 cs->flags |= CALLSTACK_VALID;
90 cs
108 kperf_kcallstack_sample( struct callstack *cs, struct kperf_context *context ) argument
114 kperf_ucallstack_sample( struct callstack *cs, struct kperf_context *context ) argument
120 callstack_log( struct callstack *cs, uint32_t hcode, uint32_t dcode ) argument
[all...]
H A Dcallstack.h49 extern void kperf_kcallstack_sample( struct callstack *cs, struct kperf_context * );
50 extern void kperf_kcallstack_log( struct callstack *cs );
52 extern void kperf_ucallstack_sample( struct callstack *cs, struct kperf_context * );
54 extern void kperf_ucallstack_log( struct callstack *cs );
/xnu-2422.115.4/osfmk/i386/
H A Dgdb_defs.h54 unsigned int cs; member in struct:__anon896
H A Dmp_desc.h121 valid_user_segment_selectors(uint16_t cs,
H A Dtss.h89 uint32_t cs; member in struct:i386_tss
H A Dpcb.c628 ts->cs = USER_CS;
640 if (!valid_user_segment_selectors(ts->cs,
658 saved_state->cs = ts->cs;
670 if ((saved_state->efl & EFL_TF) && saved_state->cs == SYSENTER_CS)
671 saved_state->cs = SYSENTER_TF_CS;
707 saved_state->isf.cs = USER64_CS;
735 ts->cs = saved_state->cs;
771 ts->cs
[all...]
H A Dpcb_native.c272 saved_state->cs = USER_CS;
320 saved_state->isf.cs = USER64_CS;
371 pcb->iss->ss_64.isf.cs = USER64_CS;
379 pcb->iss->ss_32.cs = USER_CS;
H A Dtrap_native.c167 regs->isf.rflags, regs->isf.rip, regs->isf.cs & 0xFFFF, regs->isf.ss & 0xFFFF,
H A Dpal_routines.c311 if (regs32->cs == SYSENTER_CS || regs32->cs == SYSENTER_TF_CS)
H A Dstartup64.c116 kprintf("sp->cs: 0x%08x\n", sp->cs);
141 kprintf("sp->isf.cs: 0x%016llx\n", sp->isf.cs);
H A Drtclock.c448 if (regs->isf.cs & 0x03)
456 if (regs->cs & 0x03)
H A Dgenassym.c243 DECLARE("R32_CS", R_(cs));
285 DECLARE("R64_CS", R64_(isf.cs));
302 DECLARE("ISF64_CS", ISF64_(cs));
H A Dbsd_i386.c652 if (iss32->cs == SYSENTER_CS)
653 iss32->cs = SYSENTER_TF_CS;
H A Dtrap.c283 kprintf(" isf.cs 0x%llx\n", saved_state->isf.cs);
362 if(state64->isf.cs & 0x03)
369 if (state32->cs & 0x03)
853 regs->isf.rflags, regs->isf.rip, regs->isf.cs & 0xFFFF,
H A Dmp_desc.c732 valid_user_segment_selectors(uint16_t cs, argument
739 return valid_user_code_selector(cs) &&
/xnu-2422.115.4/EXTERNAL_HEADERS/architecture/i386/
H A Dtss.h70 sel_t cs; member in struct:tss
/xnu-2422.115.4/osfmk/vm/
H A Dvm_compressor.c80 #define UNPACK_C_SIZE(cs) ((cs->c_size == (PAGE_SIZE-1)) ? 4096 : cs->c_size)
81 #define PACK_C_SIZE(cs, size) (cs->c_size = ((size == PAGE_SIZE) ? PAGE_SIZE - 1 : size))
430 c_slot_t cs; local
434 cs = C_SEG_SLOT_FROM_INDEX(c_seg, c_indx);
436 if (cs == NULL)
439 if (cs->c_size)
440 panic("c_seg_validate: c_firstemptyslot has non-zero size (%d)\n", cs
807 c_slot_t cs; local
2279 c_slot_t cs; local
2390 c_slot_t cs; local
[all...]
/xnu-2422.115.4/osfmk/kdp/ml/x86_64/
H A Dkdp_vm.c127 tstate->cs = cpstate->isf.cs;
H A Dkdp_machdep.c166 state->cs = saved_state->isf.cs;
/xnu-2422.115.4/osfmk/kern/
H A Dtelemetry.c333 struct callstack cs; local
365 kperf_ucallstack_sample(&cs, &ctx);
366 if (!(cs.flags & CALLSTACK_VALID))
674 btcount = cs.nframes;
692 *(uint64_t *)(uintptr_t)(telemetry_buffer + telemetry_buffer_current_position) = cs.frames[bti];
694 *(uint32_t *)(uintptr_t)(telemetry_buffer + telemetry_buffer_current_position) = (uint32_t)cs.frames[bti];
/xnu-2422.115.4/osfmk/mach/i386/
H A Dthread_status.h330 uint32_t cs; member in struct:x86_saved_state32
353 uint64_t cs; member in struct:x86_64_intr_stack_frame
H A D_structs.h77 unsigned int cs; variable
500 __uint64_t cs; variable
/xnu-2422.115.4/bsd/dev/i386/
H A Ddtrace_subr_x86.c76 if (regs32->cs & 0x03) user_mode = TRUE;
/xnu-2422.115.4/osfmk/chud/i386/
H A Dchud_thread_i386.c510 supervisor = ((regs64->isf.cs & SEL_PL) != SEL_PL_U);
514 supervisor = ((regs32->cs & SEL_PL) != SEL_PL_U);
546 supervisor = ((regs64->isf.cs & SEL_PL) != SEL_PL_U);
550 supervisor = ((regs32->cs & SEL_PL) != SEL_PL_U);
/xnu-2422.115.4/tools/lldbmacros/core/
H A Doperating_system.py176 { 'name': 'cs' , 'bitsize': 32, 'offset' :44, 'encoding': 'uint' , 'format':'hex' , 'set': 0, 'gcc' :11, 'dwarf':11},
196 self.cs = 0
215 cs = {o.cs: #010x}
227 self.eflags, self.eip, self.cs,
267 { 'name':'cs' , 'bitsize' : 64, 'offset' : 144, 'encoding':'uint' , 'format':'hex' , 'set': 0 },
293 self.cs = 0
316 cs = {o.cs: <#018x}
326 self.r15, self.rip, self.rflags, self.cs, sel
[all...]

Completed in 192 milliseconds

12