/fs/xfs/ |
D | xfs_symlink.c | 38 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/ |
D | debugfs.c | 58 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()
|
D | mds_client.c | 2503 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 …]
|
D | dir.c | 1082 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()
|
D | file.c | 528 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/ |
D | xfs_symlink_remote.c | 28 int pathlen) in xfs_symlink_blocks() argument 32 return (pathlen + buflen - 1) / buflen; in xfs_symlink_blocks()
|
D | xfs_shared.h | 125 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen);
|
/fs/nfs/ |
D | dir.c | 2337 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()
|
D | proc.c | 411 .pathlen = len, in nfs_proc_symlink()
|
D | nfs2xdr.c | 758 encode_path(xdr, args->pages, args->pathlen); in nfs2_xdr_enc_symlinkargs()
|
D | nfs3proc.c | 566 data->arg.symlink.pathlen = len; in nfs3_proc_symlink()
|
D | nfs3xdr.c | 1084 encode_nfspath3(xdr, args->pages, args->pathlen); in encode_symlinkdata3()
|
/fs/nfsd/ |
D | nfs4xdr.c | 2479 __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()
|