/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_share.c | 10 static inline bool hmdfs_is_dst_path(struct path *src, struct path *dst) in hmdfs_is_dst_path() 166 struct path *src_path) in get_path_from_share_table() 237 hmdfs_err("get dentry relative path error"); in hmdfs_close_share_item() 290 * the correct path in hmdfs_check_share_access_permission()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | nsxfname.c | 75 * Error for <null Parent + relative path> in acpi_get_handle() 90 /* Relative path with null prefix is disallowed */ in acpi_get_handle() 114 * buffer - Buffer for returned path in ACPI_EXPORT_SYMBOL() 481 char *path; in ACPI_EXPORT_SYMBOL() local 515 path = acpi_ps_get_next_namestring(&parser_state); in ACPI_EXPORT_SYMBOL() 546 acpi_ns_lookup(NULL, path, ACPI_TYPE_METHOD, ACPI_IMODE_LOAD_PASS1, in ACPI_EXPORT_SYMBOL()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_share.c | 10 static inline bool hmdfs_is_dst_path(struct path *src, struct path *dst) in hmdfs_is_dst_path() 166 struct path *src_path) in get_path_from_share_table() 237 hmdfs_err("get dentry relative path error"); in hmdfs_close_share_item() 290 * the correct path in hmdfs_check_share_access_permission()
|
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | file.c | 228 int exfat_getattr(struct mnt_idmap *idmap, const struct path *path, in exfat_getattr() argument 232 struct inode *inode = d_backing_inode(path->dentry); in exfat_getattr()
|
/kernel/linux/linux-6.6/fs/crypto/ |
H A D | hooks.c | 20 * We also verify that if the parent directory (from the path via which the file 400 * the VFS path lookup code. in fscrypt_get_symlink() 416 * @path: the path for the encrypted symlink being queried 434 int fscrypt_symlink_getattr(const struct path *path, struct kstat *stat) in fscrypt_symlink_getattr() argument 436 struct dentry *dentry = path->dentry; in fscrypt_symlink_getattr() 444 * the same way the VFS does during path resolution and readlink(). in fscrypt_symlink_getattr()
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | proc_net.c | 303 const struct path *path, struct kstat *stat, in proc_tgid_net_getattr() 306 struct inode *inode = d_inode(path->dentry); in proc_tgid_net_getattr() 302 proc_tgid_net_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) proc_tgid_net_getattr() argument
|
H A D | root.c | 314 const struct path *path, struct kstat *stat, in proc_root_getattr() 317 generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(path->dentry), in proc_root_getattr() 313 proc_root_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) proc_root_getattr() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | string.h | 285 * @path: path to extract the filename from. 287 static inline const char *kbasename(const char *path) in kbasename() argument 289 const char *tail = strrchr(path, '/'); in kbasename() 290 return tail ? tail + 1 : path; in kbasename()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_evtchnl.c | 250 const char *path, const char *node_ring, in evtchnl_publish() 257 ret = xenbus_printf(xbt, path, node_ring, "%u", evtchnl->gref); in evtchnl_publish() 264 ret = xenbus_printf(xbt, path, node_chnl, "%u", evtchnl->port); in evtchnl_publish() 248 evtchnl_publish(struct xenbus_transaction xbt, struct xen_drm_front_evtchnl *evtchnl, const char *path, const char *node_ring, const char *node_chnl) evtchnl_publish() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 351 char path[64]; in get_run_delay() local 355 sprintf(path, "/proc/%ld/schedstat", syscall(SYS_gettid)); in get_run_delay() 356 fp = fopen(path, "r"); in get_run_delay()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 115 static int read_mnt_flags(const char *path) in read_mnt_flags() argument 121 ret = statvfs(path, &stat); in read_mnt_flags() 124 path, strerror(errno)); in read_mnt_flags()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_link.c | 30 const char *path; in serial_test_cgroup_link() member 56 cgs[i].fd = create_and_get_cgroup(cgs[i].path); in serial_test_cgroup_link() 61 err = join_cgroup(cgs[last_cg].path); in serial_test_cgroup_link()
|
/kernel/linux/linux-6.6/security/smack/ |
H A D | smack.h | 467 struct path p) in smk_ad_setfield_u_fs_path() 469 a->a.u.path = p; in smk_ad_setfield_u_fs_path() 496 struct path p) in smk_ad_setfield_u_fs_path()
|
/kernel/linux/linux-6.6/security/selinux/include/ |
H A D | security.h | 326 int security_genfs_sid(const char *fstype, const char *path, u16 sclass, 330 const char *fstype, const char *path, u16 sclass, 375 extern struct path selinux_null;
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 172 int parse_test_list_file(const char *path, in parse_test_list_file() argument 181 f = fopen(path, "r"); in parse_test_list_file() 184 fprintf(stderr, "Failed to open '%s': %d\n", path, err); in parse_test_list_file()
|
/test/testfwk/arkxtest/uitest/server/ |
H A D | server_main.cpp | 78 {"save file in this path", required_argument, nullptr, 'p'}, 110 static void DumpLayoutImpl(string_view path, bool listWindows, bool initController, bool addExternAttr, in DumpLayoutImpl() argument 114 fout.open(path, ios::out | ios::binary); in DumpLayoutImpl() 116 err = ApiCallErr(ERR_INVALID_INPUT, "Error path:" + string(path) + strerror(errno)); in DumpLayoutImpl() 139 static constexpr string_view usage = "USAGE: uitestkit dumpLayout -p <path>"; in DumpLayout() 178 static constexpr string_view usage = "USAGE: uitest screenCap -p <path>"; in ScreenCap()
|
/test/testfwk/xdevice/src/xdevice/ |
H A D | __init__.py | 22 sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
/test/xts/acts/ability/ability_runtime/capichildprocess/entry/src/main/cpp/ |
H A D | hello.cpp | 207 auto path = "data/storage/el2/base/files/test.txt"; in StartChildWithArgs() local 208 int32_t fd = open(path, O_RDWR | O_CREAT | O_TRUNC, 0644); in StartChildWithArgs() 212 fd = open(path, O_RDWR | O_TRUNC, 0644); in StartChildWithArgs()
|
/third_party/f2fs-tools/mkfs/ |
H A D | f2fs_format_main.c | 205 MSG(0, "Error: device path should be less than " in f2fs_parse_options() 209 c.devices[c.ndevs++].path = strdup(optarg); in f2fs_parse_options() 343 c.devices[0].path = strdup(argv[optind]); in f2fs_parse_options() 419 if (f2fs_dev_is_overwrite((char *)c.devices[i].path)) in f2fs_check_overwrite()
|
/third_party/ffmpeg/libavformat/ |
H A D | sctp.c | 190 char hostname[1024], proto[1024], path[1024]; in sctp_open() local 194 &port, path, sizeof(path), uri); in sctp_open()
|
H A D | tcp.c | 111 char hostname[1024],proto[1024],path[1024]; in tcp_open() local 116 &port, path, sizeof(path), uri); in tcp_open()
|
/third_party/gn/src/gn/ |
H A D | create_bundle_target_generator.cc | 193 SourceFile path = scope_->GetSourceDir().ResolveRelativeFile( in FillPartialInfoPlist() local 199 if (!EnsureStringIsInOutputDir(build_settings->build_dir(), path.value(), in FillPartialInfoPlist() 203 target_->bundle_data().set_partial_info_plist(path); in FillPartialInfoPlist()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | URLHandler.java | 174 private void process(URLVisitor v, boolean recurse, boolean strip, String path, File[] files) { in process() argument 181 process(v, recurse, strip, path + f.getName()+ '/', f.listFiles()); in process() 184 v.visit(strip? f.getName() : path + f.getName()); in process()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | URLHandler.java | 178 private void process(URLVisitor v, boolean recurse, boolean strip, String path, File[] files) { in process() argument 185 process(v, recurse, strip, path + f.getName()+ '/', f.listFiles()); in process() 188 v.visit(strip? f.getName() : path + f.getName()); in process()
|
/third_party/mbedtls/scripts/ |
H A D | generate_ssl_debug_helpers.py | 369 mbedtls_root = os.path.abspath( 371 with open(os.path.join(mbedtls_root, 'include/mbedtls/ssl.h')) as f: 392 with open(os.path.join(output_directory, 'ssl_debug_helpers_generated.c'), 'w') as f:
|