Home
last modified time | relevance | path

Searched refs:UUID_LEN (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/include/linux/
Dlvm.h405 #define UUID_LEN 32 /* don't change!!! */ macro
465 char pv_uuid[UUID_LEN + 1];
629 char vg_uuid[UUID_LEN + 1]; /* volume group UUID */
642 uint8_t vg_uuid[UUID_LEN]; /* volume group UUID */
643 uint8_t vg_name_dummy[NAME_LEN - UUID_LEN]; /* rest of v1 VG name */
/linux-2.4.37.9/arch/mips64/kernel/
Dioctl32.c1304 uint8_t vg_uuid[UUID_LEN+1]; /* volume group UUID */
1331 uint8_t pv_uuid[UUID_LEN+1];
1527 if (copy_from_user(v->vg_uuid, ((vg32_t *)arg)->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
1547 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
1554 UUID_LEN+1); in do_lvm_ioctl()
1614 err = copy_from_user(&p, (void *)arg, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
1617 err = copy_from_user(p.pv_uuid, ((pv32_t *)arg)->pv_uuid, UUID_LEN+1); in do_lvm_ioctl()
1636 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
1656 if (copy_to_user(((vg32_t *)arg)->vg_uuid, v->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
1705 err = copy_to_user((void *)A(ptr), &p, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c1809 uint8_t vg_uuid[UUID_LEN+1]; /* volume group UUID */
1836 uint8_t pv_uuid[UUID_LEN+1];
2032 if (copy_from_user(v->vg_uuid, ((vg32_t *)arg)->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
2052 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2059 UUID_LEN+1); in do_lvm_ioctl()
2119 err = copy_from_user(&p, (void *)arg, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2122 err = copy_from_user(p.pv_uuid, ((pv32_t *)arg)->pv_uuid, UUID_LEN+1); in do_lvm_ioctl()
2141 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2161 if (copy_to_user(((vg32_t *)arg)->vg_uuid, v->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
2210 err = copy_to_user((void *)A(ptr), &p, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
[all …]
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_ioctl.c2291 uint8_t vg_uuid[UUID_LEN+1]; /* volume group UUID */
2318 uint8_t pv_uuid[UUID_LEN+1];
2529 if (copy_from_user(v->vg_uuid, ((vg32_t *)arg)->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
2549 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2556 UUID_LEN+1); in do_lvm_ioctl()
2616 err = copy_from_user(&p, (void *)arg, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2619 err = copy_from_user(p.pv_uuid, ((pv32_t *)arg)->pv_uuid, UUID_LEN+1); in do_lvm_ioctl()
2638 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2658 if (copy_to_user(((vg32_t *)arg)->vg_uuid, v->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
2707 err = copy_to_user((void *)A(ptr), &p, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dioctl32.c2280 uint8_t vg_uuid[UUID_LEN+1]; /* volume group UUID */
2307 uint8_t pv_uuid[UUID_LEN+1];
2515 if (copy_from_user(v->vg_uuid, ((vg32_t *)arg)->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
2535 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2542 UUID_LEN+1); in do_lvm_ioctl()
2602 err = copy_from_user(&p, (void *)arg, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2605 err = copy_from_user(p.pv_uuid, ((pv32_t *)arg)->pv_uuid, UUID_LEN+1); in do_lvm_ioctl()
2624 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2644 if (copy_to_user(((vg32_t *)arg)->vg_uuid, v->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
2693 err = copy_to_user((void *)A(ptr), &p, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dioctl32.c2676 uint8_t vg_uuid[UUID_LEN+1]; /* volume group UUID */
2703 uint8_t pv_uuid[UUID_LEN+1];
2899 if (copy_from_user(v->vg_uuid, ((vg32_t *)arg)->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
2919 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2926 UUID_LEN+1); in do_lvm_ioctl()
2986 err = copy_from_user(&p, (void *)arg, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
2989 err = copy_from_user(p.pv_uuid, ((pv32_t *)arg)->pv_uuid, UUID_LEN+1); in do_lvm_ioctl()
3008 sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
3028 if (copy_to_user(((vg32_t *)arg)->vg_uuid, v->vg_uuid, UUID_LEN+1)) { in do_lvm_ioctl()
3077 err = copy_to_user((void *)A(ptr), &p, sizeof(pv32_t) - 8 - UUID_LEN+1); in do_lvm_ioctl()
[all …]