Home
last modified time | relevance | path

Searched refs:zb (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/sys/net/
H A Dbpf_zerocopy.c138 zbuf_free(struct zbuf *zb) in zbuf_free() argument
142 for (i = 0; i < zb->zb_numpages; i++) { in zbuf_free()
143 if (zb->zb_pages[i] != NULL) in zbuf_free()
144 zbuf_sfbuf_free(zb->zb_pages[i]); in zbuf_free()
146 free(zb->zb_pages, M_BPF); in zbuf_free()
147 free(zb, M_BPF); in zbuf_free()
180 struct zbuf *zb; in zbuf_setup() local
208 zb = malloc(sizeof(*zb), M_BPF, M_ZERO | M_WAITOK); in zbuf_setup()
209 zb->zb_uaddr = uaddr; in zbuf_setup()
210 zb->zb_size = len; in zbuf_setup()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_traverse.c81 zbookmark_phys_t zb; in traverse_zil_block() local
90 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, in traverse_zil_block()
93 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg); in traverse_zil_block()
107 zbookmark_phys_t zb; in traverse_zil_record() local
116 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid, in traverse_zil_record()
119 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, in traverse_zil_record()
159 const zbookmark_phys_t *zb) in resume_skip_check() argument
166 if (zbookmark_subtree_completed(dnp, zb, td->td_resume)) in resume_skip_check()
169 if (memcmp(zb, td->td_resume, sizeof (*zb)) == 0) { in resume_skip_check()
182 const blkptr_t *bp, const zbookmark_phys_t *zb) in traverse_prefetch_metadata() argument
[all …]
H A Dspa_errlog.c83 bookmark_to_name(zbookmark_phys_t *zb, char *buf, size_t len) in bookmark_to_name() argument
86 (u_longlong_t)zb->zb_objset, (u_longlong_t)zb->zb_object, in bookmark_to_name()
87 (u_longlong_t)zb->zb_level, (u_longlong_t)zb->zb_blkid); in bookmark_to_name()
121 name_to_bookmark(char *buf, zbookmark_phys_t *zb) in name_to_bookmark() argument
123 zb->zb_objset = zfs_strtonum(buf, &buf); in name_to_bookmark()
125 zb->zb_object = zfs_strtonum(buf + 1, &buf); in name_to_bookmark()
127 zb->zb_level = (int)zfs_strtonum(buf + 1, &buf); in name_to_bookmark()
129 zb->zb_blkid = zfs_strtonum(buf + 1, &buf); in name_to_bookmark()
134 zep_to_zb(uint64_t dataset, zbookmark_err_phys_t *zep, zbookmark_phys_t *zb) in zep_to_zb() argument
136 zb->zb_objset = dataset; in zep_to_zb()
[all …]
H A Ddsl_scan.c125 static void read_by_block_level(dsl_scan_t *scn, zbookmark_phys_t zb);
402 const zbookmark_phys_t *zb, dsl_scan_io_queue_t *queue);
1757 dsl_scan_check_suspend(dsl_scan_t *scn, const zbookmark_phys_t *zb) in dsl_scan_check_suspend() argument
1760 if (zb && (int64_t)zb->zb_object < 0) in dsl_scan_check_suspend()
1770 if (zb && (zb->zb_level != 0 && zb->zb_level != ZB_ROOT_LEVEL)) in dsl_scan_check_suspend()
1803 if (zb && zb->zb_level == ZB_ROOT_LEVEL) { in dsl_scan_check_suspend()
1806 (longlong_t)zb->zb_objset, in dsl_scan_check_suspend()
1807 (longlong_t)zb->zb_object, in dsl_scan_check_suspend()
1808 (longlong_t)zb->zb_level, in dsl_scan_check_suspend()
1809 (longlong_t)zb->zb_blkid); in dsl_scan_check_suspend()
[all …]
H A Ddmu_diff.c104 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in diff_cb() argument
113 if (zb->zb_level == ZB_DNODE_LEVEL || in diff_cb()
114 zb->zb_object != DMU_META_DNODE_OBJECT) in diff_cb()
118 uint64_t span = DBP_SPAN(dnp, zb->zb_level); in diff_cb()
119 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT; in diff_cb()
125 } else if (zb->zb_level == 0) { in diff_cb()
137 ZIO_PRIORITY_ASYNC_READ, zio_flags, &aflags, zb) != 0) in diff_cb()
142 uint64_t dnobj = (zb->zb_blkid << in diff_cb()
H A Ddmu_redact.c244 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) in redact_cb() argument
250 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || in redact_cb()
251 zb->zb_object >= rta->resume.zb_object); in redact_cb()
256 if (rta->ignore_object == zb->zb_object) in redact_cb()
263 if (zb->zb_level == ZB_DNODE_LEVEL) { in redact_cb()
264 ASSERT3U(zb->zb_level, ==, ZB_DNODE_LEVEL); in redact_cb()
266 if (zb->zb_object == 0) in redact_cb()
274 objlist_exists(rta->deleted_objs, zb->zb_object)) { in redact_cb()
275 rta->ignore_object = zb->zb_object; in redact_cb()
281 zb->zb_object; in redact_cb()
[all …]
H A Dzfs_fm.c332 const zbookmark_phys_t *zb, zio_t *zio, uint64_t offset, uint64_t size) in zfs_ereport_is_duplicate() argument
365 if (zb != NULL) { in zfs_ereport_is_duplicate()
366 search.re_io_bookmark.zb_objset = zb->zb_objset; in zfs_ereport_is_duplicate()
367 search.re_io_bookmark.zb_object = zb->zb_object; in zfs_ereport_is_duplicate()
368 search.re_io_bookmark.zb_level = zb->zb_level; in zfs_ereport_is_duplicate()
369 search.re_io_bookmark.zb_blkid = zb->zb_blkid; in zfs_ereport_is_duplicate()
465 const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, in zfs_ereport_start() argument
693 if (zb != NULL && (zio == NULL || zio->io_logical != NULL)) { in zfs_ereport_start()
696 DATA_TYPE_UINT64, zb->zb_objset, in zfs_ereport_start()
698 DATA_TYPE_UINT64, zb->zb_object, in zfs_ereport_start()
[all …]
H A Ddmu_send.c1062 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) in send_cb() argument
1068 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || in send_cb()
1069 zb->zb_object >= sta->resume.zb_object); in send_cb()
1077 spa_log_error(spa, zb, BP_GET_PHYSICAL_BIRTH(bp)); in send_cb()
1083 if (zb->zb_object != DMU_META_DNODE_OBJECT && in send_cb()
1084 DMU_OBJECT_IS_SPECIAL(zb->zb_object)) in send_cb()
1088 if (zb->zb_level == ZB_DNODE_LEVEL) { in send_cb()
1089 if (zb->zb_object == DMU_META_DNODE_OBJECT) in send_cb()
1091 record = range_alloc(OBJECT, zb->zb_object, 0, 0, B_FALSE); in send_cb()
1099 if (zb->zb_level == 0 && zb->zb_object == DMU_META_DNODE_OBJECT && in send_cb()
[all …]
H A Ddmu_direct.c132 zbookmark_phys_t zb; in dmu_write_direct() local
135 SET_BOOKMARK(&zb, ds->ds_object, in dmu_write_direct()
195 ZIO_PRIORITY_SYNC_WRITE, ZIO_FLAG_CANFAIL, &zb); in dmu_write_direct()
265 zbookmark_phys_t zb; in dmu_read_abd() local
270 SET_BOOKMARK(&zb, dmu_objset_ds(os)->ds_object, in dmu_read_abd()
331 ZIO_FLAG_CANFAIL | ZIO_FLAG_DIO_READ, &zb); in dmu_read_abd()
H A Dzio_inject.c120 zio_match_handler(const zbookmark_phys_t *zb, uint64_t type, int dva, in zio_match_handler() argument
129 if (zb->zb_objset == DMU_META_OBJSET && in zio_match_handler()
141 if (zb->zb_objset == record->zi_objset && in zio_match_handler()
142 zb->zb_object == record->zi_object && in zio_match_handler()
143 zb->zb_level == record->zi_level && in zio_match_handler()
144 zb->zb_blkid >= record->zi_start && in zio_match_handler()
145 zb->zb_blkid <= record->zi_end && in zio_match_handler()
198 zio_handle_decrypt_injection(spa_t *spa, const zbookmark_phys_t *zb, in zio_handle_decrypt_injection() argument
213 if (zio_match_handler(zb, type, ZI_NO_DVA, in zio_handle_decrypt_injection()
H A Dzio.c962 const zbookmark_phys_t *zb, enum zio_stage stage, in zio_create() argument
1038 if (zb != NULL) in zio_create()
1039 zio->io_bookmark = *zb; in zio_create()
1347 zio_priority_t priority, zio_flag_t flags, const zbookmark_phys_t *zb) in zio_read() argument
1353 ZIO_TYPE_READ, priority, flags, NULL, 0, zb, in zio_read()
1365 zio_flag_t flags, const zbookmark_phys_t *zb) in zio_write() argument
1374 ZIO_TYPE_WRITE, priority, flags, NULL, 0, zb, in zio_write()
1400 zio_priority_t priority, zio_flag_t flags, zbookmark_phys_t *zb) in zio_rewrite() argument
1405 ZIO_TYPE_WRITE, priority, flags | ZIO_FLAG_IO_REWRITE, NULL, 0, zb, in zio_rewrite()
2338 zio_batch_t *zb; in zio_batch_create() local
[all …]
H A Ddbuf.c1366 dbuf_read_done(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *bp, in dbuf_read_done() argument
1369 (void) zb, (void) bp; in dbuf_read_done()
1524 zbookmark_phys_t zb; in dbuf_read_verify_dnode_crypt() local
1556 SET_BOOKMARK(&zb, dmu_objset_id(os), in dbuf_read_verify_dnode_crypt()
1558 err = arc_untransform(dnbuf, os->os_spa, &zb, B_TRUE); in dbuf_read_verify_dnode_crypt()
1584 zbookmark_phys_t zb; in dbuf_read_impl() local
1619 SET_BOOKMARK(&zb, dmu_objset_id(db->db_objset), in dbuf_read_impl()
1627 spa_log_error(db->db_objset->os_spa, &zb, in dbuf_read_impl()
1663 &aflags, &zb)); in dbuf_read_impl()
1823 zbookmark_phys_t zb; in dbuf_read() local
[all …]
H A Dspa_stats.c145 spa_read_history_add(spa_t *spa, const zbookmark_phys_t *zb, uint32_t aflags) in spa_read_history_add() argument
151 ASSERT3P(zb, !=, NULL); in spa_read_history_add()
162 srh->objset = zb->zb_objset; in spa_read_history_add()
163 srh->object = zb->zb_object; in spa_read_history_add()
164 srh->level = zb->zb_level; in spa_read_history_add()
165 srh->blkid = zb->zb_blkid; in spa_read_history_add()
H A Dbptree.c144 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in bptree_visit_cb() argument
150 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in bptree_visit_cb()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzio.h328 #define SET_BOOKMARK(zb, objset, object, level, blkid) \ argument
330 (zb)->zb_objset = objset; \
331 (zb)->zb_object = object; \
332 (zb)->zb_level = level; \
333 (zb)->zb_blkid = blkid; \
348 #define ZB_IS_ZERO(zb) \ argument
349 ((zb)->zb_objset == 0 && (zb)->zb_object == 0 && \
350 (zb)->zb_level == 0 && (zb)->zb_blkid == 0)
351 #define ZB_IS_ROOT(zb) \ argument
352 ((zb)->zb_object == ZB_ROOT_OBJECT && \
[all …]
H A Darc.h79 typedef void arc_read_done_func_t(zio_t *zio, const zbookmark_phys_t *zb,
267 int arc_untransform(arc_buf_t *buf, spa_t *spa, const zbookmark_phys_t *zb,
309 int flags, arc_flags_t *arc_flags, const zbookmark_phys_t *zb);
314 int zio_flags, const zbookmark_phys_t *zb);
H A Ddmu_traverse.h34 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg);
/freebsd/contrib/bearssl/test/
H A Dtest_math.c125 unsigned char zb[1000]; in print_z() local
128 mpz_export(zb, &zlen, 1, 1, 0, 0, z); in print_z()
135 memmove(zb + k, zb, zlen); in print_z()
136 memset(zb, 0, k); in print_z()
141 zb[k], zb[k + 1], zb[k + 2], zb[k + 3]); in print_z()
170 unsigned char zb[1000]; in check_eqz() local
176 mpz_export(zb, &zlen, 1, 1, 0, 0, z); in check_eqz()
190 good = good && memcmp(xb + xlen - zlen, zb, zlen) == 0; in check_eqz()
/freebsd/contrib/bearssl/src/int/
H A Di15_moddiv.c133 uint32_t wa, wb, za, zb; in co_reduce() local
152 zb = wa * (uint32_t)qa + wb * (uint32_t)qb + (uint32_t)ccb; in co_reduce()
155 b[k - 1] = zb & 0x7FFF; in co_reduce()
158 ttb = zb >> 15; in co_reduce()
195 uint32_t wa, wb, za, zb; in co_reduce_mod() local
206 zb = wa * (uint32_t)qa + wb * (uint32_t)qb in co_reduce_mod()
210 b[k - 1] = zb & 0x7FFF; in co_reduce_mod()
220 ttb = zb >> 15; in co_reduce_mod()
H A Di31_moddiv.c137 uint64_t za, zb; in co_reduce() local
156 zb = wa * (uint64_t)qa + wb * (uint64_t)qb + (uint64_t)ccb; in co_reduce()
159 b[k - 1] = zb & 0x7FFFFFFF; in co_reduce()
170 ttb = zb >> 31; in co_reduce()
213 uint64_t za, zb; in co_reduce_mod() local
224 zb = wa * (uint64_t)qa + wb * (uint64_t)qb in co_reduce_mod()
228 b[k - 1] = (uint32_t)zb & 0x7FFFFFFF; in co_reduce_mod()
233 ttb = zb >> 31; in co_reduce_mod()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_arc.h178 const blkptr_t *bp, uint64_t size, const zbookmark_phys_t *zb),
179 TP_ARGS(hdr, bp, size, zb),
239 __entry->zb_objset = zb->zb_objset;
240 __entry->zb_object = zb->zb_object;
241 __entry->zb_level = zb->zb_level;
242 __entry->zb_blkid = zb->zb_blkid;
272 const blkptr_t *bp, uint64_t size, const zbookmark_phys_t *zb), \
273 TP_ARGS(hdr, bp, size, zb))
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Drenesas,r8a7740-cpg-clocks.txt18 "m1", "hp", "hpp", "usbp", "s", "zb", "m3", and "cp".
35 "hpp", "usbp", "s", "zb", "m3",
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2676 const zbookmark_phys_t *zb) in blkid2offset() argument
2679 ASSERT(zb->zb_level < 0); in blkid2offset()
2680 if (zb->zb_object == 0) in blkid2offset()
2681 return (zb->zb_blkid); in blkid2offset()
2682 return (zb->zb_blkid * BP_GET_LSIZE(bp)); in blkid2offset()
2685 ASSERT(zb->zb_level >= 0); in blkid2offset()
2687 return ((zb->zb_blkid << in blkid2offset()
2688 (zb->zb_level * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT))) * in blkid2offset()
2890 print_indirect(spa_t *spa, blkptr_t *bp, const zbookmark_phys_t *zb, in print_indirect() argument
2897 offset = (u_longlong_t)blkid2offset(dnp, bp, zb); in print_indirect()
[all …]
/freebsd/crypto/openssl/test/recipes/80-test_cmp_http_data/Mock/
H A Droot_expired.crt10 wanc1bFTBw9z946tFD4lnuUe5syRzZUMgEQgw/0Xz5E9YxAcFFv7w6jBiLJ3/5zb
/freebsd/crypto/openssl/test/certs/
H A DrootCA.key5 w6jBiLJ3/5zb/GpERET3hewILNTfgaN5yf4em5MWU7eXq75PGqXi+kYF5A2cKqTM

12