Home
last modified time | relevance | path

Searched refs:fullpath (Results 1 – 19 of 19) sorted by relevance

/f-stack/freebsd/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c229 (void) snprintf(fullpath, sizeof (fullpath), "%llu", in zfs_process_add()
235 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfs_process_add()
244 (void) strlcpy(fullpath, spath, sizeof (fullpath)); in zfs_process_add()
252 if (zpool_vdev_online(zhp, fullpath, in zfs_process_add()
340 (void) zpool_vdev_online(zhp, fullpath, in zfs_process_add()
380 fullpath); in zfs_process_add()
381 (void) zpool_vdev_online(zhp, fullpath, in zfs_process_add()
735 char *path, fullpath[MAXPATHLEN]; in zfsdle_vdev_online() local
762 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfsdle_vdev_online()
774 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfsdle_vdev_online()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zinject/
H A Dtranslate.c89 char fullpath[MAXPATHLEN]; in parse_pathname() local
91 compress_slashes(inpath, fullpath); in parse_pathname()
93 if (fullpath[0] != '/') { in parse_pathname()
95 "path\n", fullpath); in parse_pathname()
100 if (getextmntent(fullpath, &mp, statbuf) != 0) { in parse_pathname()
102 fullpath); in parse_pathname()
108 "filesystem\n", fullpath); in parse_pathname()
112 if (strncmp(fullpath, mp.mnt_mountp, strlen(mp.mnt_mountp)) != 0) { in parse_pathname()
114 "doesn't match path\n", fullpath); in parse_pathname()
120 rel = fullpath + strlen(mp.mnt_mountp); in parse_pathname()
/f-stack/dpdk/lib/librte_power/
H A Dpower_common.c18 char fullpath[PATH_MAX]; in cpufreq_check_scaling_driver() local
27 snprintf(fullpath, sizeof(fullpath), POWER_SYSFILE_SCALING_DRIVER, in cpufreq_check_scaling_driver()
29 f = fopen(fullpath, "r"); in cpufreq_check_scaling_driver()
H A Dpower_acpi_cpufreq.c141 char fullpath[PATH_MAX]; in power_set_governor_userspace() local
145 snprintf(fullpath, sizeof(fullpath), POWER_SYSFILE_GOVERNOR, in power_set_governor_userspace()
147 f = fopen(fullpath, "rw+"); in power_set_governor_userspace()
197 char fullpath[PATH_MAX]; in power_get_available_freqs() local
201 snprintf(fullpath, sizeof(fullpath), POWER_SYSFILE_AVAIL_FREQ, in power_get_available_freqs()
203 f = fopen(fullpath, "r"); in power_get_available_freqs()
264 char fullpath[PATH_MAX]; in power_init_for_setting_freq() local
269 snprintf(fullpath, sizeof(fullpath), POWER_SYSFILE_SETSPEED, in power_init_for_setting_freq()
271 f = fopen(fullpath, "rw+"); in power_init_for_setting_freq()
381 char fullpath[PATH_MAX]; in power_set_governor_original() local
[all …]
H A Dpower_pstate_cpufreq.c122 char fullpath[PATH_MAX]; in power_rdmsr() local
124 snprintf(fullpath, sizeof(fullpath), POWER_MSR_PATH, lcore_id); in power_rdmsr()
126 fd = open(fullpath, O_RDONLY); in power_rdmsr()
129 RTE_LOG(ERR, POWER, "Error opening '%s': %s\n", fullpath, in power_rdmsr()
143 fullpath, msr, lcore_id); in power_rdmsr()
339 char fullpath[PATH_MAX]; in power_set_governor_performance() local
343 snprintf(fullpath, sizeof(fullpath), POWER_SYSFILE_GOVERNOR, in power_set_governor_performance()
345 f = fopen(fullpath, "rw+"); in power_set_governor_performance()
394 char fullpath[PATH_MAX]; in power_set_governor_original() local
398 snprintf(fullpath, sizeof(fullpath), POWER_SYSFILE_GOVERNOR, in power_set_governor_original()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_util_os.c171 char fullpath[MAXPATHLEN]; in find_shares_object() local
174 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); in find_shares_object()
175 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN); in find_shares_object()
177 if (stat64(fullpath, &sb) != 0) { in find_shares_object()
179 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath); in find_shares_object()
/f-stack/dpdk/app/test/
H A Dtest_power_cpufreq.c48 char fullpath[PATH_MAX]; in check_cur_freq() local
53 if (snprintf(fullpath, sizeof(fullpath), in check_cur_freq()
57 f = fopen(fullpath, "r"); in check_cur_freq()
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_iter.c574 char fullpath[MAXPATHLEN]; in vdev_run_cmd_thread() local
585 if (snprintf(fullpath, sizeof (fullpath), in vdev_run_cmd_thread()
589 if (access(fullpath, X_OK) == 0) { in vdev_run_cmd_thread()
590 vdev_run_cmd(data, fullpath); in vdev_run_cmd_thread()
H A Dzpool_main.c5224 char fullpath[MAXPATHLEN]; in print_zpool_dir_scripts() local
5230 sprintf(fullpath, "%s/%s", dirpath, ent->d_name); in print_zpool_dir_scripts()
5233 if (stat(fullpath, &dir_stat) == 0) in print_zpool_dir_scripts()
5237 fullpath); in print_zpool_dir_scripts()
/f-stack/freebsd/kern/
H A Dsys_process.c346 char *freepath, *fullpath; in ptrace_vm_entry() local
420 fullpath = NULL; in ptrace_vm_entry()
421 vn_fullpath(vp, &fullpath, &freepath); in ptrace_vm_entry()
429 if (fullpath != NULL) { in ptrace_vm_entry()
430 pve->pve_pathlen = strlen(fullpath) + 1; in ptrace_vm_entry()
432 error = copyout(fullpath, pve->pve_path, in ptrace_vm_entry()
H A Dvfs_cache.c100 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, hit, "struct vnode *",
102 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, miss, "struct vnode *");
103 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, return, "int",
3053 SDT_PROBE3(vfs, namecache, fullpath, return, error, in vn_vptocnp()
3059 SDT_PROBE3(vfs, namecache, fullpath, hit, ncp->nc_dvp, in vn_vptocnp()
3068 SDT_PROBE1(vfs, namecache, fullpath, miss, vp); in vn_vptocnp()
3131 SDT_PROBE1(vfs, namecache, fullpath, entry, vp); in vn_fullpath_dir()
3156 SDT_PROBE3(vfs, namecache, fullpath, return, in vn_fullpath_dir()
3170 SDT_PROBE3(vfs, namecache, fullpath, return, in vn_fullpath_dir()
3180 SDT_PROBE3(vfs, namecache, fullpath, return, error, in vn_fullpath_dir()
[all …]
H A Dkern_proc.c2298 char *fullpath, *freepath; in sysctl_kern_proc_ovmmap() local
2381 fullpath = ""; in sysctl_kern_proc_ovmmap()
2395 vn_fullpath(vp, &fullpath, &freepath); in sysctl_kern_proc_ovmmap()
2411 strlcpy(kve->kve_path, fullpath, sizeof(kve->kve_path)); in sysctl_kern_proc_ovmmap()
2509 char *fullpath, *freepath; in kern_proc_vmmap_out() local
2591 fullpath = ""; in kern_proc_vmmap_out()
2603 vn_fullpath(vp, &fullpath, &freepath); in kern_proc_vmmap_out()
2628 strlcpy(kve->kve_path, fullpath, sizeof(kve->kve_path)); in kern_proc_vmmap_out()
H A Dkern_sig.c3743 char *fullpath, *freepath = NULL; in coredump() local
3828 if (vn_fullpath_global(p->p_textvp, &fullpath, &freepath) != 0) in coredump()
3831 devctl_safe_quote_sb(sb, fullpath); in coredump()
3843 if (vn_getcwd(freepath, &fullpath, &fullpathsize) != 0) { in coredump()
3847 devctl_safe_quote_sb(sb, fullpath); in coredump()
H A Dvfs_vnops.c2539 char *fullpath, *freepath; in vn_fill_kinfo_vnode() local
2544 fullpath = "-"; in vn_fill_kinfo_vnode()
2545 error = vn_fullpath(vp, &fullpath, &freepath); in vn_fill_kinfo_vnode()
2547 strlcpy(kif->kf_path, fullpath, sizeof(kif->kf_path)); in vn_fill_kinfo_vnode()
/f-stack/freebsd/netgraph/
H A Dng_base.c1727 char fullpath[NG_PATHSIZ]; in ng_path2noderef() local
1739 strncpy(fullpath, address, sizeof(fullpath) - 1); in ng_path2noderef()
1740 fullpath[sizeof(fullpath) - 1] = '\0'; in ng_path2noderef()
1743 if (ng_path_parse(fullpath, &nodename, &path, NULL) < 0) { in ng_path2noderef()
/f-stack/lib/
H A Dff_ng_base.c1733 char fullpath[NG_PATHSIZ]; in ng_path2noderef() local
1745 strncpy(fullpath, address, sizeof(fullpath) - 1); in ng_path2noderef()
1746 fullpath[sizeof(fullpath) - 1] = '\0'; in ng_path2noderef()
1749 if (ng_path_parse(fullpath, &nodename, &path, NULL) < 0) { in ng_path2noderef()
/f-stack/freebsd/vm/
H A Dvm_object.c2522 char *fullpath, *freepath; in sysctl_vm_object_list() local
2591 fullpath = ""; in sysctl_vm_object_list()
2597 vn_fullpath(vp, &fullpath, &freepath); in sysctl_vm_object_list()
2608 strlcpy(kvo->kvo_path, fullpath, sizeof(kvo->kvo_path)); in sysctl_vm_object_list()
/f-stack/app/redis-5.0.5/deps/jemalloc/bin/
H A Djeprof.in4429 my $fullpath = $prefix . $suffix;
4430 if (-e $fullpath) {
4431 return $fullpath;
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c2981 const char *fullpath = path; in zpool_vdev_online() local
2991 fullpath = buf; in zpool_vdev_online()
2994 error = zpool_relabel_disk(hdl, fullpath, msg); in zpool_vdev_online()