Home
last modified time | relevance | path

Searched refs:devitem (Results 1 – 10 of 10) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dscrub.c801 … log_error(Vcb, addr, c->devices[i]->devitem.dev_id, true, true, false); in scrub_extent_dup()
920 log_error(Vcb, addr, c->devices[i]->devitem.dev_id, false, false, false); in scrub_extent_dup()
929 log_error(Vcb, addr, c->devices[i]->devitem.dev_id, true, false, false); in scrub_extent_dup()
966 log_error(Vcb, addr, c->devices[stripe]->devitem.dev_id, false, false, false); in scrub_extent_raid0()
979 log_error(Vcb, addr, c->devices[stripe]->devitem.dev_id, true, false, false); in scrub_extent_raid0()
1831 log_error(Vcb, addr, c->devices[parity]->devitem.dev_id, false, true, true); in scrub_raid5_stripe()
1853 log_error(Vcb, addr, c->devices[bad_stripe]->devitem.dev_id, true, true, false); in scrub_raid5_stripe()
1855 … log_error(Vcb, addr, c->devices[bad_stripe]->devitem.dev_id, true, false, false); in scrub_raid5_stripe()
1871 … log_error(Vcb, addr, c->devices[bad_stripe]->devitem.dev_id, false, true, false); in scrub_raid5_stripe()
2055 log_error(Vcb, addr, c->devices[parity1]->devitem.dev_id, false, true, true); in scrub_raid6_stripe()
[all …]
H A Dfsctl.c2937 dev->devitem.dev_id = dev_id; in add_device()
2938 dev->devitem.num_bytes = size; in add_device()
2939 dev->devitem.bytes_used = 0; in add_device()
2943 dev->devitem.type = 0; in add_device()
2944 dev->devitem.generation = 0; in add_device()
2945 dev->devitem.start_offset = 0; in add_device()
2946 dev->devitem.dev_group = 0; in add_device()
2947 dev->devitem.seek_speed = 0; in add_device()
2948 dev->devitem.bandwidth = 0; in add_device()
2949 get_uuid(&dev->devitem.device_uuid); in add_device()
[all …]
H A Dbtrfs.c3218 searchkey.offset = dev->devitem.dev_id;
3224 searchkey.obj_id = dev->devitem.dev_id;
3264 if (lastaddr < dev->devitem.num_bytes) {
3287 if (dev2->devitem.dev_id > dev->devitem.dev_id) {
3309devitem.device_uuid.uuid[0], dev->devitem.device_uuid.uuid[1], dev->devitem.device_uuid.uuid[2], d…
3310devitem.device_uuid.uuid[8], dev->devitem.device_uuid.uuid[9], dev->devitem.device_uuid.uuid[10], …
3348 dev->devitem.device_uuid = *uuid;
3349 dev->devitem.dev_id = vc->devid;
3350 dev->devitem.num_bytes = vc->size;
4682 if (dev->devitem.num_bytes > readobjsize) {
[all …]
H A Dbalance.c2610 searchkey.offset = dev->devitem.dev_id;
2631 searchkey.offset = dev->devitem.dev_id;
2651 Vcb->superblock.total_bytes -= dev->devitem.num_bytes;
2815 searchkey.obj_id = dev->devitem.dev_id;
2851 if (lastoff < dev->devitem.num_bytes)
3019 if (cis[n].dev_id == dev->devitem.dev_id) { in regenerate_space_list()
3401 if (dev2->devitem.dev_id == Vcb->balance.opts[0].devid) { in _Function_class_()
3431 if (dev2->devitem.dev_id == Vcb->balance.opts[0].devid) { in _Function_class_()
3453 old_size = dev->devitem.num_bytes; in _Function_class_()
3459 dev->devitem.num_bytes = old_size; in _Function_class_()
[all …]
H A Dread.c307 …("recovering from checksum error at %I64x, device %I64x\n", addr, devices[stripe]->devitem.dev_id); in read_data_dup()
417 …RR("unrecoverable checksum error at %I64x, device %I64x\n", addr, devices[stripe]->devitem.dev_id); in read_data_raid0()
447 …RR("unrecoverable checksum error at %I64x, device %I64x\n", addr, devices[stripe]->devitem.dev_id); in read_data_raid0()
547 …covering from checksum error at %I64x, device %I64x\n", addr, devices[stripe + j]->devitem.dev_id); in read_data_raid10()
800 …("recovering from checksum error at %I64x, device %I64x\n", addr, devices[stripe]->devitem.dev_id); in read_data_raid5()
1159 …covering from checksum error at %I64x, device %I64x\n", addr, devices[physstripe]->devitem.dev_id); in read_data_raid6()
1245 devices[error_stripe_phys]->devitem.dev_id); in read_data_raid6()
1350 devices[physstripe]->devitem.dev_id); in read_data_raid6()
1406 … addr + ((uint64_t)i << Vcb->sector_shift), devices[physstripe]->devitem.dev_id); in read_data_raid6()
1422 devices[error_stripe_phys]->devitem.dev_id); in read_data_raid6()
[all …]
H A Dflushthread.c4101 searchkey.offset = device->devitem.dev_id; in update_dev_item()
4126 RtlCopyMemory(di, &device->devitem, sizeof(DEV_ITEM)); in update_dev_item()
5654 c->devices[i]->devitem.bytes_used -= len; in drop_chunk()
7009 searchkey.offset = dev->devitem.dev_id; in flush_changed_dev_stats()
7199 uint64_t space = dev->devitem.num_bytes - dev->devitem.bytes_used; in test_not_full()
7224 uint64_t space = dev->devitem.num_bytes - dev->devitem.bytes_used; in test_not_full()
7254 uint64_t space = dev->devitem.num_bytes - dev->devitem.bytes_used; in test_not_full()
7276 uint64_t space = (dev->devitem.num_bytes - dev->devitem.bytes_used) / 2; in test_not_full()
7291 uint64_t space = dev->devitem.num_bytes - dev->devitem.bytes_used; in test_not_full()
7316 uint64_t space = dev->devitem.num_bytes - dev->devitem.bytes_used; in test_not_full()
[all …]
H A Ddevctrl.c116 RtlCopyMemory(&bfd->uuid, &dev->devitem.device_uuid, sizeof(BTRFS_UUID)); in query_filesystems()
H A Dwrite.c153 uint64_t usage = (dev->devitem.bytes_used * 4096) / dev->devitem.num_bytes; in find_new_dup_stripes()
281 usage = (dev->devitem.bytes_used * 4096) / dev->devitem.num_bytes; in find_new_stripe()
382 total_size += dev->devitem.num_bytes; in alloc_chunk()
584 c->chunk_item->sector_size = stripes[0].device->devitem.minimal_io_size; in alloc_chunk()
597 cis[i].dev_id = stripes[i].device->devitem.dev_id; in alloc_chunk()
604 cis[i].dev_uuid = stripes[i].device->devitem.device_uuid; in alloc_chunk()
656 stripes[i].device->devitem.bytes_used += stripe_size; in alloc_chunk()
H A Dvolume.c1261 …if (!dev->devobj && RtlCompareMemory(&dev->devitem.device_uuid, &sb->dev_item.device_uuid, sizeof(… in add_volume_device()
H A Dbtrfs_drv.h527 DEV_ITEM devitem; member