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

/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Druntests.c40 char *lf_path; member in struct:lockinfo
211 dst->lf_path = NULL;
212 if ((dst->lf_fd = open(src->lf_path, O_RDWR)) == -1) {
213 warn("Failed to open %s", src->lf_path);
224 if (asprintf(&lf->lf_path, LOCKFILE_FMT, lf->lf_name, getpid()) < 0) {
229 if ((lf->lf_fd = open(lf->lf_path, O_RDWR|O_CREAT, 0600)) == -1) {
230 warn("Failed to open %s", lf->lf_path);
241 if (asprintf(&lf->lf_path, LOCKDIR_FMT, lf->lf_name, getpid()) < 0) {
246 if (mkdir(lf->lf_path, 0700) == -1) {
247 warn("Failed to make %s", lf->lf_path);
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c451 logfile->lf_path = name;
566 lfp->lf_path);
571 lfp->lf_path, (void *)lfp->lf_vp, lfp->lf_vp->v_count));
576 len = strlen(lfp->lf_path) + 1;
577 kmem_free(lfp->lf_path, len);
840 "stopped writing buffer \n", lfp->lf_path);
855 "write error = %m\n", lfp->lf_path);
861 "NFS Logging re-enabled for buffer %s\n", lfp->lf_path);
933 lf->lf_path, lbp->lb_path));
938 if (error = nfslog_logfile_rename(lf->lf_path, lb
[all...]
/illumos-gate/usr/src/uts/common/nfs/
H A Dexport.h331 caddr_t lf_path; /* buffer file location */ member in struct:log_file

Completed in 68 milliseconds