Lines Matching refs:namelen
12 static int omfs_hash(const char *name, int namelen, int mod)
15 for (i = 0; i < namelen; i++)
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);
115 int namelen = dentry->d_name.len;
123 bh = omfs_get_bucket(dir, name, namelen, &ofs);
139 memcpy(oi->i_name, name, namelen);
140 memset(oi->i_name + namelen, 0, OMFS_NAMELEN - namelen);
161 int namelen = dentry->d_name.len;
170 bh = omfs_get_bucket(dir, name, namelen, &ofs);
177 bh2 = omfs_scan_list(dir, block, name, namelen, &prev);