Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_symlink.c36 int pathlen = ip->i_d.di_size; in xfs_readlink_bmap_ilocked() local
46 fsblocks = xfs_symlink_blocks(mp, pathlen); in xfs_readlink_bmap_ilocked()
61 if (pathlen < byte_cnt) in xfs_readlink_bmap_ilocked()
62 byte_cnt = pathlen; in xfs_readlink_bmap_ilocked()
82 pathlen -= byte_cnt; in xfs_readlink_bmap_ilocked()
87 ASSERT(pathlen == 0); in xfs_readlink_bmap_ilocked()
102 xfs_fsize_t pathlen; in xfs_readlink() local
114 pathlen = ip->i_d.di_size; in xfs_readlink()
115 if (!pathlen) in xfs_readlink()
118 if (pathlen < 0 || pathlen > XFS_SYMLINK_MAXLEN) { in xfs_readlink()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/strongswan/files/
H A DCVE-2022-40617.patch34 - int pathlen, bool trusted, auth_cfg_t *auth)
35 + int pathlen, bool anchor, auth_cfg_t *auth)
43 - pathlen, trusted, auth);
44 + pathlen, anchor, auth);
52 - int pathlen, bool trusted, auth_cfg_t *auth)
53 + int pathlen, bool anchor, auth_cfg_t *auth)
58 if (!check_lifetime(this, subject, "subject", pathlen, FALSE, auth) ||
59 - !check_lifetime(this, issuer, "issuer", pathlen + 1, trusted, auth))
60 + !check_lifetime(this, issuer, "issuer", pathlen + 1, anchor, auth))
68 - online, pathlen, trusted, auth))
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/
H A Dpass-ptest-env.patch21 int pathlen;
32 + pathlen = snprintf(fullname, sizeof(fullname), "%s", ext_dir);
34 + pathlen = snprintf(fullname, sizeof(fullname), BUILD_DIR "/extensions/");
39 - pathlen = snprintf(fullname, sizeof(fullname), BUILD_DIR "/extensions/");
54 int pathlen;
60 + pathlen = snprintf(fullname, sizeof(fullname), "%s", ext_dir);
62 + pathlen = snprintf(fullname, sizeof(fullname), BUILD_DIR "/extensions/");
67 - pathlen = snprintf(fullname, sizeof(fullname), BUILD_DIR "/extensions/");
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/efibootmgr/efibootmgr/
H A D0001-src-make-compatible-with-efivar-38.patch23 dp, pathlen);
31 pathlen = efi_loadopt_pathlen(load_option,
36 dp, pathlen);
45 dp, pathlen);
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H 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()
/OK3568_Linux_fs/u-boot/net/
H A Dnfs.c244 int pathlen; in nfs_mount_req() local
246 pathlen = strlen(path); in nfs_mount_req()
251 *p++ = htonl(pathlen); in nfs_mount_req()
252 if (pathlen & 3) in nfs_mount_req()
253 *(p + pathlen / 4) = 0; in nfs_mount_req()
254 memcpy(p, path, pathlen); in nfs_mount_req()
255 p += (pathlen + 3) / 4; in nfs_mount_req()
638 int pathlen; in nfs_readlink_reply() local
641 pathlen = strlen(nfs_path); in nfs_readlink_reply()
642 memcpy(nfs_path + pathlen, in nfs_readlink_reply()
[all …]
/OK3568_Linux_fs/kernel/fs/
H A Ddcookies.c156 size_t pathlen; in do_lookup_dcookie() local
192 pathlen = kbuf + PAGE_SIZE - path; in do_lookup_dcookie()
193 if (pathlen <= len) { in do_lookup_dcookie()
194 err = pathlen; in do_lookup_dcookie()
195 if (copy_to_user(buf, path, pathlen)) in do_lookup_dcookie()
/OK3568_Linux_fs/kernel/fs/ceph/
H 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()
H A Dmds_client.c2522 u64 rino, const char **ppath, int *pathlen, in set_request_path_attr() argument
2528 r = build_inode_path(rinode, ppath, pathlen, ino, freepath); in set_request_path_attr()
2532 r = build_dentry_path(rdentry, rdiri, ppath, pathlen, ino, in set_request_path_attr()
2534 dout(" dentry %p %llx/%.*s\n", rdentry, *ino, *pathlen, in set_request_path_attr()
2539 *pathlen = rpath ? strlen(rpath) : 0; in set_request_path_attr()
2540 dout(" path %.*s\n", *pathlen, rpath); in set_request_path_attr()
3731 int pathlen = 0, err; in reconnect_caps_cb() local
3742 path = ceph_mdsc_build_path(dentry, &pathlen, &pathbase, in reconnect_caps_cb()
3847 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb()
3871 ceph_pagelist_encode_string(pagelist, path, pathlen); in reconnect_caps_cb()
[all …]
H A Ddir.c1063 int pathlen = 0; in ceph_async_unlink_cb() local
1065 char *path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in ceph_async_unlink_cb()
1081 ceph_mdsc_free_path(path, pathlen); in ceph_async_unlink_cb()
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/exec/
H 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()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/cert/
H A Dmid.ext1 basicConstraints=CA:TRUE,pathlen:1
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_symlink_remote.c28 int pathlen) in xfs_symlink_blocks() argument
32 return (pathlen + buflen - 1) / buflen; in xfs_symlink_blocks()
H A Dxfs_shared.h130 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen);
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin.h42 int pathlen);
/OK3568_Linux_fs/kernel/drivers/firmware/tegra/
H A Dbpmp-debugfs.c377 const size_t pathlen = SZ_256; in bpmp_populate_debugfs_inband() local
393 pathbuf = kzalloc(pathlen, GFP_KERNEL); in bpmp_populate_debugfs_inband()
423 len = snprintf(pathbuf, pathlen, "%s%s/", ppath, name); in bpmp_populate_debugfs_inband()
424 if (len >= pathlen) { in bpmp_populate_debugfs_inband()
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A Dappledri.h118 Bool doubleSwap, char *path, size_t pathlen,
/OK3568_Linux_fs/kernel/security/integrity/ima/
H A Dima_fs.c279 int rc, pathlen = strlen(path); in ima_read_policy() local
311 return pathlen; in ima_read_policy()
/OK3568_Linux_fs/kernel/kernel/
H A Dauditfilter.c1303 int dlen, pathlen; in audit_compare_dname_path() local
1307 pathlen = strlen(path); in audit_compare_dname_path()
1308 if (pathlen < dlen) in audit_compare_dname_path()
1312 if (pathlen - parentlen != dlen) in audit_compare_dname_path()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Ddir.c2121 unsigned int pathlen = strlen(symname); in nfs_symlink() local
2127 if (pathlen > PAGE_SIZE) in nfs_symlink()
2138 memcpy(kaddr, symname, pathlen); in nfs_symlink()
2139 if (pathlen < PAGE_SIZE) in nfs_symlink()
2140 memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen); in nfs_symlink()
2143 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); in nfs_symlink()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnfs_xdr.h836 unsigned int pathlen; member
914 unsigned int pathlen; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/
H A Dx509v3.h161 ASN1_INTEGER *pathlen; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/
H A Dx509v3.h161 ASN1_INTEGER *pathlen; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/
H A Dx509v3.h161 ASN1_INTEGER *pathlen; member

12