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