Home
last modified time | relevance | path

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

12

/xnu-12377.81.4/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-12377.81.4/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-12377.81.4/tools/tests/execperf/
H A Dexit-asm.S23 mov %esp, %ebp
24 andl $0xfffffff0, %esp
25 subl $12, %esp
38 mov %esp, %ecx
/xnu-12377.81.4/bsd/netinet6/
H A Desp_input.c135 (sizeof(struct esp) < sizeof(struct newesp) \
136 ? sizeof(struct newesp) : sizeof(struct esp))
221 struct esp *esp; in esp4_input_extended() local
269 esp = (struct esp *)(void *)(((u_int8_t *)ip) + off); in esp4_input_extended()
277 spi = esp->esp_spi; in esp4_input_extended()
318 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp4_input_extended()
434 esplen = sizeof(struct esp); in esp4_input_extended()
438 esplen = sizeof(struct esp); in esp4_input_extended()
566 esp = (struct esp *)(void *)(((u_int8_t *)ip) + off); in esp4_input_extended()
931 struct esp *esp; in esp6_input_extended() local
[all …]
H A Desp_output.c180 hdrsiz = sizeof(struct esp) + ivlen + maxpad; in esp_hdrsiz()
248 struct esp *esp; in esp_output() local
367 esplen = sizeof(struct esp); in esp_output()
371 esplen = sizeof(struct esp); in esp_output()
533 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
535 esp = mtod(n, struct esp *); in esp_output()
541 esp = mtod(md, struct esp *); in esp_output()
544 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
546 esp = mtod(md, struct esp *); in esp_output()
570 esp->esp_spi = spi; in esp_output()
[all …]
H A Desp_rijndael.c176 ivoff = off + sizeof(struct esp); in esp_cbc_decrypt_aes()
177 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_decrypt_aes()
392 ivoff = off + sizeof(struct esp); in esp_cbc_encrypt_aes()
393 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_encrypt_aes()
794 struct newesp esp; in esp_gcm_encrypt_aes() local
824 m_copydata(m, (int)off, sizeof(esp), (caddr_t) &esp); in esp_gcm_encrypt_aes()
853 memcpy(nonce + sizeof(nonce) - sizeof(esp.esp_seq), &esp.esp_seq, sizeof(esp.esp_seq)); in esp_gcm_encrypt_aes()
871 if (aes_encrypt_aad_gcm((unsigned char*)&esp, sizeof(esp), ctx->encrypt)) { in esp_gcm_encrypt_aes()
953 struct newesp esp; in esp_gcm_decrypt_aes() local
982 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.c805 ivoff = off + sizeof(struct esp); in esp_cbc_decrypt()
806 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_decrypt()
815 ivoff = off + sizeof(struct esp); in esp_cbc_decrypt()
816 bodyoff = off + sizeof(struct esp) + sizeof(u_int32_t); in esp_cbc_decrypt()
1043 ivoff = off + sizeof(struct esp); in esp_cbc_encrypt()
1044 bodyoff = off + sizeof(struct esp) + ivlen; in esp_cbc_encrypt()
1053 ivoff = off + sizeof(struct esp); in esp_cbc_encrypt()
1054 bodyoff = off + sizeof(struct esp) + sizeof(u_int32_t); in esp_cbc_encrypt()
H A DMakefile12 esp.h in6.h ipcomp.h raw_ip6.h \
H A Desp.h70 struct esp { struct
/xnu-12377.81.4/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-12377.81.4/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-12377.81.4/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-12377.81.4/libsyscall/wrappers/
H A Dmach_approximate_time.s77 movl %esp, %ebp
H A Dmach_absolute_time.s53 movl %esp,%ebp
/xnu-12377.81.4/osfmk/kperf/
H A Dcallstack.c1377 uint32_t esp = 0UL; local
1383 if (KERN_SUCCESS == chudxnu_kern_read(&esp, (vm_offset_t) regs32->uesp, sizeof(uint32_t)) &&
1385 callstack[bufferIndex++] = (uint64_t) esp;
1399 uint32_t esp = 0UL; local
1404 if (KERN_SUCCESS == chudxnu_task_read(task, &esp, (addr64_t) u_regs32->uesp, sizeof(uint32_t)) &&
1406 callstack[bufferIndex++] = (uint64_t) esp;
/xnu-12377.81.4/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()
/xnu-12377.81.4/osfmk/i386/commpage/
H A Dfifo_queues.s82 movl %esp,%ecx // save stack ptr here

12