Searched refs:dt_dev (Results 1 – 3 of 3) sorted by relevance
520 static int exofs_devs_2_odi(struct exofs_dt_device_info *dt_dev, in exofs_devs_2_odi() argument523 odi->systemid_len = le32_to_cpu(dt_dev->systemid_len); in exofs_devs_2_odi()525 memcpy(odi->systemid, dt_dev->systemid, OSD_SYSTEMID_LEN); in exofs_devs_2_odi()527 odi->osdname_len = le32_to_cpu(dt_dev->osdname_len); in exofs_devs_2_odi()528 odi->osdname = dt_dev->osdname; in exofs_devs_2_odi()531 if (dt_dev->long_name_offset) in exofs_devs_2_odi()538 if (unlikely(odi->osdname_len >= sizeof(dt_dev->osdname))) in exofs_devs_2_odi()539 odi->osdname_len = sizeof(dt_dev->osdname) - 1; in exofs_devs_2_odi()540 dt_dev->osdname[odi->osdname_len] = 0; in exofs_devs_2_odi()
153 struct exofs_dt_device_info *dt_dev) in exofs_sysfs_sb_add() argument163 &exofs_kset->kobj, "%s_%llx", dt_dev->osdname, pid); in exofs_sysfs_sb_add()166 "uuid-%s_%llx => %d\n", dt_dev->osdname, pid, retval); in exofs_sysfs_sb_add()
187 struct exofs_dt_device_info *dt_dev);