Lines Matching refs:name
12 static int omfs_hash(const char *name, int namelen, int mod)
16 hash ^= tolower(name[i]) << (i % 24);
21 * Finds the bucket for a given name and reads the containing block;
25 const char *name, int namelen, int *ofs)
28 int bucket = omfs_hash(name, namelen, nbuckets);
35 const char *name, int namelen,
56 if (strncmp(oi->i_name, name, namelen) == 0)
68 const char *name, int namelen)
74 bh = omfs_get_bucket(dir, name, namelen, &ofs);
81 return omfs_scan_list(dir, block, name, namelen, &dummy);
114 const char *name = dentry->d_name.name;
123 bh = omfs_get_bucket(dir, name, namelen, &ofs);
139 memcpy(oi->i_name, name, namelen);
160 const char *name = dentry->d_name.name;
170 bh = omfs_get_bucket(dir, name, namelen, &ofs);
177 bh2 = omfs_scan_list(dir, block, name, namelen, &prev);
303 bh = omfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len);
391 /* since omfs locates files by name, we need to unlink _before_