Searched refs:UBIFS_LPT_CRC_BYTES (Results 1 – 3 of 3) sorted by relevance
348 uint8_t *addr = buf + UBIFS_LPT_CRC_BYTES; in ubifs_pack_pnode()365 crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in ubifs_pack_pnode()366 c->pnode_sz - UBIFS_LPT_CRC_BYTES); in ubifs_pack_pnode()381 uint8_t *addr = buf + UBIFS_LPT_CRC_BYTES; in ubifs_pack_nnode()397 crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in ubifs_pack_nnode()398 c->nnode_sz - UBIFS_LPT_CRC_BYTES); in ubifs_pack_nnode()413 uint8_t *addr = buf + UBIFS_LPT_CRC_BYTES; in ubifs_pack_ltab()422 crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in ubifs_pack_ltab()423 c->ltab_sz - UBIFS_LPT_CRC_BYTES); in ubifs_pack_ltab()437 uint8_t *addr = buf + UBIFS_LPT_CRC_BYTES; in ubifs_pack_lsave()[all …]
1096 uint8_t *addr = buf + UBIFS_LPT_CRC_BYTES; in get_lpt_node_type()1114 uint8_t *addr = buf + UBIFS_LPT_CRC_BYTES; in is_a_node()1118 if (len < UBIFS_LPT_CRC_BYTES + (UBIFS_LPT_TYPE_BITS + 7) / 8) in is_a_node()1129 calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in is_a_node()1130 node_len - UBIFS_LPT_CRC_BYTES); in is_a_node()
120 #define UBIFS_LPT_CRC_BYTES 2 macro