Lines Matching refs:snod
198 struct ubifs_scan_node *snod; in ubifs_add_snod() local
200 snod = kmalloc(sizeof(struct ubifs_scan_node), GFP_NOFS); in ubifs_add_snod()
201 if (!snod) in ubifs_add_snod()
204 snod->sqnum = le64_to_cpu(ch->sqnum); in ubifs_add_snod()
205 snod->type = ch->node_type; in ubifs_add_snod()
206 snod->offs = offs; in ubifs_add_snod()
207 snod->len = le32_to_cpu(ch->len); in ubifs_add_snod()
208 snod->node = buf; in ubifs_add_snod()
219 key_read(c, &ino->key, &snod->key); in ubifs_add_snod()
222 invalid_key_init(c, &snod->key); in ubifs_add_snod()
225 list_add_tail(&snod->list, &sleb->nodes); in ubifs_add_snod()