Lines Matching refs:rx
331 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() argument
338 crc = crc32(0, rx, sizeof(struct jffs2_raw_xattr) - 4); in jffs2_scan_xattr_node()
339 if (crc != je32_to_cpu(rx->node_crc)) { in jffs2_scan_xattr_node()
341 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node()
342 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
347 xid = je32_to_cpu(rx->xid); in jffs2_scan_xattr_node()
348 version = je32_to_cpu(rx->version); in jffs2_scan_xattr_node()
351 + rx->name_len + 1 + je16_to_cpu(rx->value_len)); in jffs2_scan_xattr_node()
352 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node()
354 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
355 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
371 xd->xprefix = rx->xprefix; in jffs2_scan_xattr_node()
372 xd->name_len = rx->name_len; in jffs2_scan_xattr_node()
373 xd->value_len = je16_to_cpu(rx->value_len); in jffs2_scan_xattr_node()
374 xd->data_crc = je32_to_cpu(rx->data_crc); in jffs2_scan_xattr_node()
380 jffs2_sum_add_xattr_mem(s, rx, ofs - jeb->offset); in jffs2_scan_xattr_node()