Searched refs:readsize (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 319 ssize_t readsize; in dbm_access() local 329 readsize = read(pagf, pagbuf, PBLKSIZ); in dbm_access() 330 if (readsize != PBLKSIZ) { in dbm_access() 331 if (readsize < 0) in dbm_access() 332 readsize = 0; in dbm_access() 333 (void) memset((&pagbuf+readsize), 0, PBLKSIZ-readsize); in dbm_access() 344 ssize_t readsize; in getbit() local 355 readsize = read(dirf, dirbuf, DBLKSIZ); in getbit() 356 if (readsize != DBLKSIZ) { in getbit() 357 if (readsize < 0) in getbit() [all …]
|
/illumos-gate/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 336 ssize_t readsize; in dbm_access() local 346 readsize = read(pagf, pagbuf, PBLKSIZ); in dbm_access() 347 if (readsize != PBLKSIZ) { in dbm_access() 348 if (readsize < 0) readsize = 0; in dbm_access() 349 bzero(pagbuf+readsize, PBLKSIZ-readsize); in dbm_access() 360 ssize_t readsize; in getbit() local 371 readsize = read(dirf, dirbuf, DBLKSIZ); in getbit() 372 if (readsize != DBLKSIZ) { in getbit() 373 if (readsize < 0) readsize = 0; in getbit() 374 bzero(dirbuf+readsize, DBLKSIZ-readsize); in getbit()
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 192 uint16_t readsize; in setup_root_vars() local 249 buflen = sizeof (readsize); in setup_root_vars() 251 &readsize, &buflen)) { in setup_root_vars() 252 nfs_readsize = ntohs(readsize); in setup_root_vars()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1309 size_t readsize; in pc_readfat() local 1314 readsize = fsp->pcfs_clsize; in pc_readfat() 1315 for (off = 0; off < fatsize; off += readsize, fatp += readsize) { in pc_readfat() 1316 if (readsize > (fatsize - off)) in pc_readfat() 1317 readsize = fatsize - off; in pc_readfat() 1320 bp = bread(fsp->pcfs_xdev, diskblk, readsize); in pc_readfat() 1326 bcopy(bp->b_un.b_addr, fatp, readsize); in pc_readfat()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_callback.c | 960 int readsize; in nfs4_svc() local 989 readsize = nfs3tsize() + (RPC_MAXDATASIZE - NFS_MAXDATA); in nfs4_svc() 990 if (readsize < RPC_MAXDATASIZE) in nfs4_svc() 991 readsize = RPC_MAXDATASIZE; in nfs4_svc() 1052 error = svc_tli_kcreate(fp, readsize, buf, &addrmask, &cb_xprt, in nfs4_svc()
|
H A D | nfs_server.c | 438 int readsize; in nfs_svc() local 461 readsize = nfs3tsize() + (RPC_MAXDATASIZE - NFS_MAXDATA); in nfs_svc() 462 if (readsize < RPC_MAXDATASIZE) in nfs_svc() 463 readsize = RPC_MAXDATASIZE; in nfs_svc() 510 error = svc_tli_kcreate(fp, readsize, buf, &addrmask, &xprt, in nfs_svc()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 4244 size_t readsize; in show_packed_nvlist() local 4252 readsize = Pread(Proc, buf, size, offset); in show_packed_nvlist() 4253 if (readsize != size) { in show_packed_nvlist() 4454 size_t readsize; in show_rctlblk() local 4458 readsize = Pread(Proc, blk, size, _rctlblk); in show_rctlblk() 4459 if (readsize != size) { in show_rctlblk()
|