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