Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/os-tests/tests/
H A Dwritev.c33 #define DATA_LEN (sizeof ("data")) macro
46 char data[(IOV_MAX + 1) * DATA_LEN] = ""; in main()
65 (void) strcpy(data + i * DATA_LEN, "data"); in main()
67 iov[i].iov_len = DATA_LEN; in main()
84 if (read != DATA_LEN * IOV_MAX) in main()
88 if (strcmp(data + i * DATA_LEN, "data") != 0) in main()
89 errx(EXIT_FAILURE, "bad read at 0x%zx", i * DATA_LEN); in main()
97 if ((written = pwritev(fd, iov, 1, off)) != DATA_LEN) in main()
102 if ((read = preadv(fd, iov, 1, off)) != DATA_LEN) in main()
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog929 * stage2/boot.c (load_image): Check if DATA_LEN plus SECTOR_SIZE
931 DATA_LEN is less than or equal to MULTIBOOT_SEARCH.
1627 * stage2/boot.c (load_image): For Linux, check if DATA_LEN is