• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ocfs2/

Lines Matching refs:le16_to_cpu

138 	return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc);
162 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc);
163 if (le16_to_cpu(gd->bg_bits) > max_bits) {
166 le16_to_cpu(gd->bg_bits));
170 if (le16_to_cpu(gd->bg_chain) >=
171 le16_to_cpu(di->id2.i_chain.cl_next_free_rec)) {
174 le16_to_cpu(gd->bg_chain));
178 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) {
182 le16_to_cpu(gd->bg_bits),
183 le16_to_cpu(gd->bg_free_bits_count));
187 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) {
191 le16_to_cpu(gd->bg_bits),
192 8 * le16_to_cpu(gd->bg_size));
241 bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1);
262 while (curr < le16_to_cpu(cl->cl_count)) {
295 le16_to_cpu(cl->cl_cpg),
304 le16_to_cpu(cl->cl_cpg));
316 le16_to_cpu(cl->cl_cpg),
361 le16_to_cpu(bg->bg_free_bits_count));
362 le32_add_cpu(&cl->cl_recs[alloc_rec].c_total, le16_to_cpu(bg->bg_bits));
364 if (le16_to_cpu(cl->cl_next_free_rec) < le16_to_cpu(cl->cl_count))
367 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) -
368 le16_to_cpu(bg->bg_free_bits_count));
369 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits));
370 le32_add_cpu(&fe->i_clusters, le16_to_cpu(cl->cl_cpg));
765 BUG_ON(le16_to_cpu(bg->bg_free_bits_count) < num_bits);
807 while (curr < le16_to_cpu(cl->cl_next_free_rec)) {
814 BUG_ON(best >= le16_to_cpu(cl->cl_next_free_rec));
918 return le16_to_cpu(bg->bg_free_bits_count) > wanted;
937 max_bits = le16_to_cpu(gd->bg_bits);
952 le16_to_cpu(gd->bg_bits),
991 le16_to_cpu(bg->bg_bits),
1068 le16_to_cpu(gd->bg_chain));
1079 *bits_left = le16_to_cpu(gd->bg_free_bits_count);
1231 *bits_left = le16_to_cpu(bg->bg_free_bits_count);
1327 for (i = 0; i < le16_to_cpu(cl->cl_next_free_rec); i ++) {
1668 BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits));
1685 le32_add_cpu(&cl->cl_recs[le16_to_cpu(group->bg_chain)].c_free,
1717 u16 bit = le16_to_cpu(di->i_suballoc_bit);
1730 u16 bit = le16_to_cpu(eb->h_suballoc_bit);