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) {
329 * @pos: position in @log_na at which the restart page resides
353 RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp,
362 if (!ntfs_check_restart_page_header(rp, pos)) {
386 else if (ntfs_attr_pread(log_na, pos,
465 s64 size, pos;
513 for (pos = 0; pos < size; pos <<= 1) {
517 if (ntfs_attr_pread(log_na, pos, NTFS_BLOCK_SIZE, kaddr) !=
542 if (!pos)
543 pos = NTFS_BLOCK_SIZE >> 1;
552 (RESTART_PAGE_HEADER*)kaddr, pos,
560 if (!pos) {
561 pos = NTFS_BLOCK_SIZE >> 1;
578 if (!pos)
579 pos = NTFS_BLOCK_SIZE >> 1;
702 s64 pos, count;
718 pos = 0;
719 while ((count = na->data_size - pos) > 0) {
724 count = ntfs_attr_pwrite(na, pos, count, buf);
731 pos += count;