Home
last modified time | relevance | path

Searched refs:default_mirror (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-raid1.c81 atomic_t default_mirror; /* Default mirror */ member
180 return &ms->mirror[atomic_read(&ms->default_mirror)]; in get_default_mirror()
188 atomic_set(&ms->default_mirror, m - m0); in set_default_mirror()
440 struct mirror *default_mirror = get_default_mirror(m->ms); in default_ok() local
442 return !atomic_read(&default_mirror->error_count); in default_ok()
914 atomic_set(&ms->default_mirror, DEFAULT_MIRROR); in alloc_context()