Lines Matching defs:pos
49 * @pos: position in logfile at which the restart page header resides
57 static BOOL ntfs_check_restart_page_header(RESTART_PAGE_HEADER *rp, s64 pos)
79 * We must be either at !pos (1st restart page) or at pos = system page
82 if (pos && pos != logfile_system_page_size) {
351 * @pos: position in @log_na at which the restart page resides
375 RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp,
384 if (!ntfs_check_restart_page_header(rp, pos)) {
415 else if (ntfs_attr_pread(log_na, pos,
494 s64 size, pos;
541 for (pos = 0; pos < size; pos <<= 1) {
545 if (ntfs_attr_pread(log_na, pos, NTFS_BLOCK_SIZE, kaddr) !=
570 if (!pos)
571 pos = NTFS_BLOCK_SIZE >> 1;
580 (RESTART_PAGE_HEADER*)kaddr, pos,
588 if (!pos) {
589 pos = NTFS_BLOCK_SIZE >> 1;
606 if (!pos)
607 pos = NTFS_BLOCK_SIZE >> 1;
730 s64 pos, count;
746 pos = 0;
747 while ((count = na->data_size - pos) > 0) {
752 count = ntfs_attr_pwrite(na, pos, count, buf);
759 pos += count;