Home
last modified time | relevance | path

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

123

/netbsd-src/external/gpl2/lvm2/dist/lib/cache/
H A Dlvmcache.c456 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 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);
/netbsd-src/external/gpl2/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()
/netbsd-src/external/gpl2/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
/netbsd-src/external/gpl2/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()
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dam335x-netcan-plus-1xx.dts72 ti,dual-emac-pvid = <1>;
78 ti,dual-emac-pvid = <2>;
H A Dam335x-baltos-ir2110.dts69 ti,dual-emac-pvid = <1>;
75 ti,dual-emac-pvid = <2>;
H A Dam335x-netcom-plus-8xx.dts107 ti,dual-emac-pvid = <1>;
113 ti,dual-emac-pvid = <2>;
H A Dam335x-netcom-plus-2xx.dts87 ti,dual-emac-pvid = <1>;
93 ti,dual-emac-pvid = <2>;
H A Dam335x-baltos-ir3220.dts108 ti,dual-emac-pvid = <1>;
117 ti,dual-emac-pvid = <2>;
H A Dam335x-baltos-ir5221.dts125 ti,dual-emac-pvid = <1>;
134 ti,dual-emac-pvid = <2>;
H A Ddra72-evm-revc.dts90 ti,dual-emac-pvid = <1>;
96 ti,dual-emac-pvid = <2>;
H A Dam335x-moxa-uc-2100-common.dtsi138 ti,dual-emac-pvid = <1>;
142 ti,dual-emac-pvid = <2>;
H A Dam335x-igep0033.dtsi114 ti,dual-emac-pvid = <1>;
120 ti,dual-emac-pvid = <2>;
H A Ddra71-evm.dts234 ti,dual-emac-pvid = <1>;
240 ti,dual-emac-pvid = <2>;
H A Dam335x-lxm.dts301 ti,dual-emac-pvid = <2>;
307 ti,dual-emac-pvid = <3>;
H A Ddra72-evm.dts80 ti,dual-emac-pvid = <1>;
H A Dam335x-moxa-uc-8100-common.dtsi335 ti,dual-emac-pvid = <1>;
341 ti,dual-emac-pvid = <2>;
H A Dam437x-cm-t43.dts350 ti,dual-emac-pvid = <1>;
356 ti,dual-emac-pvid = <2>;
H A Dam335x-chiliboard.dts151 ti,dual-emac-pvid = <1>;
/netbsd-src/external/gpl2/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
/netbsd-src/external/gpl2/lvm2/dist/lib/report/
H A Dreport.c877 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 Dpvresize.c76 if (!(info = info_from_pvid(pv->dev->pvid, 0))) { in _pv_resize_single()

123