Lines Matching defs:mode
16 mode_t mode;
31 mode = 0660;
35 mode |= S_IFCHR;
38 mode |= S_IFBLK;
41 mode |= S_IFIFO;
54 /* if mode != S_IFCHR and != S_IFBLK third param in mknod() ignored */
56 if (mknod(nodname, mode, makedev(Smajor, Sminor)))
102 unsigned int mode = 0755;
118 &type, &mode, user, group, &major,
137 bb_make_directory(full_name, mode | S_IFDIR, FILEUTILS_RECUR);
143 if ((mode != -1) && (chmod(full_name, mode) < 0)){
160 if ((mode != -1) && (chmod(full_name, mode) < 0)){
169 mode |= S_IFIFO;
172 mode |= S_IFCHR;
175 mode |= S_IFBLK;
190 if (mknod(full_name_inc, mode, rdev) == -1) {
198 if ((mode != -1) && (chmod(full_name_inc, mode) < 0)){
206 if (mknod(full_name, mode, rdev) == -1) {
214 if ((mode != -1) && (chmod(full_name, mode) < 0)){