Searched refs:file_lock (Results 1 – 5 of 5) sorted by relevance
| /mirbsd/src/lib/libpthread/uthread/ |
| D | uthread_file.c | 53 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/ |
| D | recover.c | 375 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)) {
|
| D | exf.c | 347 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/ |
| D | ex_read.c | 267 if (file_lock(sp, NULL, NULL, fileno(fp), 0) == LOCK_UNAVAIL)
|
| /mirbsd/src/usr.bin/vi/include/ |
| D | com_extern.h | 102 lockr_t file_lock(SCR *, char *, int *, int, int);
|