|
Packit Service |
b3514a |
/*
|
|
Packit Service |
b3514a |
* Copyright (c) 2020 Red Hat, Inc.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* This program is free software; you can redistribute it and/or
|
|
Packit Service |
b3514a |
* modify it under the terms of the GNU General Public License
|
|
Packit Service |
b3514a |
* as published by the Free Software Foundation; either version 2
|
|
Packit Service |
b3514a |
* of the License, or (at your option) any later version.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
b3514a |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
b3514a |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
b3514a |
* GNU General Public License for more details.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
b3514a |
* along with this program; if not, write to the Free Software
|
|
Packit Service |
b3514a |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
Packit Service |
b3514a |
* 02110-1301, USA.
|
|
Packit Service |
b3514a |
*
|
|
Packit Service |
b3514a |
* $Id: //eng/vdo-releases/aluminum/src/c++/vdo/kernel/poolSysfs.h#1 $
|
|
Packit Service |
b3514a |
*/
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
#ifndef POOL_SYSFS_H
|
|
Packit Service |
b3514a |
#define POOL_SYSFS_H
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
#include <linux/kobject.h>
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
// The kobj_type used for setting up the kernel layer kobject.
|
|
Packit Service |
b3514a |
extern struct kobj_type kernelLayerKobjType;
|
|
Packit Service |
b3514a |
// The kobj_type used for the "work_queues" subdirectory.
|
|
Packit Service |
b3514a |
extern struct kobj_type workQueueDirectoryKobjType;
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
// The sysfs_ops used for the "statistics" subdirectory.
|
|
Packit Service |
b3514a |
extern struct sysfs_ops poolStatsSysfsOps;
|
|
Packit Service |
b3514a |
// The attribute used for the "statistics" subdirectory.
|
|
Packit Service |
b3514a |
extern struct attribute *poolStatsAttrs[];
|
|
Packit Service |
b3514a |
|
|
Packit Service |
b3514a |
#endif /* POOL_SYSFS_H */
|