Lines Matching refs:nlen
534 int nlen, err; in matches_name() local
553 nlen = le16_to_cpu(dent->nlen); in matches_name()
554 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in matches_name()
556 if (nlen == fname_len(nm)) in matches_name()
558 else if (nlen < fname_len(nm)) in matches_name()
822 int nlen, err; in fallible_matches_name() local
846 nlen = le16_to_cpu(dent->nlen); in fallible_matches_name()
847 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in fallible_matches_name()
849 if (nlen == fname_len(nm)) in fallible_matches_name()
851 else if (nlen < fname_len(nm)) in fallible_matches_name()
1870 len = le16_to_cpu(dent->nlen); in ubifs_tnc_lookup_nm()
2898 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino()