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

/freebsd-11-stable/sbin/hastd/
H A Drangelock.h40 struct rangelocks;
42 int rangelock_init(struct rangelocks **rlsp);
43 void rangelock_free(struct rangelocks *rls);
44 int rangelock_add(struct rangelocks *rls, off_t offset, off_t length);
45 void rangelock_del(struct rangelocks *rls, off_t offset, off_t length);
46 bool rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length);
H A Drangelock.c51 struct rangelocks { struct
63 rangelock_init(struct rangelocks **rlsp)
65 struct rangelocks *rls;
82 rangelock_free(struct rangelocks *rls)
98 rangelock_add(struct rangelocks *rls, off_t offset, off_t length)
114 rangelock_del(struct rangelocks *rls, off_t offset, off_t length)
130 rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length)
H A Dprimary.c250 static struct rangelocks *range_regular;
253 static struct rangelocks *range_sync;

Completed in 55 milliseconds