Home
last modified time | relevance | path

Searched refs:spath (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_stat_mode.c53 char spath[1024], dpath[1024]; in test_stat_mode() local
73 snprintf(spath, sizeof (spath), "/proc/self/fd/%d", fd); in test_stat_mode()
77 if (linkat(AT_FDCWD, spath, AT_FDCWD, dpath, AT_SYMLINK_FOLLOW) == -1) in test_stat_mode()
H A Dtmpfile_003_pos.c31 char spath[1024], dpath[1024]; in main() local
48 snprintf(spath, 1024, "/proc/self/fd/%d", fd); in main()
50 if (linkat(AT_FDCWD, spath, AT_FDCWD, dpath, AT_SYMLINK_FOLLOW) == 0) in main()
H A Dtmpfile_002_pos.c47 char spath[1024], dpath[1024]; in main() local
63 snprintf(spath, 1024, "/proc/self/fd/%d", fd); in main()
65 if (linkat(AT_FDCWD, spath, AT_FDCWD, dpath, AT_SYMLINK_FOLLOW) < 0) in main()
/freebsd/libexec/pppoed/
H A Dpppoed.c116 char *epath, *spath; in ConfigureNode() local
230 spath = (char *)alloca(strlen(ngc->peerhook) + 3); in ConfigureNode()
231 strcpy(spath, ".:"); in ConfigureNode()
232 strcpy(spath + 2, ngc->ourhook); in ConfigureNode()
237 spath, provider); in ConfigureNode()
239 fprintf(stderr, "Sending PPPOE_LISTEN to %s\n", spath); in ConfigureNode()
242 if (NgSendMsg(cs, spath, NGM_PPPOE_COOKIE, NGM_PPPOE_LISTEN, in ConfigureNode()
245 spath, strerror(errno)); in ConfigureNode()
/freebsd/crypto/heimdal/lib/krb5/
H A Dplugin.c450 heim_string_t spath; in _krb5_load_plugins() local
471 spath = heim_string_create(n); in _krb5_load_plugins()
472 if (spath == NULL) { in _krb5_load_plugins()
478 p = heim_dict_copy_value(module, spath); in _krb5_load_plugins()
485 p->path = heim_retain(spath); in _krb5_load_plugins()
487 heim_dict_add_value(module, spath, p); in _krb5_load_plugins()
490 heim_release(spath); in _krb5_load_plugins()
/freebsd/contrib/blocklist/bin/
H A Dblacklistd.c413 const char *spath, **blsock; in main() local
418 spath = NULL; in main()
443 spath = optarg; in main()
514 if (spath) { in main()
515 FILE *fp = fopen(spath, "r"); in main()
518 err(EXIT_FAILURE, "Can't open `%s'", spath); in main()
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c786 char *upath, *spath; in update_vdev_config_dev_sysfs_path() local
793 spath = zfs_get_enclosure_sysfs_path(upath); in update_vdev_config_dev_sysfs_path()
795 if (spath) { in update_vdev_config_dev_sysfs_path()
796 (void) nvlist_add_string(nv, key, spath); in update_vdev_config_dev_sysfs_path()
809 free(spath); in update_vdev_config_dev_sysfs_path()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ctldir.c1171 struct path spath; in zfsctl_snapshot_mount() local
1286 spath = *path; in zfsctl_snapshot_mount()
1287 path_get(&spath); in zfsctl_snapshot_mount()
1288 if (follow_down_one(&spath)) { in zfsctl_snapshot_mount()
1289 snap_zfsvfs = ITOZSB(spath.dentry->d_inode); in zfsctl_snapshot_mount()
1291 dentry = spath.dentry; in zfsctl_snapshot_mount()
1292 spath.mnt->mnt_flags |= MNT_SHRINKABLE; in zfsctl_snapshot_mount()
1302 path_put(&spath); in zfsctl_snapshot_mount()
/freebsd/contrib/tcsh/
H A Dsh.file.c276 char *spath; in filetype() local
280 spath = short2str(path); in filetype()
282 if (lstat(spath, &statb) == 0) { in filetype()
288 if (stat(spath, &statb) == 0 && /* follow it out */ in filetype()
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c326 char *spath = zfs_strip_partition(fullpath); in zfs_process_add() local
327 if (!spath) { in zfs_process_add()
333 (void) strlcpy(fullpath, spath, sizeof (fullpath)); in zfs_process_add()
334 free(spath); in zfs_process_add()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c3831 char *spath = zpool_vdev_name(zhp->zpool_hdl, zhp, in find_vdev_entry() local
3833 boolean_t result = (strcmp(mpath, spath) == 0); in find_vdev_entry()
3835 free(spath); in find_vdev_entry()