Searched refs:pg_init_in_progress (Results 1 – 1 of 1) sorted by relevance
89 atomic_t pg_init_in_progress; /* Only one pg_init allowed at once */ member246 atomic_set(&m->pg_init_in_progress, 0); in alloc_multipath_stage2()314 if (atomic_read(&m->pg_init_in_progress) || test_bit(MPATHF_PG_INIT_DISABLED, &m->flags)) in __pg_init_all_paths()333 atomic_inc(&m->pg_init_in_progress); in __pg_init_all_paths()335 return atomic_read(&m->pg_init_in_progress); in __pg_init_all_paths()538 atomic_inc(&m->pg_init_in_progress); in multipath_clone_and_map()1277 if (!atomic_read(&m->pg_init_in_progress)) in multipath_wait_for_pg_init_completion()1290 if (!atomic_read(&m->pg_init_in_progress)) in flush_multipath_work()1294 if (atomic_read(&m->pg_init_in_progress) && in flush_multipath_work()1391 atomic_inc(&m->pg_init_in_progress); in reinstate_path()[all …]