RL_READER
if (type == RL_READER) {
ztest_object_lock(zd, lr->lr_foid, RL_READER);
ztest_object_lock(zd, lr->lr_foid, RL_READER);
ztest_object_lock(zd, object, RL_READER);
object, offset, size, RL_READER);
object, offset, size, RL_READER);
ztest_object_lock(zd, od->od_object, RL_READER);
ztest_object_lock(zd, object, RL_READER);
proxy->lr_type = RL_READER;
rear->lr_type = RL_READER;
lr->lr_type = RL_READER;
ASSERT(type == RL_READER || type == RL_WRITER || type == RL_APPEND);
if (type == RL_READER) {
ASSERT3U(lr->lr_type, ==, RL_READER);
ASSERT3U(next->lr_type, ==, RL_READER);
ASSERT(lr->lr_type == RL_WRITER || lr->lr_type == RL_READER);
offset, size, RL_READER);
offset, size, RL_READER);
uio->uio_loffset, uio->uio_resid, RL_READER);
RL_READER);
RL_READER);
doread ? RL_READER : RL_WRITER);
uio->uio_loffset, uio->uio_resid, RL_READER);
lr = rangelock_enter(sl->sl_zvol_rl_hdl, offset, len, RL_READER);
RL_READER);