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