mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 21:24:00 +08: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
|