linux/mm/mm_slot.h

// SPDX-License-Identifier: GPL-2.0

#ifndef _LINUX_MM_SLOT_H
#define _LINUX_MM_SLOT_H

#include <linux/hashtable.h>
#include <linux/slab.h>

/*
 * struct mm_slot - hash lookup from mm to mm_slot
 * @hash: link to the mm_slots hash list
 * @mm_node: link into the mm_slots list
 * @mm: the mm that this information is valid for
 */
struct mm_slot {};

#define mm_slot_entry(ptr, type, member)

static inline void *mm_slot_alloc(struct kmem_cache *cache)
{}

static inline void mm_slot_free(struct kmem_cache *cache, void *objp)
{}

#define mm_slot_lookup(_hashtable, _mm)

#define mm_slot_insert(_hashtable, _mm, _mm_slot)

#endif /* _LINUX_MM_SLOT_H */