Home
last modified time | relevance | path

Searched refs:esp (Results 1 – 25 of 34) sorted by relevance

12

/xnu-8796.141.3/libsyscall/custom/
H A Dcustom.s41 mov %esp, %edx
42 andl $0xfffffff0, %esp
43 subl $16, %esp
44 movl %edx, 4(%esp)
45 movl %eax, (%esp)
47 movl 4(%esp), %esp
51 mov %esp, %edx
52 andl $0xfffffff0, %esp
53 subl $16, %esp
54 movl %edx, 4(%esp)
[all …]
H A D__gettimeofday.s51 pushl 12(%esp)
52 pushl 12(%esp)
54 addl $12, %esp
66 mov 4(%esp),%ecx
H A D__fork.s52 subl $28, %esp // Align the stack, with 16 bytes of extra padding that we'll need
60 addl $28, %esp // restore the stack
71 addl $28, %esp // restore the stack
H A D__syscall.s39 movl (%esp),%edx // add one element to stack so
H A D__pipe.s35 movl 4(%esp),%ecx
/xnu-8796.141.3/osfmk/i386/
H A Dasm.h64 #define S_PC (%esp)
65 #define S_ARG0 4(%esp)
66 #define S_ARG1 8(%esp)
67 #define S_ARG2 12(%esp)
68 #define S_ARG3 16(%esp)
69 #define S_ARG4 20(%esp)
71 #define FRAME pushl %ebp; movl %esp, %ebp
295 movl %esp, %esi ;\
296 andl $0xFFFFFFF0, %esp ;\
298 movl %esi, %esp
[all …]
H A Dasm64.h43 1: addl $(2f-1b), (%esp) ;\
H A Dtss.h84 uint32_t esp; /* current stack pointer */ member
/xnu-8796.141.3/tools/tests/execperf/
H A Dexit-asm.S23 mov %esp, %ebp
24 andl $0xfffffff0, %esp
25 subl $12, %esp
38 mov %esp, %ecx
/xnu-8796.141.3/bsd/netinet6/
H A Desp_input.c131 (sizeof(struct esp) < sizeof(struct newesp) \
132 ? sizeof(struct newesp) : sizeof(struct esp))
215 struct esp *esp; in esp4_input_extended() local
263 esp = (struct esp *)(void *)(((u_int8_t *)ip) + off); in esp4_input_extended()
271 spi = esp->esp_spi; in esp4_input_extended()
311 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp4_input_extended()
418 esplen = sizeof(struct esp); in esp4_input_extended()
422 esplen = sizeof(struct esp); in esp4_input_extended()
550 esp = (struct esp *)(void *)(((u_int8_t *)ip) + off); in esp4_input_extended()
916 struct esp *esp; in esp6_input_extended() local
[all …]
H A Desp_output.c176 hdrsiz = sizeof(struct esp) + ivlen + maxpad; in esp_hdrsiz()
244 struct esp *esp; in esp_output() local
363 esplen = sizeof(struct esp); in esp_output()
367 esplen = sizeof(struct esp); in esp_output()
529 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
531 esp = mtod(n, struct esp *); in esp_output()
537 esp = mtod(md, struct esp *); in esp_output()
540 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
542 esp = mtod(md, struct esp *); in esp_output()
566 esp->esp_spi = spi; in esp_output()
[all …]
H A Desp_rijndael.c175 ivoff = off + sizeof(struct esp); in esp_cbc_decrypt_aes()
176 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_decrypt_aes()
390 ivoff = off + sizeof(struct esp); in esp_cbc_encrypt_aes()
391 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_encrypt_aes()
695 struct newesp esp; in esp_gcm_encrypt_aes() local
717 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_encrypt_aes()
747 memcpy(nonce + sizeof(nonce) - sizeof(esp.esp_seq), &esp.esp_seq, sizeof(esp.esp_seq)); in esp_gcm_encrypt_aes()
766 if (aes_encrypt_aad_gcm((unsigned char*)&esp, sizeof(esp), ctx->encrypt)) { in esp_gcm_encrypt_aes()
940 struct newesp esp; in esp_gcm_decrypt_aes() local
961 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_decrypt_aes()
[all …]
H A Dnetinet6.modulemap12 module esp {
13 header "netinet6/esp.h"
H A Desp_core.c729 ivoff = off + sizeof(struct esp); in esp_cbc_decrypt()
730 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_decrypt()
739 ivoff = off + sizeof(struct esp); in esp_cbc_decrypt()
740 bodyoff = off + sizeof(struct esp) + sizeof(u_int32_t); in esp_cbc_decrypt()
967 ivoff = off + sizeof(struct esp); in esp_cbc_encrypt()
968 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_encrypt()
977 ivoff = off + sizeof(struct esp); in esp_cbc_encrypt()
978 bodyoff = off + sizeof(struct esp) + sizeof(u_int32_t); in esp_cbc_encrypt()
H A Desp.h70 struct esp { struct
H A DMakefile12 esp.h in6.h ipcomp.h raw_ip6.h \
/xnu-8796.141.3/tests/
H A Dldt_code32.s103 movl %esp, %ebp
108 subl $8, %esp
145 addl $12, %esp
165 movl %esp, %ecx /* stack ptr is expected in %ecx */
187 addl $8, %esp
/xnu-8796.141.3/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h69 movl %esp, %ebp ;\
102 movl %esp, %ebp ;\
103 subl $L__framesize, %esp ;\
133 movl %esp, %ebp ;\
134 subl $L__framesize, %esp ;\
163 movl %ebp, %esp ;\
H A Dtss.h64 unsigned int esp; member
/xnu-8796.141.3/osfmk/x86_64/
H A Dstart.s166 movl $EXT(low_eintstack), %esp
271 movl $EXT(mp_slave_stack) + PAGE_SIZE, %esp
297 movl $EXT(low_eintstack), %esp
430 movl $EXT(low_eintstack), %esp
/xnu-8796.141.3/libsyscall/wrappers/
H A Dmach_approximate_time.s77 movl %esp, %ebp
H A Dmach_absolute_time.s53 movl %esp,%ebp
/xnu-8796.141.3/osfmk/kperf/
H A Dcallstack.c1308 uint32_t esp = 0UL; local
1314 if (KERN_SUCCESS == chudxnu_kern_read(&esp, (vm_offset_t) regs32->uesp, sizeof(uint32_t)) &&
1316 callstack[bufferIndex++] = (uint64_t) esp;
1330 uint32_t esp = 0UL; local
1335 if (KERN_SUCCESS == chudxnu_task_read(task, &esp, (addr64_t) u_regs32->uesp, sizeof(uint32_t)) &&
1337 callstack[bufferIndex++] = (uint64_t) esp;
/xnu-8796.141.3/osfmk/i386/commpage/
H A Dfifo_queues.s82 movl %esp,%ecx // save stack ptr here
/xnu-8796.141.3/bsd/dev/i386/
H A Dunix_signal.c441 ua_sp = tstate32->esp; in sendsig()
521 sinfo64.pad[0] = tstate32->esp; in sendsig()
716 tstate32->esp = CAST_DOWN_EXPLICIT(user32_addr_t, ua_fp); in sendsig()

12