omode             308 kernel/sysfile.c   int fd, omode;
omode             313 kernel/sysfile.c   argint(1, &omode);
omode             319 kernel/sysfile.c   if(omode & O_CREATE){
omode             331 kernel/sysfile.c     if(ip->type == T_DIR && omode != O_RDONLY){
omode             360 kernel/sysfile.c   f->readable = !(omode & O_WRONLY);
omode             361 kernel/sysfile.c   f->writable = (omode & O_WRONLY) || (omode & O_RDWR);
omode             363 kernel/sysfile.c   if((omode & O_TRUNC) && ip->type == T_FILE){