mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 14:06:44 +07:00
a1ce39288e
Convert #include "..." to #include <path/...> in kernel system headers. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
20 lines
425 B
C
20 lines
425 B
C
#ifndef CEPH_CRUSH_MAPPER_H
|
|
#define CEPH_CRUSH_MAPPER_H
|
|
|
|
/*
|
|
* CRUSH functions for find rules and then mapping an input to an
|
|
* output set.
|
|
*
|
|
* LGPL2
|
|
*/
|
|
|
|
#include <linux/crush/crush.h>
|
|
|
|
extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size);
|
|
extern int crush_do_rule(const struct crush_map *map,
|
|
int ruleno,
|
|
int x, int *result, int result_max,
|
|
const __u32 *weights);
|
|
|
|
#endif
|