Lines Matching refs:ino
78 struct ubifs_ino_node *ino; in create_default_filesystem() local
291 ino = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
292 if (!ino) in create_default_filesystem()
295 ino_key_init_flash(c, &ino->key, UBIFS_ROOT_INO); in create_default_filesystem()
296 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
297 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum); in create_default_filesystem()
298 ino->nlink = cpu_to_le32(2); in create_default_filesystem()
300 ino->atime_sec = tmp_le64; in create_default_filesystem()
301 ino->ctime_sec = tmp_le64; in create_default_filesystem()
302 ino->mtime_sec = tmp_le64; in create_default_filesystem()
303 ino->atime_nsec = 0; in create_default_filesystem()
304 ino->ctime_nsec = 0; in create_default_filesystem()
305 ino->mtime_nsec = 0; in create_default_filesystem()
306 ino->mode = cpu_to_le32(S_IFDIR | S_IRUGO | S_IWUSR | S_IXUGO); in create_default_filesystem()
307 ino->size = cpu_to_le64(UBIFS_INO_NODE_SZ); in create_default_filesystem()
310 ino->flags = cpu_to_le32(UBIFS_COMPR_FL); in create_default_filesystem()
312 err = ubifs_write_node(c, ino, UBIFS_INO_NODE_SZ, in create_default_filesystem()
314 kfree(ino); in create_default_filesystem()