Lines Matching refs:t
627 static inline bool __rb_time_read(rb_time_t *t, u64 *ret, unsigned long *cnt) in __rb_time_read() argument
638 c = local_read(&t->cnt); in __rb_time_read()
639 top = local_read(&t->top); in __rb_time_read()
640 bottom = local_read(&t->bottom); in __rb_time_read()
641 msb = local_read(&t->msb); in __rb_time_read()
642 } while (c != local_read(&t->cnt)); in __rb_time_read()
655 static bool rb_time_read(rb_time_t *t, u64 *ret) in rb_time_read() argument
659 return __rb_time_read(t, ret, &cnt); in rb_time_read()
675 static inline void rb_time_val_set(local_t *t, unsigned long val, unsigned long cnt) in rb_time_val_set() argument
678 local_set(t, val); in rb_time_val_set()
681 static void rb_time_set(rb_time_t *t, u64 val) in rb_time_set() argument
689 cnt = local_inc_return(&t->cnt); in rb_time_set()
690 rb_time_val_set(&t->top, top, cnt); in rb_time_set()
691 rb_time_val_set(&t->bottom, bottom, cnt); in rb_time_set()
692 rb_time_val_set(&t->msb, val >> RB_TIME_MSB_SHIFT, cnt); in rb_time_set()
693 } while (cnt != local_read(&t->cnt)); in rb_time_set()
706 static inline bool rb_time_read(rb_time_t *t, u64 *ret) in rb_time_read() argument
708 *ret = local64_read(&t->time); in rb_time_read()
711 static void rb_time_set(rb_time_t *t, u64 val) in rb_time_set() argument
713 local64_set(&t->time, val); in rb_time_set()