Lines Matching refs:omode
1971 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
1979 if (map->map_class->map_open(map, omode))
1983 if ((omode & O_ACCMODE) == O_RDWR)
2271 int omode; variable
2290 omode = mode;
2327 omode |= O_CREAT|O_EXCL;
2333 omode |= O_TRUNC|O_EXLOCK;
2335 omode |= O_SHLOCK;
2343 fd = open(buf, omode, DBMMODE);
2378 omode |= O_TRUNC;
2379 omode &= ~(O_EXCL|O_CREAT);
2383 db = dbopen(buf, omode, DBMMODE, dbtype, openinfo);
2393 if (bitset(O_CREAT, omode))
2395 if (bitset(O_TRUNC, omode))
2591 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
2599 if (map->map_class->map_open(map, omode))
2603 if ((omode & O_ACCMODE) == O_RDWR)
2873 int fd, status, omode, smode; local
2887 omode = mode;
2942 omode |= O_CREAT|O_EXCL;
2945 omode |= O_TRUNC|O_EXLOCK;
2947 omode |= O_SHLOCK;
2950 omode |= O_TRUNC;
2953 fd = open(buf, omode, DBMMODE);
3082 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
3090 if (map->map_class->map_open(map, omode))
3093 if ((omode & O_ACCMODE) == O_RDWR)