Lines Matching defs:pos
65 * @pos: position in @ni at which the restart page header resides
74 RESTART_PAGE_HEADER *rp, s64 pos)
97 * We must be either at !pos (1st restart page) or at pos = system page
100 if (pos && pos != logfile_system_page_size) {
350 * @pos: position in @ni at which the restart page resides
374 s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn)
383 if (!ntfs_restart_page_header_is_valid(ni, rp, pos)) {
408 size = PAGE_SIZE - ((unsigned)pos & PAGE_MASK);
423 pos += size;
424 if ((unsigned)pos & PAGE_MASK)
425 panic("%s(): pos + size is not PAGE_SIZE "
427 err = ntfs_page_map(ni, pos, &upl, &pl, &kaddr, FALSE);
517 s64 size, pos, ppos;
590 for (pos = ppos = 0; pos < size; pos <<= 1) {
591 if (!upl || (s64)(pos & ~PAGE_MASK_64) != ppos) {
594 ppos = pos;
595 err = ntfs_page_map(ni, pos, &upl, &pl, &paddr, FALSE);
603 kaddr = paddr + (pos & PAGE_MASK_64);
617 if (!pos)
618 pos = NTFS_BLOCK_SIZE / 2;
637 if (!pos)
638 pos = NTFS_BLOCK_SIZE / 2;
647 (RESTART_PAGE_HEADER*)kaddr, pos,
655 if (!pos) {
656 pos = NTFS_BLOCK_SIZE / 2;
675 if (!pos)
676 pos = NTFS_BLOCK_SIZE / 2;