Home
last modified time | relevance | path

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

/linux-4.19.296/fs/exofs/
Dsys.c62 const struct osd_dev_info *odi = osduld_device_info(odev); in osdname_show() local
64 return snprintf(buf, odi->osdname_len + 1, "%s", odi->osdname); in osdname_show()
70 const struct osd_dev_info *odi = osduld_device_info(odev); in systemid_show() local
72 memcpy(buf, odi->systemid, odi->systemid_len); in systemid_show()
73 return odi->systemid_len; in systemid_show()
Dsuper.c422 const struct osd_dev_info *odi = osduld_device_info(od); in _exofs_print_device() local
425 msg, dev_path ?: "", odi->osdname, _LLU(pid)); in _exofs_print_device()
525 struct osd_dev_info *odi) in exofs_devs_2_odi() argument
527 odi->systemid_len = le32_to_cpu(dt_dev->systemid_len); in exofs_devs_2_odi()
528 if (likely(odi->systemid_len)) in exofs_devs_2_odi()
529 memcpy(odi->systemid, dt_dev->systemid, OSD_SYSTEMID_LEN); in exofs_devs_2_odi()
531 odi->osdname_len = le32_to_cpu(dt_dev->osdname_len); in exofs_devs_2_odi()
532 odi->osdname = dt_dev->osdname; in exofs_devs_2_odi()
542 if (unlikely(odi->osdname_len >= sizeof(dt_dev->osdname))) in exofs_devs_2_odi()
543 odi->osdname_len = sizeof(dt_dev->osdname) - 1; in exofs_devs_2_odi()
[all …]
/linux-4.19.296/include/scsi/
Dosd_initiator.h70 struct osd_dev *osduld_info_lookup(const struct osd_dev_info *odi);
74 bool osduld_device_same(struct osd_dev *od, const struct osd_dev_info *odi);
101 void *caps, struct osd_dev_info *odi);
/linux-4.19.296/fs/btrfs/
Dsend.c2881 struct orphan_dir_info *entry, *odi; in add_orphan_dir_info() local
2898 odi = kmalloc(sizeof(*odi), GFP_KERNEL); in add_orphan_dir_info()
2899 if (!odi) in add_orphan_dir_info()
2901 odi->ino = dir_ino; in add_orphan_dir_info()
2902 odi->gen = dir_gen; in add_orphan_dir_info()
2903 odi->last_dir_index_offset = 0; in add_orphan_dir_info()
2905 rb_link_node(&odi->node, parent, p); in add_orphan_dir_info()
2906 rb_insert_color(&odi->node, &sctx->orphan_dirs); in add_orphan_dir_info()
2907 return odi; in add_orphan_dir_info()
2934 struct orphan_dir_info *odi = get_orphan_dir_info(sctx, dir_ino, gen); in is_waiting_for_rm() local
[all …]