Searched refs:fd (Results 476 - 500 of 835) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/lib/libnsl/rpc/
H A Dkey_call.c769 int fd; /* client handle fd */ member in struct:key_call_private
826 int fd; local
837 /* Update fd in kcp because it was reopened in _update_did */
838 if (clnt_control(kcp->client, CLGET_FD, (void *)&fd) &&
839 (fd >= 0))
840 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); /* close exec */
841 kcp->fd = fd;
850 (void) fcntl(kcp->fd, F_SETF
976 int fd; local
[all...]
/osnet-11/usr/src/lib/libgen/common/
H A Dp2open.c44 extern int _insert(pid_t pid, int fd);
45 extern pid_t _delete(int fd);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlsfio.h39 #define PerlIO_fdopen(fd,mode) _stdopen(fd,mode)
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dlog.h38 (dblp)->reginfo.fd)
41 (dblp)->reginfo.fd)
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_fopen.c125 dbmfp->fd = -1;
145 DB_CREATE | DB_RDONLY, mode, &dbmfp->fd)) != 0) {
164 dbmfp->fd, &mbytes, &bytes, NULL)) != 0) {
265 dbmfp->fd, dbmfp->len, 1, &dbmfp->addr) != 0) {
286 if (dbmfp->fd != -1)
287 (void)__os_close(dbmfp->fd);
472 if (dbmfp->fd != -1 && (t_ret = __os_close(dbmfp->fd)) != 0) {
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dsetvbuf.c59 int fd; local
83 SM_CONVERT_TIME(fp, fd, timeout, &to);
103 ** a `tty flag' to suggest that we check isatty(fd), but we do not
/osnet-11/usr/src/lib/libzpool/common/
H A Dkernel.c334 int fd; local
352 fd = open64(path, O_RDONLY);
353 if (fd == -1)
355 if (fstat64(fd, &st) == -1) {
356 close(fd);
359 close(fd);
378 fd = open64(realpath, flags - FREAD, mode);
383 if (fd == -1)
386 if (fstat64(fd, &st) == -1) {
387 close(fd);
404 vn_openat(char *path, int x1, int flags, int mode, vnode_t **vpp, int x2, int x3, vnode_t *startvp, int fd) argument
890 random_get_bytes_common(uint8_t *ptr, size_t len, int fd) argument
1115 zfs_onexit_fd_hold(int fd, minor_t *minorp) argument
1123 zfs_onexit_fd_rele(int fd) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dutil.c1659 ** fd -- file descriptor to check.
1667 checkfdopen(fd, where)
1668 int fd;
1674 if (fstat(fd, &st) < 0 && errno == EBADF)
1676 syserr("checkfdopen(%d): %s not open as expected!", fd, where);
1700 register int fd; local
1713 for (fd = 0; fd < maxfd; fd++)
1717 if (fstat(fd,
1762 register int fd; local
2097 int fd; local
[all...]
/osnet-11/usr/src/lib/libraidcfg/common/
H A Draidcfg.c143 uint32_t fd; /* Only for controller */ member in struct:__anon2388
1369 (raid_handle_sys.handles[i].fd != 0) &&
1704 return (raid_handle_sys.handles[handle].fd);
1708 raid_obj_set_fd(raid_obj_tab_t *raid_tab, raid_obj_id_t obj_id, int fd) argument
1726 raid_handle_sys.handles[handle].fd = fd;
2319 int ret = SUCCESS, fd; local
2329 fd = raid_obj_get_fd(raid_tab, obj_id);
2331 if ((raid_lib == NULL) || (ctl_attrp == NULL) || (fd == 0))
2346 int ret, i, fd; local
2415 int ret = SUCCESS, fd; local
2458 int ret, fd; local
2575 int ret = SUCCESS, fd; local
2617 int ret, i, fd; local
2708 int ret = SUCCESS, fd; local
2753 int ret = SUCCESS, fd; local
2811 int ret = SUCCESS, fd; local
2857 int ret, i, fd; local
2957 int ret = SUCCESS, fd; local
3025 int ret = SUCCESS, fd; local
3079 int ret = SUCCESS, fd; local
3131 int ret = SUCCESS, fd; local
3168 int ret = SUCCESS, fd; local
3239 int i, j, ret, fd; local
3547 int ret, fd; local
3595 int ret, fd; local
3762 int ret, fd; local
4421 int fd; local
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_import.c619 int fd = -1; local
676 if ((fd = open(rsp->rname,
688 if (read_master_block(ep, fd, mbp,
694 (void) close(fd);
699 (void) close(fd);
1354 int fd = -1; local
1394 if ((fd = open(rsp->rname,
1404 if (read_master_block(ep, fd, mbp,
1409 (void) close(fd);
1413 (void) close(fd);
1697 read_master_block( md_error_t *ep, int fd, void *bp, int bsize ) argument
1743 read_locator_block( md_error_t *ep, int fd, mddb_mb_t *mbp, void *bp, int bsize ) argument
1765 phys_read( md_error_t *ep, int fd, mddb_mb_t *mbp, daddr_t blk, void *bp, int bcount ) argument
1798 read_locator_block_did( md_error_t *ep, int fd, mddb_mb_t *mbp, mddb_lb_t *lbp, void *bp, int bsize ) argument
1828 read_locator_names( md_error_t *ep, int fd, mddb_mb_t *mbp, mddb_lb_t *lbp, void *bp, int bsize ) argument
1851 read_database_block( md_error_t *ep, int fd, mddb_mb_t *mbp, int dbblk, void *bp, int bsize ) argument
1872 read_loc_didblks( md_error_t *ep, int fd, mddb_mb_t *mbp, int didblk, void *bp, int bsize ) argument
1894 read_loc_didinfo( md_error_t *ep, int fd, mddb_mb_t *mbp, int infoblk, void *bp, int bsize ) argument
1961 read_nm_rec( md_error_t *ep, int fd, mddb_mb_t *mbp, mddb_lb_t *lbp, char **nm, mddb_type_t rectype, char *diskname ) argument
2049 is_replicated( int fd, mddb_mb_t *mbp, int need_devid, void **new_devid ) argument
2122 int fd = -1; local
2312 build_did_list( md_error_t *ep, int fd, mddb_mb_t *mb, mddb_lb_t *lbp, mddb_did_blk_t *lbdidp, mddb_ln_t *lnp, did_list_t **did_listp, int *replicatedp ) argument
3055 report_set_info( md_im_set_desc_t *misp, mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, pnm_rec_t **pnm, mdname_t *rsp, int fd, uint_t imp_flags, int set_count, int overlap, md_im_drive_info_t *overlap_disks, md_error_t *ep ) argument
3383 int fd; local
3735 int fd; local
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_ctx.c855 int fd; local
857 fd = open("/dev/"NSMB_NAME, O_RDWR);
858 if (fd < 0) {
863 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
865 return (fd);
871 int fd, err; local
881 fd = smbfs_open_driver();
882 if (fd < 0) {
892 if (ioctl(fd, SMBIOC_GETVERS, &version) < 0)
897 (void) close(fd);
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c180 looping_write(int fd, void *buf, int len) argument
188 cc = write(fd, p, len);
251 pfd.fd = sock;
666 int fd = -1, tmpfd = -1; local
675 if ((fd = open(crlfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1)
724 if (fd != -1)
725 (void) close(fd);
740 int fd = -1, tmpfd = -1; local
749 if ((fd = open(certfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1)
799 if (fd !
[all...]
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom_xmpp_client.c64 int fd; member in struct:xmpp_conn
113 typedef int (*SSL_set_fd_pt)(SSL *ssl, int fd);
251 conn->fd = sock;
266 (void) close(conn->fd);
267 conn->fd = -1;
290 count = read(conn->fd, buf, size);
307 count = send(conn->fd, buf, size, 0);
372 pipe_fd->fd = xmpp_notify_pipe[1]; /* notification pipe */
374 recv_fd->fd = conn.fd; /* XMP
[all...]
H A Dldmsvcs_utils.c98 int fd; member in struct:listdata_s
160 (void) close(lsp->fds_chan.fd);
170 * read size bytes of data from a streaming fd into buf
173 read_stream(int fd, void *buf, size_t size) argument
182 pollfd.fd = fd;
191 if ((rv = read(fd, (void *)currentp, data_left)) < 0) {
218 poller_handle_data(int fd, size_t payloadsize) argument
232 if (read_stream(fd, pr, prlen) != 0)
244 pollbase.list[i]->fd
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb.c111 int fd, ftype, need_fileid, restore, ret, retry_cnt, swapped; local
152 dbp->saved_open_fd = fd = -1;
280 OKFLAGS | DB_EXCL, mode, &fd)) != 0)
291 flags, OKFLAGS, mode, &fd)) != 0) {
304 fd, NULL, NULL, &iopsize)) != 0) {
330 if ((ret = __os_read(fd, mbuf, sizeof(mbuf), &nr)) != 0)
334 dbp->saved_open_fd = fd;
336 (void)__os_close(fd);
337 fd = -1;
685 if (fd !
[all...]
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_aux.c497 int fd; local
508 if ((ret = suri_open_lofictl(sh, &fd, &lofi_major)) != ESURI_OK)
513 (void) close(fd);
516 if (ioctl(fd, LOFI_GET_BY_MINOR, &li) == -1) {
520 (void) close(fd);
525 (void) close(fd);
538 int fd; local
543 if ((ret = suri_open_lofictl(sh, &fd, NULL)) != ESURI_OK)
555 if (ioctl(fd, LOFI_UNMAP_FILE, &li) == -1) {
577 (void) close(fd);
[all...]
/osnet-11/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c195 static uint32_t read_long(int fd, int bus, int dev, int func,
197 static uint8_t read_byte(int fd, int bus, int dev, int func, int offset,
199 static uint16_t read_word(int fd, int bus, int dev, int func, int offset,
2293 int path_size, fd; local
2305 fd = open(path, O_RDWR);
2307 return (fd);
2311 read_long(int fd, int bus, int dev, int func, int offset, int *ret) argument
2324 rval = ioctl(fd, PCITOOL_DEVICE_GET_REG, &prg);
2334 read_word(int fd, int bus, int dev, int func, int offset, int *ret) argument
2347 rval = ioctl(fd, PCITOOL_DEVICE_GET_RE
2357 read_byte(int fd, int bus, int dev, int func, int offset, int *ret) argument
2386 int fd, ret; local
[all...]
/osnet-11/usr/src/lib/libldap4/include/
H A Dlog.h47 extern void ldaplogconfigf(FILE *fd);
/osnet-11/usr/src/lib/libldap5/include/ldap/
H A Dlog.h41 extern void ldaplogconfigf(FILE *fd);
/osnet-11/usr/src/lib/libnls/common/
H A Dnlsenv.c113 * struct t_call *nlsgetcall(fd);
114 * int fd; arg now ignored
129 nlsgetcall(int fd) argument
/osnet-11/usr/src/lib/libcmdutils/
H A Dlibcmdutils.h133 extern int decompress_from_fd(int fd, int (*readf)(int, char *), size_t blksz);
/osnet-11/usr/src/lib/libcpc/common/
H A Dlibcpc.h215 extern void cpc_shared_close(int fd);
216 extern int cpc_shared_bind_event(int fd, cpc_event_t *event, int flags);
217 extern int cpc_shared_take_sample(int fd, cpc_event_t *event);
218 extern int cpc_shared_rele(int fd);
/osnet-11/usr/src/lib/libdevid/
H A Ddeviceid.c48 devid_get(int fd, ddi_devid_t *devidp) argument
55 if (fstat(fd, &statb) != 0)
86 devid_get_minor_name(int fd, char **minor_namep) argument
94 if (fstat(fd, &statb) != 0)
/osnet-11/usr/src/lib/libdhcpsvc/modules/util/
H A Dutil.c288 * `fd' into `buffer', or "read" none at all. Returns -1 if all `buflen'
292 pnread(int fd, void *buffer, size_t buflen, off_t off) argument
299 nbytes = pread(fd, &buf[nread], buflen - nread, off + nread);
314 * `off' in open file `fd'. Tries to write all `buflen' bytes, but does
319 pnwrite(int fd, const void *buffer, size_t buflen, off_t off) argument
326 nbytes = pwrite(fd, &buf[nwritten], buflen - nwritten,
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c96 dbp->fd = (int (*)())__dberr;

Completed in 87 milliseconds

<<11121314151617181920>>