Searched refs:rangelocks (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/sbin/hastd/
H A Drangelock.h38 struct rangelocks;
40 int rangelock_init(struct rangelocks **rlsp);
41 void rangelock_free(struct rangelocks *rls);
42 int rangelock_add(struct rangelocks *rls, off_t offset, off_t length);
43 void rangelock_del(struct rangelocks *rls, off_t offset, off_t length);
44 bool rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length);
H A Drangelock.c49 struct rangelocks { struct
61 rangelock_init(struct rangelocks **rlsp)
63 struct rangelocks *rls;
80 rangelock_free(struct rangelocks *rls)
96 rangelock_add(struct rangelocks *rls, off_t offset, off_t length)
112 rangelock_del(struct rangelocks *rls, off_t offset, off_t length)
128 rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length)
H A Dprimary.c225 static struct rangelocks *range_regular;
228 static struct rangelocks *range_sync;

Completed in 63 milliseconds