Lines Matching refs:file_mode
72 mode_t file_mode; in file_creat() local
86 file_mode = arcn->sb.st_mode & FILEBITS; in file_creat()
88 file_mode)) >= 0) in file_creat()
106 file_mode)) >= 0) in file_creat()
340 mode_t file_mode; in node_creat() local
349 file_mode = arcn->sb.st_mode & FILEBITS; in node_creat()
354 res = mkdir(arcn->name, file_mode); in node_creat()
359 file_mode |= S_IFCHR; in node_creat()
360 res = mknod(arcn->name, file_mode, arcn->sb.st_rdev); in node_creat()
363 file_mode |= S_IFBLK; in node_creat()
364 res = mknod(arcn->name, file_mode, arcn->sb.st_rdev); in node_creat()
367 res = mkfifo(arcn->name, file_mode); in node_creat()
449 set_pmode(arcn->name,file_mode | S_IRWXU); in node_creat()