Lines Matching full:gs
67 asm volatile("movw %0,%%gs" : : "rm" (seg)); in set_gs()
69 static inline u16 gs(void) in gs() function
72 asm volatile("movw %%gs,%0" : "=rm" (seg)); in gs()
120 asm volatile("movb %%gs:%1,%0" : "=q" (v) : "m" (*ptr)); in rdgs8()
127 asm volatile("movw %%gs:%1,%0" : "=r" (v) : "m" (*ptr)); in rdgs16()
134 asm volatile("movl %%gs:%1,%0" : "=r" (v) : "m" (*ptr)); in rdgs32()
141 asm volatile("movb %1,%%gs:%0" : "+m" (*ptr) : "qi" (v)); in wrgs8()
146 asm volatile("movw %1,%%gs:%0" : "+m" (*ptr) : "ri" (v)); in wrgs16()
151 asm volatile("movl %1,%%gs:%0" : "+m" (*ptr) : "ri" (v)); in wrgs32()
165 asm volatile("gs; repe; cmpsb" CC_SET(nz) in memcmp_gs()
230 u16 gs, fs; member