Home
last modified time | relevance | path

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

/mirbsd/src/lib/libpthread/uthread/
Duthread_file.c53 struct file_lock { struct
54 LIST_ENTRY(file_lock) entry; /* Entry if file list. */
87 LIST_HEAD(file_list_head, file_lock) head;
88 struct file_lock fl;
102 struct file_lock *
105 struct file_lock *p; in find_lock()
131 struct file_lock *
134 struct file_lock *p; in do_lock()
158 if (p == NULL && (p = (struct file_lock *) in do_lock()
159 malloc(sizeof(struct file_lock))) != NULL) { in do_lock()
[all …]
/mirbsd/src/usr.bin/vi/common/
Drecover.c375 if (file_lock(sp, NULL, NULL, fd, 1) != LOCK_SUCCESS)
525 switch (file_lock(sp, NULL, NULL, fileno(fp), 1)) {
639 switch (file_lock(sp, NULL, NULL, fd, 1)) {
Dexf.c347 switch (file_lock(sp, oname,
857 if (!noname && file_lock(sp, NULL, NULL, fd, 0) == LOCK_UNAVAIL)
1451 file_lock(sp, name, fdp, fd, iswrite) in file_lock() function
/mirbsd/src/usr.bin/vi/ex/
Dex_read.c267 if (file_lock(sp, NULL, NULL, fileno(fp), 0) == LOCK_UNAVAIL)
/mirbsd/src/usr.bin/vi/include/
Dcom_extern.h102 lockr_t file_lock(SCR *, char *, int *, int, int);