Home
last modified time | relevance | path

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

/freebsd-13.1/usr.sbin/rpc.lockd/
H A Dlockd_lock.c78 struct file_lock { struct
190 struct file_lock * get_lock_matching_unlock(const struct file_lock *fl);
196 struct file_lock **released_lock, struct file_lock **left_lock,
200 const struct file_lock *unlock_lock, struct file_lock **left_lock,
214 const struct file_lock *fl, struct file_lock **conflicting_fl);
379 struct file_lock *
713 struct file_lock *
778 test_nfslock(const struct file_lock *fl, struct file_lock **conflicting_fl) in test_nfslock()
1704 do_test(struct file_lock *fl, struct file_lock **conflicting_fl) in do_test()
1987 struct file_lock fl; in unlock()
[all …]
/freebsd-13.1/contrib/apr/file_io/unix/
H A Dreadwrite.c96 file_lock(thefile); in apr_file_read()
156 file_lock(thefile); in apr_file_write()
234 file_lock(thefile); in apr_file_writev()
339 file_lock(thefile); in apr_file_flush()
353 file_lock(thefile); in apr_file_sync()
377 file_lock(thefile);
420 file_lock(thefile);
H A Dseek.c62 file_lock(thefile); in apr_file_seek()
103 file_lock(fp); in apr_file_trunc()
H A Dbuffer.c27 file_lock(file); in apr_file_buffer_set()
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dfs.h54 struct file_lock;
167 int (*lock)(struct file *, int, struct file_lock *);
173 int (*flock)(struct file *, int, struct file_lock *);
178 int (*setlease)(struct file *, long, struct file_lock **);
/freebsd-13.1/contrib/apr/include/arch/unix/
H A Dapr_arch_file_io.h121 #define file_lock(f) do { \ macro
130 #define file_lock(f) do {} while (0) macro
/freebsd-13.1/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-13.1/contrib/nvi/ex/
H A Dex_read.c262 if (file_lock(sp, NULL, fileno(fp), 0) == LOCK_UNAVAIL) in ex_read()
/freebsd-13.1/usr.bin/vi/
H A Dextern.h338 lockr_t file_lock(SCR *, char *, int, int);