/linux-6.3-rc2/fs/xfs/ |
A D | xfs_symlink.c | 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 115 if (!pathlen) in xfs_readlink() 118 if (pathlen < 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_readlink() 158 int pathlen; in xfs_symlink() local 189 ASSERT(pathlen > 0); in xfs_symlink() 480 int pathlen; in xfs_inactive_symlink() local 489 ASSERT(pathlen); in xfs_inactive_symlink() [all …]
|
/linux-6.3-rc2/scripts/ |
A D | list-gitignored.c | 554 if (pathlen < baselen + 1 || in match_pathname() 561 pathlen -= baselen + 1; in match_pathname() 568 if (prefix > pathlen) in match_pathname() 576 pathlen -= prefix; in match_pathname() 583 if (!patternlen && !pathlen) in match_pathname() 686 pathlen - dirlen - 1, in is_ignored() 693 if (!match_pathname(path, pathlen, in is_ignored() 760 int fd, pathlen, i; in add_patterns_from_gitignore() local 763 if (pathlen >= sizeof(path)) in add_patterns_from_gitignore() 878 int pathlen; in traverse_directory() local [all …]
|
/linux-6.3-rc2/arch/um/os-Linux/ |
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.3-rc2/fs/ceph/ |
A 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()
|
A D | mds_client.c | 2502 u64 rino, const char **ppath, int *pathlen, in set_request_path_attr() argument 2514 dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, in set_request_path_attr() 2519 *pathlen = rpath ? strlen(rpath) : 0; in set_request_path_attr() 2520 dout(" path %.*s\n", *pathlen, rpath); in set_request_path_attr() 3926 int pathlen = 0, err; in reconnect_caps_cb() local 3937 path = ceph_mdsc_build_path(dentry, &pathlen, &pathbase, in reconnect_caps_cb() 4042 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb() 4066 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb() 4077 pathlen + sizeof(rec.v1)); in reconnect_caps_cb() 4082 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb() [all …]
|
A D | dir.c | 1117 int pathlen = 0; in ceph_async_unlink_cb() local 1119 char *path = ceph_mdsc_build_path(dentry, &pathlen, in ceph_async_unlink_cb() 1135 ceph_mdsc_free_path(path, pathlen); in ceph_async_unlink_cb()
|
A D | file.c | 570 int pathlen = 0; in ceph_async_create_cb() local 572 char *path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in ceph_async_create_cb() 577 ceph_mdsc_free_path(path, pathlen); in ceph_async_create_cb()
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_symlink_remote.c | 28 int pathlen) in xfs_symlink_blocks() argument 32 return (pathlen + buflen - 1) / buflen; in xfs_symlink_blocks()
|
A D | xfs_shared.h | 135 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen);
|
/linux-6.3-rc2/tools/testing/selftests/exec/ |
A D | execveat.c | 73 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-6.3-rc2/tools/perf/ |
A D | builtin.h | 44 int pathlen);
|
A D | builtin-script.c | 3465 int pathlen) in find_scripts() argument 3512 snprintf(scripts_path_array[i], pathlen, "%s/%s", in find_scripts()
|
/linux-6.3-rc2/drivers/firmware/tegra/ |
A D | bpmp-debugfs.c | 403 const size_t pathlen = SZ_256; in bpmp_populate_debugfs_inband() local 419 pathbuf = kzalloc(pathlen, GFP_KERNEL); in bpmp_populate_debugfs_inband() 449 len = snprintf(pathbuf, pathlen, "%s%s/", ppath, name); in bpmp_populate_debugfs_inband() 450 if (len >= pathlen) { in bpmp_populate_debugfs_inband()
|
/linux-6.3-rc2/security/integrity/ima/ |
A D | ima_fs.c | 279 int rc, pathlen = strlen(path); in ima_read_policy() local 311 return pathlen; in ima_read_policy()
|
/linux-6.3-rc2/fs/exfat/ |
A D | namei.c | 418 int pathlen = strlen(path); in __exfat_resolve_path() local 424 namelen = exfat_striptail_len(pathlen, path, false); in __exfat_resolve_path() 430 if (!lookup && (namelen < pathlen)) in __exfat_resolve_path() 432 namelen = pathlen; in __exfat_resolve_path() 436 if (pathlen > (MAX_NAME_LENGTH * MAX_CHARSET_SIZE)) in __exfat_resolve_path()
|
/linux-6.3-rc2/kernel/ |
A D | auditfilter.c | 1312 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-6.3-rc2/fs/nfs/ |
A D | dir.c | 2533 unsigned int pathlen = strlen(symname); in nfs_symlink() local 2539 if (pathlen > PAGE_SIZE) in nfs_symlink() 2550 memcpy(kaddr, symname, pathlen); in nfs_symlink() 2551 if (pathlen < PAGE_SIZE) in nfs_symlink() 2552 memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen); in nfs_symlink() 2555 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); in nfs_symlink()
|
A D | proc.c | 409 .pathlen = len, in nfs_proc_symlink()
|
A D | nfs2xdr.c | 758 encode_path(xdr, args->pages, args->pathlen); in nfs2_xdr_enc_symlinkargs()
|
A D | nfs3proc.c | 566 data->arg.symlink.pathlen = len; in nfs3_proc_symlink()
|
A D | nfs3xdr.c | 1084 encode_nfspath3(xdr, args->pages, args->pathlen); in encode_symlinkdata3()
|
/linux-6.3-rc2/include/linux/ |
A D | nfs_xdr.h | 859 unsigned int pathlen; member 937 unsigned int pathlen; member
|
/linux-6.3-rc2/fs/nfsd/ |
A D | nfs4xdr.c | 2583 __be32 pathlen; in nfsd4_encode_components_esc() local 2630 pathlen = htonl(count); in nfsd4_encode_components_esc() 2631 write_bytes_to_xdr_buf(xdr->buf, pathlen_offset, &pathlen, 4); in nfsd4_encode_components_esc()
|