Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\atomic64.c Create Date:2022-07-28 07:17:07
Last Modify:2022-05-18 13:46:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:atomic64_add_return

Proto:s64 atomic64_add_return(s64 a, atomic64_t *v)

Type:s64

Parameter:

TypeParameterName
s64a
atomic64_t *v
122  lock = lock_addr(v)
122  Do
122  ({
122  __dummy == __dummy2
122  1
122  })
122  Do
122  Do
122  Do
122  ({
122  __dummy == __dummy2
122  1
122  })
122  When 0 cycle
122  When 0 cycle
122  Do
122  __asm__ __volatile__
122  Do
122  0
122  When 0 cycle
122  When 0 cycle
122  When 0 cycle
122  When 0 cycle
122  val = counter += a
122  Do
122  ({
122  __dummy == __dummy2
122  1
122  })
122  Do
122  Do
122  Do
122  ({
122  __dummy == __dummy2
122  1
122  })
122  When 0 cycle
122  When 0 cycle
122  Do
122  __asm__ __volatile__
122  Do
122  0
122  When 0 cycle
122  When 0 cycle
122  When 0 cycle
122  When 0 cycle
122  Return val
Caller
NameDescribe
trace_clock_counterrace_clock_counter(): simply an atomic counter.* Use the trace_counter "counter" for cases where you do not care* about timings, but are interested in strict ordering.