Home
last modified time | relevance | path

Searched refs:getmode (Results 1 – 7 of 7) sorted by relevance

/plan9/sys/src/cmd/ext2srv/
H A Dext2fs.c131 else if( S_ISDIR(getmode(f)) ) in rwalk1()
209 if( !S_ISREG(getmode(f)) ){ in rwrite()
246 if( !S_ISREG(getmode(f)) ){ in ropen()
288 (getmode(f) & thdr.perm & 0777); in rcreate()
293 (getmode(f) & thdr.perm & 0666); in rcreate()
308 if( S_ISDIR(getmode(f)) ) in rcreate()
H A Dext2subs.c245 if( !S_ISDIR(getmode(f)) ) in get_file()
291 if( !S_ISDIR(getmode(&ft)) ) in getname()
352 dir->mode = getmode(f); in dostat()
405 if( (getmode(f) & 0777) != (stat->mode & 0777) ){ in dowstat()
406 inode->i_mode = (getmode(f) & ~0777) | (stat->mode & 0777); in dowstat()
444 if( S_ISLNK(getmode(f)) && (inode->i_size <= EXT2_N_BLOCKS<<2) ){ in readfile()
501 if( !S_ISDIR(getmode(f)) ) in readdir()
1441 if( S_ISDIR(getmode(file)) && !empty_dir(file) ){ in unlink()
1483 if( S_ISDIR(getmode(file)) ){ in unlink()
1497 if( !S_ISLNK(getmode(file)) || in unlink()
[all …]
H A Dfns.h51 long getmode(Xfile *);
/plan9/sys/src/ape/9src/
H A Dstty.c71 int getmode(int, Termios*);
174 if(getmode(stdin, &t) < 0) { in main()
245 getmode(int fd, Termios *t) in getmode() function
/plan9/sys/src/libdisk/
H A Dproto.c54 static char* getmode(Mkaux*, char*, ulong*);
376 p = getmode(mkaux, p, &f->mode); in getfile()
454 getmode(Mkaux *mkaux, char *p, ulong *xmode) in getmode() function
/plan9/sys/src/cmd/replica/
H A Drevproto.c55 static char* getmode(Mkaux*, char*, ulong*);
381 p = getmode(mkaux, p, &f->mode); in getfile()
459 getmode(Mkaux *mkaux, char *p, ulong *xmode) in getmode() function
/plan9/sys/src/cmd/disk/
H A Dmkfs.c36 char* getmode(char*, ulong*);
598 p = getmode(p, &f->mode); in getfile()
672 getmode(char *p, ulong *xmode) in getmode() function