Lines Matching defs:ino
81 struct ubifs_ino_node *ino;
167 ino = kzalloc(ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size), GFP_KERNEL);
170 if (!sup || !mst || !idx || !ino || !cs) {
292 ino_key_init_flash(c, &ino->key, UBIFS_ROOT_INO);
293 ino->ch.node_type = UBIFS_INO_NODE;
294 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum);
295 ino->nlink = cpu_to_le32(2);
299 ino->atime_sec = tmp_le64;
300 ino->ctime_sec = tmp_le64;
301 ino->mtime_sec = tmp_le64;
302 ino->atime_nsec = 0;
303 ino->ctime_nsec = 0;
304 ino->mtime_nsec = 0;
305 ino->mode = cpu_to_le32(S_IFDIR | S_IRUGO | S_IWUSR | S_IXUGO);
306 ino->size = cpu_to_le64(UBIFS_INO_NODE_SZ);
309 ino->flags = cpu_to_le32(UBIFS_COMPR_FL);
327 err = ubifs_write_node(c, ino, UBIFS_INO_NODE_SZ,
332 ubifs_node_calc_hash(c, ino, hash);
363 kfree(ino);