/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_local.c | 191 static int __lookup_nosensitive(struct path *lower_parent_path, in __lookup_nosensitive() 193 struct path *lower_path) in __lookup_nosensitive() 242 struct path lower_path, lower_parent_path; in hmdfs_lookup_local() 330 struct path lower_path; in hmdfs_mkdir_local_dentry() 408 struct path lower_path; in hmdfs_create_local_dentry() 503 struct path lower_path; in hmdfs_rmdir_local_dentry() 567 struct path lower_path; in hmdfs_unlink_local_dentry() 621 struct path lower_old_path; in hmdfs_rename_local_dentry() 622 struct path lower_new_path; in hmdfs_rename_local_dentry() 779 struct path lower_pat in hmdfs_symlink_local() 917 hmdfs_getattr_local(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) hmdfs_getattr_local() argument [all...] |
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | namei.c | 33 static int ovl_check_redirect(const struct path *path, struct ovl_lookup_data *d, in ovl_check_redirect() argument 41 buf = ovl_get_redirect_xattr(ofs, path, prelen + strlen(post)); in ovl_check_redirect() 48 * One of the ancestor path elements in an absolute path in ovl_check_redirect() 51 * But we have found an absolute redirect in descendant path in ovl_check_redirect() 204 static bool ovl_is_opaquedir(struct ovl_fs *ofs, const struct path *path) in ovl_is_opaquedir() argument 206 return ovl_path_check_dir_xattr(ofs, path, OVL_XATTR_OPAQUE); in ovl_is_opaquedir() 236 struct path pat in ovl_lookup_single() local 853 ovl_path_next(int idx, struct dentry *dentry, struct path *path) ovl_path_next() argument [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | gconf.c | 776 GtkTreePath *path = gtk_tree_path_new_from_string(path_string); in renderer_edited() local 782 if (!gtk_tree_model_get_iter(model2, &iter, path)) in renderer_edited() 795 gtk_tree_path_free(path); in renderer_edited() 877 GtkTreePath *path; in on_treeview2_button_press_event() local 888 gtk_tree_view_get_path_at_pos(view, tx, ty, &path, &column, &cx, in on_treeview2_button_press_event() 891 gtk_tree_view_get_cursor(view, &path, &column); in on_treeview2_button_press_event() 893 if (path == NULL) in on_treeview2_button_press_event() 896 if (!gtk_tree_model_get_iter(model2, &iter, path)) in on_treeview2_button_press_event() 912 gtk_tree_view_expand_row(view, path, TRUE); in on_treeview2_button_press_event() 917 gtk_tree_view_expand_row(view, path, TRU in on_treeview2_button_press_event() 934 GtkTreePath *path; on_treeview2_key_press_event() local 995 GtkTreePath *path; on_treeview1_button_press_event() local [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_uprobe.c | 60 struct path path; member 362 path_put(&tu->path); in free_trace_uprobe() 408 struct inode *comp_inode = d_real_inode(comp->path.dentry); in trace_uprobe_has_same_uprobe() 412 if (comp_inode != d_real_inode(orig->path.dentry) || in trace_uprobe_has_same_uprobe() 471 struct inode *new_inode = d_real_inode(new->path.dentry); in validate_ref_ctr_offset() 474 if (new_inode == d_real_inode(tmp->path.dentry) && in validate_ref_ctr_offset() 540 struct path path; in __trace_uprobe_create() local 570 /* Find the last occurrence, in case the path contain in __trace_uprobe_create() 1584 struct path path; create_local_trace_uprobe() local [all...] |
/third_party/googletest/googletest/scripts/ |
H A D | upload.py | 89 last_email_file_name = os.path.expanduser("~/.last_codereview_email_address") 91 if os.path.exists(last_email_file_name): 313 request_path: The path to send the request to, eg /api/appversion/create. 383 self.cookie_file = os.path.expanduser("~/.codereview_upload_cookies") 385 if os.path.exists(self.cookie_file): 444 help="Optional path of a file that contains " 773 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url) 779 if path.startswith("/projects/"): 780 path = path[ [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_https_upstream.cc | 166 req.path = concat_string_ref(balloc, req.path, StringRef{data, len}); in htp_uricb() 299 StringRef path; in rewrite_request_host_path_from_uri() local 301 path = util::get_uri_field(uri.c_str(), u, UF_PATH); in rewrite_request_host_path_from_uri() 309 req.path = StringRef::from_lit(""); in rewrite_request_host_path_from_uri() 313 path = StringRef::from_lit("/"); in rewrite_request_host_path_from_uri() 321 path = StringRef{std::begin(path), std::end(q)}; in rewrite_request_host_path_from_uri() 323 path = concat_string_ref(balloc, path, StringRe in rewrite_request_host_path_from_uri() [all...] |
/third_party/toybox/toys/pending/ |
H A D | diff.c | 455 static char *concat_file_path(char *path, char *default_path) in concat_file_path() argument 459 if ('/' == path[strlen(path) - 1]) { in concat_file_path() 461 final_path = xmprintf("%s%s", path, default_path); in concat_file_path() 464 final_path = xmprintf("%s/%s", path, default_path); in concat_file_path() 465 else final_path = xmprintf("%s%s", path, default_path); in concat_file_path() 734 char *f[2], *path[2]; in create_empty_entry() local 738 path[0] = concat_file_path(dir[0].list[0], dir[1].list[r] + TT.len[1]); in create_empty_entry() 740 path[1] = f[1] = dir[1].list[r]; in create_empty_entry() 745 path[ in create_empty_entry() [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | scrub.c | 195 struct btrfs_path *path; member 659 * this makes the path point to (inum INODE_ITEM ioff) in scrub_print_warning_inode() 665 ret = btrfs_search_slot(NULL, local_root, &key, swarn->path, 0, 0); in scrub_print_warning_inode() 668 btrfs_release_path(swarn->path); in scrub_print_warning_inode() 672 eb = swarn->path->nodes[0]; in scrub_print_warning_inode() 673 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode() 677 btrfs_release_path(swarn->path); in scrub_print_warning_inode() 685 ipath = init_ipath(4096, local_root, swarn->path); in scrub_print_warning_inode() 704 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu, length %llu, links %u (path: %s)", in scrub_print_warning_inode() 718 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu: path resolvin in scrub_print_warning_inode() 732 struct btrfs_path *path; scrub_print_warning() local 2750 scrub_raid56_parity(struct scrub_ctx *sctx, struct map_lookup *map, struct btrfs_device *sdev, struct btrfs_path *path, u64 logic_start, u64 logic_end) scrub_raid56_parity() argument 2981 struct btrfs_path *path, *ppath; scrub_stripe() local 3421 struct btrfs_path *path; scrub_enumerate_chunks() local [all...] |
H A D | super.c | 59 * requested by subvol=/path. That way the callchain is straightforward and we 259 * in the call path but will return -EIO. 1144 struct btrfs_path *path = NULL; in btrfs_get_subvol_name_from_objectid() local 1150 path = btrfs_alloc_path(); in btrfs_get_subvol_name_from_objectid() 1151 if (!path) { in btrfs_get_subvol_name_from_objectid() 1155 path->leave_spinning = 1; in btrfs_get_subvol_name_from_objectid() 1174 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in btrfs_get_subvol_name_from_objectid() 1178 ret = btrfs_previous_item(root, path, subvol_objectid, in btrfs_get_subvol_name_from_objectid() 1188 btrfs_item_key_to_cpu(path->nodes[0], &key, path in btrfs_get_subvol_name_from_objectid() 1277 struct btrfs_path *path; get_default_subvol_objectid() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_da_btree.c | 491 max = state->path.active - 1; in xfs_da3_split() 493 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_split() 494 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 496 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da3_split() 497 for (i = max; (i >= 0) && addblk; state->path.active--, i--) { in xfs_da3_split() 498 oldblk = &state->path.blk[i]; in xfs_da3_split() 563 xfs_da3_fixhashpath(state, &state->path); in xfs_da3_split() 574 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 579 ASSERT(state->path.active == 0); in xfs_da3_split() 580 oldblk = &state->path in xfs_da3_split() 1382 xfs_da3_fixhashpath( struct xfs_da_state *state, struct xfs_da_state_path *path) xfs_da3_fixhashpath() argument 1965 xfs_da3_path_shift( struct xfs_da_state *state, struct xfs_da_state_path *path, int forward, int release, int *result) xfs_da3_path_shift() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_da_btree.c | 506 max = state->path.active - 1; in xfs_da3_split() 508 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_split() 509 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 511 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da3_split() 512 for (i = max; (i >= 0) && addblk; state->path.active--, i--) { in xfs_da3_split() 513 oldblk = &state->path.blk[i]; in xfs_da3_split() 578 xfs_da3_fixhashpath(state, &state->path); in xfs_da3_split() 589 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 594 ASSERT(state->path.active == 0); in xfs_da3_split() 595 oldblk = &state->path in xfs_da3_split() 1394 xfs_da3_fixhashpath( struct xfs_da_state *state, struct xfs_da_state_path *path) xfs_da3_fixhashpath() argument 1977 xfs_da3_path_shift( struct xfs_da_state *state, struct xfs_da_state_path *path, int forward, int release, int *result) xfs_da3_path_shift() argument [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A D | proc_sysctl.c | 39 * @path: path for the mount point 45 struct ctl_table_header *register_sysctl_mount_point(const char *path) in register_sysctl_mount_point() argument 47 return register_sysctl(path, sysctl_mount_point); in register_sysctl_mount_point() 845 const struct path *path, struct kstat *stat, in proc_sys_getattr() 848 struct inode *inode = d_inode(path->dentry); in proc_sys_getattr() 1092 static int sysctl_err(const char *path, struct ctl_table *table, char *fmt, ...) in sysctl_err() argument 1102 path, table->procname, &vaf); in sysctl_err() 1108 static int sysctl_check_table_array(const char *path, struc argument 844 proc_sys_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) proc_sys_getattr() argument 1131 sysctl_check_table(const char *path, struct ctl_table_header *header) sysctl_check_table() argument 1285 sysctl_mkdir_p(struct ctl_dir *dir, const char *path) sysctl_mkdir_p() argument 1362 __register_sysctl_table( struct ctl_table_set *set, const char *path, struct ctl_table *table, size_t table_size) __register_sysctl_table() argument 1425 register_sysctl_sz(const char *path, struct ctl_table *table, size_t table_size) register_sysctl_sz() argument 1454 __register_sysctl_init(const char *path, struct ctl_table *table, const char *table_name, size_t table_size) __register_sysctl_init() argument 1610 char *path; process_sysctl_arg() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | pre-process.c | 809 static int already_tokenized(const char *path) in already_tokenized() argument 813 for (stream = *hash_stream(path); stream >= 0 ; stream = next) { in already_tokenized() 818 if (strcmp(path, s->name)) in already_tokenized() 824 if (strcmp(path, s->name)) in already_tokenized() 876 const char *path = stream->path; in set_stream_include_path() local 877 if (!path) { in set_stream_include_path() 879 path = ""; in set_stream_include_path() 886 path = m; in set_stream_include_path() 887 /* normalize this path */ in set_stream_include_path() 899 try_include(struct position pos, const char *path, const char *filename, int flen, struct token **where, const char **next_path) try_include() argument 925 const char *path; do_include_path() local 949 const char **path; handle_include_path() local 1808 add_path_entry(struct token *token, const char *path, const char ***where) add_path_entry() argument 1885 add_dirafter_entry(struct token *token, const char *path) add_dirafter_entry() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | accessibility_manager_ng.cpp | 144 AccessibilityHoverTestPath path = AccessibilityProperty::HoverTest(point, root, debugInfo); in HandleAccessibilityHoverEventInner() local 145 for (const auto& node: path) { in HandleAccessibilityHoverEventInner() 234 AccessibilityHoverTestPath path = AccessibilityProperty::HoverTest(point, root, debugInfo); in HoverTestDebug() local 240 for (size_t i = 0; i < path.size(); ++i) { in HoverTestDebug() 241 summaryPath->Put(std::to_string(i).c_str(), path[i]->GetAccessibilityId()); in HoverTestDebug() 243 if (AccessibilityProperty::IsAccessibilityFocusableDebug(path[i], detailNodeSelection)) { in HoverTestDebug() 244 summarySelected->Put(std::to_string(numNodesSelected).c_str(), path[i]->GetAccessibilityId()); in HoverTestDebug() 249 summaryJson->PutRef("path", std::move(summaryPath)); in HoverTestDebug() 269 std::vector<RefPtr<NG::FrameNode>> path; in ConvertPointFromAncestorToNode() local 272 path in ConvertPointFromAncestorToNode() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_db_test/src/ |
H A D | medialibrary_scanner_db_test.cpp | 101 string path = "/storage/cloud/files/"; in HWTEST_F() local 102 int32_t ret = mediaScannerDb.ReadAlbums(path, albumMap_); in HWTEST_F() 222 string path = "/storage/cloud/files/"; in HWTEST_F() local 223 prevIdMap = mediaScannerDb.GetIdsFromFilePath(path, tableName); in HWTEST_F() 231 string path = "/storage/cloud/files/"; in HWTEST_F() local 232 int32_t ret = mediaScannerDb.ReadAlbums(path, albumMap_); in HWTEST_F() 265 string path = ""; in HWTEST_F() local 266 string uri = mediaScannerDb.GetFileDBUriFromPath(path); in HWTEST_F() 333 string path = "/storage/cloud/files/"; in HWTEST_F() local 334 id = mediaScannerDb.GetIdFromPath(path); in HWTEST_F() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_reporter.cpp | 60 int32_t DfxReporter::ReportHighMemoryImageThumbnail(std::string &path, std::string &suffix, int32_t width, in ReportHighMemoryImageThumbnail() argument 64 MEDIA_WARN_LOG("image %{public}s is %{public}s, width: %{public}d, height: %{public}d", path.c_str(), in ReportHighMemoryImageThumbnail() 68 MEDIA_WARN_LOG("image %{public}s is too large, width: %{public}d, height: %{public}d", path.c_str(), width, in ReportHighMemoryImageThumbnail() 75 int32_t DfxReporter::ReportHighMemoryVideoThumbnail(std::string &path, std::string &suffix, int32_t width, in ReportHighMemoryVideoThumbnail() argument 79 MEDIA_WARN_LOG("video %{public}s is too large, width: %{public}d, height: %{public}d", path.c_str(), width, in ReportHighMemoryVideoThumbnail() 103 // 0 means index of path in ReportThumbnailError() 104 string path = thumbnailInfo[0]; in ReportThumbnailError() local 114 "PATH", path, in ReportThumbnailError() 189 void DfxReporter::ReportDeleteBehavior(string bundleName, int32_t type, std::string path) in ReportDeleteBehavior() argument 191 if (bundleName == "" || path in ReportDeleteBehavior() [all...] |
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/ |
H A D | ringtone_language_manager.cpp | 130 char *path = GetOneCfgFile(RINGTONE_MULTILINGUAL_FILE_PATH, buf, MAX_PATH_LEN); in UpdateRingtoneLanguage() local 131 if (path == nullptr || *path == '\0') { in UpdateRingtoneLanguage() 136 const char *path = RINGTONE_MULTILINGUAL_FILE_PATH; in UpdateRingtoneLanguage() local 139 if (!ReadMultilingualResources(path, RINGTONE_FILE)) { in UpdateRingtoneLanguage() 160 char *path = GetOneCfgFile(VIBRATION_MULTILINGUAL_FILE_PATH, buf, MAX_PATH_LEN); in UpdateVibrationLanguage() local 161 if (path == nullptr || *path == '\0') { in UpdateVibrationLanguage() 166 const char *path = VIBRATION_MULTILINGUAL_FILE_PATH; in UpdateVibrationLanguage() local 169 if (!ReadMultilingualResources(path, VIBRATION_FIL in UpdateVibrationLanguage() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | store_factory_test.cpp | 59 std::chrono::system_clock::time_point GetDate(const std::string &name, const std::string &path); 60 bool ChangeKeyDate(const std::string &name, const std::string &path, int duration); 62 std::shared_ptr<StoreFactoryTest::DBManager> GetDBManager(const std::string &path, const AppId &appId); 95 std::chrono::system_clock::time_point StoreFactoryTest::GetDate(const std::string &name, const std::string &path) in GetDate() argument 98 auto keyPath = path + "/key/" + name + ".key"; in GetDate() 116 bool StoreFactoryTest::ChangeKeyDate(const std::string &name, const std::string &path, int duration) in ChangeKeyDate() argument 118 auto keyPath = path + "/key/" + name + ".key"; in ChangeKeyDate() 149 std::shared_ptr<StoreFactoryTest::DBManager> StoreFactoryTest::GetDBManager(const std::string &path, const AppId &appId) in GetDBManager() argument 151 std::string fullPath = path + "/kvdb"; in GetDBManager() 155 BackupManager::GetInstance().Init(path); in GetDBManager() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_utils.cpp | 226 auto path = srcFile.substr(pre, end - pre); in Anonymous() local 227 auto area = path.find("/el"); in Anonymous() 228 if (area == std::string::npos || area + AREA_MINI_SIZE > path.size()) { in Anonymous() 229 path = ""; in Anonymous() 230 } else if (area + AREA_OFFSET_SIZE < path.size()) { in Anonymous() 231 path = path.substr(area, AREA_MINI_SIZE) + "/***"; in Anonymous() 233 path = path.substr(area, AREA_MINI_SIZE); in Anonymous() 237 return srcFile.substr(0, pre + PRE_OFFSET_SIZE) + "***" + path in Anonymous() [all...] |
/kernel/linux/build/ |
H A D | kernel_build.py | 37 def __init__(self, arch, path): 39 self.path = path 45 return os.path.normpath(filename) 61 if not os.path.exists(os.path.join(self.path, filename)): 271 if os.path.exists(config_path.format(arch, config)): 272 cp = f'cp ' + config_path.format(arch, config) + ' ' + os.path.join(knl_path, 'arch', arch, 'configs', config) 364 log_file = os.path [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 233 char path[4096]; in write_id_mapping() local 238 snprintf(path, sizeof(path), "/proc/%d/setgroups", pid); in write_id_mapping() 239 setgroups_fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); in write_id_mapping() 253 ret = snprintf(path, sizeof(path), "/proc/%d/uid_map", pid); in write_id_mapping() 256 ret = snprintf(path, sizeof(path), "/proc/%d/gid_map", pid); in write_id_mapping() 261 if (ret < 0 || ret >= sizeof(path)) in write_id_mapping() 264 fd = open(path, O_WRONL in write_id_mapping() [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | ess.c | 226 * 1. path index = primary ring only in ess_raf_received_pack() 292 * Verify the path index and resource in ess_raf_received_pack() 508 chg->path.para.p_type = SMT_P320B ; in ess_send_response() 509 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response() 510 chg->path.mib_index = SBAPATHINDEX ; in ess_send_response() 511 chg->path.path_pad = 0; in ess_send_response() 512 chg->path.path_index = PRIMARY_RING ; in ess_send_response() 604 req->path.para.p_type = SMT_P320B ; in ess_send_alc_req() 605 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req() 606 req->path in ess_send_alc_req() [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4namespace.c | 31 * Work out the length that an NFSv4 path would render to as a standard posix 32 * path, with a leading slash but no terminating slash. 55 * Convert the NFSv4 pathname components into a standard posix path. 86 * return the path component of "<server>:<path>" 87 * nfspath - the "<server>:<path>" string 110 * Determine the mount path as a string 115 char *path = nfs_path(&limit, dentry, buffer, buflen, in nfs4_path() local 117 if (!IS_ERR(path)) { in nfs4_path() 118 char *path_component = nfs_path_component(path, limi in nfs4_path() 133 const char *path; nfs4_validate_fspath() local [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4namespace.c | 31 * Work out the length that an NFSv4 path would render to as a standard posix 32 * path, with a leading slash but no terminating slash. 55 * Convert the NFSv4 pathname components into a standard posix path. 86 * return the path component of "<server>:<path>" 87 * nfspath - the "<server>:<path>" string 110 * Determine the mount path as a string 115 char *path = nfs_path(&limit, dentry, buffer, buflen, in nfs4_path() local 117 if (!IS_ERR(path)) { in nfs4_path() 118 char *path_component = nfs_path_component(path, limi in nfs4_path() 133 const char *path; nfs4_validate_fspath() local [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | ess.c | 225 * 1. path index = primary ring only in ess_raf_received_pack() 291 * Verify the path index and resource in ess_raf_received_pack() 507 chg->path.para.p_type = SMT_P320B ; in ess_send_response() 508 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response() 509 chg->path.mib_index = SBAPATHINDEX ; in ess_send_response() 510 chg->path.path_pad = 0; in ess_send_response() 511 chg->path.path_index = PRIMARY_RING ; in ess_send_response() 603 req->path.para.p_type = SMT_P320B ; in ess_send_alc_req() 604 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req() 605 req->path in ess_send_alc_req() [all...] |