/src/sys/compat/linux/common/ |
linux_hdio.c | 78 struct linux_hd_big_geometry hdg_big; local in function:linux_ioctl_hdio 135 memset(&hdg_big, 0, sizeof(hdg_big)); 136 hdg_big.start = error1 != 0 ? pi.pi_offset : 0; 137 hdg_big.heads = label.d_ntracks; 138 hdg_big.cylinders = label.d_ncylinders; 139 hdg_big.sectors = label.d_nsectors; 140 error = copyout(&hdg_big, SCARG(uap, data), sizeof hdg_big);
|
/src/sys/compat/linux/arch/i386/ |
linux_machdep.c | 785 struct linux_hd_big_geometry hdg_big; local in function:linux_machdepioctl 949 memset(&hdg_big, 0, sizeof(hdg_big)); 950 hdg_big.start = start; 951 hdg_big.heads = heads; 952 hdg_big.cylinders = cylinders; 953 hdg_big.sectors = sectors; 954 error = copyout(&hdg_big, SCARG(uap, data), 955 sizeof hdg_big);
|