Lines Matching defs:ino
78 struct ubifs_ino_node *ino;
164 ino = kzalloc(ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size), GFP_KERNEL);
167 if (!sup || !mst || !idx || !ino || !cs) {
289 ino_key_init_flash(c, &ino->key, UBIFS_ROOT_INO);
290 ino->ch.node_type = UBIFS_INO_NODE;
291 ino->creat_sqnum = cpu_to_le64(++c->max_sqnum);
292 ino->nlink = cpu_to_le32(2);
296 ino->atime_sec = tmp_le64;
297 ino->ctime_sec = tmp_le64;
298 ino->mtime_sec = tmp_le64;
299 ino->atime_nsec = 0;
300 ino->ctime_nsec = 0;
301 ino->mtime_nsec = 0;
302 ino->mode = cpu_to_le32(S_IFDIR | S_IRUGO | S_IWUSR | S_IXUGO);
303 ino->size = cpu_to_le64(UBIFS_INO_NODE_SZ);
306 ino->flags = cpu_to_le32(UBIFS_COMPR_FL);
324 err = ubifs_write_node(c, ino, UBIFS_INO_NODE_SZ,
329 ubifs_node_calc_hash(c, ino, hash);
360 kfree(ino);