Lines Matching refs:nmf
1055 struct monfile *imf,*nmf;
1078 nmf = malloc(sizeof(struct monfile));
1079 if (nmf == NULL) {
1085 nmf->fd = fhopen(&fl->filehandle, O_RDWR);
1086 if (nmf->fd < 0) {
1089 free(nmf);
1101 bcopy(&fl->filehandle, &nmf->filehandle, sizeof(fl->filehandle));
1102 nmf->refcount = 1;
1103 nmf->exclusive = fl->client.exclusive;
1105 lflags = (nmf->exclusive == 1) ?
1108 flerror = flock(nmf->fd, lflags);
1113 close(nmf->fd);
1114 free(nmf);
1129 LIST_INSERT_HEAD(&monfilelist_head, nmf, monfilelist);