Searched refs:read (Results 301 - 325 of 920) sorted by relevance

<<11121314151617181920>>

/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dps.c86 if (read(pauxvfd, auxvptr, stbuf.st_size) == -1)
330 if (read(lwpfd, &lwpstatus, sizeof (lwpstatus)) == -1)
/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/
H A Dspawnveg.c240 if (pid != -1 && read(err[0], &m, sizeof(m)) == sizeof(m) && m)
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/net/
H A Drcmd.c136 retval = read(s, &c, 1);
150 while (read(s, &c, 1) == 1) {
247 * to something that can't read .rhosts.
/opensolaris-onvv-gate/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c407 read(pv[0],pv,1); /* wait for clone to close pipe */
499 while((n = read(fdi,buffer,BLKSIZE)) > 0)
/opensolaris-onvv-gate/usr/src/lib/mpss/common/
H A Dmpss.c113 * The first time through, read the initial aux vector that was
119 while (read(fd, &auxb, sizeof (auxv_t)) == sizeof (auxv_t)) {
265 if (read(fd, &pi, sizeof (pi)) == sizeof (pi)) {
278 "%s: /proc/self/psinfo read failed [%s]\n"),
/opensolaris-onvv-gate/usr/src/uts/common/io/igb/
H A Digb_82575.h98 #define E1000_CTRL_EXT_NSICR 0x00000001 /* Disable Intr Clear all on read */
198 } read; member in union:e1000_adv_rx_desc
286 } read; member in union:e1000_adv_tx_desc
H A Digb_rx.c420 * Reset rx descriptor read bits
423 current_rbd->read.pkt_addr = current_rcb->rx_buf.dma_address;
424 current_rbd->read.hdr_addr = 0;
/opensolaris-onvv-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_phy.c284 * @reg_addr: 32 bit address of PHY register to read
285 * @phy_data: Pointer to read data from PHY register
338 * Address cycle complete, setup and write the read
363 DEBUGOUT("PHY read command didn't complete\n");
409 * Put the data in the MDI single read and write data register
879 ret_val = hw->eeprom.ops.read(hw, data_offset, &block_crc);
885 ret_val = hw->eeprom.ops.read(hw, data_offset, &eword);
898 hw->eeprom.ops.read(hw, data_offset++, &phy_offset);
900 hw->eeprom.ops.read(hw, data_offset, &eword);
1197 hw->eeprom.ops.read(h
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4v/
H A Dzambezi.esc120 event ereport.asic.zambezi.opu.ods-data-coherent-read@interconnect
130 event ereport.asic.zambezi.opu.oqs-request-bad-read-type@interconnect
138 event ereport.asic.zambezi.opu.ors-response-bad-read-type@interconnect
148 event ereport.asic.zambezi.opu.ors-timeout-read@interconnect
196 ereport.asic.zambezi.opu.ods-data-coherent-read@interconnect
200 ereport.asic.zambezi.opu.oqs-request-bad-read-type@interconnect
214 ereport.asic.zambezi.opu.ors-response-bad-read-type@interconnect
220 ereport.asic.zambezi.opu.ors-timeout-read@interconnect
555 event ereport.asic.zambezi.gpd.link-invalid-read-request@interconnect
679 ereport.asic.zambezi.gpd.link-invalid-read
[all...]
/opensolaris-onvv-gate/usr/src/cmd/luxadm/
H A Dqlgcupdate.c174 if (read(fcode_fd, fcode_buf, FCODE_HDR) != FCODE_HDR) {
175 perror(MSGSTR(21001, "read"));
469 /* Information read operation */
600 if (read(fd, sbus_info, file_size) < 0) {
601 perror(MSGSTR(21001, "read"));
674 MSGSTR(21017, "Error: %s Can't read directory\n"), devpath);
739 "\nWarning: Cannot read boot device link, check %s.\n"), MNTTAB);
808 if (read(fcode_fd, download_p->dl_fcode, fcode_size)
810 perror(MSGSTR(21001, "read"));
816 if (read(fcode_f
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/scp/
H A Dscp.c673 result = atomicio(read, fd, bp->buf, amt);
795 if (atomicio(read, remin, cp, 1) <= 0)
800 if (atomicio(read, remin, &ch, sizeof (ch)) !=
905 * Handle copying from a read-only
951 j = read(remin, cp, amt);
1037 if (atomicio(read, remin, &resp, sizeof (resp)) != sizeof (resp))
1050 if (atomicio(read, remin, &ch, sizeof (ch)) !=
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c416 if (read(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)
485 if (read(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)
630 if (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ)
656 if (read(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ)
682 if (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ)
704 if (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ)
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c511 (read(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) !=
584 (read(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) !=
742 (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) !=
772 (read(db->dbm_pagf, db->dbm_pagbuf, PBLKSIZ) != PBLKSIZ))
800 (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ))
825 (read(db->dbm_dirf, db->dbm_dirbuf, DBLKSIZ) != DBLKSIZ))
/opensolaris-onvv-gate/usr/src/tools/scripts/
H A Dwsdiff.py454 magic = fd.read(len(elfmagic))
471 s = fd.read()
1079 baseData = baseFile.read()
1080 ptchData = ptchFile.read()
1157 baseData = baseFile.read()
1158 ptchData = ptchFile.read()
/opensolaris-onvv-gate/usr/src/uts/sun4u/cpu/
H A Dcheetah_copy.s1013 ldub [%o0], %o3 ! read byte
1048 lduw [%o0], %o3 ! read word
1053 lduw [%o0 - 4], %o3 ! read word
1064 lduh [%o0 - 2], %o3 ! read half word
1083 lduw [%o0], %o3 ! read word
1143 ldx [%o0], %o3 ! read long word
1159 ldx [%o0], %o3 ! read long word
1193 lduw [%o0], %o3 ! read word
1209 lduw [%o0], %o3 ! read word
1240 lduh [%o0], %o3 ! read hal
[all...]
H A Dopl_olympus_copy.s968 ldub [%o0], %o3 ! read byte
999 lduw [%o0], %o3 ! read word
1004 lduw [%o0 - 4], %o3 ! read word
1015 lduh [%o0 - 2], %o3 ! read half word
1030 lduw [%o0], %o3 ! read word
1094 ldx [%o0], %o3 ! read long word
1110 ldx [%o0], %o3 ! read long word
1144 lduw [%o0], %o3 ! read word
1160 lduw [%o0], %o3 ! read word
1191 lduh [%o0], %o3 ! read hal
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c119 /* volatile callback read routine */
182 /* read operation */
782 * payload is read.
876 * is accessed. this routine holds a read lock over the hash table
938 prop.read = NULL;
1125 prop.read = frudata_read_tag;
1147 prop.read = frudata_read_payload;
1420 prop.read = NULL;
1472 if (protection == 0) { /* to be added only read/write section */
1478 prop.read
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c74 * Server routine to read requests and process them.
100 if (read(rem, cp, 1) <= 0)
107 if (read(rem, cp, 1) != 1)
524 if (sizerr == 0 && read(f, buf, amt) != amt)
916 if ((j = read(rem, cp, size - i)) <= 0)
961 int j = read(rem, cp, amt);
1362 if (read(rem, cp, 1) != 1)
1483 while ((i = read(fd[0], buf, RDIST_BUFSIZ)) > 0) {
/opensolaris-onvv-gate/usr/src/cmd/zlogin/
H A Dzlogin.c295 while ((err = read(masterfd, &c, 1)) == 1) {
597 * If the write to outfd fails, we'll try to read from infd in an attempt
613 nbytes = read(STDIN_FILENO, ibuf, ZLOGIN_RDBUFSIZ);
617 if (nbytes == -1) /* The read was interrupted. */
620 /* 0 read means EOF, close the pipe to the child */
653 * draining the other pipe. We can try to read some of
655 * application can continue to make progress. The read
666 if ((ln = read(infd, obuf, ZLOGIN_BUFSIZ)) > 0)
690 * zone that it is talking to. This can happen when we read from zlogin's
693 * the write, it would never read th
[all...]
/opensolaris-onvv-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c659 __nisdb_get_tsd()->searchBase = t->objectDN->read.base;
1078 objectDN->read.base;
1090 objectDN->read.base);
1117 objectDN->read.base);
1133 t->dbId, map, objectDN->read.base);
1148 objectDN->read.base);
1164 objectDN->read.base);
/opensolaris-onvv-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c71 diskaddr_t dblk; /* disk address to read */
72 size_t size; /* number of bytes to read from disk */
491 size = atomic((int(*)())read, cmd[0], (char *)&flags,
495 size = atomic((int(*)())read, cmd[0], data, tp_bsize);
545 * Start a process to read the output buffers and write the data
777 if ((unsigned)atomic((int(*)())read, slp->sl_slavefd,
851 if ((unsigned)atomic((int(*)())read, slp->sl_slavefd,
910 if ((unsigned)atomic((int(*)())read, writer, (char *)&chkpt,
916 if (atomic((int(*)())read, writer, (char *)&spcl,
1154 * Backup first in case we already read th
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c737 if (read(infd, &version, sizeof (version)) !=
765 if (read(infd, &iterations,
775 read(infd, pivbuf, ivlen) != ivlen) {
781 if (read(infd, salt, sizeof (salt))
791 "Unrecognized format version read from "
829 * If key input is read from a file, treat it as
879 * the key read from the file given (-k keyfile) or
1057 CK_ULONG status_index = 0; /* current total file size read */
1072 while ((nread = read(infd, databuf, datalen)) > 0) {
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c175 if (read(h->fd, &h->afs, SBSIZE) != SBSIZE) {
400 if (read(h->fd, sip, size) != size) {
472 if (read(h->fd, (char *)&h->eg, fsp->fs_bsize) != fsp->fs_bsize) {
496 if (read(h->fd, &h->eg, dbtob(LS_SECTORS)) != dbtob(LS_SECTORS)) {
544 if (read(h->fd, (char *)&h->acg, fsp->fs_bsize) != fsp->fs_bsize) {
/opensolaris-onvv-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c308 if ((rval = read(epp->dev_fd, buf, sec_sz)) < sec_sz) {
334 if ((rval = read(epp->dev_fd, buf, sec_sz)) < sec_sz) {
651 if (read(epp->dev_fd, ext_buf, sectsize) <
779 if (read(epp->dev_fd, buf, sectsize) < sectsize) {
1083 if (read(epp->dev_fd, ebr_buf, sectsize) < sectsize) {
/opensolaris-onvv-gate/usr/src/cmd/bfs/
H A Dbfs.c94 static char verbose = 1; /* 1=print # of bytes read in; 0=silent. */
316 while ((n = read(txtfd, block, 512)) > 0) {
390 (void) read(txtfd, savetxt, 512);
407 (void) read(txtfd, savetxt, 512);
1266 } else if (read(f, c, 1) != 1) {

Completed in 313 milliseconds

<<11121314151617181920>>