Searched refs:read (Results 426 - 450 of 920) sorted by relevance

<<11121314151617181920>>

/opensolaris-onvv-gate/usr/src/lib/libsip/common/
H A Dsip_gids.c64 if (read(devrandom, buf, buflen) == -1)
/opensolaris-onvv-gate/usr/src/lib/libsocket/inet/
H A Druserpass.c131 if (read(2, *aname, MAXANAME) <= 0)
/opensolaris-onvv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwgetch.c77 /* We set delay mode. Only error if noting in the read */
221 if ((r = read(__m_screen->_kfd, (void *)&ch, 1)) > 0) {
370 * did not read a KEY_ value (which are < 0), nor EOF.
/opensolaris-onvv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_tab.c247 * read in md.tab file and return struct
279 /* read in data */
285 if ((cnt = read(fd, p, 8192)) < 0) {
/opensolaris-onvv-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c216 * We sort the file in memory: we read the dictionary file, translate all
254 n = read(fd, buf, statbuf.st_size);
261 syslog(LOG_ERR, MODNAME ": read failed: %s",
310 * we read the first word of each of the temp-files into words[].
/opensolaris-onvv-gate/usr/src/lib/smbsrv/libsmbrdr/common/
H A Dsmbrdr_netbios.c380 if ((rc = read(fd, buf+ix, cnt-ix)) < 0)
/opensolaris-onvv-gate/usr/src/stand/lib/fs/common/
H A Dfsswitch.c141 read(int fd, void *buf, size_t size) function
/opensolaris-onvv-gate/usr/src/tools/install.bin/
H A Dinstall.bin.c81 while ((count = read(src_fd, file_buff, FILE_BUFF)) > 0) {
86 (void) fprintf(stderr, "install:file_copy:read failed "
/opensolaris-onvv-gate/usr/src/ucbcmd/install.d/
H A Dinstall.c280 while ((n = read(from_fd, buf, sizeof(buf))) > 0)
287 fprintf(stderr, gettext("install: read: %s: %s\n"), from_name, strerror(errno));
/opensolaris-onvv-gate/usr/src/ucbcmd/touch/
H A Dtouch.c244 * (cannot touch if read-only and not -f).
260 * If that's the case, try the old read/write trick.
315 if (read(fd, &first, 1) != 1)
/opensolaris-onvv-gate/usr/src/ucblib/libtermcap/
H A Dtermcap.c85 * use so we don't have to read the file. In this case it
112 cnt = read(tf, ibuf, BUFSIZ);
/opensolaris-onvv-gate/usr/src/uts/common/sys/1394/
H A Dh1394.h137 int (*read)(void *hal_private, cmd1394_cmd_t *req, member in struct:h1394_evts_s
190 /* Result field returned by read/write/lock requests */
/opensolaris-onvv-gate/usr/src/uts/sun4u/ml/
H A Dcpr_resume_setup.s210 ! any prom service; after returning, read %tba again;
224 rdpr %tba, %o5 ! read original %tba
227 ldx [%l4], %o4 ! read prom_tba
235 ldx [%l4], %o4 ! read prom_tba
236 rdpr %tba, %o3 ! read current %tba
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/
H A Ddmu.c350 int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp, uint32_t flags)
401 if (read) {
410 /* track read overhead when we are in sync context */
419 if (read) {
443 uint64_t length, int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp)
452 err = dmu_buf_hold_array_by_dnode(dn, offset, length, read, tag,
462 uint64_t length, int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp)
470 err = dmu_buf_hold_array_by_dnode(dn, offset, length, read, tag,
519 * already cached, we will do a *synchronous* read in the
349 dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset, uint64_t length, int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp, uint32_t flags) argument
442 dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset, uint64_t length, int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp) argument
461 dmu_buf_hold_array_by_bonus(dmu_buf_t *db_fake, uint64_t offset, uint64_t length, int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp) argument
/opensolaris-onvv-gate/usr/src/uts/common/io/e1000g/
H A De1000_82571.c247 nvm->ops.read = e1000_read_nvm_eerd;
359 /* read mac address */
958 * on the last TLP read/write transaction when MAC is reset.
1130 * Clear all of the statistics registers (clear on read). It is
1329 hw->nvm.ops.read(hw, NVM_INIT_CONTROL2_REG, 1, &data);
1636 ret_val = hw->nvm.ops.read(hw, NVM_ID_LED_SETTINGS, 1, data);
1734 ret_val = nvm->ops.read(hw, 0x10, 1, &data);
1746 ret_val = nvm->ops.read(hw, 0x23, 1, &data);
/opensolaris-onvv-gate/usr/src/uts/common/io/igb/
H A Digb_82575.c218 nvm->ops.read = e1000_read_nvm_eerd;
318 /* read mac address */
415 * @offset: register offset to be read
416 * @data: pointer to the read data
522 DEBUGOUT2("Vendor ID 0x%08X read at address %u\n",
810 * to read the config done bit, so an error is *ONLY* logged and returns
982 hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_A, 1, &eeprom_data);
984 hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_A +
988 hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_B, 1, &eeprom_data);
1028 * on the last TLP read/writ
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c384 * Sliding window. Input bytes are read into the second half
1378 * and total number of bytes read. All deflate() input goes through
1716 * At least one byte has been read, or avail_in == 0; reads are
1813 "read too much");
3921 * i.e. no pending output (hence s->read equals s->write), and the state must
4190 Bytef *read; /* window read pointer */ member in struct:inflate_blocks_state
4213 #define WAVAIL (uInt)(q < s->read ? s->read-q-1 : s->end-q)
4215 #define WWRAP {if (q == s->end && s->read !
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c134 /* needs to be > largest read size */
730 if (read(rem, &resp, sizeof (resp))
748 if (read(rem, &resp,
942 if (read(rem, &resp, sizeof (resp)) != sizeof (resp))
962 if (read(rem, &resp,
1119 while ((cnt = read(pfds[0], buf, sizeof (buf))) > 0) {
1121 * If any data is read from the pipe the child process
1246 read(f, bp->buf, amt) != amt)
1284 * tries to read data from closed handle which
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c477 if ((i = read(fd, buf, size)) == size) {
490 read(fd, cp, (int)secsize) < 0) {
1321 if ((io_res = read(fsreadfd, cleanbuf.b_un.b_buf, size)) != size) {
2316 * No one should call dirty() in read only mode.
2376 pwarn("%s: Unable to read Disk geometry", disk);
2445 * Since both attempts to read the label failed, we're
2488 * read. Doing an llseek( , , SEEK_END) would probably work
2503 * First, see if we can read the device at all, just to
2509 ((read(fd, buf, DEV_BSIZE)) == -1))
2514 * to find the first read tha
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_82599.c180 hw->eeprom.ops.read(hw, ++data_offset, &data_value);
184 hw->eeprom.ops.read(hw, ++data_offset, &data_value);
1145 /* Clear FDIR statistics registers (read to clear) */
2157 * @reg: analog register to read
2158 * @val: read value
2160 * Performs read operation to Omer analog register specified.
2328 /* SFI mode so read SFP module */
2454 * This function will read the EEPROM location for the device capabilities,
2462 hw->eeprom.ops.read(hw, IXGBE_DEVICE_CAPS, device_caps);
2493 hw->eeprom.ops.read(h
[all...]
/opensolaris-onvv-gate/usr/src/cmd/backup/restore/
H A Dsymtab.c725 * The symbol table file is too small so say we can't read it.
729 gettext("cannot read symbol table file %s\n"), filename);
749 if (read(fd, base, (size_t)tblsize) < 0 ||
750 read(fd, (char *)&hdr, sizeof (hdr)) < 0) {
751 perror("read");
753 gettext("cannot read symbol table file %s\n"), filename);
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c602 * If we read keybytes from a file,
838 while ((nread = read(fd, buf, sizeof (buf))) > 0) {
848 * Perform the C_DigestFinal, even if there is a read error.
870 /* There was a read error */
905 while ((nread = read(fd, buf, sizeof (buf))) > 0) {
915 * Perform the C_SignFinal, even if there is a read error.
936 /* There was a read error */
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c699 if ((n = read(nfd, buf, plen)) < 0)
716 * be some data lingering (POLLIN). After we read
717 * the data, only POLLHUP remains, read() returns 0
721 if ((n = read(wfd, buf, plen)) < 0)
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c893 n = read(fd, lock_buffer, 11);
895 n = read(fd, &pid, sizeof(pid));
900 error("Can't read pid from lock file %s", lock_file);
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c367 (void) read(sigfd, buf, sizeof (buf));
454 retv = read(control_fd, &bc, sizeof (bc));

Completed in 325 milliseconds

<<11121314151617181920>>