Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 25 of 231) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/common/io/
H A Dramdisk.c133 rd_devstate_t *rsp; in rd_is_busy() local
137 if ((rsp = ddi_get_soft_state(rd_statep, minor)) != NULL && in rd_is_busy()
138 rsp->rd_dip == rd_dip) { in rd_is_busy()
171 rd_devstate_t *rsp; in rd_find_named_disk() local
175 if ((rsp = ddi_get_soft_state(rd_statep, minor)) != NULL && in rd_find_named_disk()
176 strcmp(rsp->rd_name, name) == 0) { in rd_find_named_disk()
177 return (rsp); in rd_find_named_disk()
191 rd_devstate_t *rsp; in rd_find_dip_state() local
195 if ((rsp = ddi_get_soft_state(rd_statep, minor)) != NULL && in rd_find_dip_state()
196 rsp->rd_dip == dip) { in rd_find_dip_state()
[all …]
/illumos-gate/usr/src/uts/i86pc/ml/
H A Dsyscall_asm_amd64.S174 movq %rsp, %gs:CPU_RTMP_RSP /* save the stack pointer */ ;\
177 movq T_STACK(%r15), %rsp /* switch to the kernel stack */ ;\
178 subq $16, %rsp /* save space for 2 pointers */ ;\
181 movq %r14, 8(%rsp) /* stash the user stack pointer */ ;\
191 movq %r15, 16(%rsp) /* save the callback pointer */ ;\
193 movq 24(%rsp), %r15 /* load callback pointer */ ;\
196 movq %gs:CPU_RTMP_RSP, %rsp /* restore the stack pointer */
233 andb $_CONST(0xffff - PS_C), REGOFF_RFL(%rsp)
339 TRACE_REGS(%rdi, %rsp, %rbx, %rcx); \
341 movq REGOFF_RAX(%rsp), %rax; \
[all …]
/illumos-gate/usr/src/uts/intel/amd64/sys/
H A Dprivregs.h138 movl %eax, REGOFF_FSBASE(%rsp); \
139 movl %edx, REGOFF_FSBASE+4(%rsp); \
142 movl %eax, REGOFF_GSBASE(%rsp); \
143 movl %edx, REGOFF_GSBASE+4(%rsp)
156 movq %r15, REGOFF_R15(%rsp); \
157 movq %r14, REGOFF_R14(%rsp); \
158 movq %r13, REGOFF_R13(%rsp); \
159 movq %r12, REGOFF_R12(%rsp); \
160 movq %r11, REGOFF_R11(%rsp); \
161 movq %r10, REGOFF_R10(%rsp); \
[all …]
/illumos-gate/usr/src/lib/libc/amd64/fp/
H A D_xtoll.S37 subq $8,%rsp
38 fstcw cw_old(%rsp)
39 movw cw_old(%rsp),%ax
43 movw %ax,cw(%rsp)
44 fldcw cw(%rsp)
45 fistpl two_words(%rsp)
47 fstcw cw(%rsp) /* fetch CW in case masks changed */
48 movw cw(%rsp),%ax
51 movw %ax,cw(%rsp)
52 fldcw cw(%rsp)
[all …]
H A D_base_il.S54 subq $0x4, %rsp
55 movl $0x1f80, (%rsp) /* 0x1f80 == CSR_DEFAULT. */
57 ldmxcsr (%rsp) /* Essentially _putmxcsr(CSR_DEFAULT); */
62 stmxcsr (%rsp) /* Essentially do _getmxcsr(). */
63 andl $0x3f, (%rsp) /* Check it. */
66 addq $0x4, %rsp
95 subq $0x4, %rsp
96 movl $0x1f80, (%rsp) /* 0x1f80 == CSR_DEFAULT. */
98 ldmxcsr (%rsp) /* Essentially _putmxcsr(CSR_DEFAULT); */
103 stmxcsr (%rsp) /* Essentially do _getmxcsr(). */
[all …]
H A Dfpcw.S36 subq $8,%rsp
37 movq %rdi,(%rsp)
38 fldcw (%rsp)
39 addq $8,%rsp
54 subq $32,%rsp
56 fnstenv (%rsp)
59 movw %di,4(%rsp)
60 fldenv (%rsp)
61 addq $32,%rsp
71 subq $8,%rsp
[all …]
H A D_xtoull.S37 subq $16,%rsp
38 fstcw cw_old(%rsp)
39 movw cw_old(%rsp),%ax
43 movw %ax,cw(%rsp)
44 fldcw cw(%rsp)
51 fistpll 8(%rsp)
53 movq 8(%rsp),%rax
59 fstcw cw(%rsp) /* fetch CW in case masks changed */
60 movw cw(%rsp),%dx
63 movw %dx,cw(%rsp)
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dretire_store.c158 rio_store_free(rio_store_t *rsp) in rio_store_free() argument
162 ASSERT(rsp); in rio_store_free()
163 ASSERT(rsp->rst_devpath); in rio_store_free()
164 ASSERT(rsp->rst_flags & RIO_STORE_F_RETIRED); in rio_store_free()
165 ASSERT(!(rsp->rst_flags & ~flag_mask)); in rio_store_free()
167 STORE_TRC((CE_NOTE, "store: freed path: %s", rsp->rst_devpath)); in rio_store_free()
169 kmem_free(rsp->rst_devpath, strlen(rsp->rst_devpath) + 1); in rio_store_free()
170 kmem_free(rsp, sizeof (*rsp)); in rio_store_free()
177 rio_store_t *rsp; in retire_list_free() local
183 while (rsp = list_head(listp)) { in retire_list_free()
[all …]
H A Drefstr.c37 refstr_t *rsp; in refstr_alloc() local
38 size_t size = sizeof (rsp->rs_size) + sizeof (rsp->rs_refcnt) + in refstr_alloc()
42 rsp = kmem_alloc(size, KM_SLEEP); in refstr_alloc()
43 rsp->rs_size = (uint32_t)size; in refstr_alloc()
44 rsp->rs_refcnt = 1; in refstr_alloc()
45 (void) strcpy(rsp->rs_string, str); in refstr_alloc()
46 return (rsp); in refstr_alloc()
50 refstr_value(refstr_t *rsp) in refstr_value() argument
52 return (rsp != NULL ? (const char *)rsp->rs_string : NULL); in refstr_value()
56 refstr_hold(refstr_t *rsp) in refstr_hold() argument
[all …]
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dasmacros.h141 movq %rsp, %rbp ;
156 subq $TF_RIP,%rsp ; /* skip dummy tf_err and tf_trapno */ \
157 testb $SEL_RPL_MASK,TF_CS(%rsp) ; /* come from kernel? */ \
160 1: movq %rdi,TF_RDI(%rsp) ; \
161 movq %rsi,TF_RSI(%rsp) ; \
162 movq %rdx,TF_RDX(%rsp) ; \
163 movq %rcx,TF_RCX(%rsp) ; \
164 movq %r8,TF_R8(%rsp) ; \
165 movq %r9,TF_R9(%rsp) ; \
166 movq %rax,TF_RAX(%rsp) ; \
[all …]
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dfloorl.S36 subq $16,%rsp
37 fstcw (%rsp)
38 fldt 24(%rsp)
39 movw (%rsp),%cx
42 movw %cx,4(%rsp)
43 fldcw 4(%rsp) / set RD = up
45 fstcw 4(%rsp) / restore RD
46 movw 4(%rsp),%dx
48 movw (%rsp),%cx
51 movw %cx,(%rsp)
[all …]
/illumos-gate/usr/src/lib/libc/amd64/threads/
H A Dasm_subr.S90 movq %rsp, %rbp
121 movq %rsp, %rbp
124 subq $REGOFF(_NGREG), %rsp
125 movq %r15, REGOFF(REG_R15) (%rsp)
126 movq %r14, REGOFF(REG_R14) (%rsp)
127 movq %r13, REGOFF(REG_R13) (%rsp)
128 movq %r12, REGOFF(REG_R12) (%rsp)
129 movq %r11, REGOFF(REG_R11) (%rsp)
130 movq %r10, REGOFF(REG_R10) (%rsp)
131 movq %r9, REGOFF(REG_R9) (%rsp)
[all …]
/illumos-gate/usr/src/test/os-tests/tests/saveargs/testmatch/
H A Ddata.S46 movq %rsp, %rbp
53 subq $0x70, %rsp
58 movq %rsp, %rbp
64 subq $0x50,%rsp
69 movq %rsp, %rbp
75 subq $0x50,%rsp
80 movq %rsp,%rbp
86 subq $0x50,%rsp
91 movq %rsp,%rbp
97 subq $0x50,%rsp
[all …]
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Dexc.S68 cmpq %rsp,exc_rsp(%rip)
76 movq (6*8)(%rsp),%rax /* saved %rsp value, AKA old stack */
78 movq (3*8)(%rsp),%rdx /* copy %rip to old stack */
80 movq (4*8)(%rsp),%rdx /* copy %cs */
82 movq (5*8)(%rsp),%rdx /* copy %rflags */
84 movq (6*8)(%rsp),%rdx /* copy %rsp */
86 movq (7*8)(%rsp),%rdx /* copy %ss */
98 movq (2*8)(%rsp),%rcx /* saved %rax is put on top of old stack */
100 movq (%rsp),%rcx
101 movq 8(%rsp),%rdx
[all …]
/illumos-gate/usr/src/uts/i86xpv/ml/
H A Dpanic_asm.S58 movq %rsp, %rbp
60 subq $REGSIZE, %rsp
61 movq %rax, REGOFF_RAX(%rsp)
62 movq %rbx, REGOFF_RBX(%rsp)
63 movq %rsp, %rax
66 movq %rbx, REGOFF_RBP(%rsp)
68 movq %rbx, REGOFF_TRAPNO(%rsp)
70 movq %rbx, REGOFF_ERR(%rsp)
72 movq %rbx, REGOFF_RIP(%rsp)
74 movq %rbx, REGOFF_CS(%rsp)
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmx_support.S81 movq %rdi, VMXSTK_TMPRDI(%rsp); \
82 movq VMXSTK_RDI(%rsp), %rdi; \
84 leaq VMXSTK_FP(%rsp), %rbp; \
100 movq VMXSTK_TMPRDI(%rsp), %rdx; \
139 movq %rsp, %rbp
140 subq $VMXSTKSIZE, %rsp
141 movq %r15, VMXSTK_R15(%rsp)
142 movq %r14, VMXSTK_R14(%rsp)
143 movq %r13, VMXSTK_R13(%rsp)
144 movq %r12, VMXSTK_R12(%rsp)
[all …]
/illumos-gate/usr/src/uts/intel/ml/
H A Dexception.S163 cmpq %r11, 24(%rsp) /* Compare to saved r_rip on the stack */
166 cmpq %r11, 24(%rsp) /* Compare to saved r_rip on the stack */
169 cmpq %r11, 24(%rsp)
172 cmpq %r11, 24(%rsp)
211 subq $REGOFF_TRAPNO, %rsp; /* save regs */ \
212 movq %rax, REGOFF_RAX(%rsp); \
213 movq %rbx, REGOFF_RBX(%rsp); \
214 movq %rcx, REGOFF_RCX(%rsp); \
215 movq %rdx, REGOFF_RDX(%rsp); \
216 movq %rbp, REGOFF_RBP(%rsp); \
[all …]
/illumos-gate/usr/src/common/crypto/modes/amd64/
H A Dgcm_intel.S126 mov %rsp, %rbp; \
130 and $-XMM_ALIGN, %rsp; \
131 sub $[XMM_SIZE * 11], %rsp; \
132 movaps %xmm0, 160(%rsp); \
133 movaps %xmm1, 144(%rsp); \
134 movaps %xmm2, 128(%rsp); \
135 movaps %xmm3, 112(%rsp); \
136 movaps %xmm4, 96(%rsp); \
137 movaps %xmm5, 80(%rsp); \
138 movaps %xmm6, 64(%rsp); \
[all …]
/illumos-gate/usr/src/test/crypto-tests/tests/digest/data/
H A DMakefile23 MD5Msg.rsp \
24 SHA1LongMsg.rsp \
25 SHA1ShortMsg.rsp \
26 SHA224LongMsg.rsp \
27 SHA224ShortMsg.rsp \
28 SHA256LongMsg.rsp \
29 SHA256ShortMsg.rsp \
30 SHA384LongMsg.rsp \
31 SHA384ShortMsg.rsp \
32 SHA512_224LongMsg.rsp \
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dlook_up.c146 swapresponse(rsp) in swapresponse() argument
147 CTL_RESPONSE rsp; in swapresponse()
151 if (rsp.addr.sin_family != AF_INET) {
152 bcopy(&rsp, &swaprsp, sizeof (CTL_RESPONSE));
154 rsp.addr = swaprsp.addr;
155 rsp.type = swaprsp.type;
156 rsp.answer = swaprsp.answer;
157 rsp.id_num = swaprsp.id_num;
160 return (rsp);
177 swapresponse(rsp) in swapresponse() argument
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D64.avx512.s76 vmovaps %zmm24, 0x8(%rsp)
77 vmovaps 0x8(%rsp), %zmm31
92 vmovups 0x8(%rsp), %zmm17
103 vmovaps %zmm25, (%rsp)
104 vmovaps %zmm25, 0x20(%rsp)
105 vmovaps %zmm24, 0x40(%rsp)
106 vmovaps %zmm24, 0x60(%rsp)
107 vmovaps %zmm24, 0x80(%rsp)
108 vmovaps %zmm24, -0x80(%rsp)
109 vmovaps %zmm24, -0x20(%rsp)
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dsvm_support.S73 movq %rsp, %rbp
74 subq $SVMSTKSIZE, %rsp
75 movq %r15, SVMSTK_R15(%rsp)
76 movq %r14, SVMSTK_R14(%rsp)
77 movq %r13, SVMSTK_R13(%rsp)
78 movq %r12, SVMSTK_R12(%rsp)
79 movq %rbx, SVMSTK_RBX(%rsp)
80 movq %rdx, SVMSTK_RDX(%rsp)
81 movq %rsi, SVMSTK_RSI(%rsp)
82 movq %rdi, SVMSTK_RDI(%rsp)
[all …]
/illumos-gate/usr/src/common/crypto/sha1/amd64/
H A Dsha1-x86_64.pl91 mov %rsp,%rax
93 sub \$`8+16*4`,%rsp
95 and \$-64,%rsp
97 mov %rax,`16*4`(%rsp)
110 mov `16*4`(%rsp),%rsp
125 mov $xi,`4*$i`(%rsp)
136 mov $xi,`4*$j`(%rsp)
144 mov `4*($j%16)`(%rsp),$xi
147 xor `4*(($j+2)%16)`(%rsp),$xi
150 xor `4*(($j+8)%16)`(%rsp),$xi
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drcfile.c69 static int rc_freesect(struct rcfile *rcp, struct rcsection *rsp);
70 static struct rckey *rc_sect_findkey(struct rcsection *rsp, const char *key);
71 static struct rckey *rc_sect_addkey(struct rcsection *rsp, const char *name,
293 rc_freesect(struct rcfile *rcp, struct rcsection *rsp) in rc_freesect() argument
299 SLIST_REMOVE(&rcp->rf_sect, rsp, rcsection, rs_next); in rc_freesect()
300 for (p = SLIST_FIRST(&rsp->rs_keys); p; ) { in rc_freesect()
305 free(rsp->rs_name); in rc_freesect()
306 free(rsp); in rc_freesect()
311 rc_sect_findkey(struct rcsection *rsp, const char *keyname) in rc_sect_findkey() argument
317 SLIST_FOREACH(p, &rsp->rs_keys, rk_next) in rc_sect_findkey()
[all …]
/illumos-gate/usr/src/lib/commpage/amd64/
H A Dcp_subr.S228 subq $0x20, %rsp
229 movq %rdi, 0x10(%rsp)
232 movl %r9d, 0x18(%rsp)
236 movq %rax, (%rsp)
237 movq %rdx, 0x8(%rsp)
248 movq 0x10(%rsp), %rdi
249 movl 0x18(%rsp), %r9d
279 movq (%rsp), %rdx
294 movq 0x8(%rsp), %r8
297 addq $0x20, %rsp
[all …]

12345678910