Searched refs:fd (Results 726 - 750 of 835) sorted by relevance

<<21222324252627282930>>

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.h228 int fd, int imode, int perm, PerlIO *old,
/osnet-11/usr/src/cmd/powertop/common/
H A Dpowertop.c313 pollset.fd = STDIN_FILENO;
/osnet-11/usr/src/cmd/sendmail/db/
H A Ddb_int.h260 int fd; /* Fcntl(2) locking file descriptor. member in struct:__db_reginfo
/osnet-11/usr/src/cmd/sendmail/db/lock/
H A Dlock.c588 (void)__db_mutex_lock(&newl->mutex, lt->reginfo.fd);
609 (void)__db_mutex_lock(&newl->mutex, lt->reginfo.fd);
888 (void)__db_mutex_unlock(&lockp->mutex, lt->reginfo.fd);
1012 (void)__db_mutex_unlock(&lp_w->mutex, lt->reginfo.fd);
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_pr.c222 (void)fprintf(fp, "file #%d: %s: fd: %d: per-process, %s\n",
223 cnt + 1, __memp_fn(dbmfp), dbmfp->fd,
/osnet-11/usr/src/lib/libbe/common/
H A Dbe_utils.c1640 int fd; local
1683 if ((fd = mkstemp(tmp_vfstab)) == -1) {
1690 if ((tfile = fdopen(fd, "w")) == NULL) {
1694 (void) close(fd);
/osnet-11/usr/src/lib/libc/inc/
H A Dasyncio.h75 int fd; member in struct:aio_args
188 * Before a kaio() system call, the fd will be checked
193 * will we stop submitting kaio() calls for that fd.
194 * If the fd is outside the array bounds, we will allow the kaio()
197 * The only way that an fd entry can go from ENOTSUP to supported
198 * is if that fd is freed up by a close(), and close will clear
199 * the entry for that fd.
201 * Each fd gets a bit in the array _kaio_supported[].
/osnet-11/usr/src/lib/libwrap/
H A Dtcpd.h98 int fd; /* socket handle */ member in struct:request_info
/osnet-11/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c1063 int len, fd; local
1119 if ((fd = mkstemp(tmp)) == -1) {
1123 if ((ofp = fdopen(fd, "w")) == NULL) {
1125 (void) close(fd);
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dnssbase.py198 self.tmpfd = None # Temp fd
217 self.tmpfd = None # Temp fd
576 fd = self.open_tmp() variable
577 self.traceit('open fd= ', fd)
578 if fd == None: # Unable to create temp file
584 fd.write(data)
/osnet-11/usr/src/lib/libproc/common/
H A DPcore.c55 * appropriate fd and offsets, and let the provided prw function do the rest.
69 int fd; local
78 fd = mp->map_file->file_fd;
80 fd = P->asfd;
86 if ((len = prw(fd, buf, len, off)) <= 0)
1690 * Main engine for core file initialization: given an fd for the core file
1738 * 2. We keep the core file fd in P->asfd since the core file contains
2188 int fd, oflag = (gflag & PGRAB_RDONLY) ? O_RDONLY : O_RDWR; local
2190 if ((fd = open64(core, oflag)) >= 0)
2191 return (Pfgrab_core(fd, aou
[all...]
/osnet-11/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c88 static int lock_register(int fd, int cmd, int type, off_t offset, int whence,
3317 #define CLEANUP_N_RET(fd, ret) \
3318 if (lock_register(fd, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { \
3319 close(fd); \
3322 close(fd); \
3327 * fd, which is a file descriptor. The lock is set using fcntl() which uses
3331 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) argument
3340 return (fcntl(fd, cmd, &lock));
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_util.c83 /* since cq handle is where the evd fd gets stored. */
1982 int fd; member in struct:dapls_ib_dbp_page_s
1988 uint32_t *dapls_ib_get_dbp(uint64_t maplen, int fd, uint64_t mapoffset, argument
1999 cur_page->fd == fd) {
2012 maplen, (PROT_READ | PROT_WRITE), MAP_SHARED, fd, mapoffset);
2020 new_page->fd = fd;
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_if.c695 ipadm_open_arp_on_udp(const char *udp_dev_name, int *fd) argument
699 if ((*fd = open(udp_dev_name, O_RDWR)) == -1)
709 while (ioctl(*fd, I_POP, 0) != -1)
711 if (errno == EINVAL && ioctl(*fd, I_PUSH, ARP_MOD_NAME) != -1)
714 (void) close(*fd);
761 * Issues the ioctl SIOCSLIFNAME to kernel on the given ARP stream fd.
764 i_ipadm_slifname_arp(char *ifname, uint64_t flags, int fd) argument
778 if (i_ipadm_strioctl(fd, SIOCSLIFNAME, (char *)&lifr,
792 int fd, uint32_t ipadm_flags)
843 err = ioctl(fd, SIOCSLIFNAM
791 i_ipadm_slifname(ipadm_handle_t iph, char *ifname, char *newif, uint64_t flags, int fd, uint32_t ipadm_flags) argument
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dlocaltime.c1502 int fd, namelen; local
1523 fd = 0;
1525 if ((fd = open(fullname, O_RDONLY)) == -1) {
1529 if (fstat64(fd, stp) == -1) {
1531 (void) close(fd);
1537 return (fd);
2709 int fd; local
2717 if ((fd = open(TZSYNC_FILE, O_RDONLY)) < 0)
2720 addr = mmap(0, sizeof (uint32_t), PROT_READ, MAP_SHARED, fd, 0);
2721 (void) close(fd);
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dcertop.c1524 int fd, temp_fd; local
1576 if ((fd = open(crlfilename, O_RDONLY)) != -1) {
1577 (void) close(fd);
2657 int fd = -1; local
2676 if ((fd = open(certfile, O_CREAT | O_RDWR | O_TRUNC, 0644)) == -1) {
2682 if (write(fd, pemdata.Data, pemdata.Length) !=
2687 if (write(fd, certdata->Data, certdata->Length) !=
2694 if (fd != -1)
2695 (void) close(fd);
H A Dgeneralop.c678 int fd; local
693 if ((fd = open(filename, O_RDONLY)) < 0) {
698 if (fstat(fd, &s) < 0) {
700 (void) close(fd);
705 (void) close(fd);
714 (void) close(fd);
720 nread = read(fd, buf+total, amount_to_read - total);
723 (void) close(fd);
732 (void) close(fd);
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dvi.c207 /*+ VI_READ( fd, shbuf, nchar )
217 int ed_viread(void *context, int fd, register char *shbuf, int nchar, int reedit) argument
251 ed_setup(vp->ed,fd, reedit);
260 return(reexit?reedit:ed_read(context, fd, shbuf, nchar,0));
263 ioctl(fd,FIORDCHK,&vp->typeahead);
275 i = ed_read(context, fd, shbuf, nchar, 0);
358 return(reedit?reedit:ed_read(context, fd, shbuf, nchar,0));
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c1568 int fd; local
1573 if ((fd = socket(PF_TRILL, SOCK_DGRAM, 0)) == -1)
1576 if (ioctl(fd, TRILL_GETBRIDGE, &brcopy) < 0) {
1577 (void) close(fd);
1592 if (ioctl(fd, TRILL_LISTNICK, &tlnread) == -1) {
1601 (void) close(fd);
H A Dlibdlstat.c69 int fd; member in struct:flowlist
141 flist->fd = INT32_MAX;
331 if (flist->fd == INT32_MAX) {
335 if ((flist->fd = open(dnlink, O_RDWR)) < 0)
338 flist->fd = -1;
381 if (flist->fd != -1 && flist->fd != INT32_MAX)
382 (void) close(flist->fd);
/osnet-11/usr/src/lib/fm/libdisklog/common/
H A Dlibdisklog.c2290 int fd; local
2362 fd = open(filename, O_CREAT | O_EXCL | O_WRONLY,
2364 if (fd < 0) {
2365 dprintf("Creation of %s failed (%d)\n", filename, fd);
2368 stream = fdopen(fd, DL_FILEMODE);
2372 (void) close(fd);
2389 (void) close(fd);
2404 (void) close(fd);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/scalar/
H A Dscalar.xs211 const char *mode, int fd, int imode, int perm,
/osnet-11/usr/src/lib/libcmd/common/
H A Dfind.c917 if (streq(b, "/dev/stdout") || streq(b, "/dev/fd/1"))
1200 int fd; local
1208 if ((fd = open(b, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
1213 ops[0] = PROC_FD_DUP(fd, 1, PROC_FD_PARENT|PROC_FD_CHILD);
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1236 int fd, rv; local
1238 if ((fd = open(VHCI_CTL_NODE, O_RDWR)) < 0)
1240 rv = ioctl(fd, cmd, iocp);
1241 (void) close(fd);
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Ddisks_private.h198 int media_read_info(int fd, struct dk_minfo *minfo);

Completed in 126 milliseconds

<<21222324252627282930>>