HomeSort by: relevance | last modified time | path
    Searched defs:pv (Results 1 - 25 of 145) sorted by relevancy

1 2 3 4 5 6

  /src/external/gpl2/lvm2/dist/tools/
vgexport.c 26 struct physical_volume *pv; local
40 pv = pvl->pv;
41 pv->status |= EXPORTED_VG;
vgimport.c 26 struct physical_volume *pv; local
44 pv = pvl->pv;
45 pv->status &= ~EXPORTED_VG;
pvremove.c 29 struct physical_volume *pv; local
36 /* Is there a pv here already? */
38 if (!(pv = pv_read(cmd, name, &mdas, NULL, 1, 0))) {
46 * If a PV has no MDAs it may appear to be an
48 * another PV in the same VG. Detecting this
50 * PV on the system.
52 if (is_orphan(pv) && !dm_list_size(&mdas)) {
58 if (!(pv = pv_read(cmd, name, NULL, NULL, 1, 0))) {
65 if (is_orphan(pv))
72 "volume group \"%s\" without -ff", name, pv_vg_name(pv));
    [all...]
vgconvert.c 24 struct physical_volume *pv, *existing_pv; local
75 /* Set PV/LV limit if converting from unlimited metadata format */
121 existing_pv = pvl->pv;
128 if (!(pv = pv_create(cmd, pv_dev(existing_pv),
145 " available sectors", pv_dev_name(pv), pv_size(pv));
148 if (!label_remove(pv_dev(pv))) {
150 pv_dev_name(pv));
157 pv_dev_name(pv));
158 if (!(pv_write(cmd, pv, &mdas
    [all...]
pvscan.c 24 struct physical_volume *pv,
36 log_print("%s", pv_dev_name(pv));
42 /* pv_show(pv); */
45 /* log_print("System Id %s", pv->vg->system_id); */
53 vg_name_len = strlen(pv_vg_name(pv)) + 1;
56 if (!id_write_format(&pv->id, uuid, sizeof(uuid))) {
62 pv_max_name_len - 2, pv_dev_name(pv), uuid);
64 sprintf(pv_tmp_name, "%s", pv_dev_name(pv));
67 if (is_orphan(pv)) {
68 log_print("PV %-*s %-*s %s [%s]"
110 struct physical_volume *pv; local
    [all...]
pvchange.c 22 static int _pvchange_single(struct cmd_context *cmd, struct physical_volume *pv,
34 const char *pv_name = pv_dev_name(pv);
57 if (!is_orphan(pv)) {
58 vg_name = pv_vg_name(pv);
83 pv = pvl->pv;
100 if (!(pv = pv_read(cmd, pv_name, NULL, &sector, 1, 0))) {
102 log_error("Unable to read PV \"%s\"", pv_name);
108 if (is_orphan(pv) &&
109 !(pv->fmt->features & FMT_ORPHAN_ALLOCATABLE))
217 struct physical_volume *pv; local
    [all...]
vgmerge.c 89 struct physical_volume *pv; local
93 pv = dm_list_item(pvh, struct pv_list)->pv;
94 pv->vg_name = dm_pool_strdup(cmd->mem, vg_to->name);
vgreduce.c 26 log_error("Volume Groups must always contain at least one PV");
30 if (!id_write_format(&pvl->pv->id, uuid, sizeof(uuid)))
33 log_verbose("Removing PV with UUID %s from VG %s", uuid, vg->name);
35 if (pvl->pv->pe_alloc_count) {
37 log_error("LVs still present on PV with UUID %s: "
42 vg->free_count -= pvl->pv->pe_count;
43 vg->extent_count -= pvl->pv->pe_count;
157 if (pvl->pv->dev && !(pvl->pv->status & MISSING_PV))
173 struct physical_volume *pv; local
    [all...]
vgsplit.c 53 struct physical_volume *pv; local
75 pv = seg_pv(seg, s);
77 if (!pv_is_in_vg(vg_with, pv)) {
87 if (pv_is_in_vg(vg_from, pv)) {
91 if (pv_is_in_vg(vg_to, pv)) {
96 pv_dev_name(pv));
  /src/external/bsd/libarchive/dist/libarchive/test/
test_read_format_lha_bugfix_0.c 32 const void *pv; local
48 archive_read_data_block(a, &pv, &s, &o));
51 archive_read_data_block(a, &pv, &s, &o));
test_read_format_lha.c 140 const void *pv; local
169 archive_read_data_block(a, &pv, &s, &o));
183 archive_read_data_block(a, &pv, &s, &o));
test_read_format_zip_high_compression.c 47 const void *pv; local
64 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o));
68 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o));
72 assertEqualInt(ARCHIVE_EOF, archive_read_data_block(a, &pv, &s, &o));
107 const void *pv; local
135 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o));
139 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o));
143 assertEqualInt(ARCHIVE_EOF, archive_read_data_block(a, &pv, &s, &o));
test_read_format_zip.c 107 const void *pv; local
121 archive_read_data_block(a, &pv, &s, &o));
  /src/external/gpl2/lvm2/dist/lib/metadata/
pv_map.h 40 struct physical_volume *pv; member in struct:pv_map
pv_manip.c 27 struct physical_volume *pv,
39 peg->pv = pv;
50 int alloc_pv_segment_whole_pv(struct dm_pool *mem, struct physical_volume *pv)
54 if (!pv->pe_count)
58 if (!(peg = _alloc_pv_segment(mem, pv, 0, pv->pe_count, NULL, 0)))
61 dm_list_add(&pv->segments, &peg->list);
73 if (!(peg = _alloc_pv_segment(mem, pego->pv, pego->pe,
87 static int _pv_split_segment(struct physical_volume *pv, struct pv_segment *peg
252 struct physical_volume *pv; local
    [all...]
  /src/sys/arch/arm/arm32/
arm32_boot.c 253 pv_addr_t * const pv = &bmi->bmi_freeblocks[i]; local
254 paddr_t start = atop(pv->pv_pa);
255 const paddr_t end = start + atop(pv->pv_size);
259 pv->pv_pa, pv->pv_pa + pv->pv_size);
  /src/external/gpl2/lvm2/dist/include/
lvm2app.h 38 * 1) Physical Volume (PV) 2) Volume Group (VG) 3) Logical Volume (LV).
47 * VG handle, vg_t. Performing an operation on a PV or LV object first
154 pv_t pv; member in struct:lvm_pv_list
822 * Return a list of PV handles for a given VG handle.
828 * A list of pv_list_t structures containing pv handles for this vg.
839 * \param pv
845 char *lvm_pv_get_uuid(const pv_t pv);
853 * \param pv
859 char *lvm_pv_get_name(const pv_t pv);
864 * \param pv
    [all...]
  /src/external/gpl2/lvm2/dist/liblvm/
lvm2app.h 38 * 1) Physical Volume (PV) 2) Volume Group (VG) 3) Logical Volume (LV).
47 * VG handle, vg_t. Performing an operation on a PV or LV object first
154 pv_t pv; member in struct:lvm_pv_list
822 * Return a list of PV handles for a given VG handle.
828 * A list of pv_list_t structures containing pv handles for this vg.
839 * \param pv
845 char *lvm_pv_get_uuid(const pv_t pv);
853 * \param pv
859 char *lvm_pv_get_name(const pv_t pv);
864 * \param pv
    [all...]
  /src/usr.bin/rump_dhcpclient/
bpf.c 59 struct bpf_version pv; local
81 if (rump_sys_ioctl(fd, BIOCVERSION, &pv) == -1)
83 if (pv.bv_major != BPF_MAJOR_VERSION ||
84 pv.bv_minor < BPF_MINOR_VERSION) {
  /src/lib/libkvm/
kvm_sun2.c 137 struct private_vmstate *pv = v->private; local
162 pte = pv->pmeg[sme][ptenum];
kvm_sun3.c 137 struct private_vmstate *pv = v->private; local
162 pte = pv->pmeg[sme][ptenum];
  /src/external/mit/libuv/dist/test/
test-pipe-sendmsg.c 142 void* pv = CMSG_DATA(cmsg); local
143 int* pi = pv;
  /src/bin/csh/
sem.c 68 int pv[2], pid; local
398 execute(t->t_dcar, wanttty, pipein, pv);
403 execute(t->t_dcdr, wanttty, pv, pipeout);
487 Char **pv; local
494 pv = globall(blk);
495 if (pv == NULL) {
502 if (pv[1] != NULL) { /* we need to fix the command vector */
503 Char **av = blkspl(t->t_dcom, &pv[1]);
508 blk[0] = pv[0];
509 free(pv);
    [all...]
  /src/sys/arch/cats/cats/
cats_machdep.c 385 pv_addr_t * const pv = &bmi->bmi_freeblocks[i]; local
386 paddr_t start = pv->pv_pa;
387 paddr_t end = pv->pv_pa + pv->pv_size;
  /src/external/gpl2/lvm2/dist/lib/format1/
import-extents.c 36 struct physical_volume *pv; member in struct:pe_specifier
113 struct physical_volume *pv; local
119 pv = find_pv(vg, dl->dev);
122 /* build an array of lv's for this pv */
138 "(PV %s, PE %" PRIu32
141 dev_name(pv->dev), i,
154 if (lvm->map[le].pv) {
160 lvm->map[le].pv = pv;
174 if (!lvm->map[i].pv) {
    [all...]

Completed in 46 milliseconds

1 2 3 4 5 6