Home
last modified time | relevance | path

Searched refs:pathlen (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/
Dxfs_vnodeops.c66 int pathlen = ip->i_d.di_size; in xfs_readlink_bmap() local
75 error = xfs_bmapi_read(ip, 0, XFS_B_TO_FSB(mp, pathlen), mval, &nmaps, in xfs_readlink_bmap()
94 if (pathlen < byte_cnt) in xfs_readlink_bmap()
95 byte_cnt = pathlen; in xfs_readlink_bmap()
96 pathlen -= byte_cnt; in xfs_readlink_bmap()
115 xfs_fsize_t pathlen; in xfs_readlink() local
125 pathlen = ip->i_d.di_size; in xfs_readlink()
126 if (!pathlen) in xfs_readlink()
129 if (pathlen < 0 || pathlen > MAXPATHLEN) { in xfs_readlink()
132 (long long) pathlen); in xfs_readlink()
[all …]
/fs/
Ddcookies.c154 size_t pathlen; in SYSCALL_DEFINE() local
190 pathlen = kbuf + PAGE_SIZE - path; in SYSCALL_DEFINE()
191 if (pathlen <= len) { in SYSCALL_DEFINE()
192 err = pathlen; in SYSCALL_DEFINE()
193 if (copy_to_user(buf, path, pathlen)) in SYSCALL_DEFINE()
/fs/ceph/
Ddebugfs.c55 int pathlen; in mdsc_show() local
81 path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in mdsc_show()
99 path = ceph_mdsc_build_path(req->r_old_dentry, &pathlen, in mdsc_show()
Dmds_client.c1587 const char **ppath, int *pathlen, in set_request_path_attr() argument
1593 r = build_inode_path(rinode, ppath, pathlen, ino, freepath); in set_request_path_attr()
1597 r = build_dentry_path(rdentry, ppath, pathlen, ino, freepath); in set_request_path_attr()
1598 dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, in set_request_path_attr()
1603 *pathlen = strlen(rpath); in set_request_path_attr()
1604 dout(" path %.*s\n", *pathlen, rpath); in set_request_path_attr()
2403 int pathlen, err; in encode_caps_cb() local
2418 path = ceph_mdsc_build_path(dentry, &pathlen, &pathbase, 0); in encode_caps_cb()
2425 pathlen = 0; in encode_caps_cb()
2427 err = ceph_pagelist_encode_string(pagelist, path, pathlen); in encode_caps_cb()
/fs/nfs/
Ddir.c1871 unsigned int pathlen = strlen(symname); in nfs_symlink() local
1877 if (pathlen > PAGE_SIZE) in nfs_symlink()
1888 memcpy(kaddr, symname, pathlen); in nfs_symlink()
1889 if (pathlen < PAGE_SIZE) in nfs_symlink()
1890 memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen); in nfs_symlink()
1893 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); in nfs_symlink()
Dproc.c454 .pathlen = len, in nfs_proc_symlink()
Dnfs2xdr.c745 encode_path(xdr, args->pages, args->pathlen); in nfs2_xdr_enc_symlinkargs()
Dnfs3proc.c561 data->arg.symlink.pathlen = len; in nfs3_proc_symlink()
Dnfs3xdr.c1088 encode_nfspath3(xdr, args->pages, args->pathlen); in encode_symlinkdata3()