summaryrefslogtreecommitdiffstats
path: root/lib/atomic64.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-06-13 12:17:55 -0500
committerDavid S. Miller <davem@davemloft.net>2022-06-15 09:07:58 +0100
commit3eeabea6c895ee9f3f155fede65904d9bd54238a (patch)
tree745cfa91d2db04c20f7ef775b945e41a5ea6a02f /lib/atomic64.c
parent2295947bdaa6c34a019793ec5f49517b8b7942b3 (diff)
downloadlinux-3eeabea6c895ee9f3f155fede65904d9bd54238a.tar.gz
linux-3eeabea6c895ee9f3f155fede65904d9bd54238a.tar.bz2
linux-3eeabea6c895ee9f3f155fede65904d9bd54238a.zip
net: ipa: rename two transaction fields
There are two fields in a GSI transaction that keep track of TRE counts. The first represents the number of TREs reserved for the transaction in the TRE ring; that's currently named "tre_count". The second is the number of TREs that are actually *used* by the transaction at the time it is committed. Rename the "tre_count" field to be "rsvd_count", to make its meaning a little more specific. The "_count" is present in the name mainly to avoid interpreting it as a reserved (not-to-be-used) field. This name also distinguishes it from the "tre_count" field associated with a channel. Rename the "used" field to be "used_count", to match the convention used for reserved TREs. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions