Lines Matching refs:t16

390 	u16 t16 = le16_to_cpu(lr->lcns_follow);  in lrh_length()  local
392 return struct_size(lr, page_lcns, max_t(u16, 1, t16)); in lrh_length()
688 u16 t16; in check_log_rec() local
718 t16 = le16_to_cpu(lr->target_attr); in check_log_rec()
719 if ((t16 - sizeof(struct RESTART_TABLE)) % bytes_per_attr_entry) in check_log_rec()
3776 u16 t16; in log_replay() local
4031 t16 = le16_to_cpu(ra2->client_off); in log_replay()
4032 if (t16 == offsetof(struct RESTART_AREA, clients)) { in log_replay()
4036 memcpy(ra->clients, Add2Ptr(ra2, t16), in log_replay()
4037 le16_to_cpu(ra2->ra_len) - t16); in log_replay()
4087 t16 = le16_to_cpu(client); in log_replay()
4088 cr = ca + t16; in log_replay()
4100 add_client(ca, t16, &ra->client_idx[1]); in log_replay()
4149 t16 = le16_to_cpu(lrh->redo_off); in log_replay()
4151 rt = Add2Ptr(lrh, t16); in log_replay()
4152 t32 = rec_len - t16; in log_replay()
4189 t16 = le16_to_cpu(lrh->redo_off); in log_replay()
4191 rt = Add2Ptr(lrh, t16); in log_replay()
4192 t32 = rec_len - t16; in log_replay()
4298 t16 = le16_to_cpu(lrh->redo_off); in log_replay()
4300 rt = Add2Ptr(lrh, t16); in log_replay()
4301 oatbl_bytes = rec_len - t16; in log_replay()
4352 t16 = le16_to_cpu(ane->off); in log_replay()
4353 if (!t16) { in log_replay()
4359 if (t16 + sizeof(*oe) > oatbl_bytes) { in log_replay()
4365 oe = Add2Ptr(oatbl, t16); in log_replay()
4366 t16 = le16_to_cpu(ane->name_bytes); in log_replay()
4367 off += t16 + sizeof(*ane); in log_replay()
4372 oe->name_len = t16 / sizeof(short); in log_replay()
4494 t16 = le16_to_cpu(lrh->target_attr); in log_replay()
4496 dp = find_dp(dptbl, t16, t64); in log_replay()
4525 dp->target_attr = cpu_to_le32(t16); in log_replay()
4537 t16 = le16_to_cpu(lrh->lcns_follow); in log_replay()
4538 for (i = 0; i < t16; i++) { in log_replay()
4573 t16 = le16_to_cpu(lrh->target_attr); in log_replay()
4574 if (t16 >= bytes_per_rt(oatbl)) { in log_replay()
4579 u32 new_e = t16 / le16_to_cpu(oatbl->size); in log_replay()
4592 oe = alloc_rsttbl_from_idx(&oatbl, t16); in log_replay()
4600 t16 = le16_to_cpu(lrh->redo_off); in log_replay()
4603 struct OPEN_ATTR_ENRTY_32 *oe0 = Add2Ptr(lrh, t16); in log_replay()
4612 memcpy(oe, Add2Ptr(lrh, t16), bytes_per_attr_entry); in log_replay()
4615 t16 = le16_to_cpu(lrh->undo_len); in log_replay()
4616 if (t16) { in log_replay()
4617 oe->ptr = kmalloc(t16, GFP_NOFS); in log_replay()
4622 oe->name_len = t16 / sizeof(short); in log_replay()
4624 Add2Ptr(lrh, le16_to_cpu(lrh->undo_off)), t16); in log_replay()
4634 t16 = le16_to_cpu(lrh->target_attr); in log_replay()
4636 dp = find_dp(dptbl, t16, t64); in log_replay()
4912 t16 = le16_to_cpu(lrh->target_attr); in log_replay()
4914 dp = find_dp(dptbl, t16, t64); in log_replay()
4922 t16 = le16_to_cpu(lrh->target_attr); in log_replay()
4923 if (t16 >= bytes_per_rt(oatbl)) { in log_replay()
4928 oe = Add2Ptr(oatbl, t16); in log_replay()
4996 t16 = le16_to_cpu(lrh->redo_op); in log_replay()
4997 if (can_skip_action(t16)) in log_replay()
5001 err = do_action(log, oe, lrh, t16, data, dlen, rec_len, &rec_lsn); in log_replay()
5064 t16 = le16_to_cpu(lrh->lcns_follow); in log_replay()
5065 if (!t16) in log_replay()
5076 if (is_mapped && lcn != SPARSE_LCN && clen >= t16) in log_replay()
5085 i < t16; i++, vcn += 1, size += sbi->cluster_size) { in log_replay()
5098 t16 = le16_to_cpu(lrh->undo_op); in log_replay()
5099 if (can_skip_action(t16)) in log_replay()
5107 err = do_action(log, oe, lrh, t16, data, dlen, rec_len, NULL); in log_replay()
5151 t16 = (log->page_size >> SECTOR_SHIFT) + 1; in log_replay()
5152 rh->rhdr.fix_num = cpu_to_le16(t16); in log_replay()
5156 t16 = ALIGN(offsetof(struct RESTART_HDR, fixups) + sizeof(short) * t16, in log_replay()
5158 rh->ra_off = cpu_to_le16(t16); in log_replay()
5162 ra2 = Add2Ptr(rh, t16); in log_replay()