• Home
  • Raw
  • Download

Lines Matching refs:bit_pos

68 	unsigned long bit_pos = 0;  in find_target_dentry()  local
73 while (bit_pos < (unsigned long)d->max) { in find_target_dentry()
74 if (!test_bit_le(bit_pos, d->bitmap)) { in find_target_dentry()
75 bit_pos++; in find_target_dentry()
80 de = &d->dentry[bit_pos]; in find_target_dentry()
83 !memcmp(d->filename[bit_pos], name, len)) { in find_target_dentry()
90 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); in find_target_dentry()
200 unsigned int bit_pos) in f2fs_update_dentry() argument
206 de = &d->dentry[bit_pos]; in f2fs_update_dentry()
209 memcpy(d->filename[bit_pos], name, len); in f2fs_update_dentry()
210 d->filename[bit_pos][len] = 0; in f2fs_update_dentry()
214 test_and_set_bit_le(bit_pos + i, d->bitmap); in f2fs_update_dentry()
224 int level = 0, current_depth, bit_pos; in f2fs_add_link() local
280 bit_pos = room_for_filename(dentry_blk->dentry_bitmap, in f2fs_add_link()
283 if (bit_pos < NR_DENTRY_IN_BLOCK) in f2fs_add_link()
291 f2fs_update_dentry(ino, file_type, &d, name, name_len, dentry_hash, bit_pos); in f2fs_add_link()
550 unsigned long bit_pos = 0; in convert_inline_dentry() local
599 while (bit_pos < (unsigned long)d.max) { in convert_inline_dentry()
604 if (!test_bit_le(bit_pos, d.bitmap)) { in convert_inline_dentry()
605 bit_pos++; in convert_inline_dentry()
609 de = &d.dentry[bit_pos]; in convert_inline_dentry()
611 bit_pos++; in convert_inline_dentry()
615 filename = d.filename[bit_pos]; in convert_inline_dentry()
619 bit_pos += GET_DENTRY_SLOTS(namelen); in convert_inline_dentry()
631 bit_pos += GET_DENTRY_SLOTS(namelen); in convert_inline_dentry()