Home | History | Annotate | Download | only in rpc.lockd

Lines Matching defs:file_lock

49 LIST_HEAD(lcklst_head, file_lock);
94 struct file_lock {
95 LIST_ENTRY(file_lock) lcklst;
114 static struct file_lock *lalloc(void);
115 void lfree(struct file_lock *);
116 enum nlm_stats do_lock(struct file_lock *, int);
117 enum nlm_stats do_unlock(struct file_lock *);
118 void send_granted(struct file_lock *, int);
139 static struct file_lock *lock_lookup(struct file_lock *, int);
145 static struct file_lock *
146 lock_lookup(struct file_lock *newfl, int flags)
148 struct file_lock *fl;
177 struct file_lock *fl;
217 struct file_lock *fl, *newfl;
225 /* allocate new file_lock for this request */
361 struct file_lock *fl;
416 static struct file_lock *
419 return calloc(1, sizeof(struct file_lock));
423 lfree(struct file_lock *fl)
438 struct file_lock *fl;
455 * Find the associated file_lock.
507 do_lock(struct file_lock *fl, int block)
611 send_granted(struct file_lock *fl, int opcode)
688 do_unlock(struct file_lock *rfl)
690 struct file_lock *fl;
814 struct file_lock *fl, *next_fl;