Home
last modified time | relevance | path

Searched refs:MPOOL (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/
H A Devents_001_pos.ksh43 if poolexists $MPOOL; then
44 destroy_pool $MPOOL
63 run_and_verify -p "$MPOOL" \
67 "zpool create $MPOOL mirror $VDEV1 $VDEV2"
70 run_and_verify -p "$MPOOL" \
72 "zpool set comment=string $MPOOL"
75 run_and_verify -p "$MPOOL" \
78 "zpool add -f $MPOOL spare $VDEV3"
79 run_and_verify -p "$MPOOL" \
81 "zpool remove $MPOOL $VDEV3"
[all …]
H A Devents_002_pos.ksh45 poolexists $MPOOL && log_must destroy_pool $MPOOL
58 log_must zpool create -O compression=off $MPOOL mirror $VDEV1 $VDEV2
65 log_mustnot awk -v event="sysevent.fs.zfs.pool_create" -v crit="\\nZEVENT_POOL=$MPOOL" \
74 log_must zpool offline $MPOOL $VDEV1
75 log_must zpool online $MPOOL $VDEV1
76 log_must zpool wait -t resilver $MPOOL
78 log_must zpool scrub $MPOOL
81 while ! is_pool_scrubbed $MPOOL; do
H A Devents.cfg27 export MPOOL=mpool.$$
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_001_pos.ksh49 destroy_pool $MPOOL
68 run_and_verify -p "$MPOOL" "zpool create $MPOOL mirror $VDEV1 $VDEV2"
69 run_and_verify -p "$MPOOL" "zpool add -f $MPOOL spare $VDEV3"
70 run_and_verify -p "$MPOOL" "zpool remove $MPOOL $VDEV3"
71 run_and_verify -p "$MPOOL" "zpool offline $MPOOL $VDEV1"
72 run_and_verify -p "$MPOOL" "zpool online $MPOOL $VDEV1"
73 run_and_verify -p "$MPOOL" "zpool attach $MPOOL $VDEV1 $VDEV4"
74 run_and_verify -p "$MPOOL" "zpool detach $MPOOL $VDEV4"
75 run_and_verify -p "$MPOOL" "zpool replace -f $MPOOL $VDEV1 $VDEV4"
76 run_and_verify -p "$MPOOL" "zpool scrub $MPOOL"
[all …]
H A Dhistory.cfg33 export MPOOL=mpool.$$
/freebsd/tests/sys/cddl/zfs/tests/history/
H A Dhistory_001_pos.ksh61 destroy_pool $MPOOL
82 exec_record $ZPOOL create $MPOOL mirror $VDEV1 $VDEV2
83 exec_record $ZPOOL add -f $MPOOL spare $VDEV3
84 exec_record $ZPOOL remove $MPOOL $VDEV3
85 exec_record $ZPOOL offline $MPOOL $VDEV1
86 exec_record $ZPOOL online $MPOOL $VDEV1
87 exec_record $ZPOOL attach $MPOOL $VDEV1 $VDEV4
88 exec_record $ZPOOL detach $MPOOL $VDEV4
89 exec_record $ZPOOL replace -f $MPOOL $VDEV1 $VDEV4
90 exec_record $ZPOOL export $MPOOL
[all …]
H A Dhistory.cfg29 export MPOOL=mpool.${TESTCASE_ID}
/freebsd/include/
H A Dmpool.h60 typedef struct MPOOL { struct
85 } MPOOL; argument
94 MPOOL *mpool_open(void *, int, pgno_t, pgno_t);
95 void mpool_filter(MPOOL *, void (*)(void *, pgno_t, void *),
97 void *mpool_new(MPOOL *, pgno_t *, unsigned int);
98 void *mpool_get(MPOOL *, pgno_t, unsigned int);
99 int mpool_delete(MPOOL *, void *);
100 int mpool_put(MPOOL *, void *, unsigned int);
101 int mpool_sync(MPOOL *);
102 int mpool_close(MPOOL *);
[all …]
/freebsd/lib/libc/db/mpool/
H A Dmpool.c49 static BKT *mpool_bkt(MPOOL *);
50 static BKT *mpool_look(MPOOL *, pgno_t);
51 static int mpool_write(MPOOL *, BKT *);
58 MPOOL *
62 MPOOL *mp; in mpool_open()
79 if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL) in mpool_open()
96 mpool_filter(MPOOL *mp, void (*pgin) (void *, pgno_t, void *), in mpool_filter()
109 mpool_new(MPOOL *mp, pgno_t *pgnoaddr, u_int flags) in mpool_new()
143 mpool_delete(MPOOL *mp, void *page) in mpool_delete()
174 mpool_get(MPOOL *mp, pgno_t pgno, in mpool_get()
[all …]
H A Dmpool-compat.c32 void *__mpool_new__44bsd(MPOOL *, pgno_t *);
35 __mpool_new__44bsd(MPOOL *mp, pgno_t *pgnoaddr) in __mpool_new__44bsd()
/freebsd/lib/libc/db/btree/
H A Dbtree.h301 MPOOL *bt_mp; /* memory pool cookie */