Lines Matching refs:c
179 struct errormap *c; in p9_error_init() local
183 for (c = errmap; c->name; c++) { in p9_error_init()
184 c->namelen = strlen(c->name); in p9_error_init()
185 hash = jhash(c->name, c->namelen, 0); in p9_error_init()
186 INIT_HLIST_NODE(&c->list); in p9_error_init()
187 hash_add(hash_errmap, &c->list, hash); in p9_error_init()
204 struct errormap *c; in p9_errstr2errno() local
208 c = NULL; in p9_errstr2errno()
210 hash_for_each_possible(hash_errmap, c, list, hash) { in p9_errstr2errno()
211 if (c->namelen == len && !memcmp(c->name, errstr, len)) { in p9_errstr2errno()
212 errno = c->val; in p9_errstr2errno()