Home
last modified time | relevance | path

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

/freebsd-14.2/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" \
70 run_and_verify -p "$MPOOL" \
75 run_and_verify -p "$MPOOL" \
79 run_and_verify -p "$MPOOL" \
84 run_and_verify -p "$MPOOL" \
93 run_and_verify -p "$MPOOL"\
134 "zpool scrub $MPOOL"
140 "zpool export $MPOOL"
[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-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_001_pos.ksh69 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"
77 run_and_verify -p "$MPOOL" "zpool clear $MPOOL"
82 commands=("zpool export $MPOOL" "zpool import -d $mntpnt $MPOOL"
[all …]
H A Dhistory.cfg33 export MPOOL=mpool.$$
/freebsd-14.2/tests/sys/cddl/zfs/tests/history/
H A Dhistory_001_pos.ksh64 destroy_pool $MPOOL
86 exec_record $ZPOOL add -f $MPOOL spare $VDEV3
87 exec_record $ZPOOL remove $MPOOL $VDEV3
88 exec_record $ZPOOL offline $MPOOL $VDEV1
89 exec_record $ZPOOL online $MPOOL $VDEV1
91 exec_record $ZPOOL detach $MPOOL $VDEV4
93 exec_record $ZPOOL export $MPOOL
94 exec_record $ZPOOL import -d $TMPDIR $MPOOL
95 exec_record $ZPOOL destroy $MPOOL
97 exec_record $ZPOOL clear $MPOOL
[all …]
H A Dhistory.cfg32 export MPOOL=mpool.${TESTCASE_ID}
/freebsd-14.2/include/
H A Dmpool.h62 typedef struct MPOOL { struct
87 } MPOOL; argument
96 MPOOL *mpool_open(void *, int, pgno_t, pgno_t);
97 void mpool_filter(MPOOL *, void (*)(void *, pgno_t, void *),
99 void *mpool_new(MPOOL *, pgno_t *, unsigned int);
100 void *mpool_get(MPOOL *, pgno_t, unsigned int);
101 int mpool_delete(MPOOL *, void *);
102 int mpool_put(MPOOL *, void *, unsigned int);
103 int mpool_sync(MPOOL *);
104 int mpool_close(MPOOL *);
[all …]
/freebsd-14.2/lib/libc/db/mpool/
H A Dmpool.c52 static BKT *mpool_bkt(MPOOL *);
61 MPOOL *
65 MPOOL *mp; in mpool_open()
82 if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL) in mpool_open()
146 mpool_delete(MPOOL *mp, void *page) in mpool_delete()
177 mpool_get(MPOOL *mp, pgno_t pgno, in mpool_get()
298 mpool_close(MPOOL *mp) in mpool_close()
319 mpool_sync(MPOOL *mp) in mpool_sync()
338 mpool_bkt(MPOOL *mp) in mpool_bkt()
393 mpool_write(MPOOL *mp, BKT *bp) in mpool_write()
[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-14.2/lib/libc/db/btree/
H A Dbtree.h303 MPOOL *bt_mp; /* memory pool cookie */