Lines Matching defs:ofs
1018 int old_ofs, ofs;
1021 old_ofs = ofs = old_pos & (NTFS_BLOCK_SIZE - 1);
1022 to_read = (ofs + count + NTFS_BLOCK_SIZE - 1) &
1031 "ofs = %i, to_read = 0x%llx.\n", fd, b,
1032 (long long)count, (long long)old_pos, ofs,
1051 ofs + vol_to_read, alignedbuffer);
1055 if (br < ofs) {
1059 br -= ofs;
1061 ofs = fd->pos & (NTFS_BLOCK_SIZE - 1);
1074 if (i < ofs)
1076 i -= ofs;
1203 int old_ofs, ofs;
1206 old_ofs = ofs = old_pos & (NTFS_BLOCK_SIZE - 1);
1207 to_write = (ofs + count + NTFS_BLOCK_SIZE - 1) &
1216 "ofs = %i, to_write = 0x%llx.\n", fd, b,
1217 (long long)count, (long long)old_pos, ofs,
1241 if (ofs) {
1259 ((to_write > NTFS_BLOCK_SIZE) || !ofs)) {
1271 memcpy(alignedbuffer + ofs, b, count);
1278 ofs + vol_to_write, alignedbuffer);
1282 if (bw < ofs) {
1286 bw -= ofs;
1288 ofs = fd->pos & (NTFS_BLOCK_SIZE - 1);
1301 if (i < ofs)
1303 i -= ofs;