Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/sys/dmu.h
Context not available. | |||||
#define DMU_OT_IS_DDT(ot) \ | #define DMU_OT_IS_DDT(ot) \ | ||||
((ot) == DMU_OT_DDT_ZAP) | ((ot) == DMU_OT_DDT_ZAP) | ||||
#define DMU_OT_IS_ZIL(ot) \ | |||||
((ot) == DMU_OT_INTENT_LOG) | |||||
/* Note: ztest uses DMU_OT_UINT64_OTHER as a proxy for file blocks */ | /* Note: ztest uses DMU_OT_UINT64_OTHER as a proxy for file blocks */ | ||||
#define DMU_OT_IS_FILE(ot) \ | #define DMU_OT_IS_FILE(ot) \ | ||||
((ot) == DMU_OT_PLAIN_FILE_CONTENTS || (ot) == DMU_OT_UINT64_OTHER) | ((ot) == DMU_OT_PLAIN_FILE_CONTENTS || (ot) == DMU_OT_UINT64_OTHER) | ||||
Context not available. | |||||
void dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, | void dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, | ||||
dmu_tx_t *tx); | dmu_tx_t *tx); | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
int dmu_read_uio(objset_t *os, uint64_t object, struct uio *uio, uint64_t size); | int dmu_read_uio(objset_t *os, uint64_t object, zfs_uio_t *uio, uint64_t size); | ||||
int dmu_read_uio_dbuf(dmu_buf_t *zdb, struct uio *uio, uint64_t size); | int dmu_read_uio_dbuf(dmu_buf_t *zdb, zfs_uio_t *uio, uint64_t size); | ||||
int dmu_read_uio_dnode(dnode_t *dn, struct uio *uio, uint64_t size); | int dmu_read_uio_dnode(dnode_t *dn, zfs_uio_t *uio, uint64_t size); | ||||
int dmu_write_uio(objset_t *os, uint64_t object, struct uio *uio, uint64_t size, | int dmu_write_uio(objset_t *os, uint64_t object, zfs_uio_t *uio, uint64_t size, | ||||
dmu_tx_t *tx); | dmu_tx_t *tx); | ||||
int dmu_write_uio_dbuf(dmu_buf_t *zdb, struct uio *uio, uint64_t size, | int dmu_write_uio_dbuf(dmu_buf_t *zdb, zfs_uio_t *uio, uint64_t size, | ||||
dmu_tx_t *tx); | dmu_tx_t *tx); | ||||
int dmu_write_uio_dnode(dnode_t *dn, struct uio *uio, uint64_t size, | int dmu_write_uio_dnode(dnode_t *dn, zfs_uio_t *uio, uint64_t size, | ||||
dmu_tx_t *tx); | dmu_tx_t *tx); | ||||
#endif | #endif | ||||
struct arc_buf *dmu_request_arcbuf(dmu_buf_t *handle, int size); | struct arc_buf *dmu_request_arcbuf(dmu_buf_t *handle, int size); | ||||
Context not available. |