/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 1730 int iosize = vp->v_mount->mnt_stat.f_iosize; local 1731 int iomask = iosize - 1; 1736 * Align to iosize boundary, super-align to page boundary. 1746 lblkno = off / iosize; 1787 if (cnt < iosize) 1789 cnt -= iosize;
|
/freebsd-current/sys/fs/tarfs/ |
H A D | tarfs_vnops.c | 134 uint64_t iosize; local 138 iosize = vp->v_mount->mnt_stat.f_iosize; 143 *ap->a_bnp = ap->a_bn * btodb(iosize); 148 off = ap->a_bn * iosize; 160 ra = bs - off < iosize ? 161 0 : howmany(bs - (off + iosize), iosize); 164 iosize); 168 ra = be - off < iosize ? 169 0 : howmany(be - (off + iosize), iosiz [all...] |
H A D | tarfs_vfsops.c | 900 tmp->iosize = 1U << tarfs_ioshift; 1126 sbp->f_iosize = tmp->iosize;
|
H A D | tarfs.h | 137 size_t iosize; member in struct:tarfs_mount
|
H A D | tarfs_io.c | 657 block = malloc(tmp->iosize, M_TEMP, M_ZERO | M_WAITOK); 658 res = tarfs_io_read_buf(tmp, true, block, 0, tmp->iosize);
|
/freebsd-current/sys/fs/fuse/ |
H A D | fuse_node.c | 422 size_t iosize; local 428 iosize = fuse_iosize(vp); 440 if (newsize % iosize == 0) 447 lbn = newsize / iosize; 448 bp = getblk(vp, lbn, iosize, PCATCH, 0, 0); 457 bp->b_dirtyend = MIN(bp->b_dirtyend, newsize - lbn * iosize); 465 end_lbn = howmany(newsize, iosize); 466 v_inval_buf_range(vp, 0, end_lbn, iosize);
|
H A D | fuse_internal.c | 396 fdi.iosize = sizeof(*ffsi); 571 fdi.iosize = sizeof(*fri); 582 fdi.answ, fdi.iosize, cookediov, ncookies, &cookies))) 780 fdip->iosize = bufsize + cnp->cn_namelen + 1;
|
H A D | fuse_vnops.c | 326 int iosize, left_on, right_on, right_blksize; local 328 iosize = fuse_iosize(vp); 329 left_lbn = start / iosize; 330 end_lbn = howmany(end, iosize); 331 left_on = start & (iosize - 1); 333 bp = getblk(vp, left_lbn, iosize, PCATCH, 0, 0); 347 right_on = end & (iosize - 1); 349 right_lbn = end / iosize; 351 right_blksize = MIN(iosize, new_filesize - iosize * right_lb [all...] |
H A D | fuse_io.c | 256 fdi.iosize = sizeof(*fri); 277 if ((err = uiomove(fdi.answ, MIN(fri->size, fdi.iosize), uio))) 279 if (fdi.iosize < fri->size) { 359 fdi.iosize = sizeof_fwi + chunksize; 436 fdi.iosize = sizeof_fwi + diff;
|
H A D | fuse_ipc.c | 913 MPASS2(sizeof(fdip->finh) + fdip->iosize <= fdip->tick->tk_ms_fiov.len, 918 fdip->indata, fdip->iosize); 920 fuse_setup_ihead(fdip->finh, fdip->tick, nid, op, fdip->iosize, pid, 937 fdip->indata, fdip->iosize); 939 fuse_setup_ihead(fdip->finh, fdip->tick, nid, op, fdip->iosize, pid, cred); 1042 fdip->iosize = fticket_resp(fdip->tick)->len;
|
H A D | fuse_ipc.h | 422 size_t iosize; member in struct:fuse_dispatcher 429 fdisp_init(struct fuse_dispatcher *fdisp, size_t iosize) argument 431 fdisp->iosize = iosize;
|
/freebsd-current/sys/kern/ |
H A D | vfs_bio.c | 2960 int i, iosize, resid; local 2977 iosize = bp->b_bcount - bp->b_resid; 2980 if (resid > iosize) 2981 resid = iosize; 3010 iosize -= resid;
|
H A D | vfs_default.c | 820 size_t iosize; local 835 iosize = vap->va_blocksize; 836 if (iosize == 0) 837 iosize = BLKDEV_IOSIZE; 838 if (iosize > maxphys) 839 iosize = maxphys; 840 buf = malloc(iosize, M_TEMP, M_WAITOK); 884 cur = iosize; 885 if ((offset % iosize) != 0) 886 cur -= (offset % iosize); 943 int iosize; local [all...] |
/freebsd-current/contrib/sendmail/libsm/ |
H A D | setvbuf.c | 56 size_t iosize; local 106 flags |= sm_whatbuf(fp, &iosize, &ttyflag); 110 size = iosize; 124 if (size != iosize) 126 size = iosize; 147 ** SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)? 150 if (size != iosize)
|
/freebsd-current/sbin/fsck_msdosfs/ |
H A D | dir.c | 553 int fd, i, j, k, iosize, entries; local 587 iosize = boot->bpbRootDirEnts * 32; 590 iosize = boot->bpbSecPerClust * boot->bpbBytesPerSec; 591 entries = iosize / 32; 613 read(fd, buffer, iosize) != iosize) { 1015 || write(fd, buffer, iosize) != iosize) { 1035 || write(fd, buffer, iosize) != iosize) { [all...] |
/freebsd-current/sys/dev/le/ |
H A D | if_le_isa.c | 135 u_long iosize; member in struct:le_isa_param 206 leip->iosize, RF_ACTIVE); 278 le_isa_params[i].iosize, RF_ACTIVE);
|
/freebsd-current/lib/libc/stdio/ |
H A D | setvbuf.c | 51 size_t iosize; local 89 flags |= __swhatbuf(fp, &iosize, &ttyflag); 92 size = iosize; 103 if (size != iosize) { 104 size = iosize; 124 * SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)? 126 if (size != iosize)
|
/freebsd-current/usr.sbin/dumpcis/ |
H A D | cardinfo.h | 146 int iosize; /* Length of I/O ports */ member in struct:dev_desc
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clvfsops.c | 194 int iosize, maxio; local 196 /* First, set the upper limit for iosize */ 227 iosize = imax(nmp->nm_rsize, nmp->nm_wsize); 228 iosize = imax(iosize, PAGE_SIZE); 229 iosize = imax(iosize, NFS_DIRBLKSIZ); 230 nmp->nm_mountp->mnt_stat.f_iosize = iosize; 231 return (iosize);
|
/freebsd-current/contrib/lib9p/ |
H A D | request.c | 364 size_t iosize; local 425 iosize = req->lr_resp_msg.lm_size; 433 iosize += req->lr_resp.io.count; 437 iosize, conn->lc_lt.lt_aux);
|