Home
last modified time | relevance | path

Searched refs:T_DIR (Results 1 – 5 of 5) sorted by relevance

/xv6-public/
H A Dstat.h1 #define T_DIR 1 // Directory macro
H A Dsysfile.c134 if(ip->type == T_DIR){ in sys_link()
213 if(ip->type == T_DIR && !isdirempty(ip)){ in sys_unlink()
221 if(ip->type == T_DIR){ in sys_unlink()
269 if(type == T_DIR){ // Create . and .. entries. in create()
310 if(ip->type == T_DIR && omode != O_RDONLY){ in sys_open()
342 if(argstr(0, &path) < 0 || (ip = create(path, T_DIR, 0, 0)) == 0){ in sys_mkdir()
384 if(ip->type != T_DIR){ in sys_chdir()
H A Dls.c49 case T_DIR: in ls()
H A Dfs.c530 if(dp->type != T_DIR) in dirlookup()
636 if(ip->type != T_DIR){ in namex()
H A Dmkfs.c117 rootino = ialloc(T_DIR); in main()