/src/sys/compat/linux/common/ |
linux_hdio.c | 77 struct linux_hd_geometry hdg; local in function:linux_ioctl_hdio 116 memset(&hdg, 0, sizeof(hdg)); 117 hdg.start = error1 != 0 ? pi.pi_offset : 0; 118 hdg.heads = label.d_ntracks; 119 hdg.cylinders = label.d_ncylinders; 120 hdg.sectors = label.d_nsectors; 121 error = copyout(&hdg, SCARG(uap, data), sizeof hdg);
|
/src/sys/compat/linux/arch/i386/ |
linux_machdep.c | 784 struct linux_hd_geometry hdg; local in function:linux_machdepioctl 941 memset(&hdg, 0, sizeof(hdg)); 942 hdg.start = start; 943 hdg.heads = heads; 944 hdg.cylinders = cylinders; 945 hdg.sectors = sectors; 946 error = copyout(&hdg, SCARG(uap, data), sizeof hdg);
|