zil.h (329486) | zil.h (331399) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 375 unchanged lines hidden (view full) --- 384 lr_t itx_lr; /* common part of log record */ 385 /* followed by type-specific part of lr_xx_t and its immediate data */ 386} itx_t; 387 388typedef int zil_parse_blk_func_t(zilog_t *zilog, blkptr_t *bp, void *arg, 389 uint64_t txg); 390typedef int zil_parse_lr_func_t(zilog_t *zilog, lr_t *lr, void *arg, 391 uint64_t txg); | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 375 unchanged lines hidden (view full) --- 384 lr_t itx_lr; /* common part of log record */ 385 /* followed by type-specific part of lr_xx_t and its immediate data */ 386} itx_t; 387 388typedef int zil_parse_blk_func_t(zilog_t *zilog, blkptr_t *bp, void *arg, 389 uint64_t txg); 390typedef int zil_parse_lr_func_t(zilog_t *zilog, lr_t *lr, void *arg, 391 uint64_t txg); |
392typedef int zil_replay_func_t(); | 392typedef int zil_replay_func_t(void *arg1, void *arg2, boolean_t byteswap); |
393typedef int zil_get_data_t(void *arg, lr_write_t *lr, char *dbuf, 394 struct lwb *lwb, zio_t *zio); 395 396extern int zil_parse(zilog_t *zilog, zil_parse_blk_func_t *parse_blk_func, 397 zil_parse_lr_func_t *parse_lr_func, void *arg, uint64_t txg); 398 399extern void zil_init(void); 400extern void zil_fini(void); --- 48 unchanged lines hidden --- | 393typedef int zil_get_data_t(void *arg, lr_write_t *lr, char *dbuf, 394 struct lwb *lwb, zio_t *zio); 395 396extern int zil_parse(zilog_t *zilog, zil_parse_blk_func_t *parse_blk_func, 397 zil_parse_lr_func_t *parse_lr_func, void *arg, uint64_t txg); 398 399extern void zil_init(void); 400extern void zil_fini(void); --- 48 unchanged lines hidden --- |