Home
last modified time | relevance | path

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

/dragonfly/contrib/lvm2/dist/lib/cache/
H A Dlvmcache.c461 if (!_pvid_hash || !pvid) in info_from_pvid()
681 if (id_equal(pvid, (struct id *) &info->dev->pvid)) in device_from_pvid()
692 if (id_equal(pvid, (struct id *) &info->dev->pvid)) in device_from_pvid()
706 if (id_equal(pvid, (struct id *) &info->dev->pvid)) in device_from_pvid()
795 !strcmp(info->dev->pvid, pvid)) in _lvmcache_update_pvid()
797 if (*info->dev->pvid) in _lvmcache_update_pvid()
799 strncpy(info->dev->pvid, pvid, sizeof(info->dev->pvid)); in _lvmcache_update_pvid()
1195 pvid, dev_name(dev), in lvmcache_add()
1203 pvid, dev_name(dev), in lvmcache_add()
1209 "using %s %s", pvid, in lvmcache_add()
[all …]
H A Dlvmcache.h74 struct lvmcache_info *lvmcache_add(struct labeller *labeller, const char *pvid,
96 struct lvmcache_info *info_from_pvid(const char *pvid, int valid_only);
98 struct device *device_from_pvid(struct cmd_context *cmd, struct id *pvid);
/dragonfly/contrib/lvm2/dist/include/
H A Dlvmcache.h74 struct lvmcache_info *lvmcache_add(struct labeller *labeller, const char *pvid,
96 struct lvmcache_info *info_from_pvid(const char *pvid, int valid_only);
98 struct device *device_from_pvid(struct cmd_context *cmd, struct id *pvid);
H A Ddevice.h50 char pvid[ID_LEN + 1]; member
H A Dmetadata.h286 const char *vgid, const char *pvid,
/dragonfly/contrib/lvm2/dist/lib/format_pool/
H A Ddisk_rep.c87 struct id pvid; in read_pool_label() local
94 get_pool_pv_uuid(&pvid, pd); in read_pool_label()
95 id_write_format(&pvid, uuid, ID_LEN + 7); in read_pool_label()
102 if (!(info = lvmcache_add(l, (char *) &pvid, dev, pd->pl_pool_name, in read_pool_label()
115 memcpy(&pl->pv_uuid, &pvid, sizeof(pvid)); in read_pool_label()
/dragonfly/contrib/lvm2/dist/lib/label/
H A Dlabel.c182 if ((info = info_from_pvid(dev->pvid, 0))) in _find_labeller()
271 if ((info = info_from_pvid(dev->pvid, 1))) { in label_read()
280 if ((info = info_from_pvid(dev->pvid, 0))) in label_read()
358 if ((info = info_from_pvid(dev->pvid, 0))) in label_verify()
/dragonfly/contrib/lvm2/dist/lib/device/
H A Ddev-cache.c114 memset(dev->pvid, 0, sizeof(dev->pvid)); in dev_create_file()
136 memset(dev->pvid, 0, sizeof(dev->pvid)); in _dev_create()
H A Ddevice.h50 char pvid[ID_LEN + 1]; member
H A Ddev-io.c645 (!(info = info_from_pvid(dev->pvid, 0)) || in _dev_close()
/dragonfly/contrib/lvm2/dist/tools/
H A Dpvresize.c76 if (!(info = info_from_pvid(pv->dev->pvid, 0))) { in _pv_resize_single()
/dragonfly/tools/tools/usbtest/
H A Dusb_msc_test.c860 show_host_device_selection(uint8_t level, uint16_t *pvid, uint16_t *ppid) in show_host_device_selection() argument
910 *pvid = 0; in show_host_device_selection()
914 *pvid = vid[sel]; in show_host_device_selection()
/dragonfly/contrib/lvm2/dist/lib/report/
H A Dreport.c887 const char *pvid = (const char *)(&((struct id *) data)->uuid); in _pvmdafree_disp() local
890 if ((info = info_from_pvid(pvid, 0))) in _pvmdafree_disp()
930 const char *pvid = (const char *)(&((struct id *) data)->uuid); in _pvmdasize_disp() local
933 if ((info = info_from_pvid(pvid, 0))) in _pvmdasize_disp()
/dragonfly/contrib/lvm2/dist/lib/metadata/
H A Dmetadata.h286 const char *vgid, const char *pvid,
H A Dmetadata.c282 const char *vgid, const char *pvid, in get_pv_from_vg_by_id() argument
300 if (id_equal(&pvl->pv->id, (const struct id *) pvid)) { in get_pv_from_vg_by_id()
2585 if (str_list_match_item(pvids, pvl->pv->dev->pvid)) in _vg_read()
2592 if (!(info = info_from_pvid(pvl->pv->dev->pvid, 1)) || in _vg_read()
2625 if (!str_list_match_item(pvids, pvl->pv->dev->pvid)) { in _vg_read()
/dragonfly/sys/dev/netif/oce/
H A Doce_if.c1343 } else if (sc->pvid != (vtag & VLAN_VID_MASK)) { in oce_rx()
2111 sc->pvid = gcqe->tag & VLAN_VID_MASK; in oce_mq_handler()
2113 sc->pvid = 0; in oce_mq_handler()
2219 if(sc->pvid) { in oce_insert_vlan_tag()
2221 vlan_tag = sc->pvid; in oce_insert_vlan_tag()
H A Doce_if.h888 uint16_t pvid; member
1162 #define IS_QNQ_OR_UMC(sc) ((sc->pvid && (sc->function_mode & FNM_UMC_MODE ))\
H A Doce_sysctl.c116 &sc->pvid, in oce_add_sysctls()
/dragonfly/contrib/lvm2/dist/lib/format_text/
H A Darchiver.c314 if (!(info = info_from_pvid(pv->dev->pvid, 0))) { in backup_restore_vg()
H A Dtext_label.c60 memcpy(pvhdr->pv_uuid, &info->dev->pvid, sizeof(struct id)); in _text_write()
H A Dformat-text.c397 if ((info = info_from_pvid(dev_area->dev->pvid, 0))) in _find_vg_rlocn()
1509 info->vginfo->vgid, info->dev->pvid, pv)) in _get_pv_if_in_vg()
1538 memcpy(&pv->id, &info->dev->pvid, sizeof(pv->id)); in _populate_pv_fields()
1693 if ((info = info_from_pvid(pv->dev->pvid, 0))) { in _text_pv_setup()
/dragonfly/contrib/lvm2/dist/
H A DWHATS_NEW391 Don't skip updating pvid hash when lvmcache_info struct got swapped.