Home
last modified time | relevance | path

Searched refs:namlen (Results 1 – 20 of 20) sorted by relevance

/linux/fs/
A Dreaddir.c153 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()
233 buf->error = verify_dirent_name(name, namlen); in filldir()
320 buf->error = verify_dirent_name(name, namlen); in filldir64()
401 int namlen, loff_t offset, u64 ino, in compat_fillonedir() argument
411 buf->result = verify_dirent_name(name, namlen); in compat_fillonedir()
422 (unsigned long)(dirent->d_name + namlen + 1) - in compat_fillonedir()
427 unsafe_put_user(namlen, &dirent->d_namlen, efault_end); in compat_fillonedir()
482 namlen + 2, sizeof(compat_long_t)); in compat_filldir()
[all …]
/linux/fs/jfs/
A Djfs_dtree.c594 ciKey.namlen = key->namlen; in dtSearch()
2037 s->namlen = 0; in dtSplitRoot()
3610 namlen = ih->namlen; in dtCompare()
3693 namlen = lh->namlen; in ciCompare()
3706 namlen = ih->namlen; in ciCompare()
3799 namlen = min(lkey.namlen, rkey.namlen); in ciGetLeafPrefixKey()
3801 namlen; pl++, pr++, namlen--, klen++, kname++) { in ciGetLeafPrefixKey()
3810 if (lkey.namlen < rkey.namlen) { in ciGetLeafPrefixKey()
3847 namlen = lh->namlen; in dtGetKey()
3856 namlen = ih->namlen; in dtGetKey()
[all …]
A Djfs_unicode.c116 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()
A Djfs_dtree.h56 u8 namlen; /* 1: */ member
75 u8 namlen; /* 1: */ member
A Djfs_types.h123 int namlen; member
/linux/fs/nfsd/
A Dnfs3xdr.c1056 const char *name, int namlen, u64 ino) in compose_entry_fh() argument
1065 if (isdotent(name, namlen)) { in compose_entry_fh()
1066 if (namlen == 2) { in compose_entry_fh()
1079 dchild = lookup_positive_unlocked(name, dparent, namlen); in compose_entry_fh()
1113 int namlen, loff_t offset, u64 ino) in svcxdr_encode_entry3_common() argument
1152 int nfs3svc_encode_entry3(void *data, const char *name, int namlen, in nfs3svc_encode_entry3() argument
1164 if (!svcxdr_encode_entry3_common(resp, name, namlen, offset, ino)) in nfs3svc_encode_entry3()
1180 int namlen, u64 ino) in svcxdr_encode_entry3_plus() argument
1188 if (compose_entry_fh(resp, fhp, name, namlen, ino) != nfs_ok) in svcxdr_encode_entry3_plus()
1239 if (!svcxdr_encode_entry3_common(resp, name, namlen, offset, ino)) in nfs3svc_encode_entryplus3()
[all …]
A Dnfsxdr.c575 int namlen, loff_t offset, u64 ino) in svcxdr_encode_entry_common() argument
586 if (xdr_stream_encode_opaque(xdr, name, min(namlen, NFS2_MAXNAMLEN)) < 0) in svcxdr_encode_entry_common()
614 int nfssvc_encode_entry(void *data, const char *name, int namlen, in nfssvc_encode_entry() argument
626 if (!svcxdr_encode_entry_common(resp, name, namlen, offset, ino)) in nfssvc_encode_entry()
A Dxdr3.h304 int nfs3svc_encode_entry3(void *data, const char *name, int namlen,
306 int nfs3svc_encode_entryplus3(void *data, const char *name, int namlen,
A Dvfs.c1921 int namlen; member
1934 int namlen, loff_t offset, u64 ino, in nfsd_buffered_filldir() argument
1942 reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); in nfsd_buffered_filldir()
1948 de->namlen = namlen; in nfsd_buffered_filldir()
1952 memcpy(de->name, name, namlen); in nfsd_buffered_filldir()
1999 if (func(cdp, de->name, de->namlen, de->offset, in nfsd_buffered_readdir()
2006 trace_nfsd_dirent(fhp, de->ino, de->name, de->namlen); in nfsd_buffered_readdir()
2008 reclen = ALIGN(sizeof(*de) + de->namlen, in nfsd_buffered_readdir()
A Dxdr.h164 int nfssvc_encode_entry(void *data, const char *name, int namlen,
A Dtrace.h399 int namlen),
400 TP_ARGS(fhp, ino, name, namlen),
404 __string_len(name, name, namlen)
409 __assign_str_len(name, name, namlen)
A Dnfs4recover.c270 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()
A Dnfs4xdr.c3406 const char *name, int namlen) in nfsd4_encode_dirent_fattr() argument
3413 dentry = lookup_positive_unlocked(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr()
3475 nfsd4_encode_dirent(void *ccdv, const char *name, int namlen, in nfsd4_encode_dirent() argument
3490 if (name && isdotent(name, namlen)) { in nfsd4_encode_dirent()
3506 p = xdr_reserve_space(xdr, 3*4 + namlen); in nfsd4_encode_dirent()
3510 p = xdr_encode_array(p, name, namlen); /* name length & name */ in nfsd4_encode_dirent()
3512 nfserr = nfsd4_encode_dirent_fattr(xdr, cd, name, namlen); in nfsd4_encode_dirent()
3549 name_and_cookie = 4 + 4 * XDR_QUADLEN(namlen) + 8; in nfsd4_encode_dirent()
/linux/include/uapi/linux/
A Dnfs_mount.h42 int namlen; /* 2 */ member
/linux/arch/alpha/kernel/
A Dosf_sys.c111 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()
/linux/fs/ksmbd/
A Dvfs.c1110 static int __dir_empty(struct dir_context *ctx, const char *name, int namlen, in __dir_empty() argument
1148 int namlen, loff_t offset, u64 ino, in __caseless_lookup() argument
1155 if (buf->used != namlen) in __caseless_lookup()
1157 if (!strncasecmp((char *)buf->private, name, namlen)) { in __caseless_lookup()
1158 memcpy((char *)buf->private, name, namlen); in __caseless_lookup()
A Dsmb2pdu.c3767 static int __query_dir(struct dir_context *ctx, const char *name, int namlen, in __query_dir() argument
3784 if (!match_pattern(name, namlen, priv->search_pattern)) in __query_dir()
3788 d_info->name_len = namlen; in __query_dir()
/linux/fs/nfs/
A Dfs_context.c649 ctx->namlen = result.uint_32; in nfs_fs_context_parse_param()
968 data->namlen = 0; in nfs23_parse_monolithic()
1044 ctx->namlen = data->namlen; in nfs23_parse_monolithic()
A Dinternal.h89 unsigned int namlen; member
A Dclient.c747 server->namelen = ctx->namlen; in nfs_init_server()

Completed in 76 milliseconds