Home
last modified time | relevance | path

Searched refs:zb (Results 1 – 25 of 48) 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.c92 bookmark_to_name(zbookmark_phys_t *zb, char *buf, size_t len) in bookmark_to_name() argument
95 (u_longlong_t)zb->zb_objset, (u_longlong_t)zb->zb_object, in bookmark_to_name()
96 (u_longlong_t)zb->zb_level, (u_longlong_t)zb->zb_blkid); in bookmark_to_name()
130 name_to_bookmark(char *buf, zbookmark_phys_t *zb) in name_to_bookmark() argument
132 zb->zb_objset = zfs_strtonum(buf, &buf); in name_to_bookmark()
134 zb->zb_object = zfs_strtonum(buf + 1, &buf); in name_to_bookmark()
136 zb->zb_level = (int)zfs_strtonum(buf + 1, &buf); in name_to_bookmark()
138 zb->zb_blkid = zfs_strtonum(buf + 1, &buf); in name_to_bookmark()
143 zep_to_zb(uint64_t dataset, zbookmark_err_phys_t *zep, zbookmark_phys_t *zb) in zep_to_zb() argument
145 zb->zb_objset = dataset; in zep_to_zb()
[all …]
H A Ddsl_scan.c133 static void read_by_block_level(dsl_scan_t *scn, zbookmark_phys_t zb);
357 const zbookmark_phys_t *zb, dsl_scan_io_queue_t *queue);
1603 dsl_scan_check_suspend(dsl_scan_t *scn, const zbookmark_phys_t *zb) in dsl_scan_check_suspend() argument
1606 if (zb && (int64_t)zb->zb_object < 0) in dsl_scan_check_suspend()
1616 if (zb && (zb->zb_level != 0 && zb->zb_level != ZB_ROOT_LEVEL)) in dsl_scan_check_suspend()
1649 if (zb && zb->zb_level == ZB_ROOT_LEVEL) { in dsl_scan_check_suspend()
1652 (longlong_t)zb->zb_objset, in dsl_scan_check_suspend()
1653 (longlong_t)zb->zb_object, in dsl_scan_check_suspend()
1654 (longlong_t)zb->zb_level, in dsl_scan_check_suspend()
1655 (longlong_t)zb->zb_blkid); in dsl_scan_check_suspend()
[all …]
H A Ddmu_diff.c113 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in diff_cb() argument
122 if (zb->zb_level == ZB_DNODE_LEVEL || in diff_cb()
123 zb->zb_object != DMU_META_DNODE_OBJECT) in diff_cb()
127 uint64_t span = DBP_SPAN(dnp, zb->zb_level); in diff_cb()
128 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT; in diff_cb()
134 } else if (zb->zb_level == 0) { in diff_cb()
146 ZIO_PRIORITY_ASYNC_READ, zio_flags, &aflags, zb) != 0) in diff_cb()
151 uint64_t dnobj = (zb->zb_blkid << in diff_cb()
H A Ddmu_redact.c257 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) in redact_cb() argument
263 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || in redact_cb()
264 zb->zb_object >= rta->resume.zb_object); in redact_cb()
269 if (rta->ignore_object == zb->zb_object) in redact_cb()
276 if (zb->zb_level == ZB_DNODE_LEVEL) { in redact_cb()
277 ASSERT3U(zb->zb_level, ==, ZB_DNODE_LEVEL); in redact_cb()
279 if (zb->zb_object == 0) in redact_cb()
287 objlist_exists(rta->deleted_objs, zb->zb_object)) { in redact_cb()
288 rta->ignore_object = zb->zb_object; in redact_cb()
294 zb->zb_object; in redact_cb()
[all …]
H A Dzfs_fm.c338 const zbookmark_phys_t *zb, zio_t *zio, uint64_t offset, uint64_t size) in zfs_ereport_is_duplicate() argument
371 if (zb != NULL) { in zfs_ereport_is_duplicate()
372 search.re_io_bookmark.zb_objset = zb->zb_objset; in zfs_ereport_is_duplicate()
373 search.re_io_bookmark.zb_object = zb->zb_object; in zfs_ereport_is_duplicate()
374 search.re_io_bookmark.zb_level = zb->zb_level; in zfs_ereport_is_duplicate()
375 search.re_io_bookmark.zb_blkid = zb->zb_blkid; in zfs_ereport_is_duplicate()
471 const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, in zfs_ereport_start() argument
697 if (zb != NULL && (zio == NULL || zio->io_logical != NULL)) { in zfs_ereport_start()
700 DATA_TYPE_UINT64, zb->zb_objset, in zfs_ereport_start()
702 DATA_TYPE_UINT64, zb->zb_object, in zfs_ereport_start()
[all …]
H A Ddmu_send.c1071 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) in send_cb() argument
1077 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || in send_cb()
1078 zb->zb_object >= sta->resume.zb_object); in send_cb()
1086 spa_log_error(spa, zb, BP_GET_LOGICAL_BIRTH(bp)); in send_cb()
1092 if (zb->zb_object != DMU_META_DNODE_OBJECT && in send_cb()
1093 DMU_OBJECT_IS_SPECIAL(zb->zb_object)) in send_cb()
1097 if (zb->zb_level == ZB_DNODE_LEVEL) { in send_cb()
1098 if (zb->zb_object == DMU_META_DNODE_OBJECT) in send_cb()
1100 record = range_alloc(OBJECT, zb->zb_object, 0, 0, B_FALSE); in send_cb()
1108 if (zb->zb_level == 0 && zb->zb_object == DMU_META_DNODE_OBJECT && in send_cb()
[all …]
H A Dzio_inject.c129 zio_match_handler(const zbookmark_phys_t *zb, uint64_t type, int dva, in zio_match_handler()
135 if (zb->zb_objset == DMU_META_OBJSET && in zio_match_handler()
148 if (zb->zb_objset == record->zi_objset && in zio_match_handler()
149 zb->zb_object == record->zi_object && in zio_match_handler()
150 zb->zb_level == record->zi_level && in zio_match_handler()
151 zb->zb_blkid >= record->zi_start && in zio_match_handler()
152 zb->zb_blkid <= record->zi_end && in zio_match_handler()
192 zio_handle_decrypt_injection(spa_t *spa, const zbookmark_phys_t *zb, in zio_handle_decrypt_injection()
207 if (zio_match_handler(zb, type, ZI_NO_DVA, in zio_handle_decrypt_injection()
127 zio_match_handler(const zbookmark_phys_t * zb,uint64_t type,int dva,zinject_record_t * record,int error) zio_match_handler() argument
190 zio_handle_decrypt_injection(spa_t * spa,const zbookmark_phys_t * zb,uint64_t type,int error) zio_handle_decrypt_injection() argument
H A Ddmu_direct.c135 zbookmark_phys_t zb; in dmu_write_direct() local
138 SET_BOOKMARK(&zb, ds->ds_object, in dmu_write_direct()
198 ZIO_PRIORITY_SYNC_WRITE, ZIO_FLAG_CANFAIL, &zb); in dmu_write_direct()
268 zbookmark_phys_t zb; in dmu_read_abd() local
273 SET_BOOKMARK(&zb, dmu_objset_ds(os)->ds_object, in dmu_read_abd()
334 ZIO_FLAG_CANFAIL | ZIO_FLAG_DIO_READ, &zb); in dmu_read_abd()
H A Ddbuf.c1386 dbuf_read_done(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *bp, in dbuf_read_done() argument
1389 (void) zb, (void) bp; in dbuf_read_done()
1527 zbookmark_phys_t zb; in dbuf_read_verify_dnode_crypt() local
1559 SET_BOOKMARK(&zb, dmu_objset_id(os), in dbuf_read_verify_dnode_crypt()
1561 err = arc_untransform(dnbuf, os->os_spa, &zb, B_TRUE); in dbuf_read_verify_dnode_crypt()
1587 zbookmark_phys_t zb; in dbuf_read_impl() local
1622 SET_BOOKMARK(&zb, dmu_objset_id(db->db_objset), in dbuf_read_impl()
1630 spa_log_error(db->db_objset->os_spa, &zb, in dbuf_read_impl()
1664 &aflags, &zb)); in dbuf_read_impl()
1822 zbookmark_phys_t zb; in dbuf_read() local
[all …]
H A Dspa_stats.c149 spa_read_history_add(spa_t *spa, const zbookmark_phys_t *zb, uint32_t aflags) in spa_read_history_add() argument
155 ASSERT3P(zb, !=, NULL); in spa_read_history_add()
166 srh->objset = zb->zb_objset; in spa_read_history_add()
167 srh->object = zb->zb_object; in spa_read_history_add()
168 srh->level = zb->zb_level; in spa_read_history_add()
169 srh->blkid = zb->zb_blkid; in spa_read_history_add()
H A Dbptree.c152 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in bptree_visit_cb() argument
158 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || in bptree_visit_cb()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzio.h319 #define SET_BOOKMARK(zb, objset, object, level, blkid) \ argument
321 (zb)->zb_objset = objset; \
322 (zb)->zb_object = object; \
323 (zb)->zb_level = level; \
324 (zb)->zb_blkid = blkid; \
339 #define ZB_IS_ZERO(zb) \ argument
340 ((zb)->zb_objset == 0 && (zb)->zb_object == 0 && \
341 (zb)->zb_level == 0 && (zb)->zb_blkid == 0)
342 #define ZB_IS_ROOT(zb) \ argument
343 ((zb)->zb_object == ZB_ROOT_OBJECT && \
[all …]
H A Darc.h81 typedef void arc_read_done_func_t(zio_t *zio, const zbookmark_phys_t *zb,
270 int arc_untransform(arc_buf_t *buf, spa_t *spa, const zbookmark_phys_t *zb,
312 int flags, arc_flags_t *arc_flags, const zbookmark_phys_t *zb);
317 int zio_flags, const zbookmark_phys_t *zb);
H A Ddmu_traverse.h43 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.h187 const blkptr_t *bp, uint64_t size, const zbookmark_phys_t *zb),
188 TP_ARGS(hdr, bp, size, zb),
248 __entry->zb_objset = zb->zb_objset;
249 __entry->zb_object = zb->zb_object;
250 __entry->zb_level = zb->zb_level;
251 __entry->zb_blkid = zb->zb_blkid;
281 const blkptr_t *bp, uint64_t size, const zbookmark_phys_t *zb), \
282 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.c2381 const zbookmark_phys_t *zb) in blkid2offset() argument
2384 ASSERT(zb->zb_level < 0); in blkid2offset()
2385 if (zb->zb_object == 0) in blkid2offset()
2386 return (zb->zb_blkid); in blkid2offset()
2387 return (zb->zb_blkid * BP_GET_LSIZE(bp)); in blkid2offset()
2390 ASSERT(zb->zb_level >= 0); in blkid2offset()
2392 return ((zb->zb_blkid << in blkid2offset()
2393 (zb->zb_level * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT))) * in blkid2offset()
2524 print_indirect(spa_t *spa, blkptr_t *bp, const zbookmark_phys_t *zb, in print_indirect() argument
2532 ASSERT3U(BP_GET_LEVEL(bp), ==, zb->zb_level); 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
/freebsd/crypto/openssl/test/recipes/25-test_eai_data/
H A Dutf8_chain.pem40 fmS5Ds1t2fcc493Cx1BTPmfdZSWhvONa9PDZ84wmtkaoU0Utzzdm+62zb/0/I0wh

12