Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/common/
H A Dstring.h16 static inline int strcmp(const char *s1, const char *s2) { in strcmp() argument
17 while (*s1 && *s2 && *s1 == *s2) { in strcmp()
19 ++s2; in strcmp()
21 return *s1 - *s2; in strcmp()
/DragonOS/kernel/src/arch/riscv64/
H A Dkprobe.rs32 pub s2: usize, field
69 s2: trap_frame.s2, in from()
/DragonOS/kernel/src/arch/x86_64/include/asm/
H A Dasm.h396 static inline int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument
402 : CC_OUT(nz)(diff), "+D"(s1), "+S"(s2) in memcmp()
407 diff = *(const unsigned char *)(s1 - 1) - *(const unsigned char *)(s2 - 1); in memcmp()
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dmod.rs88 pub s2: usize, field
141 s2: 0, in new()
H A Dentry.rs137 off_s2 = const offset_of!(TrapFrame, s2), in _save_context()
231 off_s2 = const offset_of!(TrapFrame, s2), in ret_from_exception()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs294 off_s2 = const(offset_of!(ArchPCBInfo, s2)), in switch_to_inner()
348 s2: usize, field
383 s2: 0, in new()
H A Dkthread.rs100 off_s2 = const offset_of!(TrapFrame, s2), in kernel_thread_bootstrap_stage1()