Searched refs:fd (Results 601 - 625 of 835) sorted by relevance

<<21222324252627282930>>

/osnet-11/usr/src/grub/grub2/util/
H A Ddeviceiter.c171 sprintf (name, "/dev/fd%d", unit);
174 sprintf (name, "/dev/fd%d", unit);
178 sprintf (name, "/dev/fd%d", unit);
190 sprintf (name, "/dev/fd%d", unit);
193 sprintf (name, "/dev/fd%d", unit);
223 int fd;
226 fd = opendisk (shortname, O_RDONLY, name,
230 close (fd);
270 int fd;
273 fd
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Derror.c116 "fd", OPT_FD,
177 error_info.fd = n ? strtol(v, NiL, 0) : -1;
358 int fd; local
428 fd = (flags & ERROR_OUTPUT) ? va_arg(ap, int) : error_info.fd;
573 if (fd == sffileno(sfstderr) && error_info.write == write)
579 (*error_info.write)(fd, s, n);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpc_generic.c413 * Given a fd, find the transport device it is using and return the
419 __rpcfd_to_nconf(int fd, int servtype) argument
427 if (fstat(fd, &statbuf) == -1)
432 if (t_getinfo(fd, &tinfo) == -1) {
450 * transport device in use on fd.
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_sync.c293 * support compatibility for the DB 1.85 DB->fd call.
305 ret = dbmfp->fd == -1 ? __memp_fsync(dbmfp) : 0;
307 return ((*fdp = dbmfp->fd) == -1 ? ENOENT : ret);
433 return (incomplete ? DB_INCOMPLETE : __os_fsync(dbmfp->fd));
/osnet-11/usr/src/lib/libproc/common/
H A Dllib-lproc123 struct ps_prochandle *Pfgrab_core(int fd, const char *aout, int *perr);
238 int pr_fcntl(struct ps_prochandle *Pr, int fd, int cmd, void *argp);
272 int fd, int code, void *buf, size_t size);
286 void *addr, size_t len, int prot, int flags, int fd, off_t off);
297 int pr_close(struct ps_prochandle *Pr, int fd);
315 int pr_fstat(struct ps_prochandle *Pr, int fd, struct stat *buf);
320 int pr_fstat64(struct ps_prochandle *Pr, int fd, struct stat64 *buf);
324 int pr_fstatvfs(struct ps_prochandle *Pr, int fd, statvfs_t *buf);
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcheckpw.c349 * Keep calling the writev() system call with 'fd', 'iov', and 'iovcnt'
352 static int retry_writev(int fd, struct iovec *iov, int iovcnt) argument
377 n = writev(fd, iov, iovcnt > iov_max ? iov_max : iovcnt);
469 * Keep calling the read() system call with 'fd', 'buf', and 'nbyte'
472 static int retry_read(int fd, void *buf0, unsigned nbyte) argument
481 n = read(fd, buf, nbyte);
/osnet-11/usr/src/lib/libshell/common/include/
H A Djobs.h110 short fd; /* tty descriptor number */ member in struct:jobs
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dparted_io.c31 loff_t llseek(unsigned int fd, loff_t offset, unsigned int whence);
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.h68 int cfg_shldskip_vtoc(int fd, const char *loc);
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.h71 int fd; /* FD for this channel */ member in struct:fds_channel
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Ddb.h111 int (*fd) __P((const struct __db *)); member in struct:__db
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstdio.in.h76 _GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...)
79 _GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...));
82 _GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...)
86 _GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *format, ...));
928 _GL_FUNCDECL_RPL (vdprintf, int, (int fd, const char *format, va_list args)
931 _GL_CXXALIAS_RPL (vdprintf, int, (int fd, const char *format, va_list args));
934 _GL_FUNCDECL_SYS (vdprintf, int, (int fd, const char *format, va_list args)
941 (int fd, const char *format, va_list args));
/osnet-11/usr/src/grub/grub2/tests/util/
H A Dgrub-shell.in47 --boot=[fd|hd|cd|net] boot method for Qemu instance
85 if [ "$dev" = "fd" ] ; then boot=fd;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dutf8decode.t53 2.2.6 y "\xfd\xbf\xbf\xbf\xbf\xbf" 7fffffff 6 fd:bf:bf:bf:bf:bf 1
76 3.2.5 n "\xfc \xfd " - 4 fc:20:fd:20 - unexpected non-continuation byte 0x20 after start byte 0xfc
87 3.3.10 n "\xfd\xbf\xbf\xbf\xbf" - 5 fd:bf:bf:bf:bf - 5 bytes, need 6
89 3.4.1 n "\xc0\xe0\x80\xf0\x80\x80\xf8\x80\x80\x80\xfc\x80\x80\x80\x80\xdf\xef\xbf\xf7\xbf\xbf\xfb\xbf\xbf\xbf\xfd\xbf\xbf\xbf\xbf" - 30 c0:e0:80:f0:80:80:f8:80:80:80:fc:80:80:80:80:df:ef:bf:f7:bf:bf:fb:bf:bf:bf:fd:bf:bf:bf:bf - unexpected non-continuation byte 0xe0 after start byte 0xc0
/osnet-11/usr/src/lib/libast/common/include/
H A Derror.h71 #define ERROR_OUTPUT 0x0200 /* next arg is error fd */
119 int fd; /* write(2) fd */ member in struct:Error_info_s
/osnet-11/usr/src/lib/libxcurses/h/
H A Dmks.h499 LEXTERN int m_devbin (int fd); /* begin raw I/O transfer */
500 LEXTERN void m_devstd (int fd, int mode); /* end raw I/O transfer */
502 # define m_devbin(fd) 0
503 # define m_devstd(fd, mode)
/osnet-11/usr/src/lib/sun_fc/common/
H A DTgtFCHBAPort.cc466 int fd = HBA::_open(FCT_DRIVER_PATH, O_NDELAY | O_RDONLY); local
468 HBA::_ioctl(fd, cmd, (uchar_t *)fctio);
469 close(fd);
474 close(fd);
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_impl.h44 int ia_fd; /* fd corresponding to the IA */
46 int hca_fd; /* fd for the HCA ie. tavor */
201 uint32_t *dapls_ib_get_dbp(uint64_t maplen, int fd, uint64_t mapoffset,
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dxec.c1261 int fd; local
1262 for(fd=0; fd < shp->gd->lim.open_max; fd++)
1263 if((shp->fdstatus[fd]&IOCLEX)&&fd!=shp->infd)
1264 sh_close(fd);
2163 int savein,fd; local
2207 fd = sh_redirect(shp,tt->com.comio,3);
2209 if(fd
3432 int fd=fcntl(shp->cpipe[1],F_DUPFD,10); local
3474 register int i, fd, trace = sh_isoption(SH_XTRACE); local
3626 int fd = shp->inpipe[1]; local
3795 int fd = open(path,O_RDONLY); local
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/
H A Dchip_amd.c318 int fd, err; local
321 fd = open(path, O_RDONLY);
323 if (fd == -1) {
332 fd = open(path, O_RDONLY);
335 if (fd == -1)
338 if (ioctl(fd, MC_IOC_SNAPSHOT_INFO, &mcs) == -1 ||
340 ioctl(fd, MC_IOC_SNAPSHOT, buf) == -1) {
347 (void) close(fd);
351 (void) close(fd);
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgweb.c523 int len, fd = -1; local
541 if ((fd = open(path, O_RDONLY|O_NONBLOCK)) == -1) {
554 if (fstat(fd, &buf) == -1) {
568 if ((fp = fdopen(fd, "r")) == NULL) {
601 if (fd != -1)
602 (void) close(fd);
1825 int fd, len; local
1845 if ((fd = mkstemp(tmp_file)) == -1) {
1850 if (fstat(fd, &buf) == -1) {
1860 if ((fp = fdopen(fd, "
2135 int i, fd; local
[all...]
/osnet-11/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c125 * If the ioctl fd's major doesn't match "major", then pass through the
728 s10_pwrite(sysret_t *rval, int fd, const void *bufferp, size_t num_bytes, argument
733 if ((err = __systemcall(rval, SYS_fcntl + 1024, fd, F_GETFL)) != 0)
736 return (__systemcall(rval, SYS_write + 1024, fd, bufferp,
738 return (__systemcall(rval, SYS_pwrite + 1024, fd, bufferp, num_bytes,
749 s10_pwrite64(sysret_t *rval, int fd, const void *bufferp, size32_t num_bytes, argument
754 if ((err = __systemcall(rval, SYS_fcntl + 1024, fd, F_GETFL)) != 0)
757 return (__systemcall(rval, SYS_write + 1024, fd, bufferp,
759 return (__systemcall(rval, SYS_pwrite64 + 1024, fd, bufferp,
778 * rval, fd, bu
787 s10_getdents_common(sysret_t *rval, int fd, char *buf, size_t nbyte, int getdents_syscall_id, size_t name_offset, size_t reclen_offset) argument
924 s10_getdents(sysret_t *rval, int fd, struct dirent *buf, size_t nbyte) argument
938 s10_getdents64(sysret_t *rval, int fd, struct dirent64 *buf, size_t nbyte) argument
954 has_trivial_native_acl(int cmd, int cnt, const char *fname, int fd) argument
1077 make_trivial_s10_acl(const char *fname, int fd, ace_t *bp) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dmap.c2004 int fd; variable
2086 fd = open(buf, omode, DBMMODE);
2087 if (fd < 0)
2095 if (filechanged(buf, fd, &st))
2098 (void) close(fd);
2105 if (st.st_mode == ST_MODE_NOFILE && fstat(fd, &st) < 0)
2108 (void) close(fd);
2116 if (!lockfile(fd, buf, NULL, mode == O_RDONLY ? LOCK_SH : LOCK_EX))
2192 map->map_lockfd = fd;
2194 (void) close(fd); variable
2306 int fd; local
6310 int fd; local
[all...]
/osnet-11/usr/src/lib/libdevalloc/common/
H A Dlibdevalloc.c92 int fd = -1; local
105 if ((fd = open(LOGINDEVPERM, O_RDONLY)) == -1)
107 if (fstat(fd, &f_stat) != 0) {
108 (void) close(fd);
113 (void) close(fd);
116 if ((fp = fdopen(fd, "rF")) == NULL) {
118 (void) close(fd);
196 int fd = -1; local
223 if ((fd = open(fname, O_RDONLY)) == -1) {
233 (void) close(fd);
[all...]
/osnet-11/usr/src/lib/libpam/
H A Dpam_framework.c369 traverse = pamh->fd;
376 pamh->fd = 0;
1609 int fd; local
1662 if ((fd = open(conf_path, O_RDONLY)) == -1) {
1668 (void) close(fd);
1976 /* add this fd to the pam handle */
1984 if (pamh->fd == 0) {
1986 pamh->fd = module_fds;
1989 traverse = pamh->fd;
2041 int fd; local
2864 nl_catd fd; member in struct:pam_msg_data
[all...]

Completed in 76 milliseconds

<<21222324252627282930>>