Home
last modified time | relevance | path

Searched refs:path (Results 4076 - 4100 of 8433) sorted by relevance

1...<<161162163164165166167168169170>>...338

/third_party/rust/crates/nix/src/sys/
H A Dquota.rs249 Some(dev) => dev.with_nix_path(|path| { in quotactl()
250 libc::quotactl(cmd.as_int(), path.as_ptr(), id, addr) in quotactl()
266 quota_file.with_nix_path(|path| { in quotactl_on()
267 let mut path_copy = path.to_bytes_with_nul().to_owned(); in quotactl_on()
/third_party/rust/crates/nix/src/
H A Ddir.rs22 /// if the path represents a file or directory).
35 /// Opens the given path as with `fcntl::open`.
37 path: &P, in open()
41 let fd = fcntl::open(path, oflag, mode)?; in open()
45 /// Opens the given path as with `fcntl::openat`.
48 path: &P, in openat()
52 let fd = fcntl::openat(dirfd, path, oflag, mode)?; in openat()
241 /// Returns the bare file name of this directory entry without any other leading path component.
/third_party/zlib/contrib/minizip/
H A Dunzip.h166 extern unzFile ZEXPORT unzOpen(const char *path);
167 extern unzFile ZEXPORT unzOpen64(const void *path);
169 Open a Zip file. path contain the full pathname (by example,
176 the "64" function take a const void* pointer, because the path is just the
178 Under Windows, if UNICODE is defined, using fill_fopen64_filefunc, the path
184 extern unzFile ZEXPORT unzOpen2(const char *path,
191 extern unzFile ZEXPORT unzOpen2_64(const void *path,
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf.c474 char path[]; member
1030 static struct bpf_object *bpf_object__new(const char *path, in bpf_object__new() argument
1038 obj = calloc(1, sizeof(struct bpf_object) + strlen(path) + 1); in bpf_object__new()
1040 pr_warn("alloc memory failed for %s\n", path); in bpf_object__new()
1044 strcpy(obj->path, path); in bpf_object__new()
1050 strncpy(obj->name, basename((void *)path), in bpf_object__new()
1128 obj->efile.fd = open(obj->path, O_RDONLY); in bpf_object__elf_init()
1134 pr_warn("elf: failed to open %s: %s\n", obj->path, cp); in bpf_object__elf_init()
1142 pr_warn("elf: failed to open %s as ELF file: %s\n", obj->path, elf_errms in bpf_object__elf_init()
1961 build_map_pin_path(struct bpf_map *map, const char *path) build_map_pin_path() argument
6942 __bpf_object__open(const char *path, const void *obj_buf, size_t obj_buf_sz, const struct bpf_object_open_opts *opts) __bpf_object__open() argument
7039 bpf_object__open(const char *path) bpf_object__open() argument
7050 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts) bpf_object__open_file() argument
7375 make_parent_dir(const char *path) make_parent_dir() argument
7397 check_path(const char *path) check_path() argument
7427 bpf_program__pin_instance(struct bpf_program *prog, const char *path, int instance) bpf_program__pin_instance() argument
7463 bpf_program__unpin_instance(struct bpf_program *prog, const char *path, int instance) bpf_program__unpin_instance() argument
7491 bpf_program__pin(struct bpf_program *prog, const char *path) bpf_program__pin() argument
7557 bpf_program__unpin(struct bpf_program *prog, const char *path) bpf_program__unpin() argument
7602 bpf_map__pin(struct bpf_map *map, const char *path) bpf_map__pin() argument
7663 bpf_map__unpin(struct bpf_map *map, const char *path) bpf_map__unpin() argument
7699 bpf_map__set_pin_path(struct bpf_map *map, const char *path) bpf_map__set_pin_path() argument
7734 bpf_object__pin_maps(struct bpf_object *obj, const char *path) bpf_object__pin_maps() argument
7787 bpf_object__unpin_maps(struct bpf_object *obj, const char *path) bpf_object__unpin_maps() argument
7822 bpf_object__pin_programs(struct bpf_object *obj, const char *path) bpf_object__pin_programs() argument
7874 bpf_object__unpin_programs(struct bpf_object *obj, const char *path) bpf_object__unpin_programs() argument
7901 bpf_object__pin(struct bpf_object *obj, const char *path) bpf_object__pin() argument
9201 bpf_link__open(const char *path) bpf_link__open() argument
9235 bpf_link__pin(struct bpf_link *link, const char *path) bpf_link__pin() argument
[all...]
/kernel/linux/linux-5.10/scripts/dtc/
H A Ddtx_diff29 -s SRCTREE linux kernel source tree is at path SRCTREE
53 and DTx utilizes '#include' or '/include/' then the path of the
62 may not work since \${ARCH} is part of the include path. The following
71 add the path of DTx_1 and DTx_2 to the include paths. If DTx_2 includes
72 a local file that exists in both the path of DTx_1 and DTx_2 then the
73 file in the path of DTx_1 will incorrectly be included. Possible
137 echo " architecture ${dtx_arch} is in file path," >&2
316 If \${KBUILD_OUTPUT} is a relative path, then '-s SRCDIR', -S, or run
/kernel/linux/linux-5.10/tools/bpf/resolve_btfids/
H A Dmain.c90 const char *path; member
307 fd = open(obj->path, O_RDWR, 0666); in elf_collect()
310 obj->path, strerror(errno)); in elf_collect()
482 btf = btf__parse(obj->btf ?: obj->path, NULL); in symbols_resolve()
486 obj->path, strerror(err)); in symbols_resolve()
664 err >= 0 ? "ok" : "failed", obj->path); in symbols_patch()
703 obj.path = argv[0]; in main()
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_tool_test.py32 def get_absolute_path(path):
33 return os.path.join(os.path.dirname(__file__), path)
69 kconfig_path = os.path.join(test_tmpdir, '.config')
290 path = get_absolute_path('test_data/test_is_test_passed-all_passed.log')
291 with open(path) as file:
/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c89 const char *path, const char *token) in backend_changed()
91 xenbus_otherend_changed(watch, path, token, 1); in backend_changed()
178 const char *path, const char *token) in frontend_changed()
182 xenbus_dev_changed(path, &xenbus_frontend); in frontend_changed()
357 const char *path, const char *token) in xenbus_reset_backend_state_changed()
359 if (xenbus_scanf(XBT_NIL, path, "", "%i", in xenbus_reset_backend_state_changed()
363 path, xenbus_strstate(backend_state)); in xenbus_reset_backend_state_changed()
88 backend_changed(struct xenbus_watch *watch, const char *path, const char *token) backend_changed() argument
177 frontend_changed(struct xenbus_watch *watch, const char *path, const char *token) frontend_changed() argument
356 xenbus_reset_backend_state_changed(struct xenbus_watch *w, const char *path, const char *token) xenbus_reset_backend_state_changed() argument
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_event_perf.c306 char *path = NULL; in perf_uprobe_init() local
312 path = strndup_user(u64_to_user_ptr(p_event->attr.uprobe_path), in perf_uprobe_init()
314 if (IS_ERR(path)) { in perf_uprobe_init()
315 ret = PTR_ERR(path); in perf_uprobe_init()
318 if (path[0] == '\0') { in perf_uprobe_init()
323 tp_event = create_local_trace_uprobe(path, p_event->attr.probe_offset, in perf_uprobe_init()
341 kfree(path); in perf_uprobe_init()
/kernel/linux/linux-5.10/drivers/staging/hievent/
H A Dhiview_hievent.c204 static int append_array_item(char **pool, int pool_len, const char *path) in append_array_item() argument
208 if ((!path) || (path[0] == 0)) { in append_array_item()
209 pr_err("Bad path %s", __func__); in append_array_item()
213 if (strlen(path) > MAX_PATH_LEN) { in append_array_item()
214 pr_err("file path over max: %d", MAX_PATH_LEN); in append_array_item()
222 pool[i] = kstrdup(path, GFP_KERNEL); in append_array_item()
237 int hievent_add_filepath(struct hiview_hievent *event, const char *path) in hievent_add_filepath() argument
240 pr_err("Bad path %s", __func__); in hievent_add_filepath()
243 return append_array_item(event->file_path, MAX_PATH_NUMBER, path); in hievent_add_filepath()
[all...]
/kernel/linux/linux-6.6/fs/proc/
H A Dfd.c5 #include <linux/path.h>
169 static int proc_fd_link(struct dentry *dentry, struct path *path) in proc_fd_link() argument
181 *path = fd_file->f_path; in proc_fd_link()
349 const struct path *path, struct kstat *stat, in proc_fd_getattr()
352 struct inode *inode = d_inode(path->dentry); in proc_fd_getattr()
348 proc_fd_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) proc_fd_getattr() argument
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmb2proto.h57 struct cifs_sb_info *cifs_sb, const char *path,
94 struct cifs_sb_info *cifs_sb, const unsigned char *path,
98 const unsigned char *path, char *pbuf,
100 int smb2_parse_symlink_response(struct cifs_sb_info *cifs_sb, const struct kvec *iov, char **path);
130 __le16 *path, __u8 *oplock,
138 __le16 *path);
281 const char *path, u32 desired_access,
285 /* query path info from the server using SMB311 POSIX extensions*/
H A Dioctl.c33 const unsigned char *path; in cifs_ioctl_query_info() local
38 path = build_path_from_dentry(dentry, page); in cifs_ioctl_query_info()
39 if (IS_ERR(path)) { in cifs_ioctl_query_info()
41 return PTR_ERR(path); in cifs_ioctl_query_info()
44 cifs_dbg(FYI, "%s %s\n", __func__, path); in cifs_ioctl_query_info()
46 if (!path[0]) { in cifs_ioctl_query_info()
50 utf16_path = cifs_convert_path_to_utf16(path + 1, cifs_sb); in cifs_ioctl_query_info()
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c89 const char *path, const char *token) in backend_changed()
91 xenbus_otherend_changed(watch, path, token, 1); in backend_changed()
178 const char *path, const char *token) in frontend_changed()
182 xenbus_dev_changed(path, &xenbus_frontend); in frontend_changed()
349 const char *path, const char *token) in xenbus_reset_backend_state_changed()
351 if (xenbus_scanf(XBT_NIL, path, "", "%i", in xenbus_reset_backend_state_changed()
355 path, xenbus_strstate(backend_state)); in xenbus_reset_backend_state_changed()
88 backend_changed(struct xenbus_watch *watch, const char *path, const char *token) backend_changed() argument
177 frontend_changed(struct xenbus_watch *watch, const char *path, const char *token) frontend_changed() argument
348 xenbus_reset_backend_state_changed(struct xenbus_watch *w, const char *path, const char *token) xenbus_reset_backend_state_changed() argument
/kernel/linux/linux-6.6/drivers/staging/hievent/
H A Dhiview_hievent.c204 static int append_array_item(char **pool, int pool_len, const char *path) in append_array_item() argument
208 if ((!path) || (path[0] == 0)) { in append_array_item()
209 pr_err("Bad path %s", __func__); in append_array_item()
213 if (strlen(path) > MAX_PATH_LEN) { in append_array_item()
214 pr_err("file path over max: %d", MAX_PATH_LEN); in append_array_item()
222 pool[i] = kstrdup(path, GFP_KERNEL); in append_array_item()
237 int hievent_add_filepath(struct hiview_hievent *event, const char *path) in hievent_add_filepath() argument
240 pr_err("Bad path %s", __func__); in hievent_add_filepath()
243 return append_array_item(event->file_path, MAX_PATH_NUMBER, path); in hievent_add_filepath()
[all...]
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Diostat.c29 #include "path.h"
148 char path[MAX_PATH]; in iio_mapping() local
156 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping()
157 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
183 char path[MAX_PATH]; in iio_pmu_count() local
188 snprintf(path, sizeof(path), SYSFS_UNCORE_PMU_PATH, in iio_pmu_count()
190 if (access(path, F_OK) != 0) in iio_pmu_count()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_event_perf.c302 char *path = NULL; in perf_uprobe_init() local
308 path = strndup_user(u64_to_user_ptr(p_event->attr.uprobe_path), in perf_uprobe_init()
310 if (IS_ERR(path)) { in perf_uprobe_init()
311 ret = PTR_ERR(path); in perf_uprobe_init()
314 if (path[0] == '\0') { in perf_uprobe_init()
319 tp_event = create_local_trace_uprobe(path, p_event->attr.probe_offset, in perf_uprobe_init()
337 kfree(path); in perf_uprobe_init()
/kernel/linux/linux-6.6/scripts/dtc/
H A Ddtx_diff29 -s SRCTREE linux kernel source tree is at path SRCTREE
53 and DTx utilizes '#include' or '/include/' then the path of the
62 may not work since \${ARCH} is part of the include path. The following
71 add the path of DTx_1 and DTx_2 to the include paths. If DTx_2 includes
72 a local file that exists in both the path of DTx_1 and DTx_2 then the
73 file in the path of DTx_1 will incorrectly be included. Possible
137 echo " architecture ${dtx_arch} is in file path," >&2
316 If \${KBUILD_OUTPUT} is a relative path, then '-s SRCDIR', -S, or run
/third_party/icu/tools/unicode/c/genprops/
H A Dbidipropsbuilder.cpp176 virtual void writeCSourceFile(const char *path, UErrorCode &errorCode);
177 virtual void writeBinaryData(const char *path, UBool withCopyright, UErrorCode &errorCode);
499 BiDiPropsBuilder::writeCSourceFile(const char *path, UErrorCode &errorCode) { in writeCSourceFile() argument
502 FILE *f=usrc_create(path, "ubidi_props_data.h", 2016, in writeCSourceFile()
561 BiDiPropsBuilder::writeBinaryData(const char *path, UBool withCopyright, UErrorCode &errorCode) { in writeBinaryData() argument
564 UNewDataMemory *pData=udata_create(path, UBIDI_DATA_TYPE, UBIDI_DATA_NAME, &dataInfo, in writeBinaryData()
568 path, u_errorName(errorCode)); in writeBinaryData()
/third_party/libuv/src/unix/
H A Dos390-syscalls.c385 char* mkdtemp(char* path) { in mkdtemp() argument
398 len = strlen(path); in mkdtemp()
399 ep = path + len; in mkdtemp()
421 if (mkdir(path, S_IRWXU) == 0) { in mkdtemp()
441 return path; in mkdtemp()
445 ssize_t os390_readlink(const char* path, char* buf, size_t len) { in os390_readlink() argument
460 rlen = readlink(path, tmpbuf, len); in os390_readlink()
483 /* Read real path of the variable. */ in os390_readlink()
/third_party/mbedtls/scripts/
H A Dconfig.py381 os.path.join(os.path.dirname(__file__),
384 os.path.join(os.path.dirname(os.path.abspath(os.path.dirname(__file__))),
391 if os.path.lexists(candidate):
/third_party/lzma/CPP/Windows/
H A DFileIO.cpp69 bool CFileBase::Create(CFSTR path, DWORD desiredAccess, in Create() argument
82 _handle = ::CreateFile(fs2fas(path), desiredAccess, shareMode, in Create()
89 _handle = ::CreateFileW(fs2us(path), desiredAccess, shareMode, in Create()
95 if (GetSuperPath(path, superPath, USE_MAIN_PATH)) in Create()
112 if (NIO::GetReparseData(path, buf, NULL)) in Create()
118 if (NDir::GetFullPathAndSplit(path, dirPrefix, fileName)) in Create()
376 FChar path[4] = { s[4], ':', '\\', 0 }; in CalcDeviceSize()
378 if (NSystem::MyGetDiskFreeSpace(path, clusterSize, totalSize, freeSize)) in CalcDeviceSize()
626 bool SetDirTime(CFSTR path, const CFiTime *cTime, const CFiTime *aTime, const CFiTime *mTime);
/third_party/jerryscript/tools/
H A Dbuild.py33 toolchain = os.path.join(settings.PROJECT_DIR,
36 return toolchain if os.path.isfile(toolchain) else None
58 buildgrp.add_argument('--builddir', metavar='DIR', default=os.path.join(settings.PROJECT_DIR, 'build'),
233 if not os.path.isabs(arguments.builddir):
234 arguments.builddir = os.path.join(settings.PROJECT_DIR, arguments.builddir)
236 if arguments.clean and os.path.exists(arguments.builddir):
239 if not os.path.exists(arguments.builddir):
/third_party/node/deps/uv/src/unix/
H A Dos390-syscalls.c385 char* mkdtemp(char* path) { in mkdtemp() argument
398 len = strlen(path); in mkdtemp()
399 ep = path + len; in mkdtemp()
421 if (mkdir(path, S_IRWXU) == 0) { in mkdtemp()
441 return path; in mkdtemp()
445 ssize_t os390_readlink(const char* path, char* buf, size_t len) { in os390_readlink() argument
460 rlen = readlink(path, tmpbuf, len); in os390_readlink()
483 /* Read real path of the variable. */ in os390_readlink()
/third_party/pulseaudio/src/modules/dbus/
H A Diface-client.c39 char *path; member
409 pa_assert_se(signal_msg = dbus_message_new_signal(c->path, in client_proplist_changed_cb()
431 c->path = pa_sprintf_malloc("%s/%s%u", PA_DBUS_CORE_OBJECT_PATH, OBJECT_NAME, client->index); in pa_dbusiface_client_new()
437 pa_assert_se(pa_dbus_protocol_add_interface(c->dbus_protocol, c->path, &client_interface_info, c) >= 0); in pa_dbusiface_client_new()
445 pa_assert_se(pa_dbus_protocol_remove_interface(c->dbus_protocol, c->path, client_interface_info.name) >= 0); in pa_dbusiface_client_free()
451 pa_xfree(c->path); in pa_dbusiface_client_free()
458 return c->path; in pa_dbusiface_client_get_path()

Completed in 29 milliseconds

1...<<161162163164165166167168169170>>...338