namlen 111 arch/alpha/kernel/osf_sys.c osf_filldir(struct dir_context *ctx, const char *name, int namlen, namlen 117 arch/alpha/kernel/osf_sys.c unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32)); namlen 135 arch/alpha/kernel/osf_sys.c put_user(namlen, &dirent->d_namlen) || namlen 137 arch/alpha/kernel/osf_sys.c copy_to_user(dirent->d_name, name, namlen) || namlen 138 arch/alpha/kernel/osf_sys.c put_user(0, dirent->d_name + namlen)) namlen 594 fs/jfs/jfs_dtree.c ciKey.namlen = key->namlen; namlen 841 fs/jfs/jfs_dtree.c n = NDTLEAF(name->namlen); namlen 845 fs/jfs/jfs_dtree.c n = NDTLEAF_LEGACY(name->namlen); namlen 1190 fs/jfs/jfs_dtree.c key.name[key.namlen] = 0; namlen 1196 fs/jfs/jfs_dtree.c n = NDTINTERNAL(key.namlen); namlen 1201 fs/jfs/jfs_dtree.c n = NDTINTERNAL(key.namlen); namlen 1514 fs/jfs/jfs_dtree.c n = NDTLEAF(ldtentry->namlen); namlen 1517 fs/jfs/jfs_dtree.c namlen); namlen 1522 fs/jfs/jfs_dtree.c n = NDTINTERNAL(idtentry->namlen); namlen 2037 fs/jfs/jfs_dtree.c s->namlen = 0; namlen 3187 fs/jfs/jfs_dtree.c if (((long) jfs_dirent + d->namlen + 1) > namlen 3195 fs/jfs/jfs_dtree.c d_namleft = d->namlen; namlen 3584 fs/jfs/jfs_dtree.c int klen, namlen, len, rc; namlen 3605 fs/jfs/jfs_dtree.c klen = key->namlen; namlen 3610 fs/jfs/jfs_dtree.c namlen = ih->namlen; namlen 3611 fs/jfs/jfs_dtree.c len = min(namlen, DTIHDRDATALEN); namlen 3619 fs/jfs/jfs_dtree.c namlen -= len; namlen 3623 fs/jfs/jfs_dtree.c while (klen > 0 && namlen > 0) { namlen 3626 fs/jfs/jfs_dtree.c len = min(namlen, DTSLOTDATALEN); namlen 3633 fs/jfs/jfs_dtree.c namlen -= len; namlen 3638 fs/jfs/jfs_dtree.c return (klen - namlen); namlen 3661 fs/jfs/jfs_dtree.c int klen, namlen, len, rc; namlen 3684 fs/jfs/jfs_dtree.c klen = key->namlen; namlen 3693 fs/jfs/jfs_dtree.c namlen = lh->namlen; namlen 3695 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN); namlen 3697 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN_LEGACY); namlen 3706 fs/jfs/jfs_dtree.c namlen = ih->namlen; namlen 3707 fs/jfs/jfs_dtree.c len = min(namlen, DTIHDRDATALEN); namlen 3723 fs/jfs/jfs_dtree.c namlen -= len; namlen 3726 fs/jfs/jfs_dtree.c while (klen > 0 && namlen > 0) { namlen 3729 fs/jfs/jfs_dtree.c len = min(namlen, DTSLOTDATALEN); namlen 3744 fs/jfs/jfs_dtree.c namlen -= len; namlen 3748 fs/jfs/jfs_dtree.c return (klen - namlen); namlen 3765 fs/jfs/jfs_dtree.c int klen, namlen; namlen 3784 fs/jfs/jfs_dtree.c lkey.name[lkey.namlen] = 0; namlen 3790 fs/jfs/jfs_dtree.c rkey.name[rkey.namlen] = 0; namlen 3799 fs/jfs/jfs_dtree.c namlen = min(lkey.namlen, rkey.namlen); namlen 3801 fs/jfs/jfs_dtree.c namlen; pl++, pr++, namlen--, klen++, kname++) { namlen 3804 fs/jfs/jfs_dtree.c key->namlen = klen + 1; namlen 3810 fs/jfs/jfs_dtree.c if (lkey.namlen < rkey.namlen) { namlen 3812 fs/jfs/jfs_dtree.c key->namlen = klen + 1; namlen 3814 fs/jfs/jfs_dtree.c key->namlen = klen; namlen 3837 fs/jfs/jfs_dtree.c int namlen, len; namlen 3847 fs/jfs/jfs_dtree.c namlen = lh->namlen; namlen 3850 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN); namlen 3852 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN_LEGACY); namlen 3856 fs/jfs/jfs_dtree.c namlen = ih->namlen; namlen 3858 fs/jfs/jfs_dtree.c len = min(namlen, DTIHDRDATALEN); namlen 3861 fs/jfs/jfs_dtree.c key->namlen = namlen; namlen 3876 fs/jfs/jfs_dtree.c namlen -= len; namlen 3877 fs/jfs/jfs_dtree.c len = min(namlen, DTSLOTDATALEN); namlen 3910 fs/jfs/jfs_dtree.c klen = key->namlen; namlen 3931 fs/jfs/jfs_dtree.c lh->namlen = klen; namlen 3947 fs/jfs/jfs_dtree.c ih->namlen = klen; namlen 4121 fs/jfs/jfs_dtree.c snamlen = slh->namlen; namlen 4138 fs/jfs/jfs_dtree.c snamlen = sih->namlen; namlen 4371 fs/jfs/jfs_dtree.c ((struct idtentry *) t)->namlen = 0; namlen 56 fs/jfs/jfs_dtree.h u8 namlen; /* 1: */ namlen 75 fs/jfs/jfs_dtree.h u8 namlen; /* 1: */ namlen 123 fs/jfs/jfs_types.h int namlen; namlen 116 fs/jfs/jfs_unicode.c uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name, namlen 119 fs/jfs/jfs_unicode.c if (uniName->namlen < 0) { namlen 121 fs/jfs/jfs_unicode.c return uniName->namlen; namlen 722 fs/nfs/client.c server->namelen = data->namlen; namlen 91 fs/nfs/internal.h unsigned int namlen; namlen 1417 fs/nfs/super.c mnt->namlen = option; namlen 2021 fs/nfs/super.c data->namlen = 0; /* fall through */ namlen 2083 fs/nfs/super.c args->namlen = data->namlen; namlen 834 fs/nfsd/nfs3xdr.c int namlen, u64 ino) namlen 838 fs/nfsd/nfs3xdr.c p = xdr_encode_array(p, name, namlen);/* name length & name */ namlen 848 fs/nfsd/nfs3xdr.c const char *name, int namlen, u64 ino) namlen 857 fs/nfsd/nfs3xdr.c if (isdotent(name, namlen)) { namlen 858 fs/nfsd/nfs3xdr.c if (namlen == 2) { namlen 866 fs/nfsd/nfs3xdr.c dchild = lookup_one_len_unlocked(name, dparent, namlen); namlen 881 fs/nfsd/nfs3xdr.c static __be32 *encode_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, int namlen, u64 ino) namlen 887 fs/nfsd/nfs3xdr.c err = compose_entry_fh(cd, fh, name, namlen, ino); namlen 914 fs/nfsd/nfs3xdr.c encode_entry(struct readdir_cd *ccd, const char *name, int namlen, namlen 946 fs/nfsd/nfs3xdr.c namlen = min(namlen, NFS3_MAXNAMLEN); namlen 948 fs/nfsd/nfs3xdr.c slen = XDR_QUADLEN(namlen); namlen 970 fs/nfsd/nfs3xdr.c p = encode_entry_baggage(cd, p, name, namlen, ino); namlen 973 fs/nfsd/nfs3xdr.c p = encode_entryplus_baggage(cd, p, name, namlen, ino); namlen 984 fs/nfsd/nfs3xdr.c p1 = encode_entry_baggage(cd, p1, name, namlen, ino); namlen 987 fs/nfsd/nfs3xdr.c p1 = encode_entryplus_baggage(cd, p1, name, namlen, ino); namlen 1045 fs/nfsd/nfs3xdr.c int namlen, loff_t offset, u64 ino, unsigned int d_type) namlen 1047 fs/nfsd/nfs3xdr.c return encode_entry(cd, name, namlen, offset, ino, d_type, 0); namlen 1052 fs/nfsd/nfs3xdr.c int namlen, loff_t offset, u64 ino, namlen 1055 fs/nfsd/nfs3xdr.c return encode_entry(cd, name, namlen, offset, ino, d_type, 1); namlen 278 fs/nfsd/nfs4recover.c nfsd4_build_namelist(struct dir_context *__ctx, const char *name, int namlen, namlen 285 fs/nfsd/nfs4recover.c if (namlen != HEXDIR_LEN - 1) namlen 347 fs/nfsd/nfs4recover.c nfsd4_unlink_clid_dir(char *name, int namlen, struct nfsd_net *nn) namlen 352 fs/nfsd/nfs4recover.c dprintk("NFSD: nfsd4_unlink_clid_dir. name %.*s\n", namlen, name); namlen 356 fs/nfsd/nfs4recover.c dentry = lookup_one_len(name, dir, namlen); namlen 2987 fs/nfsd/nfs4xdr.c const char *name, int namlen) namlen 2994 fs/nfsd/nfs4xdr.c dentry = lookup_one_len_unlocked(name, cd->rd_fhp->fh_dentry, namlen); namlen 3065 fs/nfsd/nfs4xdr.c nfsd4_encode_dirent(void *ccdv, const char *name, int namlen, namlen 3080 fs/nfsd/nfs4xdr.c if (name && isdotent(name, namlen)) { namlen 3096 fs/nfsd/nfs4xdr.c p = xdr_reserve_space(xdr, 3*4 + namlen); namlen 3100 fs/nfsd/nfs4xdr.c p = xdr_encode_array(p, name, namlen); /* name length & name */ namlen 3102 fs/nfsd/nfs4xdr.c nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); namlen 3139 fs/nfsd/nfs4xdr.c name_and_cookie = 4 + 4 * XDR_QUADLEN(namlen) + 8; namlen 518 fs/nfsd/nfsxdr.c int namlen, loff_t offset, u64 ino, unsigned int d_type) namlen 538 fs/nfsd/nfsxdr.c namlen = min(namlen, NFS2_MAXNAMLEN); namlen 539 fs/nfsd/nfsxdr.c slen = XDR_QUADLEN(namlen); namlen 551 fs/nfsd/nfsxdr.c p = xdr_encode_array(p, name, namlen);/* name length & name */ namlen 1843 fs/nfsd/vfs.c int namlen; namlen 1856 fs/nfsd/vfs.c int namlen, loff_t offset, u64 ino, namlen 1864 fs/nfsd/vfs.c reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); namlen 1870 fs/nfsd/vfs.c de->namlen = namlen; namlen 1874 fs/nfsd/vfs.c memcpy(de->name, name, namlen); namlen 1920 fs/nfsd/vfs.c if (func(cdp, de->name, de->namlen, de->offset, namlen 1927 fs/nfsd/vfs.c reclen = ALIGN(sizeof(*de) + de->namlen, namlen 157 fs/nfsd/xdr.h int namlen, loff_t offset, u64 ino, unsigned int); namlen 310 fs/nfsd/xdr3.h int namlen, loff_t offset, u64 ino, namlen 313 fs/nfsd/xdr3.h int namlen, loff_t offset, u64 ino, namlen 143 fs/readdir.c static int fillonedir(struct dir_context *ctx, const char *name, int namlen, namlen 161 fs/readdir.c (unsigned long)(dirent->d_name + namlen + 1) - namlen 166 fs/readdir.c __put_user(namlen, &dirent->d_namlen) || namlen 167 fs/readdir.c __copy_to_user(dirent->d_name, name, namlen) || namlen 168 fs/readdir.c __put_user(0, dirent->d_name + namlen)) namlen 218 fs/readdir.c static int filldir(struct dir_context *ctx, const char *name, int namlen, namlen 225 fs/readdir.c int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, namlen 229 fs/readdir.c buf->error = verify_dirent_name(name, namlen); namlen 253 fs/readdir.c unsafe_copy_dirent_name(dirent->d_name, name, namlen, efault_end); namlen 309 fs/readdir.c static int filldir64(struct dir_context *ctx, const char *name, int namlen, namlen 315 fs/readdir.c int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, namlen 319 fs/readdir.c buf->error = verify_dirent_name(name, namlen); namlen 338 fs/readdir.c unsafe_copy_dirent_name(dirent->d_name, name, namlen, efault_end); namlen 410 fs/readdir.c int namlen, loff_t offset, u64 ino, namlen 428 fs/readdir.c (unsigned long)(dirent->d_name + namlen + 1) - namlen 433 fs/readdir.c __put_user(namlen, &dirent->d_namlen) || namlen 434 fs/readdir.c __copy_to_user(dirent->d_name, name, namlen) || namlen 435 fs/readdir.c __put_user(0, dirent->d_name + namlen)) namlen 479 fs/readdir.c static int compat_filldir(struct dir_context *ctx, const char *name, int namlen, namlen 487 fs/readdir.c namlen + 2, sizeof(compat_long_t)); namlen 509 fs/readdir.c if (copy_to_user(dirent->d_name, name, namlen)) namlen 511 fs/readdir.c if (__put_user(0, dirent->d_name + namlen)) namlen 42 include/uapi/linux/nfs_mount.h int namlen; /* 2 */