HomeSort by: relevance | last modified time | path
    Searched defs:file_lock (Results 1 - 3 of 3) sorted by relevancy

  /src/external/bsd/openldap/dist/libraries/liblutil/
lockf.c 89 struct flock file_lock; local
91 memset( &file_lock, '\0', sizeof( file_lock ) );
92 file_lock.l_type = F_WRLCK;
93 file_lock.l_whence = SEEK_SET;
94 file_lock.l_start = 0;
95 file_lock.l_len = 0;
98 return( fcntl( fd, F_SETLKW, &file_lock ) );
102 struct flock file_lock; local
104 memset( &file_lock, '\0', sizeof( file_lock ) )
    [all...]
  /src/usr.sbin/rpc.lockd/
lockd_lock.c 49 LIST_HEAD(lcklst_head, file_lock);
94 struct file_lock { struct
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)
    [all...]
  /src/external/bsd/nvi/dist/common/
exf.c 342 switch (file_lock(sp, oname, &ep->fcntl_fd, ep->fd, 1)) {
877 if (!noname && file_lock(sp, NULL, NULL, fd, 0) == LOCK_UNAVAIL)
1438 * file_lock --
1458 * PUBLIC: lockr_t file_lock __P((SCR *, char *, int *, int, int));
1461 file_lock(SCR *sp, char *name, int *fdp, int fd, int iswrite) function

Completed in 38 milliseconds