Lines Matching refs:nlen
27 static int afs_lookup_one_filldir(struct dir_context *ctx, const char *name, int nlen,
29 static int afs_lookup_filldir(struct dir_context *ctx, const char *name, int nlen,
400 size_t nlen; in afs_dir_iterate_block() local
426 nlen = strnlen(dire->u.name, in afs_dir_iterate_block()
429 if (nlen > AFSNAMEMAX - 1) { in afs_dir_iterate_block()
432 offset, nlen); in afs_dir_iterate_block()
439 nlen, dire->u.name); in afs_dir_iterate_block()
441 nr_slots = afs_dir_calc_slots(nlen); in afs_dir_iterate_block()
448 offset, next, nlen); in afs_dir_iterate_block()
469 if (!dir_emit(ctx, dire->u.name, nlen, in afs_dir_iterate_block()
568 int nlen, loff_t fpos, u64 ino, unsigned dtype) in afs_lookup_one_filldir() argument
574 cookie->name.name, cookie->name.len, name, nlen, in afs_lookup_one_filldir()
581 if (cookie->name.len != nlen || in afs_lookup_one_filldir()
582 memcmp(cookie->name.name, name, nlen) != 0) { in afs_lookup_one_filldir()
636 int nlen, loff_t fpos, u64 ino, unsigned dtype) in afs_lookup_filldir() argument
643 cookie->name.name, cookie->name.len, name, nlen, in afs_lookup_filldir()
656 } else if (cookie->name.len == nlen && in afs_lookup_filldir()
657 memcmp(cookie->name.name, name, nlen) == 0) { in afs_lookup_filldir()