Blame source/vdo/kernel/kernelVDOInternals.h

Packit Service 7e342f
/*
Packit Service 7e342f
 * Copyright (c) 2020 Red Hat, Inc.
Packit Service 7e342f
 *
Packit Service 7e342f
 * This program is free software; you can redistribute it and/or
Packit Service 7e342f
 * modify it under the terms of the GNU General Public License
Packit Service 7e342f
 * as published by the Free Software Foundation; either version 2
Packit Service 7e342f
 * of the License, or (at your option) any later version.
Packit Service 7e342f
 * 
Packit Service 7e342f
 * This program is distributed in the hope that it will be useful,
Packit Service 7e342f
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 7e342f
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 7e342f
 * GNU General Public License for more details.
Packit Service 7e342f
 * 
Packit Service 7e342f
 * You should have received a copy of the GNU General Public License
Packit Service 7e342f
 * along with this program; if not, write to the Free Software
Packit Service 7e342f
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit Service 7e342f
 * 02110-1301, USA. 
Packit Service 7e342f
 *
Packit Service 7e342f
 * $Id: //eng/vdo-releases/aluminum/src/c++/vdo/kernel/kernelVDOInternals.h#1 $
Packit Service 7e342f
 */
Packit Service 7e342f
Packit Service 7e342f
#ifndef KERNEL_VDO_INTERNALS_H
Packit Service 7e342f
#define KERNEL_VDO_INTERNALS_H
Packit Service 7e342f
Packit Service 7e342f
#include "kernelVDO.h"
Packit Service 7e342f
Packit Service 7e342f
/**
Packit Service 7e342f
 * Enqueue a work item to be performed in the base code in a
Packit Service 7e342f
 * particular thread.
Packit Service 7e342f
 *
Packit Service 7e342f
 * @param thread         The KVDO thread on which to run the work item
Packit Service 7e342f
 * @param item           The work item to be run
Packit Service 7e342f
 **/
Packit Service 7e342f
void enqueueKVDOThreadWork(KVDOThread *thread, KvdoWorkItem *item);
Packit Service 7e342f
Packit Service 7e342f
#endif // KERNEL_VDO_INTERNALS_H