Searched refs:diob (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/fs/fsstress/ |
D | fsstress.c | 1772 struct dioattr diob; in dread_f() local 1824 memset(&diob, 0, sizeof(diob)); in dread_f() 1826 diob.d_miniosz = stb.st_blksize; in dread_f() 1827 diob.d_maxiosz = stb.st_blksize * 256; /* good number ? */ in dread_f() 1828 diob.d_mem = stb.st_blksize; in dread_f() 1831 else if (ioctl(fd, XFS_IOC_DIOINFO, &diob) < 0) { in dread_f() 1841 align = (int64_t) diob.d_miniosz; in dread_f() 1850 else if (len > diob.d_maxiosz) in dread_f() 1851 len = diob.d_maxiosz; in dread_f() 1852 if ((e = posix_memalign((void **)&buf, diob.d_mem, len)) != 0) { in dread_f() [all …]
|
/external/e2fsprogs/contrib/ |
D | fsstress.c | 1797 struct dioattr diob; in dread_f() local 1849 memset(&diob, 0, sizeof(diob)); in dread_f() 1851 diob.d_miniosz = stb.st_blksize; in dread_f() 1852 diob.d_maxiosz = stb.st_blksize * 256; /* good number ? */ in dread_f() 1853 diob.d_mem = stb.st_blksize; in dread_f() 1856 else if (ioctl(fd, XFS_IOC_DIOINFO, &diob) < 0) { in dread_f() 1866 align = (__int64_t) diob.d_miniosz; in dread_f() 1875 else if (len > diob.d_maxiosz) in dread_f() 1876 len = diob.d_maxiosz; in dread_f() 1877 if ((e = posix_memalign((void **)&buf, diob.d_mem, len)) != 0) { in dread_f() [all …]
|