Home
last modified time | relevance | path

Searched refs:upath (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/security/audit/
H A Daudit.h118 void audit_arg_upath1_canon(char *upath);
120 void audit_arg_upath2_canon(char *upath);
122 struct vnode *cdir, char *upath);
124 struct vnode *cdir, char *upath);
349 audit_arg_upath1((td), (dirfd), (upath)); \
354 audit_arg_upath1_canon((upath)); \
364 audit_arg_upath2_canon((upath)); \
459 #define AUDIT_ARG_UPATH1(td, dirfd, upath) argument
460 #define AUDIT_ARG_UPATH1_CANON(upath) argument
461 #define AUDIT_ARG_UPATH2(td, dirfd, upath) argument
[all …]
H A Daudit_arg.c738 audit_canon_path(td, dirfd, upath, *pathp); in audit_arg_upath()
769 char *upath, char **pathp) in audit_arg_upath_vp() argument
774 audit_canon_path_vp(td, rdir, cdir, upath, *pathp); in audit_arg_upath_vp()
779 char *upath) in audit_arg_upath1_vp() argument
793 char *upath) in audit_arg_upath2_vp() argument
813 audit_arg_upath_canon(char *upath, char **pathp) in audit_arg_upath_canon() argument
818 (void)snprintf(*pathp, MAXPATHLEN, "%s", upath); in audit_arg_upath_canon()
822 audit_arg_upath1_canon(char *upath) in audit_arg_upath1_canon() argument
830 audit_arg_upath_canon(upath, &ar->k_ar.ar_arg_upath1); in audit_arg_upath1_canon()
835 audit_arg_upath2_canon(char *upath) in audit_arg_upath2_canon() argument
[all …]
/freebsd/stand/userboot/userboot/
H A Dhost.c45 host_open(const char *upath, struct open_file *f) in host_open() argument
51 return (CALLBACK(open, upath, &f->f_fsdata)); in host_open()
/freebsd/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dupath8 echo upath="$VDEV_UPATH"
/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
792 upath = zfs_get_underlying_path(path); in update_vdev_config_dev_sysfs_path()
793 spath = zfs_get_enclosure_sysfs_path(upath); in update_vdev_config_dev_sysfs_path()
808 free(upath); in update_vdev_config_dev_sysfs_path()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A DMakefile.am84 %D%/zpool.d/upath \
125 upath \
H A Dzpool_iter.c451 env = zpool_vdev_script_alloc_env(data->pool, data->path, data->upath, in vdev_run_cmd()
599 data->upath = zfs_get_underlying_path(path); in for_each_vdev_run_cb()
696 free(vcdl->data[i].upath); in free_vdev_cmd_data_list()
H A Dzpool_util.h97 char *upath; /* vdev underlying path */ member
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dpool_import-led.sh188 ZPOOL_SCRIPTS_AS_ROOT=1 $ZPOOL status -c upath,fault_led "$pool" | grep '/dev/' | (
H A Dstatechange-led.sh188 ZPOOL_SCRIPTS_AS_ROOT=1 $ZPOOL status -c upath,fault_led "$pool" | grep '/dev/' | (
H A Dvdev_attach-led.sh188 ZPOOL_SCRIPTS_AS_ROOT=1 $ZPOOL status -c upath,fault_led "$pool" | grep '/dev/' | (
H A Dvdev_clear-led.sh188 ZPOOL_SCRIPTS_AS_ROOT=1 $ZPOOL status -c upath,fault_led "$pool" | grep '/dev/' | (
/freebsd/stand/libsa/
H A Dnfs.c462 nfs_open(const char *upath, struct open_file *f) in nfs_open() argument
488 printf("nfs_open: %s (rootip=%s rootpath=%s)\n", upath, in nfs_open()
535 cp = path = strdup(upath); in nfs_open()
637 error = nfs_lookupfh(&nfs_root_node, upath, currfd); in nfs_open()
H A Dext2fs.c330 ext2fs_open(const char *upath, struct open_file *f) in ext2fs_open() argument
420 path = strdup(upath); in ext2fs_open()
H A Dufs.c500 ufs_open(const char *upath, struct open_file *f) in ufs_open() argument
565 cp = path = strdup(upath); in ufs_open()
/freebsd/sys/dev/filemon/
H A Dfilemon_wrapper.c149 _filemon_wrapper_openat(struct thread *td, const char *upath, int flags, in _filemon_wrapper_openat() argument
163 if ((error = copyinstr(upath, filemon->fname1, in _filemon_wrapper_openat()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_ucm.c708 struct ib_user_path_rec upath; in ib_ucm_path_get() local
720 if (copy_from_user(&upath, (void __user *)(unsigned long)src, in ib_ucm_path_get()
721 sizeof(upath))) { in ib_ucm_path_get()
727 ib_copy_path_rec_from_user(sa_path, &upath); in ib_ucm_path_get()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c2206 char *upath; in zpool_prepare_disk() local
2218 upath = zfs_get_underlying_path(path); in zpool_prepare_disk()
2221 env = zpool_vdev_script_alloc_env(pool_name, path, upath, in zpool_prepare_disk()
2224 free(upath); in zpool_prepare_disk()
/freebsd/stand/libsa/zfs/
H A Dzfs.c107 zfs_open(const char *upath, struct open_file *f) in zfs_open() argument
123 rc = zfs_lookup(mount, upath, &fp->f_dnode); in zfs_open()
H A Dzfsimpl.c3685 zfs_lookup(const struct zfsmount *mount, const char *upath, dnode_phys_t *dnode) in zfs_lookup() argument
3730 p = upath; in zfs_lookup()
/freebsd/sys/kern/
H A Duipc_mqueue.c2007 kern_kmq_open(struct thread *td, const char *upath, int flags, mode_t mode, in kern_kmq_open() argument
2031 error = copyinstr(upath, path, MQFS_NAMELEN + 1, NULL); in kern_kmq_open()