Lines Matching defs:offset

467         u64 offset;
4858 static BOOL valid_sds(const char *attr, unsigned int offset,
4868 printf("Entry at 0x%lx was deleted\n",(long)offset);
4901 if ((second ? get8l(attr,8) + 0x40000 : get8l(attr,8)) == offset) {
4903 printf("Offset 0x%lx (correct)\n",(long)offset);
4905 printf("** offset 0x%llx (expected : 0x%llx)\n",
4934 static int consist_sds(const char *attr, unsigned int offset,
4946 (long)offset,(long)key);
4960 if (psecurdata->offset != get8l(attr,8)) {
4962 (long long)psecurdata->offset,(long long)get8l(attr,8));
4979 psecurdata->offset = get8l(attr,8);
5008 unsigned int offset;
5018 offset = (second ? 0x40000 : 0);
5026 size = ntfs_read_sds(ntfs_context,(char*)attr,20,offset);
5044 (char*)&attr[20],entryalsz,offset + 20);
5046 printf("\nAt offset 0x%lx got %lu bytes\n",(long)offset,(long)size);
5060 unsane = !valid_sds(attr,offset,entrysz,
5067 errcnt += consist_sds(attr,offset,
5086 offset += entryalsz;
5088 || ((((offset - 1) | 0x3ffff) - offset + 1) < 20)) {
5090 offset = ((offset - 1) | 0x7ffff) + 0x40001;
5092 offset = ((offset - 1) | 0x7ffff) + 1;
5094 printf("Trying next SDS-%d block at offset 0x%lx\n",
5095 (second ? 2 : 1), (long)offset);
5097 (char*)attr,20,offset);
5139 printf("** offset %d (instead of 20)\n",(int)get2l(entry,0));
5215 if (get8l(entry,28) != psecurdata->offset) {
5216 printf("** offset 0x%llx (instead of 0x%llx)\n",
5218 (long long)psecurdata->offset);
5231 psecurdata->offset = get8l(entry,28);
5235 printf(" offset 0x%llx\n",(long long)psecurdata->offset);
5314 printf("** offset %d (instead of 24)\n",(int)get2l(entry,0));
5403 if (get8l(entry,32) != psecurdata->offset) {
5404 printf("** offset 0x%llx (instead of 0x%llx)\n",
5406 (long long)psecurdata->offset);
5419 psecurdata->offset = get8l(entry,32);
5422 printf(" offset 0x%llx\n",(long long)psecurdata->offset);