| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
| H A D | tmpfile_stat_mode.c | 44 char spath[1024], dpath[1024]; in test_stat_mode() local 64 snprintf(spath, sizeof (spath), "/proc/self/fd/%d", fd); in test_stat_mode() 68 if (linkat(AT_FDCWD, spath, AT_FDCWD, dpath, AT_SYMLINK_FOLLOW) == -1) in test_stat_mode()
|
| H A D | tmpfile_003_pos.c | 31 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 D | tmpfile_002_pos.c | 47 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 D | pppoed.c | 116 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 D | plugin.c | 450 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 D | blacklistd.c | 430 const char *spath, **blsock; in main() local 435 spath = NULL; in main() 460 spath = optarg; in main() 531 if (spath) { in main() 532 FILE *fp = fopen(spath, "r"); in main() 535 err(EXIT_FAILURE, "Can't open `%s'", spath); in main()
|
| H A D | blocklistd.c | 430 const char *spath, **blsock; in main() local 435 spath = NULL; in main() 460 spath = optarg; in main() 531 if (spath) { in main() 532 FILE *fp = fopen(spath, "r"); in main() 535 err(EXIT_FAILURE, "Can't open `%s'", spath); in main()
|
| /freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 817 char *upath, *spath; in update_vdev_config_dev_sysfs_path() local 824 spath = zfs_get_enclosure_sysfs_path(upath); in update_vdev_config_dev_sysfs_path() 826 if (spath) { in update_vdev_config_dev_sysfs_path() 827 (void) nvlist_add_string(nv, key, spath); in update_vdev_config_dev_sysfs_path() 840 free(spath); in update_vdev_config_dev_sysfs_path()
|
| /freebsd/contrib/tcsh/ |
| H A D | sh.file.c | 276 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 D | zfs_mod.c | 318 char *spath = zfs_strip_partition(fullpath); in zfs_process_add() local 319 if (!spath) { in zfs_process_add() 325 (void) strlcpy(fullpath, spath, sizeof (fullpath)); in zfs_process_add() 326 free(spath); in zfs_process_add()
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_pool.c | 4158 char *spath = zpool_vdev_name(zhp->zpool_hdl, zhp, in find_vdev_entry() local 4160 boolean_t result = (strcmp(mpath, spath) == 0); in find_vdev_entry() 4162 free(spath); in find_vdev_entry()
|