Home
last modified time | relevance | path

Searched refs:file_lock (Results 1 – 6 of 6) sorted by relevance

/freebsd/usr.sbin/rpc.lockd/
H A Dlockd_lock.c76 struct file_lock { struct
77 LIST_ENTRY(file_lock) nfslocklist;
91 LIST_HEAD(nfslocklist_head, file_lock); argument
94 LIST_HEAD(blockedlocklist_head, file_lock);
154 enum partialfilelock_status lock_partialfilelock(struct file_lock *fl);
156 void send_granted(struct file_lock *fl, int opcode);
164 struct file_lock * allocate_file_lock(const netobj *lockowner,
168 void deallocate_file_lock(struct file_lock *fl);
169 void fill_file_lock(struct file_lock *fl, const fhandle_t *fh,
179 int same_filelock_identity(const struct file_lock *fl0,
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dfs.h53 struct file_lock;
166 int (*lock)(struct file *, int, struct file_lock *);
172 int (*flock)(struct file *, int, struct file_lock *);
177 int (*setlease)(struct file *, long, struct file_lock **);
/freebsd/contrib/nvi/common/
H A Drecover.c368 if (file_lock(sp, NULL, fd, 1) != LOCK_SUCCESS) in rcv_mailfile()
525 switch (file_lock(sp, NULL, fileno(fp), 1)) { in rcv_list()
640 switch (file_lock(sp, NULL, fileno(fp), 1)) {
H A Dexf.c342 switch (file_lock(sp, oname, ep->db->fd(ep->db), 0)) { in file_init()
875 if (!noname && file_lock(sp, NULL, fd, 0) == LOCK_UNAVAIL)
1484 file_lock(SCR *sp, char *name, int fd, int iswrite) function
/freebsd/contrib/nvi/ex/
H A Dex_read.c262 if (file_lock(sp, NULL, fileno(fp), 0) == LOCK_UNAVAIL) in ex_read()
/freebsd/usr.bin/vi/
H A Dextern.h338 lockr_t file_lock(SCR *, char *, int, int);