Home
last modified time | relevance | path

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

/linux/fs/xfs/
A Dxfs_symlink.c63 byte_cnt = pathlen; in xfs_readlink_bmap_ilocked()
83 pathlen -= byte_cnt; in xfs_readlink_bmap_ilocked()
88 ASSERT(pathlen == 0); in xfs_readlink_bmap_ilocked()
103 xfs_fsize_t pathlen; in xfs_readlink() local
116 if (!pathlen) in xfs_readlink()
119 if (pathlen < 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_readlink()
149 int pathlen; in xfs_symlink() local
180 ASSERT(pathlen > 0); in xfs_symlink()
476 int pathlen; in xfs_inactive_symlink() local
485 ASSERT(pathlen); in xfs_inactive_symlink()
[all …]
/linux/arch/um/os-Linux/
A Dexecvp.c50 size_t len, pathlen; in execvp_noalloc() local
57 pathlen = strlen(path); in execvp_noalloc()
59 name = memcpy(buf + pathlen + 1, file, len); in execvp_noalloc()
/linux/fs/ceph/
A 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()
A Dmds_client.c2394 u64 rino, const char **ppath, int *pathlen, in set_request_path_attr() argument
2406 dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, in set_request_path_attr()
2411 *pathlen = rpath ? strlen(rpath) : 0; in set_request_path_attr()
2412 dout(" path %.*s\n", *pathlen, rpath); in set_request_path_attr()
3686 int pathlen = 0, err; in reconnect_caps_cb() local
3697 path = ceph_mdsc_build_path(dentry, &pathlen, &pathbase, in reconnect_caps_cb()
3802 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb()
3826 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb()
3837 pathlen + sizeof(rec.v1)); in reconnect_caps_cb()
3842 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb()
[all …]
A Ddir.c1073 int pathlen = 0; in ceph_async_unlink_cb() local
1075 char *path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in ceph_async_unlink_cb()
1091 ceph_mdsc_free_path(path, pathlen); in ceph_async_unlink_cb()
A Dfile.c529 int pathlen = 0; in ceph_async_create_cb() local
531 char *path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in ceph_async_create_cb()
542 ceph_mdsc_free_path(path, pathlen); in ceph_async_create_cb()
/linux/tools/testing/selftests/exec/
A Dexecveat.c73 int pathlen = path ? strlen(path) : 0; in check_execveat_invoked_rc() local
75 if (pathlen > 40) in check_execveat_invoked_rc()
77 fd, path, (path + pathlen - 20), flags); in check_execveat_invoked_rc()
/linux/fs/xfs/libxfs/
A Dxfs_symlink_remote.c28 int pathlen) in xfs_symlink_blocks() argument
32 return (pathlen + buflen - 1) / buflen; in xfs_symlink_blocks()
A Dxfs_shared.h125 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen);
/linux/tools/perf/
A Dbuiltin.h43 int pathlen);
A Dbuiltin-script.c3307 int pathlen) in find_scripts() argument
3354 snprintf(scripts_path_array[i], pathlen, "%s/%s", in find_scripts()
/linux/drivers/firmware/tegra/
A Dbpmp-debugfs.c414 const size_t pathlen = SZ_256; in bpmp_populate_debugfs_inband() local
430 pathbuf = kzalloc(pathlen, GFP_KERNEL); in bpmp_populate_debugfs_inband()
460 len = snprintf(pathbuf, pathlen, "%s%s/", ppath, name); in bpmp_populate_debugfs_inband()
461 if (len >= pathlen) { in bpmp_populate_debugfs_inband()
/linux/security/integrity/ima/
A Dima_fs.c279 int rc, pathlen = strlen(path); in ima_read_policy() local
311 return pathlen; in ima_read_policy()
/linux/kernel/
A Dauditfilter.c1312 int dlen, pathlen; in audit_compare_dname_path() local
1316 pathlen = strlen(path); in audit_compare_dname_path()
1317 if (pathlen < dlen) in audit_compare_dname_path()
1321 if (pathlen - parentlen != dlen) in audit_compare_dname_path()
/linux/fs/nfs/
A Ddir.c2316 unsigned int pathlen = strlen(symname); in nfs_symlink() local
2322 if (pathlen > PAGE_SIZE) in nfs_symlink()
2333 memcpy(kaddr, symname, pathlen); in nfs_symlink()
2334 if (pathlen < PAGE_SIZE) in nfs_symlink()
2335 memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen); in nfs_symlink()
2338 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); in nfs_symlink()
A Dproc.c408 .pathlen = len, in nfs_proc_symlink()
A Dnfs2xdr.c758 encode_path(xdr, args->pages, args->pathlen); in nfs2_xdr_enc_symlinkargs()
A Dnfs3proc.c564 data->arg.symlink.pathlen = len; in nfs3_proc_symlink()
A Dnfs3xdr.c1084 encode_nfspath3(xdr, args->pages, args->pathlen); in encode_symlinkdata3()
/linux/include/linux/
A Dnfs_xdr.h850 unsigned int pathlen; member
928 unsigned int pathlen; member
/linux/fs/nfsd/
A Dnfs4xdr.c2482 __be32 pathlen; in nfsd4_encode_components_esc() local
2529 pathlen = htonl(count); in nfsd4_encode_components_esc()
2530 write_bytes_to_xdr_buf(xdr->buf, pathlen_offset, &pathlen, 4); in nfsd4_encode_components_esc()

Completed in 78 milliseconds