Lines Matching defs:page
1297 /* See that we have at least a one page buffer available */
1300 "Can't allocate one page tape buffer.\n");
2468 /* Mode header and page byte offsets */
2476 /* Mode header and page bit masks */
2485 /* Read a mode page into the tape buffer. The block descriptors are included
2486 if incl_block_descs is true. The page control is ored to the page number
2488 static int read_mode_page(struct scsi_tape *STp, int page, int omit_block_descs)
2497 cmd[2] = page;
2511 /* Send the mode page in the tape buffer to the drive. Assumes that the mode data
2513 static int write_mode_page(struct scsi_tape *STp, int page, int slow)
2556 /* Control the compression with mode page 15. Algorithm not changed if zero.
2565 int mpoffs; /* Offset to mode page start */
2571 /* Read the current page contents */
2574 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
3899 tb->reserved_pages = kcalloc(max_sg, sizeof(struct page *),
3951 struct page *page;
3953 page = alloc_pages(priority, order);
3954 if (!page) {
3963 STbuffer->reserved_pages[segs] = page;
4015 struct page *page = st_bp->reserved_pages[i];
4017 res = copy_from_user(page_address(page) + offset, ubp, cnt);
4047 struct page *page = st_bp->reserved_pages[i];
4049 res = copy_to_user(ubp, page_address(page) + offset, cnt);
4085 struct page *dpage = st_bp->reserved_pages[dst_seg];
4086 struct page *spage = st_bp->reserved_pages[src_seg];
4886 struct page **pages;
4910 /* Errors and no page mapped should return here */