/linux-4.19.296/fs/ |
D | readdir.c | 125 static int fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir() argument 135 buf->result = verify_dirent_name(name, namlen); in fillonedir() 146 (unsigned long)(dirent->d_name + namlen + 1) - in fillonedir() 151 __put_user(namlen, &dirent->d_namlen) || in fillonedir() 152 __copy_to_user(dirent->d_name, name, namlen) || in fillonedir() 153 __put_user(0, dirent->d_name + namlen)) in fillonedir() 203 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir() argument 210 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir() 213 buf->error = verify_dirent_name(name, namlen); in filldir() 236 if (copy_to_user(dirent->d_name, name, namlen)) in filldir() [all …]
|
/linux-4.19.296/fs/jfs/ |
D | jfs_dtree.c | 607 ciKey.namlen = key->namlen; in dtSearch() 854 n = NDTLEAF(name->namlen); in dtInsert() 858 n = NDTLEAF_LEGACY(name->namlen); in dtInsert() 1203 key.name[key.namlen] = 0; in dtSplitUp() 1209 n = NDTINTERNAL(key.namlen); in dtSplitUp() 1214 n = NDTINTERNAL(key.namlen); in dtSplitUp() 1527 n = NDTLEAF(ldtentry->namlen); in dtSplitPage() 1530 namlen); in dtSplitPage() 1535 n = NDTINTERNAL(idtentry->namlen); in dtSplitPage() 2050 s->namlen = 0; in dtSplitRoot() [all …]
|
D | jfs_unicode.c | 129 uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name, in get_UCSname() 132 if (uniName->namlen < 0) { in get_UCSname() 134 return uniName->namlen; in get_UCSname()
|
D | jfs_dtree.h | 69 u8 namlen; /* 1: */ member 88 u8 namlen; /* 1: */ member
|
D | jfs_types.h | 136 int namlen; member
|
/linux-4.19.296/fs/nfsd/ |
D | nfs3xdr.c | 821 int namlen, u64 ino) in encode_entry_baggage() argument 825 p = xdr_encode_array(p, name, namlen);/* name length & name */ in encode_entry_baggage() 835 const char *name, int namlen, u64 ino) in compose_entry_fh() argument 844 if (isdotent(name, namlen)) { in compose_entry_fh() 845 if (namlen == 2) { in compose_entry_fh() 858 dchild = lookup_positive_unlocked(name, dparent, namlen); in compose_entry_fh() 871 …de_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, int namlen, u64 ino) in encode_entryplus_baggage() argument 877 err = compose_entry_fh(cd, fh, name, namlen, ino); in encode_entryplus_baggage() 904 encode_entry(struct readdir_cd *ccd, const char *name, int namlen, in encode_entry() argument 936 namlen = min(namlen, NFS3_MAXNAMLEN); in encode_entry() [all …]
|
D | nfsxdr.c | 517 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfssvc_encode_entry() argument 537 namlen = min(namlen, NFS2_MAXNAMLEN); in nfssvc_encode_entry() 538 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry() 550 p = xdr_encode_array(p, name, namlen);/* name length & name */ in nfssvc_encode_entry()
|
D | xdr3.h | 310 int namlen, loff_t offset, u64 ino, 313 int namlen, loff_t offset, u64 ino,
|
D | xdr.h | 157 int namlen, loff_t offset, u64 ino, unsigned int);
|
D | vfs.c | 1826 int namlen; member 1839 int namlen, loff_t offset, u64 ino, in nfsd_buffered_filldir() argument 1847 reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); in nfsd_buffered_filldir() 1853 de->namlen = namlen; in nfsd_buffered_filldir() 1857 memcpy(de->name, name, namlen); in nfsd_buffered_filldir() 1903 if (func(cdp, de->name, de->namlen, de->offset, in nfsd_buffered_readdir() 1910 reclen = ALIGN(sizeof(*de) + de->namlen, in nfsd_buffered_readdir()
|
D | nfs4recover.c | 254 nfsd4_build_namelist(struct dir_context *__ctx, const char *name, int namlen, in nfsd4_build_namelist() argument 261 if (namlen != HEXDIR_LEN - 1) in nfsd4_build_namelist() 323 nfsd4_unlink_clid_dir(char *name, int namlen, struct nfsd_net *nn) in nfsd4_unlink_clid_dir() argument 328 dprintk("NFSD: nfsd4_unlink_clid_dir. name %.*s\n", namlen, name); in nfsd4_unlink_clid_dir() 332 dentry = lookup_one_len(name, dir, namlen); in nfsd4_unlink_clid_dir()
|
D | nfs4xdr.c | 2980 const char *name, int namlen) in nfsd4_encode_dirent_fattr() argument 2987 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr() 3049 nfsd4_encode_dirent(void *ccdv, const char *name, int namlen, in nfsd4_encode_dirent() argument 3064 if (name && isdotent(name, namlen)) { in nfsd4_encode_dirent() 3080 p = xdr_reserve_space(xdr, 3*4 + namlen); in nfsd4_encode_dirent() 3084 p = xdr_encode_array(p, name, namlen); /* name length & name */ in nfsd4_encode_dirent() 3086 nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); in nfsd4_encode_dirent() 3134 name_and_cookie = 4 + 4 * XDR_QUADLEN(namlen) + 8; in nfsd4_encode_dirent()
|
/linux-4.19.296/include/uapi/linux/ |
D | nfs_mount.h | 42 int namlen; /* 2 */ member
|
/linux-4.19.296/fs/nfs/ |
D | super.c | 1401 mnt->namlen = option; in nfs_parse_mount_options() 2001 data->namlen = 0; /* fall through */ in nfs23_validate_mount_data() 2063 args->namlen = data->namlen; in nfs23_validate_mount_data()
|
D | internal.h | 97 unsigned int namlen; member
|
D | client.c | 722 server->namelen = data->namlen; in nfs_init_server()
|