diff options
author | jhb <jhb@FreeBSD.org> | 2016-02-05 20:38:09 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-02-05 20:38:09 +0000 |
commit | 21434c7a701096dfe0b99fcfe37d637fae83cb2b (patch) | |
tree | ce9ed3ff39ce9db91120b8914ff51d51d3c9d875 /contrib/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp | |
parent | f611a6573503c119077126cc01f2444b3cd0db13 (diff) | |
download | FreeBSD-src-21434c7a701096dfe0b99fcfe37d637fae83cb2b.zip FreeBSD-src-21434c7a701096dfe0b99fcfe37d637fae83cb2b.tar.gz |
Rename aiocblist to kaiocb and use consistent variable names.
Typically <foo>list is used for a structure that holds a list head in
FreeBSD, not for members of a list. As such, rename 'struct aiocblist'
to 'struct kaiocb' (the kernel version of 'struct aiocb').
While here, use more consistent variable names for AIO control blocks:
- Use 'job' instead of 'aiocbe', 'cb', 'cbe', or 'iocb' for kernel job
objects.
- Use 'jobn' instead of 'cbn' for use with TAILQ_FOREACH_SAFE().
- Use 'sjob' and 'sjobn' instead of 'scb' and 'scbn' for fsync jobs.
- Use 'ujob' instead of 'aiocbp', 'job', 'uaiocb', or 'uuaiocb' to hold
a user pointer to a 'struct aiocb'.
- Use 'ujobp' instead of 'aiocbp' for a user pointer to a 'struct aiocb *'.
Reviewed by: kib
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D5125
Diffstat (limited to 'contrib/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp')
0 files changed, 0 insertions, 0 deletions