/kernel/linux/linux-5.10/fs/ |
D | readdir.c | 143 static int fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir() argument 153 buf->result = verify_dirent_name(name, namlen); in fillonedir() 164 (unsigned long)(dirent->d_name + namlen + 1) - in fillonedir() 169 unsafe_put_user(namlen, &dirent->d_namlen, efault_end); in fillonedir() 170 unsafe_copy_dirent_name(dirent->d_name, name, namlen, efault_end); in fillonedir() 222 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir() argument 229 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir() 233 buf->error = verify_dirent_name(name, namlen); in filldir() 257 unsafe_copy_dirent_name(dirent->d_name, name, namlen, efault_end); in filldir() 310 static int filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64() argument [all …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfs3xdr.c | 840 int namlen, u64 ino) in encode_entry_baggage() argument 844 p = xdr_encode_array(p, name, namlen);/* name length & name */ in encode_entry_baggage() 854 const char *name, int namlen, u64 ino) in compose_entry_fh() argument 863 if (isdotent(name, namlen)) { in compose_entry_fh() 864 if (namlen == 2) { in compose_entry_fh() 877 dchild = lookup_positive_unlocked(name, dparent, namlen); in compose_entry_fh() 890 …de_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, int namlen, u64 ino) in encode_entryplus_baggage() argument 896 err = compose_entry_fh(cd, fh, name, namlen, ino); in encode_entryplus_baggage() 923 encode_entry(struct readdir_cd *ccd, const char *name, int namlen, in encode_entry() argument 955 namlen = min(namlen, NFS3_MAXNAMLEN); in encode_entry() [all …]
|
D | nfsxdr.c | 551 int namlen, loff_t offset, u64 ino, unsigned int d_type) in nfssvc_encode_entry() argument 571 namlen = min(namlen, NFS2_MAXNAMLEN); in nfssvc_encode_entry() 572 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry() 584 p = xdr_encode_array(p, name, namlen);/* name length & name */ in nfssvc_encode_entry()
|
D | xdr3.h | 313 int namlen, loff_t offset, u64 ino, 316 int namlen, loff_t offset, u64 ino,
|
D | xdr.h | 169 int namlen, loff_t offset, u64 ino, unsigned int);
|
D | vfs.c | 1928 int namlen; member 1941 int namlen, loff_t offset, u64 ino, in nfsd_buffered_filldir() argument 1949 reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); in nfsd_buffered_filldir() 1955 de->namlen = namlen; in nfsd_buffered_filldir() 1959 memcpy(de->name, name, namlen); in nfsd_buffered_filldir() 2005 if (func(cdp, de->name, de->namlen, de->offset, in nfsd_buffered_readdir() 2012 reclen = ALIGN(sizeof(*de) + de->namlen, in nfsd_buffered_readdir()
|
D | nfs4recover.c | 270 nfsd4_build_namelist(struct dir_context *__ctx, const char *name, int namlen, in nfsd4_build_namelist() argument 277 if (namlen != HEXDIR_LEN - 1) in nfsd4_build_namelist() 339 nfsd4_unlink_clid_dir(char *name, int namlen, struct nfsd_net *nn) in nfsd4_unlink_clid_dir() argument 344 dprintk("NFSD: nfsd4_unlink_clid_dir. name %.*s\n", namlen, name); in nfsd4_unlink_clid_dir() 348 dentry = lookup_one_len(name, dir, namlen); in nfsd4_unlink_clid_dir()
|
D | nfs4xdr.c | 3292 const char *name, int namlen) in nfsd4_encode_dirent_fattr() argument 3299 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr() 3361 nfsd4_encode_dirent(void *ccdv, const char *name, int namlen, in nfsd4_encode_dirent() argument 3376 if (name && isdotent(name, namlen)) { in nfsd4_encode_dirent() 3392 p = xdr_reserve_space(xdr, 3*4 + namlen); in nfsd4_encode_dirent() 3396 p = xdr_encode_array(p, name, namlen); /* name length & name */ in nfsd4_encode_dirent() 3398 nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); in nfsd4_encode_dirent() 3446 name_and_cookie = 4 + 4 * XDR_QUADLEN(namlen) + 8; in nfsd4_encode_dirent()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | nfs_mount.h | 42 int namlen; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | nfs_mount.h | 42 int namlen; /* 2 */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | nfs_mount.h | 29 int namlen; member
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | osf_sys.c | 111 osf_filldir(struct dir_context *ctx, const char *name, int namlen, in osf_filldir() argument 117 unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32)); in osf_filldir() 135 put_user(namlen, &dirent->d_namlen) || in osf_filldir() 137 copy_to_user(dirent->d_name, name, namlen) || in osf_filldir() 138 put_user(0, dirent->d_name + namlen)) in osf_filldir()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | fs_context.c | 612 ctx->namlen = result.uint_32; in nfs_fs_context_parse_param() 903 data->namlen = 0; in nfs23_parse_monolithic() 979 ctx->namlen = data->namlen; in nfs23_parse_monolithic()
|
D | internal.h | 104 unsigned int namlen; member
|
D | client.c | 738 server->namelen = ctx->namlen; in nfs_init_server()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 1973 +static __inline void fill_name(char *dst_name, int nlen, const unsigned char *name, int namlen) 1975 + int len = nlen < namlen ? nlen : namlen;
|