Searched refs:lf_path (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 40 char *lf_path; member 217 dst->lf_path = NULL; in flock_copyfil() 218 if ((dst->lf_fd = open(src->lf_path, O_RDWR)) == -1) { in flock_copyfil() 219 warn("Failed to open %s", src->lf_path); in flock_copyfil() 230 if (asprintf(&lf->lf_path, LOCKFILE_FMT, lf->lf_name, getpid()) < 0) { in flock_mkfil() 235 if ((lf->lf_fd = open(lf->lf_path, O_RDWR|O_CREAT, 0600)) == -1) { in flock_mkfil() 236 warn("Failed to open %s", lf->lf_path); in flock_mkfil() 247 if (asprintf(&lf->lf_path, LOCKDIR_FMT, lf->lf_name, getpid()) < 0) { in flock_mkdir() 252 if (mkdir(lf->lf_path, 0700) == -1) { in flock_mkdir() 253 warn("Failed to make %s", lf->lf_path); in flock_mkdir() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 455 logfile->lf_path = name; in log_file_create() 571 lfp->lf_path); in log_file_rele() 576 lfp->lf_path, (void *)lfp->lf_vp, lfp->lf_vp->v_count)); in log_file_rele() 581 len = strlen(lfp->lf_path) + 1; in log_file_rele() 582 kmem_free(lfp->lf_path, len); in log_file_rele() 842 "stopped writing buffer \n", lfp->lf_path); in nfslog_write_logrecords() 857 "write error = %m\n", lfp->lf_path); in nfslog_write_logrecords() 863 "NFS Logging re-enabled for buffer %s\n", lfp->lf_path); in nfslog_write_logrecords() 935 lf->lf_path, lbp->lb_path)); in nfslog_logbuffer_rename() 940 error = nfslog_logfile_rename(lf->lf_path, lbp->lb_path); in nfslog_logbuffer_rename() [all …]
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | export.h | 340 caddr_t lf_path; /* buffer file location */ member
|