Lines Matching refs:name_len
142 if (rec_len < NILFS_DIR_REC_LEN(p->name_len)) in nilfs_check_page()
176 rec_len, p->name_len); in nilfs_check_page()
216 if (len != de->name_len) in nilfs_match()
303 if (!dir_emit(ctx, de->name, de->name_len, in nilfs_readdir()
445 unsigned short rec_len, name_len; in nilfs_add_link() local
474 name_len = 0; in nilfs_add_link()
489 name_len = NILFS_DIR_REC_LEN(de->name_len); in nilfs_add_link()
493 if (rec_len >= name_len + reclen) in nilfs_add_link()
512 de1 = (struct nilfs_dir_entry *)((char *)de + name_len); in nilfs_add_link()
513 de1->rec_len = nilfs_rec_len_to_disk(rec_len - name_len); in nilfs_add_link()
514 de->rec_len = nilfs_rec_len_to_disk(name_len); in nilfs_add_link()
517 de->name_len = namelen; in nilfs_add_link()
599 de->name_len = 1; in nilfs_make_empty()
606 de->name_len = 2; in nilfs_make_empty()
649 if (de->name_len > 2) in nilfs_empty_dir()
651 if (de->name_len < 2) { in nilfs_empty_dir()