/third_party/ltp/lib/ |
H A D | tst_kconfig.c | 30 static const char *kconfig_path(char *path_buf, size_t path_buf_len) in kconfig_path() argument 48 snprintf(path_buf, path_buf_len, "/lib/modules/%s/build/.config", un.release); in kconfig_path() 50 if (!access(path_buf, F_OK)) in kconfig_path() 51 return path_buf; in kconfig_path() 53 snprintf(path_buf, path_buf_len, "/lib/modules/%s/config", un.release); in kconfig_path() 55 if (!access(path_buf, F_OK)) in kconfig_path() 56 return path_buf; in kconfig_path() 59 snprintf(path_buf, path_buf_len, "/boot/config-%s", un.release); in kconfig_path() 61 if (!access(path_buf, F_OK)) in kconfig_path() 62 return path_buf; in kconfig_path() 81 char path_buf[1024]; open_kconfig() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | path.c | 24 char *mkpath(char *path_buf, size_t sz, const char *fmt, ...) in mkpath() argument 30 len = vsnprintf(path_buf, sz, fmt, args); in mkpath() 33 strncpy(path_buf, "/bad-path/", sz); in mkpath() 34 return cleanup_path(path_buf); in mkpath()
|
H A D | cache.h | 29 char *mkpath(char *path_buf, size_t sz, const char *fmt, ...) __printf(3, 4);
|
/kernel/linux/common_modules/code_sign/ |
H A D | code_sign_elf.c | 222 char *path_buf = kzalloc(PATH_MAX, GFP_KERNEL); in elf_file_enable_fs_verity() local 223 if (!path_buf) { in elf_file_enable_fs_verity() 224 code_sign_log_error("alloc mem for path_buf failed"); in elf_file_enable_fs_verity() 228 char *real_path = file_path(file, path_buf, PATH_MAX - 1); in elf_file_enable_fs_verity() 303 kfree(path_buf); in elf_file_enable_fs_verity()
|
/third_party/lwip/src/apps/http/makefsdata/ |
H A D | tinydir.h | 259 _tinydir_char_t path_buf[_TINYDIR_PATH_MAX]; in tinydir_open() 295 _tinydir_strcpy(path_buf, dir->path); in tinydir_open() 296 _tinydir_strcat(path_buf, TINYDIR_STRING("\\*")); in tinydir_open() 298 dir->_h = FindFirstFileEx(path_buf, FindExInfoStandard, &dir->_f, FindExSearchNameMatch, NULL, 0); in tinydir_open() 300 dir->_h = FindFirstFile(path_buf, &dir->_f); in tinydir_open()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_merge.c | 935 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_dentry() local 941 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_dentry() 946 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_dentry() 989 kfree(path_buf); in hmdfs_create_lower_dentry() 1250 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in do_rename_merge() local 1260 if (unlikely(!path_buf || !abs_path_buf)) { in do_rename_merge() 1277 path_name = dentry_path_raw(lo_d_new_dir, path_buf, PATH_MAX); in do_rename_merge() 1325 kfree(path_buf); in do_rename_merge()
|
H A D | inode_cloud_merge.c | 456 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_cloud_dentry() local 462 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_cloud_dentry() 467 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_cloud_dentry() 510 kfree(path_buf); in hmdfs_create_lower_cloud_dentry()
|
H A D | inode.h | 51 char *path_buf; member
|
H A D | stash.c | 554 kfree(cache->path_buf); in hmdfs_del_file_cache() 571 cache->path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_new_file_cache() 572 if (!cache->path_buf) { in hmdfs_new_file_cache() 581 cache->path = dentry_path_raw(stash_dentry, cache->path_buf, in hmdfs_new_file_cache() 595 cache->path_buf[0] = '\0'; in hmdfs_new_file_cache() 596 cache->path = cache->path_buf; in hmdfs_new_file_cache() 615 kfree(cache->path_buf); in hmdfs_new_file_cache()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_merge.c | 935 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_dentry() local 941 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_dentry() 946 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_dentry() 989 kfree(path_buf); in hmdfs_create_lower_dentry() 1250 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in do_rename_merge() local 1261 if (unlikely(!path_buf || !abs_path_buf)) { in do_rename_merge() 1278 path_name = dentry_path_raw(lo_d_new_dir, path_buf, PATH_MAX); in do_rename_merge() 1333 kfree(path_buf); in do_rename_merge()
|
H A D | inode_cloud_merge.c | 456 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_cloud_dentry() local 462 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_cloud_dentry() 467 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_cloud_dentry() 510 kfree(path_buf); in hmdfs_create_lower_cloud_dentry()
|
H A D | inode.h | 51 char *path_buf; member
|
H A D | stash.c | 544 kfree(cache->path_buf); in hmdfs_del_file_cache() 561 cache->path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_new_file_cache() 562 if (!cache->path_buf) { in hmdfs_new_file_cache() 571 cache->path = dentry_path_raw(stash_dentry, cache->path_buf, in hmdfs_new_file_cache() 585 cache->path_buf[0] = '\0'; in hmdfs_new_file_cache() 586 cache->path = cache->path_buf; in hmdfs_new_file_cache() 605 kfree(cache->path_buf); in hmdfs_new_file_cache()
|
/third_party/rust/crates/cxx/gen/cmd/src/ |
H A D | app.rs | 126 .value_parser(ValueParser::path_buf()) in arg_input() 208 .value_parser(ValueParser::path_buf()) in arg_output()
|
/third_party/musl/porting/linux/user/ldso/ |
H A D | zip_archive.h | 38 char path_buf[PATH_BUF_SIZE]; member
|
H A D | dynlink.c | 4537 memset(z_info->path_buf, 0, sizeof(z_info->path_buf)); in open_library_by_path() 4595 if (strlcpy(z_info->path_buf, path, PATH_BUF_SIZE) >= PATH_BUF_SIZE) { in open_uncompressed_library_in_zipfile() 4599 z_info->path_buf[separator - path] = '\0'; in open_uncompressed_library_in_zipfile() 4601 char *zip_file_path = z_info->path_buf; in open_uncompressed_library_in_zipfile() 4602 char *lib_path = &z_info->path_buf[z_info->file_path_index]; in open_uncompressed_library_in_zipfile()
|
/third_party/musl/ldso/linux/ |
H A D | zip_archive.h | 38 char path_buf[PATH_BUF_SIZE]; member
|
/third_party/libuv/src/win/ |
H A D | fs.c | 2371 WCHAR* path_buf; in fs__create_junction() local 2402 path_buf = (WCHAR*)&(buffer->MountPointReparseBuffer.PathBuffer); in fs__create_junction() 2408 wcsncpy((WCHAR*)&path_buf[path_buf_len], JUNCTION_PREFIX, in fs__create_junction() 2420 path_buf[path_buf_len++] = L'\\'; in fs__create_junction() 2424 path_buf[path_buf_len++] = path[i]; in fs__create_junction() 2426 path_buf[path_buf_len++] = L'\\'; in fs__create_junction() 2434 path_buf[path_buf_len++] = L'\0'; in fs__create_junction() 2446 path_buf[path_buf_len++] = L'\\'; in fs__create_junction() 2450 path_buf[path_buf_len++] = path[i]; in fs__create_junction() 2454 path_buf[path_buf_le in fs__create_junction() [all...] |
/third_party/node/deps/uv/src/win/ |
H A D | fs.c | 2390 WCHAR* path_buf; in fs__create_junction() local 2421 path_buf = (WCHAR*)&(buffer->MountPointReparseBuffer.PathBuffer); in fs__create_junction() 2427 wcsncpy((WCHAR*)&path_buf[path_buf_len], JUNCTION_PREFIX, in fs__create_junction() 2439 path_buf[path_buf_len++] = L'\\'; in fs__create_junction() 2443 path_buf[path_buf_len++] = path[i]; in fs__create_junction() 2445 path_buf[path_buf_len++] = L'\\'; in fs__create_junction() 2453 path_buf[path_buf_len++] = L'\0'; in fs__create_junction() 2465 path_buf[path_buf_len++] = L'\\'; in fs__create_junction() 2469 path_buf[path_buf_len++] = path[i]; in fs__create_junction() 2473 path_buf[path_buf_le in fs__create_junction() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-util.c | 3454 char *path_buf; in pa_realpath() local 3455 path_buf = pa_xmalloc(PATH_MAX); in pa_realpath() 3458 if (!(t = _fullpath(path_buf, path, _MAX_PATH))) { in pa_realpath() 3459 pa_xfree(path_buf); in pa_realpath() 3463 if (!(t = realpath(path, path_buf))) { in pa_realpath() 3464 pa_xfree(path_buf); in pa_realpath()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 1640 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; in wpas_dbus_handler_add_cred() local 1909 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; in wpas_dbus_handler_add_network() local 3894 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *bss_obj_path = path_buf; in wpas_dbus_getter_current_bss() local 3922 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *net_obj_path = path_buf; in wpas_dbus_getter_current_network() local
|
H A D | dbus_new_handlers_p2p.c | 1366 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX]; in wpas_dbus_getter_p2p_group() local 1367 char *dbus_groupobj_path = path_buf; in wpas_dbus_getter_p2p_group() 2132 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; in wpas_dbus_handler_add_persistent_group() local
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 1581 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; in wpas_dbus_handler_add_network() local 3504 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *bss_obj_path = path_buf; in wpas_dbus_getter_current_bss() local 3532 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *net_obj_path = path_buf; in wpas_dbus_getter_current_network() local
|
H A D | dbus_new_handlers_p2p.c | 1313 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX]; in wpas_dbus_getter_p2p_group() local 1314 char *dbus_groupobj_path = path_buf; in wpas_dbus_getter_p2p_group() 2074 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; in wpas_dbus_handler_add_persistent_group() local
|
/third_party/rust/crates/clap/src/builder/ |
H A D | value_parser.rs | 216 pub const fn path_buf() -> Self { 552 ValueParserInner::PathBuf => f.debug_struct("ValueParser::path_buf").finish(), in fmt() 936 /// Implementation for [`ValueParser::path_buf`] 944 /// Implementation for [`ValueParser::path_buf`] 2115 ValueParser::path_buf() // Default `clap_derive` to optimized implementation in value_parser() 2353 /// assert_eq!(format!("{:?}", parser), "ValueParser::path_buf");
|