Home
last modified time | relevance | path

Searched refs:r_size (Results 1 – 25 of 40) sorted by relevance

12

/titanic_51/usr/src/test/zfs-tests/tests/functional/snapused/
H A Dsnapused_004_pos.ksh66 typeset -i r_size=0
69 ((r_size=(i+1)*16))
70 log_must $ZFS set refreservation="$r_size"M $USEDTEST
75 log_must $ZFS set refreservation="$r_size"M $USEDTEST/fs$i
87 log_must $ZFS set refreservation="$r_size"M $USEDTEST/cln$i
H A Dsnapused_003_pos.ksh61 typeset -i r_size=0
64 ((r_size=(i+1)*16))
67 log_must $MKFILE "$r_size"M $mntpnt/file_var$i
75 log_must $MKFILE "$r_size"M $mntpnt_cln/file_cln_var$i
H A Dsnapused_005_pos.ksh60 typeset -i r_size=0
63 ((r_size=(i+1)*16))
65 log_must $MKFILE "$r_size"M $mntpnt/file$i
H A Dsnapused_002_pos.ksh62 typeset -i r_size=0
65 ((r_size=(i+1)*16))
68 log_must $ZFS set reservation="$r_size"M $USEDTEST/fs$i
H A Dsnapused_001_pos.ksh64 typeset -i r_size=0
67 ((r_size=(i+1)*16))
70 log_must $ZFS set refreservation="$r_size"M $USEDTEST
/titanic_51/usr/src/boot/sys/boot/common/
H A Dbcache.c220 size_t i, nblk, p_size, r_size, complete, ra; in read_strategy() local
268 r_size = bc->bcache_nblks - BHASH(bc, p_blk); /* remaining blocks */ in read_strategy()
270 p_size = MIN(r_size, nblk - i); /* read at least those blocks */ in read_strategy()
312 r_size = 0; in read_strategy()
323 p_size * bcache_blksize, p_buf, &r_size); in read_strategy()
325 r_size /= bcache_blksize; in read_strategy()
326 for (i = 0; i < r_size; i++) in read_strategy()
330 if (r_size != 0) { in read_strategy()
331 if (r_size < p_size) in read_strategy()
332 bcache_rablks += (p_size - r_size); in read_strategy()
[all...]
/titanic_51/usr/src/lib/libresolv/
H A Dres_mkquery.c300 putshort(newrr->r_size, cp);
302 if (newrr->r_size) {
304 memcpy((void *)cp, newrr->r_data, newrr->r_size);
306 bcopy(newrr->r_data, cp, newrr->r_size);
308 cp += newrr->r_size;
/titanic_51/usr/src/cmd/write/
H A Dwrite.c587 int r_size; local
592 r_size = nbytereq - delta_size;
595 r_size = nbytereq;
598 if ((r_size = read(d, cp, r_size)) < 0)
599 r_size = 0;
600 if ((n = delta_size + r_size) <= 0)
/titanic_51/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c65 new->r_size = old->r_size; in old2new()
89 old->r_size = new->r_size; in new2old()
/titanic_51/usr/src/cmd/sgs/librtld/sparcv9/
H A D_relocate.c52 (void) memset((void *)oaddr, 0, (size_t)reloc->r_size); in undo_reloc()
136 (size_t)reloc->r_size); in apply_reloc()
/titanic_51/usr/src/cmd/sgs/librtld/i386/
H A D_relocate.c52 (void) memset((void *)oaddr, 0, (size_t)reloc->r_size); in undo_reloc()
137 (size_t)reloc->r_size); in apply_reloc()
/titanic_51/usr/src/cmd/sgs/librtld/sparc/
H A D_relocate.c52 (void) memset((void *)oaddr, 0, (size_t)reloc->r_size); in undo_reloc()
136 (size_t)reloc->r_size); in apply_reloc()
/titanic_51/usr/src/cmd/sgs/librtld/amd64/
H A D_relocate.c49 (void) memset((void *)oaddr, 0, (size_t)reloc->r_size); in undo_reloc()
146 (size_t)reloc->r_size); in apply_reloc()
/titanic_51/usr/src/cmd/sgs/librtld/common/
H A Drelocate.c133 reloc->r_size = sym->st_size; in count_reloc()
135 reloc->r_size = 0; in count_reloc()
384 reloc->r_size = 0; in count_reloc()
392 reloc->r_size = sym->st_size; in count_reloc()
H A D_librtld.h73 unsigned long r_size; /* size (used for copy relocations) */ member
/titanic_51/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c140 rrecp->r_size = 0; in res_nmkupdate()
145 rrecp->r_size = 0; in res_nmkupdate()
149 rrecp->r_size = 0; in res_nmkupdate()
152 if (rrecp->r_size == 0) in res_nmkupdate()
165 rclass = rrecp->r_size == 0 ? C_ANY : C_NONE; in res_nmkupdate()
198 if (rrecp->r_size == 0) { in res_nmkupdate()
207 endp = startp + rrecp->r_size - 1; in res_nmkupdate()
/titanic_51/usr/src/lib/libresolv2/include/
H A Dres_update.h57 u_int r_size; /*%< size of r_data field */ member
/titanic_51/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c281 * Shall we update r_size? (local notion of size) in smbfs_attrcache_fa()
283 * The real criteria for updating r_size should be: in smbfs_attrcache_fa()
296 if (np->r_size != newsize) { in smbfs_attrcache_fa()
302 np->r_size = newsize; in smbfs_attrcache_fa()
491 vap->va_size = np->r_size; in smbfattr_to_vattr()
H A Dsmbfs_node.h144 * according to the client (r_size) and the size according to the server
145 * (r_attr.fa_size). They can differ because we modify r_size during a
149 * size returned from the server (r_attr.fa_size) may not match r_size.
150 * r_size is the one we use, in general. r_attr.fa_size is only used to
183 * r_size were safe and reliable; on 32-bit architectures, this is
186 * be held whenever any kind of access of r_size is made.
249 * See notes above re: r_size vs r_attr.fa_size, etc.
254 len_t r_size; /* client's view of file size */ member
H A Dsmbfs_vnops.c743 if (endoff > np->r_size) in smbfs_write()
761 if (uiop->uio_loffset > (offset_t)np->r_size) in smbfs_write()
762 np->r_size = (len_t)uiop->uio_loffset; in smbfs_write()
877 vap->va_size = np->r_size; in smbfs_getattr()
1075 np->r_size = vap->va_size; in smbfssetattr()
1935 if (np->r_size > MAXOFF32_T) in smbfs_create()
/titanic_51/usr/src/lib/libresolv/arpa/
H A Dnameser.h202 int r_size; /* size of data area */ member
/titanic_51/usr/src/uts/common/fs/nfs/
H A Dnfs_client.c533 preattr_rsize = rp->r_size; in nfs_attr_cache()
544 if ((vp->v_type == VREG) && (rp->r_size != preattr_rsize)) { in nfs_attr_cache()
676 preattr_rsize = rp->r_size; in nfs3_attr_cache()
687 if ((vp->v_type == VREG) && (rp->r_size != preattr_rsize)) { in nfs3_attr_cache()
810 if (rp->r_size != va->va_size && in nfs_attrcache_va()
813 rp->r_size = va->va_size; in nfs_attrcache_va()
922 vap->va_size = rp->r_size; in nfsgetattr()
1002 vap->va_size = rp->r_size; in nfs3getattr()
2249 * the cache to be invalidated out from under us. The r_size is not in writerp()
2251 * file before r_size i in writerp()
[all...]
H A Dnfs_vnops.c498 diff = rp->r_size - uiop->uio_loffset; in nfs_read()
524 uiop->uio_loffset == rp->r_size) in nfs_read()
753 uiop->uio_loffset + pn >= rp->r_size); in nfs_write()
1105 vap->va_size = rp->r_size; in nfs_getattr()
2176 rp->r_size = 0; in nfs_create()
3420 offset >= rp->r_size) { in nfs_bio()
3458 count = MIN(bp->b_bcount, rp->r_size - offset); in nfs_bio()
3678 if (off + len > rp->r_size + PAGEOFFSET && seg != segkmap) { in nfs_getpage()
3775 while (readahead > 0 && rablkoff + bsize < rp->r_size) { in nfs_getapage()
3828 if (blkoff < rp->r_size in nfs_getapage()
[all...]
H A Dnfs3_vnops.c598 diff = rp->r_size - uiop->uio_loffset; in nfs3_read()
625 uiop->uio_loffset == rp->r_size) in nfs3_read()
857 uiop->uio_loffset + pn >= rp->r_size); in nfs3_write()
1276 vap->va_size = rp->r_size; in nfs3_getattr()
2303 if (rp->r_size > MAXOFF32_T) in nfs3_create()
2565 if (rp->r_size > MAXOFF32_T) { in nfs3create()
4327 offset >= rp->r_size) { in nfs3_bio()
4365 count = MIN(bp->b_bcount, rp->r_size - offset); in nfs3_bio()
4582 if (off + len > rp->r_size + PAGEOFFSET && seg != segkmap) { in nfs3_getpage()
4680 while (readahead > 0 && rablkoff + bsize < rp->r_size) { in nfs3_getapage()
[all...]
H A Dnfs4_client.c581 preattr_rsize = rp->r_size; in nfs4_attr_cache()
592 if ((!cinfo) && (rp->r_size != preattr_rsize)) { in nfs4_attr_cache()
788 if (rp->r_size != vap->va_size && in nfs4_attrcache_va()
791 rp->r_size = vap->va_size; in nfs4_attrcache_va()
953 vap->va_size = rp->r_size; in nfs4getattr()
2266 * the cache to be invalidated out from under us. The r_size is not in writerp4()
2268 * file before r_size is correct, we will lose the data written past in writerp4()
2269 * the current (and invalid) r_size. in writerp4()
2288 * The read of r_size is now protected by r_statelock. in writerp4()
2299 (n == PAGESIZE || ((offset + n) >= rp->r_size))); in writerp4()
[all...]

12