Lines Matching refs:dt
474 struct exofs_device_table *dt) in _read_and_match_data_map() argument
479 le64_to_cpu(dt->dt_data_map.cb_stripe_unit); in _read_and_match_data_map()
481 le32_to_cpu(dt->dt_data_map.cb_group_width); in _read_and_match_data_map()
483 le32_to_cpu(dt->dt_data_map.cb_group_depth); in _read_and_match_data_map()
485 le32_to_cpu(dt->dt_data_map.cb_mirror_cnt) + 1; in _read_and_match_data_map()
487 le32_to_cpu(dt->dt_data_map.cb_raid_algorithm); in _read_and_match_data_map()
579 struct exofs_device_table *dt; in exofs_read_lookup_dev_table() local
581 unsigned table_bytes = table_count * sizeof(dt->dt_dev_table[0]) + in exofs_read_lookup_dev_table()
582 sizeof(*dt); in exofs_read_lookup_dev_table()
586 dt = kmalloc(table_bytes, GFP_KERNEL); in exofs_read_lookup_dev_table()
587 if (unlikely(!dt)) { in exofs_read_lookup_dev_table()
599 ret = exofs_read_kern(fscb_od, comp.cred, &comp.obj, 0, dt, in exofs_read_lookup_dev_table()
606 numdevs = le64_to_cpu(dt->dt_num_devices); in exofs_read_lookup_dev_table()
613 ret = _read_and_match_data_map(sbi, numdevs, dt); in exofs_read_lookup_dev_table()
632 exofs_sysfs_sb_add(sbi, &dt->dt_dev_table[0]); in exofs_read_lookup_dev_table()
639 if (exofs_devs_2_odi(&dt->dt_dev_table[i], &odi)) { in exofs_read_lookup_dev_table()
694 kfree(dt); in exofs_read_lookup_dev_table()