Home
last modified time | relevance | path

Searched refs:zvol_state_t (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzvol_impl.h60 } zvol_state_t; typedef
75 zvol_state_t *zvol_find_by_name_hash(const char *name,
77 int zvol_first_open(zvol_state_t *zv, boolean_t readonly);
80 void zvol_last_close(zvol_state_t *zv);
81 void zvol_insert(zvol_state_t *zv);
82 void zvol_log_truncate(zvol_state_t *zv, dmu_tx_t *tx, uint64_t off,
84 void zvol_log_write(zvol_state_t *zv, dmu_tx_t *tx, uint64_t offset,
90 void zvol_wait_close(zvol_state_t *zv);
95 void zvol_os_free(zvol_state_t *zv);
96 void zvol_os_rename_minor(zvol_state_t *zv, const char *newname);
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzvol.c129 zvol_state_t *
132 zvol_state_t *zv; in zvol_find_by_name_hash()
137 zv = hlist_entry(p, zvol_state_t, zv_hlink); in zvol_find_by_name_hash()
173 static zvol_state_t *
316 zvol_state_t *zv = zvol_find_by_name(name, RW_READER); in zvol_set_volsize()
374 zvol_state_t *zv = zvol_find_by_name(name, RW_NONE); in zvol_set_volthreading()
388 zvol_state_t *zv = zvol_find_by_name(name, RW_NONE); in zvol_set_ro()
446 zvol_state_t *zv = arg1; in zvol_replay_truncate()
480 zvol_state_t *zv = arg1; in zvol_replay_write()
565 zvol_log_write(zvol_state_t *zv, dmu_tx_t *tx, uint64_t offset, in zvol_log_write()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c49 static void zvol_request_impl(zvol_state_t *zv, struct bio *bio,
127 zvol_state_t *zv;
166 zvol_state_t *zv = rq->q->queuedata; in zvol_mq_queue_rq()
188 static int zvol_blk_mq_alloc_tag_set(zvol_state_t *zv) in zvol_blk_mq_alloc_tag_set()
235 zvol_state_t *zv = zvr->zv; in zvol_write()
338 zvol_state_t *zv = zvr->zv; in zvol_discard()
430 zvol_state_t *zv = zvr->zv; in zvol_read()
510 zvol_request_impl(zvol_state_t *zv, struct bio *bio, struct request *rq, in zvol_request_impl()
685 zvol_state_t *zv = q->queuedata; in zvol_submit_bio()
702 zvol_state_t *zv; in zvol_open()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c164 static void zvol_ensure_zilog(zvol_state_t *zv);
207 static void zvol_geom_run(zvol_state_t *zv);
208 static void zvol_geom_destroy(zvol_state_t *zv);
222 zvol_state_t *zv; in zvol_geom_open()
354 zvol_state_t *zv; in zvol_geom_close()
422 zvol_geom_run(zvol_state_t *zv) in zvol_geom_run()
436 zvol_geom_destroy(zvol_state_t *zv) in zvol_geom_destroy()
453 zvol_wait_close(zvol_state_t *zv) in zvol_wait_close()
521 zvol_state_t *zv = arg; in zvol_geom_worker()
553 zvol_state_t *zv = bp->bio_to->private; in zvol_geom_bio_start()
[all …]