Lines Matching refs:i_mode

738 	if (LINUX_S_ISDIR(inode->i_mode)) i_type = "directory";  in internal_dump_inode()
739 else if (LINUX_S_ISREG(inode->i_mode)) i_type = "regular"; in internal_dump_inode()
740 else if (LINUX_S_ISLNK(inode->i_mode)) i_type = "symlink"; in internal_dump_inode()
741 else if (LINUX_S_ISBLK(inode->i_mode)) i_type = "block special"; in internal_dump_inode()
742 else if (LINUX_S_ISCHR(inode->i_mode)) i_type = "character special"; in internal_dump_inode()
743 else if (LINUX_S_ISFIFO(inode->i_mode)) i_type = "FIFO"; in internal_dump_inode()
744 else if (LINUX_S_ISSOCK(inode->i_mode)) i_type = "socket"; in internal_dump_inode()
748 prefix, inode->i_mode & 0777, inode->i_flags); in internal_dump_inode()
759 if (LINUX_S_ISREG(inode->i_mode)) in internal_dump_inode()
767 inode->i_file_acl, LINUX_S_ISDIR(inode->i_mode) ? inode->i_dir_acl : 0, in internal_dump_inode()
774 LINUX_S_ISDIR(inode->i_mode) ? inode->i_dir_acl : 0); in internal_dump_inode()
821 if (LINUX_S_ISLNK(inode->i_mode) && ext2fs_inode_data_blocks(current_fs,inode) == 0) in internal_dump_inode()
824 else if (LINUX_S_ISBLK(inode->i_mode) || LINUX_S_ISCHR(inode->i_mode)) { in internal_dump_inode()
1228 modify_u16(argv[0], "Mode", octal_format, &inode.i_mode); in do_modify_inode()
1247 if (LINUX_S_ISDIR(inode.i_mode)) in do_modify_inode()
1384 ext2_file_type(inode.i_mode)); in make_link()
1439 inode.i_links_count = LINUX_S_ISDIR(inode.i_mode) ? 2 : 1; in do_undel()
1715 inode.i_mode = (statbuf.st_mode & ~LINUX_S_IFMT) | LINUX_S_IFREG; in do_write()
1738 if (LINUX_S_ISREG(inode.i_mode)) { in do_write()
1824 inode.i_mode = mode; in do_mknod()
1910 LINUX_S_ISDIR(inode_buf.i_mode)); in kill_file_by_inode()
1943 if (LINUX_S_ISDIR(inode.i_mode)) { in do_rm()
2005 if (!LINUX_S_ISDIR(inode.i_mode)) { in do_rmdir()