Lines Matching refs:master
75 struct mount *master, *slave_mnt; in do_make_slave() local
82 master = mnt->mnt_master; in do_make_slave()
83 if (!master) { in do_make_slave()
100 for (m = master = next_peer(mnt); m != mnt; m = next_peer(m)) { in do_make_slave()
102 master = m; in do_make_slave()
111 slave_mnt->mnt_master = master; in do_make_slave()
112 list_move(&mnt->mnt_slave, &master->mnt_slave_list); in do_make_slave()
113 list_splice(&mnt->mnt_slave_list, master->mnt_slave_list.prev); in do_make_slave()
115 mnt->mnt_master = master; in do_make_slave()
157 struct mount *master = m->mnt_master; in propagation_next() local
159 if (master == origin->mnt_master) { in propagation_next()
162 } else if (m->mnt_slave.next != &master->mnt_slave_list) in propagation_next()
166 m = master; in propagation_next()
200 struct mount *master = m->mnt_master; in next_group() local
201 if (m->mnt_slave.next != &master->mnt_slave_list) in next_group()
203 m = next_peer(master); in next_group()
204 if (master->mnt_group_id == origin->mnt_group_id) in next_group()
206 if (master->mnt_slave.next == &m->mnt_slave) in next_group()
208 m = master; in next_group()