| /linux-6.15/fs/xfs/ |
| H A D | xfs_symlink.c | 37 xfs_fsize_t pathlen; in xfs_readlink() local 49 pathlen = ip->i_disk_size; in xfs_readlink() 50 if (!pathlen) in xfs_readlink() 53 if (pathlen < 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_readlink() 56 (long long) pathlen); in xfs_readlink() 104 int pathlen; in xfs_symlink() local 123 pathlen = strlen(target_path); in xfs_symlink() 126 ASSERT(pathlen > 0); in xfs_symlink() 329 int pathlen; in xfs_inactive_symlink() local 338 ASSERT(pathlen); in xfs_inactive_symlink() [all …]
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_symlink_remote.c | 31 int pathlen) in xfs_symlink_blocks() argument 248 int pathlen = ip->i_disk_size; in xfs_symlink_remote_read() local 275 if (pathlen < byte_cnt) in xfs_symlink_remote_read() 276 byte_cnt = pathlen; in xfs_symlink_remote_read() 297 pathlen -= byte_cnt; in xfs_symlink_remote_read() 302 ASSERT(pathlen == 0); in xfs_symlink_remote_read() 318 int pathlen, in xfs_symlink_write_target() argument 339 ip->i_disk_size = pathlen; in xfs_symlink_write_target() 351 ip->i_disk_size = pathlen; in xfs_symlink_write_target() 376 pathlen -= byte_cnt; in xfs_symlink_write_target() [all …]
|
| H A D | xfs_symlink_remote.h | 13 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen); 24 xfs_ino_t owner, const char *target_path, int pathlen,
|
| /linux-6.15/arch/um/os-Linux/ |
| H A D | execvp.c | 50 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-6.15/fs/ceph/ |
| H A D | debugfs.c | 58 int pathlen = 0; in mdsc_show() local 84 path = ceph_mdsc_build_path(mdsc, req->r_dentry, &pathlen, in mdsc_show() 94 ceph_mdsc_free_path(path, pathlen); in mdsc_show() 103 path = ceph_mdsc_build_path(mdsc, req->r_old_dentry, &pathlen, in mdsc_show() 114 ceph_mdsc_free_path(path, pathlen); in mdsc_show()
|
| H A D | file.c | 371 int pathlen; in ceph_open() local 402 path = ceph_mdsc_build_path(mdsc, dentry, &pathlen, &pathbase, 0); in ceph_open() 409 ceph_mdsc_free_path(path, pathlen); in ceph_open() 617 int pathlen = 0; in ceph_async_create_cb() local 619 char *path = ceph_mdsc_build_path(mdsc, req->r_dentry, &pathlen, in ceph_async_create_cb() 625 ceph_mdsc_free_path(path, pathlen); in ceph_async_create_cb() 794 int pathlen; in ceph_atomic_open() local 817 path = ceph_mdsc_build_path(mdsc, dn, &pathlen, &pathbase, 0); in ceph_atomic_open() 829 ceph_mdsc_free_path(path, pathlen); in ceph_atomic_open()
|
| H A D | dir.c | 1275 int pathlen = 0; in ceph_async_unlink_cb() local 1277 char *path = ceph_mdsc_build_path(mdsc, dentry, &pathlen, in ceph_async_unlink_cb() 1293 ceph_mdsc_free_path(path, pathlen); in ceph_async_unlink_cb() 1351 int pathlen; in ceph_unlink() local 1371 path = ceph_mdsc_build_path(mdsc, dn, &pathlen, &pathbase, 0); in ceph_unlink() 1378 ceph_mdsc_free_path(path, pathlen); in ceph_unlink()
|
| H A D | mds_client.c | 2876 int *pathlen, u64 *ino, bool *freepath, in set_request_path_attr() argument 2883 r = build_inode_path(rinode, ppath, pathlen, ino, freepath); in set_request_path_attr() 2893 *pathlen = rpath ? strlen(rpath) : 0; in set_request_path_attr() 2894 doutc(cl, " path %.*s\n", *pathlen, rpath); in set_request_path_attr() 4583 int pathlen = 0, err; in reconnect_caps_cb() local 4590 path = ceph_mdsc_build_path(mdsc, dentry, &pathlen, &pathbase, in reconnect_caps_cb() 4709 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb() 4733 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb() 4744 pathlen + sizeof(rec.v1)); in reconnect_caps_cb() 4749 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb() [all …]
|
| H A D | inode.c | 2491 int pathlen; in __ceph_setattr() local 2499 path = ceph_mdsc_build_path(mdsc, dentry, &pathlen, &pathbase, 0); in __ceph_setattr() 2506 ceph_mdsc_free_path(path, pathlen); in __ceph_setattr()
|
| /linux-6.15/tools/testing/selftests/exec/ |
| H A D | execveat.c | 83 int pathlen = path ? strlen(path) : 0; in check_execveat_invoked_rc() local 85 if (pathlen > 40) in check_execveat_invoked_rc() 88 fd, path, (path + pathlen - 20), flags); in check_execveat_invoked_rc()
|
| /linux-6.15/kernel/ |
| H A D | auditfilter.c | 1314 int dlen, pathlen; in audit_compare_dname_path() local 1318 pathlen = strlen(path); in audit_compare_dname_path() 1319 if (pathlen < dlen) in audit_compare_dname_path() 1328 pathlen -= parentlen; in audit_compare_dname_path() 1329 while (p[pathlen - 1] == '/') in audit_compare_dname_path() 1330 pathlen--; in audit_compare_dname_path() 1332 if (pathlen != dlen) in audit_compare_dname_path()
|
| /linux-6.15/tools/perf/ui/browsers/ |
| H A D | scripts.c | 159 int pathlen) in find_scripts() argument 231 scnprintf(scripts_path_array[i], pathlen, "%s/scripts/%s/%s", in find_scripts()
|
| /linux-6.15/drivers/firmware/tegra/ |
| H A D | bpmp-debugfs.c | 407 const size_t pathlen = SZ_256; in bpmp_populate_debugfs_inband() local 423 pathbuf = kzalloc(pathlen, GFP_KERNEL); in bpmp_populate_debugfs_inband() 453 len = snprintf(pathbuf, pathlen, "%s%s/", ppath, name); in bpmp_populate_debugfs_inband() 454 if (len >= pathlen) { in bpmp_populate_debugfs_inband()
|
| /linux-6.15/fs/exfat/ |
| H A D | namei.c | 409 int pathlen = strlen(path); in __exfat_resolve_path() local 415 namelen = exfat_striptail_len(pathlen, path, false); in __exfat_resolve_path() 421 if (!lookup && (namelen < pathlen)) in __exfat_resolve_path() 423 namelen = pathlen; in __exfat_resolve_path() 427 if (pathlen > (MAX_NAME_LENGTH * MAX_CHARSET_SIZE)) in __exfat_resolve_path()
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_fs.c | 317 int rc, pathlen = strlen(path); in ima_read_policy() local 349 return pathlen; in ima_read_policy()
|
| /linux-6.15/fs/nfs/ |
| H A D | dir.c | 2597 unsigned int pathlen = strlen(symname); in nfs_symlink() local 2603 if (pathlen > PAGE_SIZE) in nfs_symlink() 2614 memcpy(kaddr, symname, pathlen); in nfs_symlink() 2615 if (pathlen < PAGE_SIZE) in nfs_symlink() 2616 memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen); in nfs_symlink() 2619 error = NFS_PROTO(dir)->symlink(dir, dentry, folio, pathlen, &attr); in nfs_symlink()
|
| H A D | proc.c | 410 .pathlen = len, in nfs_proc_symlink()
|
| H A D | nfs2xdr.c | 754 encode_path(xdr, args->pages, args->pathlen); in nfs2_xdr_enc_symlinkargs()
|
| H A D | nfs3proc.c | 566 data->arg.symlink.pathlen = len; in nfs3_proc_symlink()
|
| H A D | nfs3xdr.c | 1081 encode_nfspath3(xdr, args->pages, args->pathlen); in encode_symlinkdata3()
|
| /linux-6.15/include/linux/ |
| H A D | nfs_xdr.h | 883 unsigned int pathlen; member 961 unsigned int pathlen; member
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfs4xdr.c | 2643 __be32 pathlen; in nfsd4_encode_components_esc() local 2687 pathlen = htonl(count); in nfsd4_encode_components_esc() 2688 write_bytes_to_xdr_buf(xdr->buf, pathlen_offset, &pathlen, 4); in nfsd4_encode_components_esc()
|