Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-raid.c1934 __le64 failed_devices; /* Pre 1.9.0 part of bit field of devices to */ member
2055 static void sb_retrieve_failed_devices(struct dm_raid_superblock *sb, uint64_t *failed_devices) in sb_retrieve_failed_devices() argument
2057 failed_devices[0] = le64_to_cpu(sb->failed_devices); in sb_retrieve_failed_devices()
2058 memset(failed_devices + 1, 0, sizeof(sb->extended_failed_devices)); in sb_retrieve_failed_devices()
2064 failed_devices[i+1] = le64_to_cpu(sb->extended_failed_devices[i]); in sb_retrieve_failed_devices()
2068 static void sb_update_failed_devices(struct dm_raid_superblock *sb, uint64_t *failed_devices) in sb_update_failed_devices() argument
2072 sb->failed_devices = cpu_to_le64(failed_devices[0]); in sb_update_failed_devices()
2074 sb->extended_failed_devices[i] = cpu_to_le64(failed_devices[i+1]); in sb_update_failed_devices()
2086 uint64_t failed_devices[DISKS_ARRAY_ELEMS]; in super_sync() local
2098 sb_retrieve_failed_devices(sb, failed_devices); in super_sync()
[all …]