sched/wait: Rename wait_queue_t => wait_queue_entry_t
authorIngo Molnar <mingo@kernel.org>
Tue, 20 Jun 2017 10:06:13 +0000 (12:06 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Jun 2017 10:18:27 +0000 (12:18 +0200)
commitac6424b981bce1c4bc55675c6ce11bfe1bbfa64f
treea9312337219777a9d3fb65d4673bbc6b5eeacd9c
parent9705596d08ac87c18aee32cc97f2783b7d14624e
sched/wait: Rename wait_queue_t => wait_queue_entry_t

Rename:

wait_queue_t => wait_queue_entry_t

'wait_queue_t' was always a slight misnomer: its name implies that it's a "queue",
but in reality it's a queue *entry*. The 'real' queue is the wait queue head,
which had to carry the name.

Start sorting this out by renaming it to 'wait_queue_entry_t'.

This also allows the real structure name 'struct __wait_queue' to
lose its double underscore and become 'struct wait_queue_entry',
which is the more canonical nomenclature for such data types.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
94 files changed:
Documentation/DocBook/kernel-hacking.tmpl
Documentation/filesystems/autofs4.txt
block/blk-mq.c
block/blk-wbt.c
block/kyber-iosched.c
drivers/bluetooth/btmrvl_main.c
drivers/char/ipmi/ipmi_watchdog.c
drivers/gpu/drm/i915/i915_gem_request.h
drivers/gpu/drm/i915/i915_sw_fence.c
drivers/gpu/drm/i915/i915_sw_fence.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/vga/vgaarb.c
drivers/infiniband/hw/i40iw/i40iw_main.c
drivers/md/bcache/btree.h
drivers/net/ethernet/cavium/liquidio/octeon_main.h
drivers/net/wireless/cisco/airo.c
drivers/net/wireless/intersil/hostap/hostap_ioctl.c
drivers/net/wireless/marvell/libertas/main.c
drivers/scsi/dpt/dpti_i2o.h
drivers/scsi/ips.c
drivers/scsi/ips.h
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
drivers/staging/lustre/lnet/libcfs/debug.c
drivers/staging/lustre/lnet/libcfs/tracefile.c
drivers/staging/lustre/lnet/lnet/lib-eq.c
drivers/staging/lustre/lnet/lnet/lib-socket.c
drivers/staging/lustre/lustre/fid/fid_request.c
drivers/staging/lustre/lustre/include/lustre_lib.h
drivers/staging/lustre/lustre/llite/lcommon_cl.c
drivers/staging/lustre/lustre/lov/lov_cl_internal.h
drivers/staging/lustre/lustre/lov/lov_object.c
drivers/staging/lustre/lustre/obdclass/lu_object.c
drivers/tty/synclink_gt.c
drivers/vfio/virqfd.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h
fs/autofs4/autofs_i.h
fs/autofs4/waitq.c
fs/cachefiles/internal.h
fs/cachefiles/namei.c
fs/cachefiles/rdwr.c
fs/dax.c
fs/eventfd.c
fs/eventpoll.c
fs/fs_pin.c
fs/nfs/nfs4proc.c
fs/nilfs2/segment.c
fs/orangefs/orangefs-bufmap.c
fs/reiserfs/journal.c
fs/select.c
fs/signalfd.c
fs/userfaultfd.c
include/linux/blk-mq.h
include/linux/eventfd.h
include/linux/kvm_irqfd.h
include/linux/pagemap.h
include/linux/poll.h
include/linux/vfio.h
include/linux/wait.h
include/net/af_unix.h
include/uapi/linux/auto_fs.h
include/uapi/linux/auto_fs4.h
kernel/exit.c
kernel/futex.c
kernel/sched/completion.c
kernel/sched/core.c
kernel/sched/wait.c
kernel/workqueue.c
mm/filemap.c
mm/memcontrol.c
mm/mempool.c
mm/shmem.c
net/9p/trans_fd.c
net/bluetooth/bnep/core.c
net/bluetooth/cmtp/core.c
net/bluetooth/hidp/core.c
net/core/datagram.c
net/unix/af_unix.c
sound/core/control.c
sound/core/hwdep.c
sound/core/init.c
sound/core/oss/pcm_oss.c
sound/core/pcm_lib.c
sound/core/pcm_native.c
sound/core/rawmidi.c
sound/core/seq/seq_fifo.c
sound/core/seq/seq_memory.c
sound/core/timer.c
sound/isa/wavefront/wavefront_synth.c
sound/pci/mixart/mixart_core.c
sound/pci/ymfpci/ymfpci_main.c
virt/kvm/eventfd.c