Searched refs:fd (Results 676 - 700 of 835) sorted by relevance

<<21222324252627282930>>

/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Derror.h80 #define ERROR_OUTPUT 0x0200 /* next arg is error fd */
128 int fd; /* write(2) fd */ member in struct:Error_info_s
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfmode.c214 int _sfpopen(reg Sfio_t* f, int fd, int pid, int stdio) argument
216 int _sfpopen(f, fd, pid, stdio)
218 int fd;
234 p->file = fd;
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Derror.h80 #define ERROR_OUTPUT 0x0200 /* next arg is error fd */
128 int fd; /* write(2) fd */ member in struct:Error_info_s
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Derror.h80 #define ERROR_OUTPUT 0x0200 /* next arg is error fd */
128 int fd; /* write(2) fd */ member in struct:Error_info_s
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Derror.h80 #define ERROR_OUTPUT 0x0200 /* next arg is error fd */
128 int fd; /* write(2) fd */ member in struct:Error_info_s
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dgettext.h110 iconv_t fd; /* iconv descriptor */ member in struct:__anon1418
/osnet-11/usr/src/lib/libc/port/threads/
H A Dthr.c2461 int fd; local
2467 if ((fd = __open(buf, O_RDONLY, 0)) >= 0) {
2468 while (__pread(fd, sp, sizeof (*sp), 0) == sizeof (*sp)) {
2470 (void) __close(fd);
2475 (void) __close(fd);
2485 int fd; local
2494 if ((fd = __open(buf, O_WRONLY, 0)) >= 0) {
2505 if (__writev(fd, iov, 3) >= 0) {
2506 (void) __close(fd);
2509 (void) __close(fd);
2518 int fd; local
[all...]
/osnet-11/usr/src/lib/sasl_plugins/cram/
H A Dcram.c163 int fd = open(_DEV_URANDOM, O_RDONLY); local
166 if (fd != -1) {
167 nread = read(fd, temp, 4);
168 close(fd);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_common.c762 int fd = 0; local
766 if ((fd = open(UDP, O_RDONLY)) < 0)
769 if (ioctl(fd, SIOCGIFNUM, (char *)&numifs) < 0) {
775 (void) close(fd);
780 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0) {
781 (void) close(fd);
791 (void) close(fd);
801 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifreq) < 0)
809 if (ioctl(fd, SIOCGIFNETMASK, (char *)&ifreq) < 0)
813 if (ioctl(fd, SIOCGIFADD
[all...]
/osnet-11/usr/src/lib/libpool/common/
H A Dpool.c679 int fd; local
682 if ((fd = open(pool_info_location, O_RDONLY)) < 0) {
686 if (ioctl(fd, POOL_STATUSQ, &status) < 0) {
687 (void) close(fd);
691 (void) close(fd);
709 int fd; local
742 if ((fd = open(pool_dynamic_location(), O_RDWR | O_EXCL)) < 0) {
762 (void) close(fd);
769 if (ioctl(fd, POOL_STATUS, &status) < 0) {
770 (void) close(fd);
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c754 int fd = -1; local
760 if ((fd = open(IB_STATIC_APID, O_RDONLY)) == -1) {
790 if (ioctl(fd, DEVCTL_AP_CONTROL, &ioctl_data) != 0) {
793 (void) close(fd);
807 (void) close(fd);
813 (void) close(fd);
822 if (ioctl(fd, DEVCTL_AP_CONTROL, &ioctl_data) != 0) {
831 (void) close(fd);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperliol.h26 int fd, int imode, int perm,
171 const char *mode, int fd, int imode,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/via/
H A Dvia.xs205 IV n, const char *mode, int fd, int imode, int perm,
220 if (fd >= 0) {
221 SV *fdsv = sv_2mortal(newSViv(fd));
261 if ((*tab->Open) (aTHX_ tab, layers, m, mode, fd, imode,
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_statconcise.c1548 int fd,
1578 if (lseek(fd, (off_t)dbtob(pblk), SEEK_SET) < 0) {
1583 if (read(fd, rbp_tmp, DEV_BSIZE) != DEV_BSIZE) {
1748 int fd,
1765 if ((rval = read_database_block(ep, fd, mbp, dbblk,
1841 rsp->cname, fd, lastaccess, ep);
1871 int fd,
1882 rval = read_all_mdrecords(&mdimp, mb, lbp, nm, rsp, fd, lastaccess,
1542 read_mdrecord( md_im_rec_t **mdimpp, mddb_mb_t *mbp, mddb_rb_t *nm, mddb_de_t *dep, char *diskname, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
1742 read_all_mdrecords( md_im_rec_t **mdimpp, mddb_mb_t *mbp, mddb_lb_t *lbp, mddb_rb_t *nm, mdname_t *rsp, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
1865 report_metastat_info( mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, pnm_rec_t **pnm, mdname_t *rsp, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dcsrcrlop.c139 int fd = -1; local
158 if ((fd = open(csrfile, O_CREAT |O_RDWR, 0644)) == -1) {
164 if (write(fd, pemdata.Data, pemdata.Length) !=
169 if (write(fd, csrdata->Data, csrdata->Length) !=
176 if (fd != -1)
177 (void) close(fd);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dclnt_dg.c67 * This machinery implements per-fd locks for MT-safety. It is not
69 * user may create more than one CLIENT handle with the same fd behind
93 int cu_fd; /* connections fd */
115 * fd should be open and bound.
127 clnt_dg_create(const int fd, struct netbuf *svcaddr, const rpcprog_t program, argument
150 if (t_getinfo(fd, &tinfo) == -1) {
163 (void) __rpc_tli_set_options(fd, SOL_SOCKET, SO_DGRAM_ERRIND,
213 tr_data = (struct t_unitdata *)t_alloc(fd, T_UNITDATA, T_ADDR | T_OPT);
227 cu->cu_fd = fd;
233 cu->pfdp.fd
[all...]
H A Dsvc_dg.c84 "fd > FD_SETSIZE; Use rpc_control(RPC_SVC_USE_POLLFD,...);";
120 svc_dg_create_private(int fd, uint_t sendsize, uint_t recvsize) argument
127 if (RPC_FD_NOTIN_FDSET(fd)) {
134 if (t_getinfo(fd, &tinfo) == -1) {
162 xprt->xp_fd = fd;
186 svc_dg_create(const int fd, const uint_t sendsize, const uint_t recvsize) argument
190 if ((xprt = svc_dg_create_private(fd, sendsize, recvsize)) != NULL)
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dcrypto.c1258 int fd = -1; local
1271 fd = open(".", O_RDONLY); /* Save current working directory. */
1272 if (fd == -1) {
1293 if (fchdir(fd) == -1)
1297 if (fd != -1)
1298 close(fd);
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_options.c186 int fd; local
191 if ((fd = open64(arg, O_CREAT | O_WRONLY, 0666)) == -1)
195 dtp->dt_cdefs_fd = fd;
211 int fd; local
216 if ((fd = open64(arg, O_CREAT | O_WRONLY, 0666)) == -1)
220 dtp->dt_ddefs_fd = fd;
/osnet-11/usr/src/lib/libexacct/common/
H A Dexacct_ops.c1048 ea_fdopen(ea_file_t *ef, int fd, const char *creator, int aflags, int oflags) argument
1054 f->ef_fd = fd;
1160 int fd; local
1169 if ((fd = open(name, oflags, mode)) == -1) {
1174 if (ea_fdopen(ef, fd, creator, aflags, oflags) == -1) {
1175 (void) close(fd);
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_recno.c1003 int fd, ret, t_ret; local
1061 DB_SEQUENTIAL | DB_TRUNCATE, 0, &fd)) != 0) {
1091 __os_write(fd, data.data, data.size, &nw)) != 0)
1101 __os_write(fd, pad, rp->re_len, &nw)) != 0)
1114 if ((ret = __os_write(fd, &delim, 1, &nw)) != 0)
1125 if ((t_ret = __os_close(fd)) != 0 || ret == 0)
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmprofile.c354 int vmprofile(Vmalloc_t* vm, int fd) argument
356 int vmprofile(vm, fd)
358 int fd;
367 #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp)
368 #define FLSBUF() (bufp > buf ? write(fd,buf,bufp-buf) : 0)
370 if(fd < 0)
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c612 int fd = -1, retry = 0; local
654 fd = open(path, flag);
655 while (fd < 0 && retry++ < RETRY_OBJECT_OPEN && (
660 fd = open(path, flag);
662 if (fd < 0) {
665 return (fd);
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.c2260 int fd; local
2280 fd = open(wellknown, fmode, 0644);
2281 if (fd < 0) {
2319 if (ftruncate(fd, 0) < 0)
2322 rc = write(fd, location, strlen(location));
2331 if (lseek(fd, 0, SEEK_SET) < 0)
2335 rc = read(fd, config_file, sizeof (config_file));
2342 close(fd);
3036 cfg_invalidate_hsizes(int fd, const char *loc) { argument
3049 if (cfg_shldskip_vtoc(fd, lo
3487 cfg_shldskip_vtoc(int fd, const char *loc) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dmain.c3284 int fd; local
3324 ** We also compare the fd numbers here since OutChannel
3353 fd = open(SM_PATH_DEVNULL, O_WRONLY, 0666);
3354 if (fd == -1)
3361 if (fd >= 0)
3363 (void) dup2(fd, STDOUT_FILENO);
3364 (void) dup2(fd, STDERR_FILENO);
3365 (void) close(fd);
3890 ** fd -- the file descriptor to be filled.
3903 fill_fd(fd, wher
[all...]

Completed in 74 milliseconds

<<21222324252627282930>>