Lines Matching defs:page

1296 	/* See that we have at least a one page buffer available */
1299 "Can't allocate one page tape buffer.\n");
2467 /* Mode header and page byte offsets */
2475 /* Mode header and page bit masks */
2484 /* Read a mode page into the tape buffer. The block descriptors are included
2485 if incl_block_descs is true. The page control is ored to the page number
2487 static int read_mode_page(struct scsi_tape *STp, int page, int omit_block_descs)
2496 cmd[2] = page;
2510 /* Send the mode page in the tape buffer to the drive. Assumes that the mode data
2512 static int write_mode_page(struct scsi_tape *STp, int page, int slow)
2555 /* Control the compression with mode page 15. Algorithm not changed if zero.
2564 int mpoffs; /* Offset to mode page start */
2570 /* Read the current page contents */
2573 DEBC_printk(STp, "Compression mode page not supported.\n");
3305 /* Functions for reading and writing the medium partition mode page. */
3323 mode page into the tape buffer. */
3334 DEBC_printk(STp, "Can't read medium partition page.\n");
3381 in the mode page, the second field is used. Otherwise the first field is used.
3383 For Seagate DDS drives the page length must be 8 when no partitions is defined
3401 DEBC_printk(STp, "Can't read partition mode page.\n");
3410 /* The mode page is in the buffer. Let's modify it and write it. */
3413 DEBC_printk(STp, "Partition page length is %d bytes.\n",
3421 /* No need to write the mode page when clearing
3927 tb->reserved_pages = kcalloc(max_sg, sizeof(struct page *),
3981 struct page *page;
3983 page = alloc_pages(priority, order);
3984 if (!page) {
3993 STbuffer->reserved_pages[segs] = page;
4045 struct page *page = st_bp->reserved_pages[i];
4047 res = copy_from_user(page_address(page) + offset, ubp, cnt);
4077 struct page *page = st_bp->reserved_pages[i];
4079 res = copy_to_user(ubp, page_address(page) + offset, cnt);
4115 struct page *dpage = st_bp->reserved_pages[dst_seg];
4116 struct page *spage = st_bp->reserved_pages[src_seg];
4940 struct page **pages;
4964 /* Errors and no page mapped should return here */