/fs/ |
D | readdir.c | 143 static int fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir() argument 161 (unsigned long)(dirent->d_name + namlen + 1) - in fillonedir() 166 __put_user(namlen, &dirent->d_namlen) || in fillonedir() 167 __copy_to_user(dirent->d_name, name, namlen) || in fillonedir() 168 __put_user(0, dirent->d_name + namlen)) in fillonedir() 218 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir() argument 225 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir() 229 buf->error = verify_dirent_name(name, namlen); in filldir() 253 unsafe_copy_dirent_name(dirent->d_name, name, namlen, efault_end); in filldir() 309 static int filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64() argument [all …]
|
/fs/jfs/ |
D | jfs_dtree.c | 594 ciKey.namlen = key->namlen; in dtSearch() 841 n = NDTLEAF(name->namlen); in dtInsert() 845 n = NDTLEAF_LEGACY(name->namlen); in dtInsert() 1190 key.name[key.namlen] = 0; in dtSplitUp() 1196 n = NDTINTERNAL(key.namlen); in dtSplitUp() 1201 n = NDTINTERNAL(key.namlen); in dtSplitUp() 1514 n = NDTLEAF(ldtentry->namlen); in dtSplitPage() 1517 namlen); in dtSplitPage() 1522 n = NDTINTERNAL(idtentry->namlen); in dtSplitPage() 2037 s->namlen = 0; in dtSplitRoot() [all …]
|
D | jfs_unicode.c | 116 uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name, in get_UCSname() 119 if (uniName->namlen < 0) { in get_UCSname() 121 return uniName->namlen; in get_UCSname()
|
D | jfs_dtree.h | 56 u8 namlen; /* 1: */ member 75 u8 namlen; /* 1: */ member
|
D | jfs_types.h | 123 int namlen; member
|
/fs/nfsd/ |
D | nfs3xdr.c | 834 int namlen, u64 ino) in encode_entry_baggage() argument 838 p = xdr_encode_array(p, name, namlen);/* name length & name */ in encode_entry_baggage() 848 const char *name, int namlen, u64 ino) in compose_entry_fh() argument 857 if (isdotent(name, namlen)) { in compose_entry_fh() 858 if (namlen == 2) { in compose_entry_fh() 866 dchild = lookup_one_len_unlocked(name, dparent, namlen); in compose_entry_fh() 881 …de_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, int namlen, u64 ino) in encode_entryplus_baggage() argument 887 err = compose_entry_fh(cd, fh, name, namlen, ino); in encode_entryplus_baggage() 914 encode_entry(struct readdir_cd *ccd, const char *name, int namlen, in encode_entry() argument 946 namlen = min(namlen, NFS3_MAXNAMLEN); in encode_entry() [all …]
|
D | nfsxdr.c | 518 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfssvc_encode_entry() argument 538 namlen = min(namlen, NFS2_MAXNAMLEN); in nfssvc_encode_entry() 539 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry() 551 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 | vfs.c | 1833 int namlen; member 1846 int namlen, loff_t offset, u64 ino, in nfsd_buffered_filldir() argument 1854 reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); in nfsd_buffered_filldir() 1860 de->namlen = namlen; in nfsd_buffered_filldir() 1864 memcpy(de->name, name, namlen); in nfsd_buffered_filldir() 1910 if (func(cdp, de->name, de->namlen, de->offset, in nfsd_buffered_readdir() 1917 reclen = ALIGN(sizeof(*de) + de->namlen, in nfsd_buffered_readdir()
|
D | xdr.h | 157 int namlen, loff_t offset, u64 ino, unsigned int);
|
D | nfs4recover.c | 278 nfsd4_build_namelist(struct dir_context *__ctx, const char *name, int namlen, in nfsd4_build_namelist() argument 285 if (namlen != HEXDIR_LEN - 1) in nfsd4_build_namelist() 347 nfsd4_unlink_clid_dir(char *name, int namlen, struct nfsd_net *nn) in nfsd4_unlink_clid_dir() argument 352 dprintk("NFSD: nfsd4_unlink_clid_dir. name %.*s\n", namlen, name); in nfsd4_unlink_clid_dir() 356 dentry = lookup_one_len(name, dir, namlen); in nfsd4_unlink_clid_dir()
|
D | nfs4xdr.c | 2987 const char *name, int namlen) in nfsd4_encode_dirent_fattr() argument 2994 dentry = lookup_one_len_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr() 3065 nfsd4_encode_dirent(void *ccdv, const char *name, int namlen, in nfsd4_encode_dirent() argument 3080 if (name && isdotent(name, namlen)) { in nfsd4_encode_dirent() 3096 p = xdr_reserve_space(xdr, 3*4 + namlen); in nfsd4_encode_dirent() 3100 p = xdr_encode_array(p, name, namlen); /* name length & name */ in nfsd4_encode_dirent() 3102 nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); in nfsd4_encode_dirent() 3139 name_and_cookie = 4 + 4 * XDR_QUADLEN(namlen) + 8; in nfsd4_encode_dirent()
|
/fs/nfs/ |
D | super.c | 1417 mnt->namlen = option; in nfs_parse_mount_options() 2021 data->namlen = 0; /* fall through */ in nfs23_validate_mount_data() 2083 args->namlen = data->namlen; in nfs23_validate_mount_data()
|
D | internal.h | 91 unsigned int namlen; member
|
D | client.c | 721 server->namelen = data->namlen; in nfs_init_server()
|