Lines Matching defs:pos
209 /* FIXME: This, lcn_bitmap and pos from find_free_cluster() will make a cluster
881 s64 i, pos, count;
888 pos = 0;
890 count = ntfs_attr_pread(vol->lcnbmp_na, pos, NTFS_BUF_SIZE, bm);
895 if (a->size > pos)
897 " (%lld != %lld)\n", a->size, pos);
901 for (i = 0; i < count; i++, pos++) {
904 if (a->size <= pos)
907 if (a->bm[pos] == bm[i])
910 for (cl = pos * 8; cl < (pos + 1) * 8; cl++) {
1223 static void set_bitmap_range(struct bitmap *bm, s64 pos, s64 length, u8 bit)
1226 ntfs_bit_set(bm->bm, pos++, bit);
1255 static s64 pos = 0;
1259 if (pos >= nr_vol_clusters)
1260 pos = 0;
1265 pos = nr_vol_clusters / 2;
1266 i = pos;
1284 } while (i != pos);
1298 pos = rle->lcn + items;
1299 if (pos == nr_vol_clusters)
1300 pos = 0;
1411 off_t pos;
1412 pos = (off_t)(lcn * vol->cluster_size);
1413 if (vol->u.dev->d_ops->seek(vol->u.dev, pos, SEEK_SET) == (off_t)-1)
1464 static void rl_split_run(runlist **rl, int run, s64 pos)
1485 len_tail = rle->length - (pos - rle->lcn);
1491 ntfs_log_verbose("Splitting run at cluster %lld:\n", (long long)pos);