/netbsd-src/external/gpl2/lvm2/dist/lib/cache/ |
H A D | lvmcache.c | 456 struct lvmcache_info *info_from_pvid(const char *pvid, int valid_only) in info_from_pvid() argument 461 if (!_pvid_hash || !pvid) in info_from_pvid() 464 strncpy(&id[0], pvid, ID_LEN); in info_from_pvid() 663 dm_pool_strdup(cmd->mem, info->dev->pvid))) { in lvmcache_get_pvids() 672 struct device *device_from_pvid(struct cmd_context *cmd, struct id *pvid) in device_from_pvid() argument 678 if ((info = info_from_pvid((char *) pvid, 0))) { in device_from_pvid() 681 if (id_equal(pvid, (struct id *) &info->dev->pvid)) in device_from_pvid() 689 if ((info = info_from_pvid((char *) pvid, 0))) { in device_from_pvid() 692 if (id_equal(pvid, (struct id *) &info->dev->pvid)) in device_from_pvid() 703 if ((info = info_from_pvid((char *) pvid, 0))) { in device_from_pvid() [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);
|
/netbsd-src/external/gpl2/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()
|
/netbsd-src/external/gpl2/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
|
/netbsd-src/external/gpl2/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()
|
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
H A D | am335x-netcan-plus-1xx.dts | 72 ti,dual-emac-pvid = <1>; 78 ti,dual-emac-pvid = <2>;
|
H A D | am335x-baltos-ir2110.dts | 69 ti,dual-emac-pvid = <1>; 75 ti,dual-emac-pvid = <2>;
|
H A D | am335x-netcom-plus-8xx.dts | 107 ti,dual-emac-pvid = <1>; 113 ti,dual-emac-pvid = <2>;
|
H A D | am335x-netcom-plus-2xx.dts | 87 ti,dual-emac-pvid = <1>; 93 ti,dual-emac-pvid = <2>;
|
H A D | am335x-baltos-ir3220.dts | 108 ti,dual-emac-pvid = <1>; 117 ti,dual-emac-pvid = <2>;
|
H A D | am335x-baltos-ir5221.dts | 125 ti,dual-emac-pvid = <1>; 134 ti,dual-emac-pvid = <2>;
|
H A D | dra72-evm-revc.dts | 90 ti,dual-emac-pvid = <1>; 96 ti,dual-emac-pvid = <2>;
|
H A D | am335x-moxa-uc-2100-common.dtsi | 138 ti,dual-emac-pvid = <1>; 142 ti,dual-emac-pvid = <2>;
|
H A D | am335x-igep0033.dtsi | 114 ti,dual-emac-pvid = <1>; 120 ti,dual-emac-pvid = <2>;
|
H A D | dra71-evm.dts | 234 ti,dual-emac-pvid = <1>; 240 ti,dual-emac-pvid = <2>;
|
H A D | am335x-lxm.dts | 301 ti,dual-emac-pvid = <2>; 307 ti,dual-emac-pvid = <3>;
|
H A D | dra72-evm.dts | 80 ti,dual-emac-pvid = <1>;
|
H A D | am335x-moxa-uc-8100-common.dtsi | 335 ti,dual-emac-pvid = <1>; 341 ti,dual-emac-pvid = <2>;
|
H A D | am437x-cm-t43.dts | 350 ti,dual-emac-pvid = <1>; 356 ti,dual-emac-pvid = <2>;
|
H A D | am335x-chiliboard.dts | 151 ti,dual-emac-pvid = <1>;
|
/netbsd-src/external/gpl2/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
|
/netbsd-src/external/gpl2/lvm2/dist/lib/report/ |
H A D | report.c | 877 const char *pvid = (const char *)(&((struct id *) data)->uuid); in _pvmdafree_disp() local 880 if ((info = info_from_pvid(pvid, 0))) in _pvmdafree_disp() 920 const char *pvid = (const char *)(&((struct id *) data)->uuid); in _pvmdasize_disp() local 923 if ((info = info_from_pvid(pvid, 0))) in _pvmdasize_disp()
|
/netbsd-src/external/gpl2/lvm2/dist/tools/ |
H A D | pvresize.c | 76 if (!(info = info_from_pvid(pv->dev->pvid, 0))) { in _pv_resize_single()
|