Lines Matching refs:pos
51 RESTART_PAGE_HEADER *rp, s64 pos) in ntfs_check_restart_page_header() argument
76 if (pos && pos != logfile_system_page_size) { in ntfs_check_restart_page_header()
349 RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, in ntfs_check_and_load_restart_page() argument
358 if (!ntfs_check_restart_page_header(vi, rp, pos)) { in ntfs_check_and_load_restart_page()
383 size = PAGE_CACHE_SIZE - (pos & ~PAGE_CACHE_MASK); in ntfs_check_and_load_restart_page()
396 idx = (pos + size) >> PAGE_CACHE_SHIFT; in ntfs_check_and_load_restart_page()
397 BUG_ON((pos + size) & ~PAGE_CACHE_MASK); in ntfs_check_and_load_restart_page()
485 s64 size, pos; in ntfs_check_logfile() local
540 for (pos = 0; pos < size; pos <<= 1) { in ntfs_check_logfile()
541 pgoff_t idx = pos >> PAGE_CACHE_SHIFT; in ntfs_check_logfile()
552 kaddr = (u8*)page_address(page) + (pos & ~PAGE_CACHE_MASK); in ntfs_check_logfile()
571 if (!pos) in ntfs_check_logfile()
572 pos = NTFS_BLOCK_SIZE >> 1; in ntfs_check_logfile()
581 (RESTART_PAGE_HEADER*)kaddr, pos, in ntfs_check_logfile()
589 if (!pos) { in ntfs_check_logfile()
590 pos = NTFS_BLOCK_SIZE >> 1; in ntfs_check_logfile()
609 if (!pos) in ntfs_check_logfile()
610 pos = NTFS_BLOCK_SIZE >> 1; in ntfs_check_logfile()