Lines Matching refs:omode
1715 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
1723 if (map->map_class->map_open(map, omode))
1727 if ((omode & O_ACCMODE) == O_RDWR)
2016 int omode; variable
2047 omode = mode;
2084 omode |= O_CREAT|O_EXCL;
2090 omode |= O_TRUNC|O_EXLOCK;
2092 omode |= O_SHLOCK;
2100 fd = open(buf, omode, DBMMODE);
2135 omode |= O_TRUNC;
2136 omode &= ~(O_EXCL|O_CREAT);
2140 db = dbopen(buf, omode, DBMMODE, dbtype, openinfo);
2150 if (bitset(O_CREAT, omode))
2152 if (bitset(O_TRUNC, omode))
2364 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
2372 if (map->map_class->map_open(map, omode))
2376 if ((omode & O_ACCMODE) == O_RDWR)