Lines Matching refs:devblocksize
1917 u_int32_t devblocksize;
1941 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize;
1943 if (devblocksize == 1) {
1945 * the AFP client advertises a devblocksize of 1
1950 * by setting devblocksize to PAGE_SIZE, we re-instate
1954 devblocksize = PAGE_SIZE;
1971 if (iov_base & (devblocksize - 1)) {
2216 u_int32_t devblocksize;
2226 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize;
2274 while (((uio->uio_offset & (devblocksize - 1)) || io_size < devblocksize) && io_size) {
2277 head_size = devblocksize - (u_int32_t)(uio->uio_offset & (devblocksize - 1));
2305 tail_size = io_size & (devblocksize - 1);
3610 u_int32_t devblocksize;
3636 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize;
3640 (int)devblocksize, (int)mem_alignment_mask, 0, 0, 0);
3642 if (devblocksize == 1) {
3644 * the AFP client advertises a devblocksize of 1
3649 * by setting devblocksize to PAGE_SIZE, we re-instate
3653 devblocksize = PAGE_SIZE;
3664 offset_in_file = (u_int32_t)uio->uio_offset & (devblocksize - 1);
3674 if (iov_base & (devblocksize - 1)) {
3684 * -- the offset into the file is on a devblocksize boundary
3731 io_min = devblocksize;
3735 * however, if io_size isn't a multiple of devblocksize we
3745 if (io_size & (devblocksize - 1)) {
3982 u_int32_t devblocksize;
3999 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize;
4055 while (((uio->uio_offset & (devblocksize - 1)) || io_size < devblocksize) && io_size) {
4058 head_size = devblocksize - (u_int32_t)(uio->uio_offset & (devblocksize - 1));
4086 tail_size = io_size & (devblocksize - 1);