Home
last modified time | relevance | path

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

/openbmc/linux/arch/um/drivers/
H A Dubd_kern.c992 static int ubd_id(char **str, int *start_out, int *end_out) in ubd_id() function
1041 .id = ubd_id,
1384 u16 ubd_id[ATA_ID_WORDS]; in ubd_ioctl() local
1389 memset(&ubd_id, 0, ATA_ID_WORDS * 2); in ubd_ioctl()
1390 ubd_id[ATA_ID_CYLS] = ubd_dev->size / (128 * 32 * 512); in ubd_ioctl()
1391 ubd_id[ATA_ID_HEADS] = 128; in ubd_ioctl()
1392 ubd_id[ATA_ID_SECTORS] = 32; in ubd_ioctl()
1393 if(copy_to_user((char __user *) arg, (char *) &ubd_id, in ubd_ioctl()
1394 sizeof(ubd_id))) in ubd_ioctl()