Lines Matching refs:new_offset
1152 unsigned long long new_offset);
1581 super_90_allow_new_offset(struct md_rdev *rdev, unsigned long long new_offset) in super_90_allow_new_offset() argument
1584 return new_offset == 0; in super_90_allow_new_offset()
1683 rdev->new_data_offset += (s32)le32_to_cpu(sb->new_offset); in super_1_load()
2049 sb->new_offset = cpu_to_le32((__u32)(rdev->new_data_offset in super_1_sync()
2208 unsigned long long new_offset) in super_1_allow_new_offset() argument
2212 if (new_offset >= rdev->data_offset) in super_1_allow_new_offset()
2226 if (rdev->sb_start + (32+4)*2 > new_offset) in super_1_allow_new_offset()
2231 bitmap->storage.file_pages * (PAGE_SIZE>>9) > new_offset) in super_1_allow_new_offset()
2233 if (rdev->badblocks.sector + rdev->badblocks.size > new_offset) in super_1_allow_new_offset()
3287 unsigned long long new_offset; in new_offset_store() local
3290 if (kstrtoull(buf, 10, &new_offset) < 0) in new_offset_store()
3296 if (new_offset == rdev->data_offset) in new_offset_store()
3299 else if (new_offset > rdev->data_offset) { in new_offset_store()
3301 if (new_offset - rdev->data_offset in new_offset_store()
3310 if (new_offset < rdev->data_offset && in new_offset_store()
3317 if (new_offset > rdev->data_offset && in new_offset_store()
3323 .allow_new_offset(rdev, new_offset)) in new_offset_store()
3325 rdev->new_data_offset = new_offset; in new_offset_store()
3326 if (new_offset > rdev->data_offset) in new_offset_store()
3328 else if (new_offset < rdev->data_offset) in new_offset_store()
3334 __ATTR(new_offset, S_IRUGO|S_IWUSR, new_offset_show, new_offset_store);