Lines Matching refs:ino
420 const struct ubifs_ino_node *ino = node; in ubifs_dump_node() local
422 key_read(c, &ino->key, &key); in ubifs_dump_node()
426 (unsigned long long)le64_to_cpu(ino->creat_sqnum)); in ubifs_dump_node()
428 (unsigned long long)le64_to_cpu(ino->size)); in ubifs_dump_node()
429 pr_err("\tnlink %u\n", le32_to_cpu(ino->nlink)); in ubifs_dump_node()
431 (long long)le64_to_cpu(ino->atime_sec), in ubifs_dump_node()
432 le32_to_cpu(ino->atime_nsec)); in ubifs_dump_node()
434 (long long)le64_to_cpu(ino->mtime_sec), in ubifs_dump_node()
435 le32_to_cpu(ino->mtime_nsec)); in ubifs_dump_node()
437 (long long)le64_to_cpu(ino->ctime_sec), in ubifs_dump_node()
438 le32_to_cpu(ino->ctime_nsec)); in ubifs_dump_node()
439 pr_err("\tuid %u\n", le32_to_cpu(ino->uid)); in ubifs_dump_node()
440 pr_err("\tgid %u\n", le32_to_cpu(ino->gid)); in ubifs_dump_node()
441 pr_err("\tmode %u\n", le32_to_cpu(ino->mode)); in ubifs_dump_node()
442 pr_err("\tflags %#x\n", le32_to_cpu(ino->flags)); in ubifs_dump_node()
443 pr_err("\txattr_cnt %u\n", le32_to_cpu(ino->xattr_cnt)); in ubifs_dump_node()
444 pr_err("\txattr_size %u\n", le32_to_cpu(ino->xattr_size)); in ubifs_dump_node()
445 pr_err("\txattr_names %u\n", le32_to_cpu(ino->xattr_names)); in ubifs_dump_node()
447 (int)le16_to_cpu(ino->compr_type)); in ubifs_dump_node()
448 pr_err("\tdata len %u\n", le32_to_cpu(ino->data_len)); in ubifs_dump_node()
1842 struct ubifs_ino_node *ino) in add_inode() argument
1846 ino_t inum = key_inum_flash(c, &ino->key); in add_inode()
1887 fscki->nlink = le32_to_cpu(ino->nlink); in add_inode()
1888 fscki->size = le64_to_cpu(ino->size); in add_inode()
1889 fscki->xattr_cnt = le32_to_cpu(ino->xattr_cnt); in add_inode()
1890 fscki->xattr_sz = le32_to_cpu(ino->xattr_size); in add_inode()
1891 fscki->xattr_nms = le32_to_cpu(ino->xattr_names); in add_inode()
1892 fscki->mode = le32_to_cpu(ino->mode); in add_inode()
1960 struct ubifs_ino_node *ino; in read_add_inode() local
1985 ino = kmalloc(zbr->len, GFP_NOFS); in read_add_inode()
1986 if (!ino) in read_add_inode()
1989 err = ubifs_tnc_read_node(c, zbr, ino); in read_add_inode()
1993 kfree(ino); in read_add_inode()
1997 fscki = add_inode(c, fsckd, ino); in read_add_inode()
1998 kfree(ino); in read_add_inode()
2195 struct ubifs_ino_node *ino; in check_inodes() local
2280 ino = kmalloc(zbr->len, GFP_NOFS); in check_inodes()
2281 if (!ino) in check_inodes()
2284 err = ubifs_tnc_read_node(c, zbr, ino); in check_inodes()
2288 kfree(ino); in check_inodes()
2294 ubifs_dump_node(c, ino); in check_inodes()
2295 kfree(ino); in check_inodes()