Lines Matching refs:be16_to_cpu
352 be16_to_cpu(dent->de_name_len) == name->len &&
381 const char *end = (const char *)dent + be16_to_cpu(dent->de_rec_len);
392 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len));
393 unsigned totlen = be16_to_cpu(dent->de_rec_len);
444 unlikely(sizeof(struct gfs2_dirent)+be16_to_cpu(dent->de_name_len) >
495 size = be16_to_cpu(dent->de_rec_len);
507 size = be16_to_cpu(dent->de_rec_len);
565 u16 rec_len = be16_to_cpu(d->de_rec_len);
647 prev_rec_len = be16_to_cpu(prev->de_rec_len);
648 cur_rec_len = be16_to_cpu(cur->de_rec_len);
673 offset = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len));
674 totlen = be16_to_cpu(dent->de_rec_len);
890 dent->de_rec_len = cpu_to_be16(be16_to_cpu(dent->de_rec_len) +
955 if (dip->i_di.di_depth == be16_to_cpu(oleaf->lf_depth)) {
962 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1);
970 len = 1 << (dip->i_di.di_depth - be16_to_cpu(oleaf->lf_depth));
973 printk(KERN_WARNING "di_depth %u lf_depth %u index %u\n", dip->i_di.di_depth, be16_to_cpu(oleaf->lf_depth), index);
1014 str.len = be16_to_cpu(dent->de_name_len);
1024 nleaf->lf_entries = cpu_to_be16(be16_to_cpu(nleaf->lf_entries)+1);
1030 oleaf->lf_entries = cpu_to_be16(be16_to_cpu(oleaf->lf_entries)-1);
1167 unsigned int len_a = be16_to_cpu(dent_a->de_name_len);
1168 unsigned int len_b = be16_to_cpu(dent_b->de_name_len);
1242 be16_to_cpu(dent->de_name_len),
1244 be16_to_cpu(dent->de_type));
1283 *depth = be16_to_cpu(lf->lf_depth);
1284 entries += be16_to_cpu(lf->lf_entries);
1315 entries2 += be16_to_cpu(lf->lf_entries);
1504 *type = be16_to_cpu(dent->de_type);
1537 leaf = new_leaf(inode, &bh, be16_to_cpu(oleaf->lf_depth));
1587 leaf->lf_entries = cpu_to_be16(be16_to_cpu(leaf->lf_entries) + 1);
1660 dent = (struct gfs2_dirent *)((char *)dent + be16_to_cpu(prev->de_rec_len));
1666 u16 entries = be16_to_cpu(leaf->lf_entries);
1788 len = 1 << (dip->i_di.di_depth - be16_to_cpu(leaf->lf_depth));