• Home
  • Raw
  • Download

Lines Matching refs:_ptr

418 #define __try_cmpxchg_user_asm(itype, ltype, _ptr, _pold, _new, label)	({ \  argument
420 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \
421 __typeof__(*(_ptr)) __old = *_old; \
422 __typeof__(*(_ptr)) __new = (_new); \
427 [ptr] "+m" (*_ptr), \
437 #define __try_cmpxchg64_user_asm(_ptr, _pold, _new, label) ({ \ argument
439 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \
440 __typeof__(*(_ptr)) __old = *_old; \
441 __typeof__(*(_ptr)) __new = (_new); \
447 [ptr] "+m" (*_ptr) \
457 #define __try_cmpxchg_user_asm(itype, ltype, _ptr, _pold, _new, label) ({ \ argument
460 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \
461 __typeof__(*(_ptr)) __old = *_old; \
462 __typeof__(*(_ptr)) __new = (_new); \
471 [ptr] "+m" (*_ptr), \
489 #define __try_cmpxchg64_user_asm(_ptr, _pold, _new, label) ({ \ argument
491 __typeof__(_ptr) _old = (__typeof__(_ptr))(_pold); \
492 __typeof__(*(_ptr)) __old = *_old; \
493 __typeof__(*(_ptr)) __new = (_new); \
502 [ptr] "+m" (*_ptr) \
609 #define __try_cmpxchg64_user_asm(_ptr, _oldp, _nval, _label) \ argument
610 __try_cmpxchg_user_asm("q", "r", (_ptr), (_oldp), (_nval), _label)
618 #define unsafe_try_cmpxchg_user(_ptr, _oldp, _nval, _label) ({ \ argument
620 __chk_user_ptr(_ptr); \
621 switch (sizeof(*(_ptr))) { \
623 (__force u8 *)(_ptr), (_oldp), \
627 (__force u16 *)(_ptr), (_oldp), \
631 (__force u32 *)(_ptr), (_oldp), \
634 case 8: __ret = __try_cmpxchg64_user_asm((__force u64 *)(_ptr), (_oldp),\
642 #define __try_cmpxchg_user(_ptr, _oldp, _nval, _label) ({ \ argument
645 __ret = !unsafe_try_cmpxchg_user(_ptr, _oldp, _nval, _label); \