/dragonfly/contrib/lvm2/dist/lib/cache/ |
H A D | lvmcache.c | 461 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 D | lvmcache.h | 74 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 D | lvmcache.h | 74 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 D | device.h | 50 char pvid[ID_LEN + 1]; member
|
H A D | metadata.h | 286 const char *vgid, const char *pvid,
|
/dragonfly/contrib/lvm2/dist/lib/format_pool/ |
H A D | disk_rep.c | 87 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 D | label.c | 182 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 D | dev-cache.c | 114 memset(dev->pvid, 0, sizeof(dev->pvid)); in dev_create_file() 136 memset(dev->pvid, 0, sizeof(dev->pvid)); in _dev_create()
|
H A D | device.h | 50 char pvid[ID_LEN + 1]; member
|
H A D | dev-io.c | 645 (!(info = info_from_pvid(dev->pvid, 0)) || in _dev_close()
|
/dragonfly/contrib/lvm2/dist/tools/ |
H A D | pvresize.c | 76 if (!(info = info_from_pvid(pv->dev->pvid, 0))) { in _pv_resize_single()
|
/dragonfly/tools/tools/usbtest/ |
H A D | usb_msc_test.c | 860 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 D | report.c | 887 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 D | metadata.h | 286 const char *vgid, const char *pvid,
|
H A D | metadata.c | 282 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 D | oce_if.c | 1343 } 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 D | oce_if.h | 888 uint16_t pvid; member 1162 #define IS_QNQ_OR_UMC(sc) ((sc->pvid && (sc->function_mode & FNM_UMC_MODE ))\
|
H A D | oce_sysctl.c | 116 &sc->pvid, in oce_add_sysctls()
|
/dragonfly/contrib/lvm2/dist/lib/format_text/ |
H A D | archiver.c | 314 if (!(info = info_from_pvid(pv->dev->pvid, 0))) { in backup_restore_vg()
|
H A D | text_label.c | 60 memcpy(pvhdr->pv_uuid, &info->dev->pvid, sizeof(struct id)); in _text_write()
|
H A D | format-text.c | 397 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 D | WHATS_NEW | 391 Don't skip updating pvid hash when lvmcache_info struct got swapped.
|