Lines Matching refs:name_len
125 if (unlikely(rec_len < EXT2_DIR_REC_LEN(p->name_len))) in ext2_check_folio()
166 rec_len, p->name_len); in ext2_check_folio()
219 if (len != de->name_len) in ext2_match()
311 if (!dir_emit(ctx, de->name, de->name_len, in ext2_readdir()
483 unsigned short rec_len, name_len; in ext2_add_link() local
509 name_len = 0; in ext2_add_link()
524 name_len = EXT2_DIR_REC_LEN(de->name_len); in ext2_add_link()
528 if (rec_len >= name_len + reclen) in ext2_add_link()
544 ext2_dirent *de1 = (ext2_dirent *) ((char *) de + name_len); in ext2_add_link()
545 de1->rec_len = ext2_rec_len_to_disk(rec_len - name_len); in ext2_add_link()
546 de->rec_len = ext2_rec_len_to_disk(name_len); in ext2_add_link()
549 de->name_len = namelen; in ext2_add_link()
636 de->name_len = 1; in ext2_make_empty()
643 de->name_len = 2; in ext2_make_empty()
686 if (de->name_len > 2) in ext2_empty_dir()
688 if (de->name_len < 2) { in ext2_empty_dir()