Lines Matching refs:pe_lock_req
385 volatile static pe_lock_req_t pe_lock_req; variable
479 pe_lock_req.lock = UNLOCK_PE; in lvm_init()
544 pe_lock_req.lock = UNLOCK_PE; in lvm_init_vars()
545 pe_lock_req.data.lv_dev = 0; in lvm_init_vars()
546 pe_lock_req.data.pv_dev = 0; in lvm_init_vars()
547 pe_lock_req.data.pv_offset = 0; in lvm_init_vars()
1214 return ((pe_lock_req.lock == LOCK_PE) && in _should_defer()
1215 (pv == pe_lock_req.data.pv_dev) && in _should_defer()
1216 (sector >= pe_lock_req.data.pv_offset) && in _should_defer()
1217 (sector < (pe_lock_req.data.pv_offset + pe_size))); in _should_defer()
1223 if (pe_lock_req.lock == LOCK_PE) { in _defer_extent()
1473 fsync_dev(pe_lock_req.data.lv_dev); in lvm_do_pe_lock_unlock()
1476 if (pe_lock_req.lock == LOCK_PE) { in lvm_do_pe_lock_unlock()
1482 pe_lock_req.lock = LOCK_PE; in lvm_do_pe_lock_unlock()
1483 pe_lock_req.data.lv_dev = new_lock.data.lv_dev; in lvm_do_pe_lock_unlock()
1484 pe_lock_req.data.pv_dev = new_lock.data.pv_dev; in lvm_do_pe_lock_unlock()
1485 pe_lock_req.data.pv_offset = new_lock.data.pv_offset; in lvm_do_pe_lock_unlock()
1489 fsync_dev(pe_lock_req.data.pv_dev); in lvm_do_pe_lock_unlock()
1494 pe_lock_req.lock = UNLOCK_PE; in lvm_do_pe_lock_unlock()
1495 pe_lock_req.data.lv_dev = 0; in lvm_do_pe_lock_unlock()
1496 pe_lock_req.data.pv_dev = 0; in lvm_do_pe_lock_unlock()
1497 pe_lock_req.data.pv_offset = 0; in lvm_do_pe_lock_unlock()