Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_symlink.c38 int pathlen = ip->i_disk_size; in xfs_readlink_bmap_ilocked() local
48 fsblocks = xfs_symlink_blocks(mp, pathlen); in xfs_readlink_bmap_ilocked()
63 if (pathlen < byte_cnt) in xfs_readlink_bmap_ilocked()
64 byte_cnt = pathlen; in xfs_readlink_bmap_ilocked()
84 pathlen -= byte_cnt; in xfs_readlink_bmap_ilocked()
89 ASSERT(pathlen == 0); in xfs_readlink_bmap_ilocked()
104 xfs_fsize_t pathlen; in xfs_readlink() local
114 pathlen = ip->i_disk_size; in xfs_readlink()
115 if (!pathlen) in xfs_readlink()
118 if (pathlen < 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_readlink()
[all …]
/fs/ceph/
Ddebugfs.c58 int pathlen = 0; in mdsc_show() local
84 path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in mdsc_show()
94 ceph_mdsc_free_path(path, pathlen); in mdsc_show()
103 path = ceph_mdsc_build_path(req->r_old_dentry, &pathlen, in mdsc_show()
114 ceph_mdsc_free_path(path, pathlen); in mdsc_show()
Dmds_client.c2503 u64 rino, const char **ppath, int *pathlen, in set_request_path_attr() argument
2509 r = build_inode_path(rinode, ppath, pathlen, ino, freepath); in set_request_path_attr()
2513 r = build_dentry_path(rdentry, rdiri, ppath, pathlen, ino, in set_request_path_attr()
2515 dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, in set_request_path_attr()
2520 *pathlen = rpath ? strlen(rpath) : 0; in set_request_path_attr()
2521 dout(" path %.*s\n", *pathlen, rpath); in set_request_path_attr()
3784 int pathlen = 0, err; in reconnect_caps_cb() local
3795 path = ceph_mdsc_build_path(dentry, &pathlen, &pathbase, in reconnect_caps_cb()
3900 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb()
3924 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb()
[all …]
Ddir.c1082 int pathlen = 0; in ceph_async_unlink_cb() local
1084 char *path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in ceph_async_unlink_cb()
1100 ceph_mdsc_free_path(path, pathlen); in ceph_async_unlink_cb()
Dfile.c528 int pathlen = 0; in ceph_async_create_cb() local
530 char *path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in ceph_async_create_cb()
540 ceph_mdsc_free_path(path, pathlen); in ceph_async_create_cb()
/fs/xfs/libxfs/
Dxfs_symlink_remote.c28 int pathlen) in xfs_symlink_blocks() argument
32 return (pathlen + buflen - 1) / buflen; in xfs_symlink_blocks()
Dxfs_shared.h125 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen);
/fs/nfs/
Ddir.c2337 unsigned int pathlen = strlen(symname); in nfs_symlink() local
2343 if (pathlen > PAGE_SIZE) in nfs_symlink()
2354 memcpy(kaddr, symname, pathlen); in nfs_symlink()
2355 if (pathlen < PAGE_SIZE) in nfs_symlink()
2356 memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen); in nfs_symlink()
2359 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); in nfs_symlink()
Dproc.c411 .pathlen = len, in nfs_proc_symlink()
Dnfs2xdr.c758 encode_path(xdr, args->pages, args->pathlen); in nfs2_xdr_enc_symlinkargs()
Dnfs3proc.c566 data->arg.symlink.pathlen = len; in nfs3_proc_symlink()
Dnfs3xdr.c1084 encode_nfspath3(xdr, args->pages, args->pathlen); in encode_symlinkdata3()
/fs/nfsd/
Dnfs4xdr.c2479 __be32 pathlen; in nfsd4_encode_components_esc() local
2526 pathlen = htonl(count); in nfsd4_encode_components_esc()
2527 write_bytes_to_xdr_buf(xdr->buf, pathlen_offset, &pathlen, 4); in nfsd4_encode_components_esc()