Lines Matching defs:contig

1749 			offset += count; /* XXX - make this contig */
1961 * If we have a full cluster or they are not contig,
1981 * it is contig.
2182 int32_t dolock, error = 0, contig, multi_io;
2217 contig = 0;
2219 &bn, &contig)) {
2229 cur_len = MIN(io_len - done_len, contig);
2456 int32_t contig = 0;
2466 contig = 0;
2467 if (ud_bmap_read(ip, io_off, &bn, &contig) != 0 || bn == UDF_HOLE) {
2495 int32_t error = 0, contig = 0, multi_io = 0;
2528 contig = ip->i_size;
2535 if (error = ud_bmap_read(ip, off, &bn, &contig))
2537 contig = MIN(contig, PAGESIZE);
2538 contig = (contig + lbmask) & (~lbmask);
2551 if (((off + contig) == isize) ||
2552 (contig == PAGESIZE)) {
2558 if (contig < PAGESIZE) {
2562 if (contig != count) {
2564 contig = (int32_t)(MIN(count, PAGESIZE));
2566 pagezero(pp->p_prev, contig, PAGESIZE - contig);
2573 bp = pageio_setup(pp, contig, ip->i_devvp, bflgs);
2615 if ((off + contig) >= ip->i_size) {
2616 contig = ip->i_size - off;
2620 *pg_off = contig;
2755 int32_t error = 0, contig, multi_io = 0;
2845 contig = ip->i_size;
2848 if (error = ud_bmap_read(ip, off, &bn, &contig)) {
2851 contig = MIN(contig, PAGESIZE);
2852 contig = (contig + lbmask) & (~lbmask);
2854 if (contig < PAGESIZE) {
2858 if (contig != count) {
2860 contig = (int32_t)(MIN(count, PAGESIZE));
2864 if ((off + contig) > isize) {
2865 contig = isize - off;
2868 if (contig > PAGESIZE) {
2869 if (contig & PAGEOFFSET) {
2870 contig &= PAGEMASK;
2875 &io_len, off, contig, flags);
2880 bp = pageio_setup(pp, contig, ip->i_devvp, B_WRITE | flags);
3419 int32_t error = 0, io_count, contig, alloc_sz, i;
3431 for (io_off = 0; io_off < bp->b_bcount; io_off += contig) {
3432 contig = 0;
3434 &bn, &contig)) {
3437 if (contig == 0) {
3440 contig = MIN(contig, PAGESIZE - io_off);
3453 pagezero(pp, io_off, contig);
3489 for (io_off = 0; io_off < bp->b_bcount; io_off += contig) {
3490 contig = 0;
3493 &bn, &contig)) {
3496 ASSERT(contig);
3497 if ((io_off + contig) > bp->b_bcount) {
3498 contig = bp->b_bcount - io_off;
3507 rbp = bioclone(bp, io_off, (size_t)contig,
3511 mm->mm_resid += contig;