• Home
  • Raw
  • Download

Lines Matching refs:flags

528 int openCommon(const char* pathName, int flags, mode_t mode)  in openCommon()  argument
535 fd = wsInterceptDeviceOpen(pathName, flags); in openCommon()
543 if ((flags & O_CREAT) != 0) { in openCommon()
544 fd = _ws_open(rewritePath("open", pathBuf, pathName), flags, mode); in openCommon()
545 CALLTRACE("open(%s, 0x%x, 0%o) = %d\n", pathName, flags, mode, fd); in openCommon()
547 fd = _ws_open(rewritePath("open", pathBuf, pathName), flags, 0); in openCommon()
548 CALLTRACE("open(%s, 0x%x) = %d\n", pathName, flags, fd); in openCommon()
559 int open(const char* pathName, int flags, ...) in open() argument
564 if ((flags & O_CREAT) != 0) { in open()
567 va_start(args, flags); in open()
572 return openCommon(pathName, flags, mode); in open()
574 int __open(const char* pathName, int flags, mode_t mode) in __open() argument
578 return openCommon(pathName, flags, mode); in __open()
584 int open64Common(const char* pathName, int flags, mode_t mode) in open64Common() argument
591 fd = wsInterceptDeviceOpen(pathName, flags); in open64Common()
596 if ((flags & O_CREAT) != 0) { in open64Common()
597 fd = _ws_open64(rewritePath("open64", pathBuf, pathName), flags, mode); in open64Common()
598 CALLTRACE("open64(%s, 0x%x, 0%o) = %d\n", pathName, flags, mode, fd); in open64Common()
600 fd = _ws_open64(rewritePath("open64", pathBuf, pathName), flags, 0); in open64Common()
601 CALLTRACE("open64(%s, 0x%x) = %d\n", pathName, flags, fd); in open64Common()
612 int open64(const char* pathName, int flags, ...) in open64() argument
617 if ((flags & O_CREAT) != 0) { in open64()
620 va_start(args, flags); in open64()
624 return open64Common(pathName, flags, mode); in open64()
626 int __open64(const char* pathName, int flags, mode_t mode) in __open64() argument
630 return open64Common(pathName, flags, mode); in __open64()
679 void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap() argument
686 return dev->mmap(dev, start, length, prot, flags, fd, offset); in mmap()
689 start, (int) length, prot, flags, fd, (int) offset); in mmap()
690 return _ws_mmap(start, length, prot, flags, fd, offset); in mmap()
697 void* mmap64(void* start, size_t length, int prot, int flags, int fd, in mmap64() argument
704 return dev->mmap(dev, start, length, prot, flags, fd, (__off_t) offset); in mmap64()
707 start, (int) length, prot, flags, fd, (int) offset); in mmap64()
708 return _ws_mmap(start, length, prot, flags, fd, offset); in mmap64()