Lines Matching refs:rofd
48 #define CLEANERROR(M) (void)close(rofd); \
90 int rofd, rwfd, i; local
153 if ((rofd = open64(tmpname, O_RDONLY | O_CREAT, 0777)) == -1) {
155 if ((rofd = open(tmpname, O_RDONLY | O_CREAT, 0777)) == -1) {
206 MAP_SHARED | MAP_FILE, rofd,
210 MAP_SHARED | MAP_FILE, rofd,
248 if (lseek64(rofd, sparseoff, SEEK_SET) == -1) {
250 if (lseek(rofd, sparseoff, SEEK_SET) == -1) {
260 if (checkchars(rofd, 'a', pagesize)) {
264 if (checkchars(rofd, '\0', (e_pageskip - 1) * pagesize)) {
268 if (checkchars(rofd, 'e', pagesize)) {
272 if (checkchars(rofd, '\0', holesize - e_pageskip * pagesize)) {
276 if (checkchars(rofd, 'b', (pagesize >> 1))) {
280 if (checkchars(rofd, 'c', pagesize + (pagesize >> 1))) {
284 if (close(rofd) == -1) {