Lines Matching refs:st_mode
113 if(!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_getflag()
139 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { in print_file_attr()
190 if (S_ISDIR(root->st.st_mode) && !root->parent) in retell_dir()
196 if (S_ISDIR(root->st.st_mode) && FLAG(R) && dirtree_notdotdot(root)) { in retell_dir()
214 else if (S_ISDIR(sb.st_mode) && !FLAG(d)) in lsattr_main()
227 if (!S_ISREG(sb->st_mode) && !S_ISDIR(sb->st_mode)) { in ext2_setflag()
269 if ((S_ISLNK(root->st.st_mode) && FLAG(R)) in update_attr()
270 || (!S_ISREG(root->st.st_mode) && !S_ISLNK(root->st.st_mode) in update_attr()
271 && !S_ISDIR(root->st.st_mode))) in update_attr()
297 if (!S_ISDIR(root->st.st_mode)) new &= ~FS_DIRSYNC_FL; in update_attr()
320 return (FLAG(R) && S_ISDIR(root->st.st_mode)) ? DIRTREE_RECURSE : 0; in update_attr()