Searched refs:lock_dev (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c119 static int lock_dev(char *, struct stat *);
551 (void) lock_dev(NULL, NULL);
637 * lock_dev -
642 lock_dev(char *file, struct stat *statbuf) function
666 dperror("lock_dev: cannot open lock file");
672 dperror("lock_dev: cannot position lock file");
684 dperror("lock_dev: cannot set lock");
1098 if ((*lock_fd = lock_dev(fname, &stat_buf)) == -1) {
1256 if ((*lock_fd = lock_dev(fname, &stat_buf)) == -1) {
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm_impl.h473 static void lock_dev(void);
H A Ddevfsadm.c1024 devi_root_node = node; /* protected by lock_dev() */
1049 devi_root_node = DI_NODE_NIL; /* protected by lock_dev() */
1102 lock_dev();
1388 lock_dev();
1401 lock_dev(void) function
1403 vprint(CHATTY_MID, "lock_dev(): entered\n");
1686 lock_dev();
1727 lock_dev();
2429 lock_dev();
5728 * devi_root_node is protected by lock_dev()
[all...]

Completed in 78 milliseconds