/kernel/linux/linux-5.10/fs/ceph/ |
H A D | super.h | 1000 extern int ceph_getattr(const struct path *path, struct kstat *stat,
|
H A D | dir.c | 20 * relative path. Thus, the client can specify an operation on a 21 * specific inode (e.g., a getattr due to fstat(2)), or as a path 24 * Normally, we limit ourselves to strict inode ops (no path component) 25 * or dentry operations (a single path component relative to an ino). The 1065 char *path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in ceph_async_unlink_cb() local 1079 pr_warn("ceph: async unlink failure path=(%llx)%s result=%d!\n", in ceph_async_unlink_cb() 1080 base, IS_ERR(path) ? "<<bad>>" : path, result); in ceph_async_unlink_cb() 1081 ceph_mdsc_free_path(path, pathlen); in ceph_async_unlink_cb()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | internal.h | 482 extern struct vfsmount *nfs_d_automount(struct path *path);
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | offload.c | 463 struct path ns_path; in bpf_prog_offload_info_fill() 669 struct path ns_path; in bpf_map_offload_info_fill()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-zoned-target.c | 688 static int dmz_get_zoned_device(struct dm_target *ti, char *path, in dmz_get_zoned_device() argument 698 ret = dm_get_device(ti, path, dm_table_get_mode(ti->table), &ddev); in dmz_get_zoned_device()
|
/kernel/linux/linux-6.6/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 305 const char *path = "/dev/uhid"; in setup_uhid() local 308 fd = open(path, O_RDWR | O_CLOEXEC); in setup_uhid()
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | logger.py | 145 log_dir = os.path.dirname(log_file) 146 if not os.path.exists(log_dir):
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | extent_io.c | 4683 struct btrfs_path *path; in extent_fiemap() local 4696 path = btrfs_alloc_path(); in extent_fiemap() 4697 if (!path) in extent_fiemap() 4699 path->leave_spinning = 1; in extent_fiemap() 4720 ret = btrfs_lookup_file_extent(NULL, root, path, btrfs_ino(inode), -1, in extent_fiemap() 4730 path->slots[0]--; in extent_fiemap() 4731 btrfs_item_key_to_cpu(path->nodes[0], &found_key, path->slots[0]); in extent_fiemap() 4749 btrfs_release_path(path); in extent_fiemap() 4878 btrfs_free_path(path); in extent_fiemap() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 914 // 0 or 1 parameter: ctx.stroke() / ctx.stroke(path) in JsStroke() 919 LOGE("Stroke Path2D failed, target is not path."); in JsStroke() 922 auto path = GetPath2D(runtime, argv[0]); in JsStroke() local 923 if (path == nullptr) { in JsStroke() 924 LOGE("Stroke Path2D failed, target path is null."); in JsStroke() 927 auto task = [path](const RefPtr<CanvasTaskPool>& pool) { pool->Stroke(path); }; in JsStroke() 1191 // 1 parameter: addPath(path) in JsPath2DAddPath() 1212 LOGE("Stroke Path2D failed, target is not path."); in JsPath2DAddPath() 1217 LOGE("AddPath to Path2D failed, to be added path i in JsPath2DAddPath() 1864 std::string path = argv[0]->ToString(runtime); JsGetJsonData() local [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_napi.cpp | 1153 static std::string FileUrlToRawPath(const std::string &path) in FileUrlToRawPath() argument 1155 if (path.size() > FILE_URL_PREFIX.size() && in FileUrlToRawPath() 1156 (path.compare(0, FILE_URL_PREFIX.size(), FILE_URL_PREFIX) == 0)) { in FileUrlToRawPath() 1157 return path.substr(FILE_URL_PREFIX.size()); in FileUrlToRawPath() 1159 return path; in FileUrlToRawPath() 2778 resource_.path = resource.path; in SetImageResource()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | inode.c | 34 * (typically because they are in the message handler path). 2254 const struct path *path, in ceph_encrypted_symlink_getattr() 2260 ret = ceph_getattr(idmap, path, stat, request_mask, query_flags); in ceph_encrypted_symlink_getattr() 2263 return fscrypt_symlink_getattr(path, stat); in ceph_encrypted_symlink_getattr() 2960 int ceph_getattr(struct mnt_idmap *idmap, const struct path *path, in ceph_getattr() argument 2963 struct inode *inode = d_inode(path->dentry); in ceph_getattr() 2253 ceph_encrypted_symlink_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) ceph_encrypted_symlink_getattr() argument
|
H A D | dir.c | 21 * relative path. Thus, the client can specify an operation on a 22 * specific inode (e.g., a getattr due to fstat(2)), or as a path 25 * Normally, we limit ourselves to strict inode ops (no path component) 26 * or dentry operations (a single path component relative to an ino). The 1229 char *path = ceph_mdsc_build_path(dentry, &pathlen, in ceph_async_unlink_cb() local 1243 pr_warn("async unlink failure path=(%llx)%s result=%d!\n", in ceph_async_unlink_cb() 1244 base, IS_ERR(path) ? "<<bad>>" : path, result); in ceph_async_unlink_cb() 1245 ceph_mdsc_free_path(path, pathlen); in ceph_async_unlink_cb()
|
/foundation/ability/ability_runtime/test/unittest/runtime_test/ |
H A D | js_runtime_test.cpp | 278 std::string path = ""; in HWTEST_F() local 280 jsRuntime->RunSandboxScript(path, hapPath); in HWTEST_F() 970 std::string path = "/system/etc/strip.native.min.abc"; in HWTEST_F() local 971 jsRuntime->LoadScript(path); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | context_container_test.cpp | 152 std::string path = context_->GetBundleCodePath(); in HWTEST_F() local 154 EXPECT_STREQ(path.c_str(), codePath.c_str()); in HWTEST_F() 209 std::string path = context_->GetBundleResourcePath(); in HWTEST_F() local 221 std::string path = context_->GetAppType(); in HWTEST_F() local
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.cpp | 463 void FrontendDelegateDeclarativeNG::GetState(int32_t& index, std::string& name, std::string& path) in GetState() argument 466 pageRouterManager_->GetState(index, name, path); in GetState() 470 std::string& path, std::string& params) in GetRouterStateByIndex() 473 pageRouterManager_->GetStateByIndex(index, name, path, params); in GetRouterStateByIndex() 469 GetRouterStateByIndex(int32_t& index, std::string& name, std::string& path, std::string& params) GetRouterStateByIndex() argument
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_gzip/ |
H A D | gzip_n_exporter.cpp | 45 std::unique_ptr<char[]> path = nullptr; member 225 tie(succ, arg->path, arg->mode) = CommonFunc::GetGZOpenArg(env, funcArg); in GZOpen() 235 file = gzopen64(arg->path.get(), arg->mode.get()); in GZOpen() 237 file = gzopen(arg->path.get(), arg->mode.get()); in GZOpen()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/ |
H A D | bms_installd_client_test.cpp | 1202 std::string dir = "disk.path"; in HWTEST_F() 1216 std::string path = "path.test"; in HWTEST_F() local 1219 ErrCode result = installClient_->IsExistFile(path, isExist); in HWTEST_F() 1230 std::string path = "path.test"; in HWTEST_F() local 1233 ErrCode result = installClient_->IsExistApFile(path, isExist); in HWTEST_F() 1259 codeSignatureParam.modulePath = "module.path"; in HWTEST_F() 1288 checkEncryptionParam.modulePath = "module.path"; in HWTEST_F() 1317 checkEncryptionParam.modulePath = "module.path"; in HWTEST_F() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | upgrade_restore.cpp | 206 int32_t UpgradeRestore::ParseXml(string path) in ParseXml() argument 209 xmlReadFile(path.c_str(), nullptr, XML_PARSE_NOBLANKS), xmlFreeDoc); in ParseXml() 290 MEDIA_ERR_LOG("Invalid path: %{public}s.", in ParseResultSetFromAudioDb() 589 MEDIA_ERR_LOG("Invalid media type: %{public}d, path: %{public}s", mediaType, in ParseResultSetForAudio() 595 MEDIA_ERR_LOG("Invalid path: %{public}s.", in ParseResultSetForAudio() 603 MEDIA_WARN_LOG("maybe garbage path = %{public}s.", in ParseResultSetForAudio() 642 bool UpgradeRestore::IsValidDir(const string &path) in IsValidDir() argument 646 if (path.find(cacheDir) == 0) { in IsValidDir() 659 MEDIA_ERR_LOG("Data duplicate and already used, path: %{public}s", in ParseResultSet() 665 MEDIA_ERR_LOG("Invalid media type: %{public}d, path in ParseResultSet() [all...] |
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 944 for (const auto &path : certsPath.certPathList) { in AddCurlHandle() 945 if (path.empty() || access(path.c_str(), F_OK) != 0) { in AddCurlHandle() 946 NETSTACK_LOGD("certificate directory path is not exist"); in AddCurlHandle() 949 if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(ssl_ctx), nullptr, path.c_str())) { in AddCurlHandle() 955 NETSTACK_LOGD("certificate directory path is not exist"); in AddCurlHandle() 970 // add app cert path in AddCurlHandle() 976 // add user cert path in AddCurlHandle() 979 // add system cert path in AddCurlHandle()
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_session_manager.h | 210 void GetStartupPage(const SessionInfo& sessionInfo, std::string& path, uint32_t& bgColor); 611 bool GetStartupPageFromResource(const AppExecFwk::AbilityInfo& abilityInfo, std::string& path, uint32_t& bgColor); 612 bool GetStartingWindowInfoFromCache(const SessionInfo& sessionInfo, std::string& path, uint32_t& bgColor); 614 const AppExecFwk::AbilityInfo& abilityInfo, const std::string& path, const uint32_t& bgColor);
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
H A D | esas2r_ioctl.c | 397 u8 path = 0; in csmi_ioctl_callback() local 407 path = gda->path_id; in csmi_ioctl_callback() 413 path = tm->path_id; in csmi_ioctl_callback() 418 if (path > 0) { in csmi_ioctl_callback()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | checks.c | 623 char *path; in fixup_path_references() local 635 path = refnode->fullpath; in fixup_path_references() 636 prop->val = data_insert_at_marker(prop->val, m, path, in fixup_path_references() 637 strlen(path) + 1); in fixup_path_references() 1344 prop = get_property(node, "stdout-path"); in check_chosen_node_stdout_path() 1346 prop = get_property(node, "linux,stdout-path"); in check_chosen_node_stdout_path() 1349 FAIL_PROP(c, dti, node, prop, "Use 'stdout-path' instead"); in check_chosen_node_stdout_path()
|
/kernel/linux/linux-5.10/fs/ |
H A D | exec.c | 112 bool path_noexec(const struct path *path) in path_noexec() argument 114 return (path->mnt->mnt_flags & MNT_NOEXEC) || in path_noexec() 115 (path->mnt->mnt_sb->s_iflags & SB_I_NOEXEC); in path_noexec()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | rc-main.c | 1892 const char *path; in rc_register_device() local 1937 path = kobject_get_path(&dev->dev.kobj, GFP_KERNEL); in rc_register_device() 1939 dev->device_name ?: "Unspecified device", path ?: "N/A"); in rc_register_device() 1940 kfree(path); in rc_register_device()
|
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A D | rc-main.c | 1893 const char *path; in rc_register_device() local 1938 path = kobject_get_path(&dev->dev.kobj, GFP_KERNEL); in rc_register_device() 1940 dev->device_name ?: "Unspecified device", path ?: "N/A"); in rc_register_device() 1941 kfree(path); in rc_register_device()
|