Searched refs:lfd (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dlockfile.c47 struct flock lfd; local
49 memset(&lfd, '\0', sizeof lfd);
51 lfd.l_type = F_UNLCK;
53 lfd.l_type = F_WRLCK;
55 lfd.l_type = F_RDLCK;
61 if (fcntl(fd, action, &lfd) >= 0)
/osnet-11/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c90 struct flock lfd; local
92 (void) memset(&lfd, '\0', sizeof lfd);
94 lfd.l_type = F_UNLCK;
96 lfd.l_type = F_WRLCK;
98 lfd.l_type = F_RDLCK;
105 while ((i = fcntl(fd, action, &lfd)) < 0 && errno == EINTR)
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_put.c320 if ((ret = __os_fsync(dblp->lfd)) != 0) {
429 if (dblp->lfd == -1 || dblp->lfname != lp->lsn.file)
437 if ((ret = __os_seek(dblp->lfd, 0, 0, lp->w_off, 0, SEEK_SET)) != 0 ||
438 (ret = __os_write(dblp->lfd, addr, len, &nw)) != 0) {
507 if (dblp->lfd != -1) {
508 (void)__os_close(dblp->lfd);
509 dblp->lfd = -1;
515 dblp->lfname, &name, &dblp->lfd, DB_CREATE | DB_SEQUENTIAL)) != 0)
H A Dlog.c66 dblp->lfd = -1;
454 if (dblp->lfd != -1 && (t_ret = __os_close(dblp->lfd)) != 0 && ret == 0)
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_aux.c340 suri_open_lofictl(struct suri_handle *sh, int *lfd, major_t *major) argument
344 if ((*lfd = open(lofictl, O_RDWR)) == -1) {
352 if (fstat(*lfd, &st) == -1) {
431 int lfd; local
436 if ((ret = suri_open_lofictl(sh, &lfd, NULL)) != ESURI_OK)
444 if (ioctl(lfd, LOFI_GET_BY_FILENAME, &li) == -1) {
452 if (ioctl(lfd, LOFI_MAP_FILE, &li) == -1) {
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dlog.h78 int lfd; /* Log file descriptor. */ member in struct:__db_log
/osnet-11/usr/src/lib/libpam/
H A Dpam_framework.c1932 void *lfd; local
1967 lfd = (void *)dlopen(module_so, RTLD_LAZY);
1969 if (lfd == NULL) {
1978 (void) dlclose(lfd);
1979 lfd = 0;
1982 module_fds->mh = lfd;
1998 return (lfd);
2005 load_function(void *lfd, char *name, int (**func)()) argument
2009 if (lfd == NULL)
2012 *func = (int (*)())dlsym(lfd, nam
[all...]
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dnssbase.py736 lfd = open(legacy, 'r')
737 ln = lfd.readlines()
742 lfd.close()
/osnet-11/usr/src/cmd/sendmail/src/
H A Dconf.c3539 struct flock lfd; local
3544 memset(&lfd, '\0', sizeof(lfd));
3546 lfd.l_type = F_UNLCK;
3548 lfd.l_type = F_WRLCK;
3550 lfd.l_type = F_RDLCK;
3559 filename, ext, action, lfd.l_type);
3561 while ((i = fcntl(fd, action, &lfd)) < 0 && errno == EINTR)

Completed in 56 milliseconds