// SPDX-License-Identifier: GPL-2.0-or-later /* * Queued read/write locks * * (C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P. * * Authors: Waiman Long <[email protected]> */ #include <linux/smp.h> #include <linux/bug.h> #include <linux/cpumask.h> #include <linux/percpu.h> #include <linux/hardirq.h> #include <linux/spinlock.h> #include <trace/events/lock.h> /** * queued_read_lock_slowpath - acquire read lock of a queued rwlock * @lock: Pointer to queued rwlock structure */ void __lockfunc queued_read_lock_slowpath(struct qrwlock *lock) { … } EXPORT_SYMBOL(…); /** * queued_write_lock_slowpath - acquire write lock of a queued rwlock * @lock : Pointer to queued rwlock structure */ void __lockfunc queued_write_lock_slowpath(struct qrwlock *lock) { … } EXPORT_SYMBOL(…);