Lines Matching refs:be16_to_cpu

406 	    be16_to_cpu(dent->de_name_len) == name->len &&  in __gfs2_dirent_find()
435 const char *end = (const char *)dent + be16_to_cpu(dent->de_rec_len); in gfs2_dirent_last()
448 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_offset()
449 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_offset()
467 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_space()
468 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_space()
520 unlikely(sizeof(struct gfs2_dirent)+be16_to_cpu(dent->de_name_len) > in gfs2_check_dirent()
571 size = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_scan()
583 size = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_scan()
610 u16 rec_len = be16_to_cpu(d->de_rec_len); in dirent_check_reclen()
692 prev_rec_len = be16_to_cpu(prev->de_rec_len); in dirent_del()
693 cur_rec_len = be16_to_cpu(cur->de_rec_len); in dirent_del()
715 totlen = be16_to_cpu(dent->de_rec_len); in do_init_dirent()
737 offset = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_init_dirent()
959 dent->de_rec_len = cpu_to_be16(be16_to_cpu(dent->de_rec_len) + in dir_make_exhash()
1022 if (dip->i_depth == be16_to_cpu(oleaf->lf_depth)) { in dir_split_leaf()
1029 nleaf = new_leaf(inode, &nbh, be16_to_cpu(oleaf->lf_depth) + 1); in dir_split_leaf()
1037 len = BIT(dip->i_depth - be16_to_cpu(oleaf->lf_depth)); in dir_split_leaf()
1041 dip->i_depth, be16_to_cpu(oleaf->lf_depth), index); in dir_split_leaf()
1090 str.len = be16_to_cpu(dent->de_name_len); in dir_split_leaf()
1232 unsigned int len_a = be16_to_cpu(dent_a->de_name_len); in compare_dents()
1233 unsigned int len_b = be16_to_cpu(dent_b->de_name_len); in compare_dents()
1304 be16_to_cpu(dent->de_name_len), in do_filldir_main()
1306 be16_to_cpu(dent->de_type))) in do_filldir_main()
1388 *depth = be16_to_cpu(lf->lf_depth); in gfs2_dir_read_leaf()
1389 entries += be16_to_cpu(lf->lf_entries); in gfs2_dir_read_leaf()
1426 entries2 += be16_to_cpu(lf->lf_entries); in gfs2_dir_read_leaf()
1444 be16_to_cpu(lf->lf_entries)); in gfs2_dir_read_leaf()
1657 dtype = be16_to_cpu(dent->de_type); in gfs2_dir_search()
1658 rahead = be16_to_cpu(dent->de_rahead); in gfs2_dir_search()
1691 be16_to_cpu(dent->de_type))) { in gfs2_dir_check()
1751 leaf = new_leaf(inode, &bh, be16_to_cpu(oleaf->lf_depth)); in dir_new_leaf()
1895 dent = (struct gfs2_dirent *)((char *)dent + be16_to_cpu(prev->de_rec_len)); in gfs2_dir_del()
1901 u16 entries = be16_to_cpu(leaf->lf_entries); in gfs2_dir_del()
2122 len = BIT(dip->i_depth - be16_to_cpu(leaf->lf_depth)); in gfs2_dir_exhash_dealloc()