Searched refs:rd_size (Results 1 – 7 of 7) sorted by relevance
197 size_t rd_size; member274 rdp->rd_size = size; in create_ramdisk()318 ramdisk_free_mem(rdp->rd_base, rdp->rd_size); in destroy_ramdisk()319 rdp->rd_size = 0; in destroy_ramdisk()
510 if (rsp->rd_size < (2 * 1024 * 1024)) /* floppy? */ in rd_fake_disk_geometry()511 rsp->rd_dkg.dkg_ncyl = rsp->rd_size / (100 * 1024); in rd_fake_disk_geometry()513 rsp->rd_dkg.dkg_ncyl = rsp->rd_size / (300 * 1024); in rd_fake_disk_geometry()527 rsp->rd_dkg.dkg_nsect = rsp->rd_size / in rd_fake_disk_geometry()653 rsp->rd_size = size; in rd_alloc_resources()1114 } else if (offset >= rsp->rd_size) {1126 nbytes = min(bp->b_bcount, rsp->rd_size - offset);1161 if (uiop->uio_offset >= rsp->rd_size)1175 if (uiop->uio_offset >= rsp->rd_size)
190 size_t rd_size; /* Size in bytes */ member
2557 rd->rd_size = 0; in rfs_readdir()2595 rd->rd_size = 0; in rfs_readdir()2598 rd->rd_size = (uint32_t)(rda->rda_count - in rfs_readdir()2605 nents = nfscmd_countents((char *)rd->rd_entries, rd->rd_size); in rfs_readdir()2620 rd->rd_size -= dropbytes; in rfs_readdir()
793 for (size = rd->rd_size, dp = rd->rd_entries; in xdr_putrddirres()849 size = rd->rd_size; in xdr_getrddirres()880 rd->rd_size = (uint32_t)((char *)dp - (char *)(rd->rd_entries)); in xdr_getrddirres()
3290 rd.rd_size = count; in nfsreaddir()3331 rdc->entlen = rd.rd_size; in nfsreaddir()3345 rd.rd_size; in nfsreaddir()
639 #define rd_size rd_u.rd_rdok_u.rdok_size macro