FreeBSD ZFS
The Zettabyte File System
Data Fields

rl Struct Reference

#include <zfs_rlock.h>

Collaboration diagram for rl:
Collaboration graph
[legend]

Data Fields

znode_tr_zp
 znode this lock applies to
avl_node_t r_node
 avl node link
uint64_t r_off
 file range offset
uint64_t r_len
 file range length
uint_t r_cnt
 range reference count in tree
rl_type_t r_type
 range type
kcondvar_t r_wr_cv
 cv for waiting writers
kcondvar_t r_rd_cv
 cv for waiting readers
uint8_t r_proxy
 acting for original range
uint8_t r_write_wanted
 writer wants to lock this range
uint8_t r_read_wanted
 reader wants to lock this range

Detailed Description

Definition at line 45 of file zfs_rlock.h.


Field Documentation

uint_t rl::r_cnt

range reference count in tree

Definition at line 50 of file zfs_rlock.h.

uint64_t rl::r_len

file range length

Definition at line 49 of file zfs_rlock.h.

avl_node_t rl::r_node

avl node link

Definition at line 47 of file zfs_rlock.h.

uint64_t rl::r_off

file range offset

Definition at line 48 of file zfs_rlock.h.

uint8_t rl::r_proxy

acting for original range

Definition at line 54 of file zfs_rlock.h.

kcondvar_t rl::r_rd_cv

cv for waiting readers

Definition at line 53 of file zfs_rlock.h.

reader wants to lock this range

Definition at line 56 of file zfs_rlock.h.

range type

Definition at line 51 of file zfs_rlock.h.

kcondvar_t rl::r_wr_cv

cv for waiting writers

Definition at line 52 of file zfs_rlock.h.

writer wants to lock this range

Definition at line 55 of file zfs_rlock.h.

znode this lock applies to

Definition at line 46 of file zfs_rlock.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines