Searched refs:rx (Results 1 – 5 of 5) sorted by relevance
/fs/jffs2/ |
D | xattr.c | 137 struct jffs2_raw_xattr rx; in do_verify_xattr_datum() local 148 rc = jffs2_flash_read(c, offset, sizeof(rx), &readlen, (char *)&rx); in do_verify_xattr_datum() 149 if (rc || readlen != sizeof(rx)) { in do_verify_xattr_datum() 151 rc, sizeof(rx), readlen, offset); in do_verify_xattr_datum() 154 crc = crc32(0, &rx, sizeof(rx) - 4); in do_verify_xattr_datum() 155 if (crc != je32_to_cpu(rx.node_crc)) { in do_verify_xattr_datum() 157 offset, je32_to_cpu(rx.hdr_crc), crc); in do_verify_xattr_datum() 161 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); in do_verify_xattr_datum() 162 if (je16_to_cpu(rx.magic) != JFFS2_MAGIC_BITMASK in do_verify_xattr_datum() 163 || je16_to_cpu(rx.nodetype) != JFFS2_NODETYPE_XATTR in do_verify_xattr_datum() [all …]
|
D | scan.c | 328 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node() argument 335 crc = crc32(0, rx, sizeof(struct jffs2_raw_xattr) - 4); in jffs2_scan_xattr_node() 336 if (crc != je32_to_cpu(rx->node_crc)) { in jffs2_scan_xattr_node() 338 ofs, je32_to_cpu(rx->node_crc), crc); in jffs2_scan_xattr_node() 339 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node() 344 xid = je32_to_cpu(rx->xid); in jffs2_scan_xattr_node() 345 version = je32_to_cpu(rx->version); in jffs2_scan_xattr_node() 348 + rx->name_len + 1 + je16_to_cpu(rx->value_len)); in jffs2_scan_xattr_node() 349 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node() 351 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node() [all …]
|
D | summary.c | 158 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs) in jffs2_sum_add_xattr_mem() argument 166 temp->nodetype = rx->nodetype; in jffs2_sum_add_xattr_mem() 167 temp->xid = rx->xid; in jffs2_sum_add_xattr_mem() 168 temp->version = rx->version; in jffs2_sum_add_xattr_mem() 170 temp->totlen = rx->totlen; in jffs2_sum_add_xattr_mem()
|
D | summary.h | 187 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs);
|
/fs/dlm/ |
D | lowcomms.c | 584 bool tx, bool rx) in close_connection() argument 590 if (rx && cancel_work_sync(&con->rwork)) in close_connection()
|