Home
last modified time | relevance | path

Searched defs:vdev (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h210 struct vdev { struct
214 uint64_t vdev_id; /* child number in vdev parent */ argument
215 uint64_t vdev_guid; /* unique ID for this vdev */ argument
216 uint64_t vdev_guid_sum; /* self guid + all child guids */ argument
217 uint64_t vdev_orig_guid; /* orig. guid prior to remove */ argument
218 uint64_t vdev_asize; /* allocatable device capacity */ argument
219 uint64_t vdev_min_asize; /* min acceptable asize */ argument
220 uint64_t vdev_max_asize; /* max acceptable asize */ argument
221 uint64_t vdev_ashift; /* block alignment shift */ argument
228 uint64_t vdev_logical_ashift; argument
[all …]
/freebsd/sys/dev/enic/
H A Dvnic_dev.c20 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv()
25 void vnic_register_cbacks(struct vnic_dev *vdev, in vnic_register_cbacks()
36 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res()
119 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count()
125 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res()
182 static int _vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _vnic_dev_cmd()
244 static int _vnic_dev_cmd2(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in _vnic_dev_cmd2()
319 static int vnic_dev_cmd_proxy(struct vnic_dev *vdev, in vnic_dev_cmd_proxy()
358 static int vnic_dev_cmd_no_proxy(struct vnic_dev *vdev, in vnic_dev_cmd_no_proxy()
377 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in vnic_dev_cmd()
[all …]
H A Dvnic_wq.c10 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, in vnic_dev_alloc_desc_ring()
53 void vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) in vnic_dev_free_desc_ring()
67 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in enic_wq_devcmd2_alloc()
85 void vnic_dev_deinit_devcmd2(struct vnic_dev *vdev) in vnic_dev_deinit_devcmd2()
98 int vnic_dev_deinit(struct vnic_dev *vdev) { in vnic_dev_deinit()
H A Dvnic_intr.c15 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc()
H A Dvnic_cq.h60 struct vnic_dev *vdev; member
89 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service()
/freebsd/cddl/usr.sbin/zfsd/
H A Dzfsd_exception.cc119 Vdev vdev(m_poolConfig, m_vdevConfig); in Log() local
123 Vdev vdev(m_vdevConfig); in Log() local
H A Dzfsd_event.cc209 Vdev vdev(devLabel); in ReadLabel() local
240 Vdev vdev(devConfig); in OnlineByLabel() local
356 Vdev vdev(zpl.front(), vdevConfig); in Process() local
446 ZfsEvent::TryDetach(Vdev &vdev, void *cbArg) in TryDetach()
H A Dvdev_iterator.cc147 Vdev vdev(m_poolConfig, vdevConfig); in Each() local
161 Vdev vdev(m_poolConfig, vdevConfig); in Find() local
H A Dcase_file.cc173 CaseFile::Create(Vdev &vdev) in Create()
263 CaseFile::ReEvaluate(const string &devPath, const string &physPath, Vdev *vdev) in ReEvaluate()
503 Vdev vdev(pool_config, vdevChildren[ch]); in find_parent() local
856 CaseFile::CaseFile(const Vdev &vdev) in CaseFile()
/freebsd/sys/contrib/openzfs/cmd/zpool/os/freebsd/
H A Dzpool_vdev_os.c129 zpool_power_current_state(zpool_handle_t *zhp, char *vdev) in zpool_power_current_state()
139 zpool_power(zpool_handle_t *zhp, char *vdev, boolean_t turn_on) in zpool_power()
/freebsd/stand/libsa/zfs/
H A Dzfs.c458 vdev_read(vdev_t *vdev, void *priv, off_t offset, void *buf, size_t bytes) in vdev_read()
580 vdev_write(vdev_t *vdev, off_t offset, void *buf, size_t bytes) in vdev_write()
794 zfs_get_bootenv(void *vdev, nvlist_t **benvp) in zfs_get_bootenv()
808 zfs_set_bootenv(void *vdev, nvlist_t *benv) in zfs_set_bootenv()
823 zfs_get_bootonce(void *vdev, const char *key, char *buf, size_t size) in zfs_get_bootonce()
883 zfs_nvstore_getter(void *vdev, const char *name, void **data) in zfs_nvstore_getter()
917 zfs_nvstore_setter(void *vdev, int type, const char *name, in zfs_nvstore_setter()
1088 zfs_nvstore_setter_str(void *vdev, const char *type, const char *name, in zfs_nvstore_setter_str()
1234 zfs_nvstore_unset_impl(void *vdev, const char *name, bool unset_env) in zfs_nvstore_unset_impl()
1277 zfs_nvstore_unset(void *vdev, const char *name) in zfs_nvstore_unset()
[all …]
H A Dzfsimpl.c233 vdev_read_phys(vdev_t *vdev, const blkptr_t *bp, void *buf, in vdev_read_phys()
258 vdev_write_phys(vdev_t *vdev, void *buf, off_t offset, size_t size) in vdev_write_phys()
539 vdev_lookup_top(spa_t *spa, uint64_t vdev) in vdev_lookup_top()
698 vdev_indirect_read(vdev_t *vdev, const blkptr_t *bp, void *buf, in vdev_indirect_read()
786 vdev_disk_read(vdev_t *vdev, const blkptr_t *bp, void *buf, in vdev_disk_read()
803 vdev_mirror_read(vdev_t *vdev, const blkptr_t *bp, void *buf, in vdev_mirror_read()
822 vdev_replacing_read(vdev_t *vdev, const blkptr_t *bp, void *buf, in vdev_replacing_read()
845 vdev_t *vdev; in vdev_find() local
857 vdev_t *vdev; in vdev_create() local
882 vdev_set_initial_state(vdev_t *vdev, const nvlist_t *nvlist) in vdev_set_initial_state()
[all …]
/freebsd/stand/i386/libi386/
H A Ddevicename.c39 i386_getdev(void **vdev, const char *devspec, const char **path) in i386_getdev()
/freebsd/stand/efi/libefi/
H A Ddevicename.c45 efi_getdev(void **vdev, const char *devspec, const char **path) in efi_getdev()
/freebsd/stand/userboot/userboot/
H A Ddevicename.c40 userboot_getdev(void **vdev, const char *devspec, const char **path) in userboot_getdev()
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc184 TestableCaseFile::TestableCaseFile(Vdev &vdev) in TestableCaseFile()
190 TestableCaseFile::Create(Vdev &vdev) in Create()
316 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F() local
325 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F() local
359 Vdev vdev(labelConfig); in TEST_F() local
849 bool VdevIteratorTestCB(Vdev &vdev, void *cbArg) { in VdevIteratorTestCB()
/freebsd/sys/contrib/openzfs/cmd/zpool/os/linux/
H A Dzpool_vdev_os.c528 zpool_power_sysfs_path(zpool_handle_t *zhp, char *vdev) in zpool_power_sysfs_path() argument
590 zpool_power_current_state(zpool_handle_t *zhp, char *vdev) in zpool_power_current_state() argument
625 zpool_power(zpool_handle_t *zhp, char *vdev, boolean_ argument
[all...]
/freebsd/stand/uboot/
H A Ddevicename.c43 uboot_getdev(void **vdev, const char *devspec, const char **path) in uboot_getdev()
/freebsd/stand/libofw/
H A Ddevicename.c38 ofw_getdev(void **vdev, const char *devspec, const char **path) in ofw_getdev()
/freebsd/contrib/ofed/libirdma/
H A Dirdma_umain.c144 irdma_init_context(struct verbs_device *vdev, in irdma_init_context()
/freebsd/tools/tools/zfsboottest/
H A Dzfsboottest.c76 vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) in vdev_read()
/freebsd/stand/efi/boot1/
H A Dzfs_module.c53 vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes) in vdev_read()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h2016 typedef struct vdev { struct
2019 vdev_list_t v_children; /* children of this vdev */ argument
2020 const char *v_name; /* vdev name */ argument
2021 uint64_t v_guid; /* vdev guid */ argument
2026 struct vdev *v_top; /* parent vdev */ argument
2028 vdev_state_t v_state; /* current state */ argument
2029 vdev_phys_read_t *v_phys_read; /* read from raw leaf vdev */ argument
2030 vdev_phys_write_t *v_phys_write; /* write to raw leaf vdev */ argument
2031 vdev_read_t *v_read; /* read from vdev */ argument
2036 * Values stored in the config for an indirect or removing vdev. argument
[all …]
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c246 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare()
381 nvlist_t *vdev = NULL; in zfs_retire_recv() local
/freebsd/stand/libsa/geli/
H A Dgelidev.c85 diskdev_read(void *vdev, void *readpriv, off_t offbytes, in diskdev_read()

123