Motr  M0
m0_hbucket Struct Reference

#include <hash.h>

Collaboration diagram for m0_hbucket:
Collaboration graph

Data Fields

struct m0_mutex hb_mutex
 
struct m0_tl hb_objects
 

Detailed Description

Represents a simple hash bucket.

Definition at line 156 of file hash.h.

Field Documentation

◆ hb_mutex

struct m0_mutex hb_mutex

A lock to guard concurrent access to the list of objects.

Definition at line 160 of file hash.h.

◆ hb_objects

struct m0_tl hb_objects

List of objects which lie in same hash bucket. A single m0_tl_descr object would be used by all m0_hbucket::hb_objects lists in a single m0_hash object.

Definition at line 166 of file hash.h.


The documentation for this struct was generated from the following file: