Lines Matching +full:bl +full:- +full:name
1 // SPDX-License-Identifier: GPL-2.0
5 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999
20 unsigned l = qstr->len; in hpfs_hash_dentry()
22 if (l == 1) if (qstr->name[0]=='.') goto x; in hpfs_hash_dentry()
23 if (l == 2) if (qstr->name[0]=='.' || qstr->name[1]=='.') goto x; in hpfs_hash_dentry()
24 hpfs_adjust_length(qstr->name, &l); in hpfs_hash_dentry()
25 /*if (hpfs_chk_name(qstr->name,&l))*/ in hpfs_hash_dentry()
26 /*return -ENAMETOOLONG;*/ in hpfs_hash_dentry()
27 /*return -ENOENT;*/ in hpfs_hash_dentry()
32 hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); in hpfs_hash_dentry()
33 qstr->hash = end_name_hash(hash); in hpfs_hash_dentry()
39 unsigned int len, const char *str, const struct qstr *name) in hpfs_compare_dentry() argument
42 unsigned bl = name->len; in hpfs_compare_dentry() local
45 /*hpfs_adjust_length(b->name, &bl);*/ in hpfs_compare_dentry()
48 * 'str' is the nane of an already existing dentry, so the name in hpfs_compare_dentry()
49 * must be valid. 'name' must be validated first. in hpfs_compare_dentry()
52 if (hpfs_chk_name(name->name, &bl)) in hpfs_compare_dentry()
54 if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0)) in hpfs_compare_dentry()