/freebsd-13-stable/sys/net/ |
H A D | bpf_zerocopy.c | 140 zbuf_free(struct zbuf *zb) argument 144 for (i = 0; i < zb->zb_numpages; i++) { 145 if (zb->zb_pages[i] != NULL) 146 zbuf_sfbuf_free(zb->zb_pages[i]); 148 free(zb->zb_pages, M_BPF); 149 free(zb, M_BPF); 182 struct zbuf *zb; local 210 zb = malloc(sizeof(*zb), M_BPF, M_ZERO | M_WAITOK); 211 zb 246 struct zbuf *zb; local 298 struct zbuf *zb; local 359 struct zbuf *zb; local 386 struct zbuf *zb; local 409 struct zbuf *zb; local 429 struct zbuf *zb; local 452 struct zbuf *zb; local 471 struct zbuf *zb; local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_traverse.c | 81 zbookmark_phys_t zb; local 89 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, 92 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg); 106 zbookmark_phys_t zb; local 114 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid, 117 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, 149 * the block indicated by zb does not need to be visited at all. Returns 157 const zbookmark_phys_t *zb) 164 if (zbookmark_subtree_completed(dnp, zb, td->td_resume)) 171 if (bcmp(zb, t 156 resume_skip_check(traverse_data_t *td, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) argument 184 traverse_prefetch_metadata(traverse_data_t *td, const blkptr_t *bp, const zbookmark_phys_t *zb) argument 224 traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument 565 traverse_prefetcher(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument [all...] |
H A D | spa_errlog.c | 62 bookmark_to_name(zbookmark_phys_t *zb, char *buf, size_t len) argument 65 (u_longlong_t)zb->zb_objset, (u_longlong_t)zb->zb_object, 66 (u_longlong_t)zb->zb_level, (u_longlong_t)zb->zb_blkid); 74 name_to_bookmark(char *buf, zbookmark_phys_t *zb) argument 76 zb->zb_objset = zfs_strtonum(buf, &buf); 78 zb->zb_object = zfs_strtonum(buf + 1, &buf); 80 zb->zb_level = (int)zfs_strtonum(buf + 1, &buf); 82 zb 93 spa_log_error(spa_t *spa, const zbookmark_phys_t *zb) argument 167 zbookmark_phys_t zb; local [all...] |
H A D | dmu_diff.c | 114 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) 122 if (zb->zb_level == ZB_DNODE_LEVEL || 123 zb->zb_object != DMU_META_DNODE_OBJECT) 127 uint64_t span = DBP_SPAN(dnp, zb->zb_level); 128 uint64_t dnobj = (zb->zb_blkid * span) >> DNODE_SHIFT; 134 } else if (zb->zb_level == 0) { 146 ZIO_PRIORITY_ASYNC_READ, zio_flags, &aflags, zb) != 0) 151 uint64_t dnobj = (zb->zb_blkid << 113 diff_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
|
H A D | dsl_scan.c | 319 const zbookmark_phys_t *zb, dsl_scan_io_queue_t *queue); 1298 dsl_scan_check_suspend(dsl_scan_t *scn, const zbookmark_phys_t *zb) argument 1301 if (zb && (int64_t)zb->zb_object < 0) 1311 if (zb && (zb->zb_level != 0 && zb->zb_level != ZB_ROOT_LEVEL)) 1342 if (zb && zb->zb_level == ZB_ROOT_LEVEL) { 1345 (longlong_t)zb 1389 zbookmark_phys_t zb; local 1423 zbookmark_phys_t zb; local 1541 dsl_scan_check_prefetch_resume(scan_prefetch_ctx_t *spc, const zbookmark_phys_t *zb) argument 1563 dsl_scan_prefetch(scan_prefetch_ctx_t *spc, blkptr_t *bp, zbookmark_phys_t *zb) argument 1611 zbookmark_phys_t zb; local 1637 dsl_scan_prefetch_cb(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *bp, arc_buf_t *buf, void *private) argument 1767 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) argument 1814 dsl_scan_recurse(dsl_scan_t *scn, dsl_dataset_t *ds, dmu_objset_type_t ostype, dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb, dmu_tx_t *tx) argument 1944 dsl_scan_visitbp(blkptr_t *bp, const zbookmark_phys_t *zb, dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn, dmu_objset_type_t ostype, dmu_tx_t *tx) argument 2027 zbookmark_phys_t zb; local 2557 zbookmark_phys_t zb = { 0 }; local 3814 zfs_blkstat_t *zb = &zab->zab_type[l][t]; local 3874 scan_io_queue_insert(dsl_scan_io_queue_t *queue, const blkptr_t *bp, int dva_i, int zio_flags, const zbookmark_phys_t *zb) argument 3903 dsl_scan_enqueue(dsl_pool_t *dp, const blkptr_t *bp, int zio_flags, const zbookmark_phys_t *zb) argument 3938 dsl_scan_scrub_cb(dsl_pool_t *dp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument 4035 scan_exec_io(dsl_pool_t *dp, const blkptr_t *bp, int zio_flags, const zbookmark_phys_t *zb, dsl_scan_io_queue_t *queue) argument [all...] |
H A D | dmu_redact.c | 255 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) 260 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || 261 zb->zb_object >= rta->resume.zb_object); 266 if (rta->ignore_object == zb->zb_object) 273 if (zb->zb_level == ZB_DNODE_LEVEL) { 274 ASSERT3U(zb->zb_level, ==, ZB_DNODE_LEVEL); 276 if (zb->zb_object == 0) 284 objlist_exists(rta->deleted_objs, zb->zb_object)) { 285 rta->ignore_object = zb->zb_object; 291 zb 254 redact_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) argument 382 create_zbookmark_from_obj_off(zbookmark_phys_t *zb, uint64_t object, uint64_t blkid) argument [all...] |
H A D | zfs_fm.c | 299 const zbookmark_phys_t *zb, zio_t *zio, uint64_t offset, uint64_t size) 332 if (zb != NULL) { 333 search.re_io_bookmark.zb_objset = zb->zb_objset; 334 search.re_io_bookmark.zb_object = zb->zb_object; 335 search.re_io_bookmark.zb_level = zb->zb_level; 336 search.re_io_bookmark.zb_blkid = zb->zb_blkid; 432 const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, 656 if (zb != NULL && (zio == NULL || zio->io_logical != NULL)) { 659 DATA_TYPE_UINT64, zb->zb_objset, 661 DATA_TYPE_UINT64, zb 298 zfs_ereport_is_duplicate(const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, zio_t *zio, uint64_t offset, uint64_t size) argument 431 zfs_ereport_start(nvlist_t **ereport_out, nvlist_t **detector_out, const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, zio_t *zio, uint64_t stateoroffset, uint64_t size) argument 1089 zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, zio_t *zio, uint64_t state) argument 1129 zfs_ereport_start_checksum(spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, struct zio *zio, uint64_t offset, uint64_t length, zio_bad_cksum_t *info) argument 1228 zfs_ereport_post_checksum(spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, struct zio *zio, uint64_t offset, uint64_t length, const abd_t *good_data, const abd_t *bad_data, zio_bad_cksum_t *zbc) argument [all...] |
H A D | zio_inject.c | 127 zio_match_handler(const zbookmark_phys_t *zb, uint64_t type, int dva, argument 133 if (zb->zb_objset == DMU_META_OBJSET && 146 if (zb->zb_objset == record->zi_objset && 147 zb->zb_object == record->zi_object && 148 zb->zb_level == record->zi_level && 149 zb->zb_blkid >= record->zi_start && 150 zb->zb_blkid <= record->zi_end && 189 zio_handle_decrypt_injection(spa_t *spa, const zbookmark_phys_t *zb, argument 204 if (zio_match_handler(zb, type, ZI_NO_DVA,
|
H A D | dmu_send.c | 937 zbookmark_phys_t zb; local 939 zb.zb_objset = dmu_objset_id(dscp->dsc_os); 940 zb.zb_object = range->object; 941 zb.zb_level = 0; 942 zb.zb_blkid = range->start_blkid; 947 zioflags, &aflags, &zb) != 0) 950 err = dump_spill(dscp, bp, zb.zb_object, 1095 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) 1100 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || 1101 zb 1094 send_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) argument 2365 zbookmark_phys_t zb; local 2828 zfs_bookmark_phys_t *zb = &dspp.ancestor_zb; local [all...] |
H A D | bptree.c | 153 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) 158 if (zb->zb_level == ZB_DNODE_LEVEL || BP_IS_HOLE(bp) || 152 bptree_visit_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument
|
H A D | spa_stats.c | 149 spa_read_history_add(spa_t *spa, const zbookmark_phys_t *zb, uint32_t aflags) argument 155 ASSERT3P(zb, !=, NULL); 166 srh->objset = zb->zb_objset; 167 srh->object = zb->zb_object; 168 srh->level = zb->zb_level; 169 srh->blkid = zb->zb_blkid;
|
H A D | dbuf.c | 1249 dbuf_read_done(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *bp, argument 1396 zbookmark_phys_t zb; local 1413 SET_BOOKMARK(&zb, dmu_objset_id(os), 1415 err = arc_untransform(dnode_abuf, os->os_spa, &zb, B_TRUE); 1442 zbookmark_phys_t zb; local 1480 SET_BOOKMARK(&zb, dmu_objset_id(db->db_objset), 1488 spa_log_error(db->db_objset->os_spa, &zb); 1526 &aflags, &zb); 1632 zbookmark_phys_t zb; local 1634 SET_BOOKMARK(&zb, dmu_objset_i 3083 dbuf_issue_final_prefetch_done(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *iobp, arc_buf_t *abuf, void *private) argument 3131 dbuf_prefetch_indirect_done(zio_t *zio, const zbookmark_phys_t *zb, const blkptr_t *iobp, arc_buf_t *abuf, void *private) argument 3198 zbookmark_phys_t zb; local 3336 zbookmark_phys_t zb; local 3936 zbookmark_phys_t zb; local 4171 zbookmark_phys_t zb = { local 4782 zbookmark_phys_t zb; local [all...] |
H A D | dmu_objset.c | 442 zbookmark_phys_t zb; local 445 SET_BOOKMARK(&zb, ds ? ds->ds_object : DMU_META_OBJSET, 460 ZIO_PRIORITY_SYNC_READ, zio_flags, &aflags, &zb); 732 zbookmark_phys_t zb; local 734 SET_BOOKMARK(&zb, ds->ds_object, ZB_ROOT_OBJECT, 737 &zb, B_FALSE); 1609 zbookmark_phys_t zb; local 1637 SET_BOOKMARK(&zb, os->os_dsl_dataset ? 1660 os, ZIO_PRIORITY_ASYNC_WRITE, ZIO_FLAG_MUSTSUCCEED, &zb);
|
H A D | zil.c | 224 zbookmark_phys_t zb; local 236 SET_BOOKMARK(&zb, bp->blk_cksum.zc_word[ZIL_ZC_OBJSET], 240 &abuf, ZIO_PRIORITY_SYNC_READ, zio_flags, &aflags, &zb); 303 zbookmark_phys_t zb; local 323 SET_BOOKMARK(&zb, dmu_objset_id(zilog->zl_os), lr->lr_foid, 327 ZIO_PRIORITY_SYNC_READ, zio_flags, &aflags, &zb); 1365 zbookmark_phys_t zb; local 1373 SET_BOOKMARK(&zb, lwb->lwb_blk.blk_cksum.zc_word[ZIL_ZC_OBJSET], 1401 ZIO_FLAG_FASTWRITE, &zb);
|
/freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
H A D | zio.h | 313 #define SET_BOOKMARK(zb, objset, object, level, blkid) \ 315 (zb)->zb_objset = objset; \ 316 (zb)->zb_object = object; \ 317 (zb)->zb_level = level; \ 318 (zb)->zb_blkid = blkid; \ 333 #define ZB_IS_ZERO(zb) \ 334 ((zb)->zb_objset == 0 && (zb)->zb_object == 0 && \ 335 (zb)->zb_level == 0 && (zb) [all...] |
H A D | dmu_traverse.h | 43 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg);
|
H A D | arc.h | 74 typedef void arc_read_done_func_t(zio_t *zio, const zbookmark_phys_t *zb, 254 int arc_untransform(arc_buf_t *buf, spa_t *spa, const zbookmark_phys_t *zb, 294 int flags, arc_flags_t *arc_flags, const zbookmark_phys_t *zb); 300 const zbookmark_phys_t *zb);
|
H A D | dsl_crypt.h | 220 int spa_do_crypt_abd(boolean_t encrypt, spa_t *spa, const zbookmark_phys_t *zb,
|
/freebsd-13-stable/contrib/bearssl/test/ |
H A D | test_math.c | 125 unsigned char zb[1000]; local 128 mpz_export(zb, &zlen, 1, 1, 0, 0, z); 135 memmove(zb + k, zb, zlen); 136 memset(zb, 0, k); 141 zb[k], zb[k + 1], zb[k + 2], zb[k + 3]); 170 unsigned char zb[100 local [all...] |
/freebsd-13-stable/contrib/bearssl/src/int/ |
H A D | i15_moddiv.c | 133 uint32_t wa, wb, za, zb; local 152 zb = wa * (uint32_t)qa + wb * (uint32_t)qb + (uint32_t)ccb; 155 b[k - 1] = zb & 0x7FFF; 158 ttb = zb >> 15; 195 uint32_t wa, wb, za, zb; local 206 zb = wa * (uint32_t)qa + wb * (uint32_t)qb 210 b[k - 1] = zb & 0x7FFF; 220 ttb = zb >> 15;
|
H A D | i31_moddiv.c | 137 uint64_t za, zb; local 156 zb = wa * (uint64_t)qa + wb * (uint64_t)qb + (uint64_t)ccb; 159 b[k - 1] = zb & 0x7FFFFFFF; 170 ttb = zb >> 31; 213 uint64_t za, zb; local 224 zb = wa * (uint64_t)qa + wb * (uint64_t)qb 228 b[k - 1] = (uint32_t)zb & 0x7FFFFFFF; 233 ttb = zb >> 31;
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_arc.h | 194 const blkptr_t *bp, uint64_t size, const zbookmark_phys_t *zb), 195 TP_ARGS(hdr, bp, size, zb), 257 __entry->zb_objset = zb->zb_objset; 258 __entry->zb_object = zb->zb_object; 259 __entry->zb_level = zb->zb_level; 260 __entry->zb_blkid = zb->zb_blkid; 268 "lsize %llu } zb { objset %llu object %llu level %lli " 291 const blkptr_t *bp, uint64_t size, const zbookmark_phys_t *zb), \ 292 TP_ARGS(hdr, bp, size, zb))
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 2175 const zbookmark_phys_t *zb) 2178 ASSERT(zb->zb_level < 0); 2179 if (zb->zb_object == 0) 2180 return (zb->zb_blkid); 2181 return (zb->zb_blkid * BP_GET_LSIZE(bp)); 2184 ASSERT(zb->zb_level >= 0); 2186 return ((zb->zb_blkid << 2187 (zb->zb_level * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT))) * 2314 print_indirect(spa_t *spa, blkptr_t *bp, const zbookmark_phys_t *zb, argument 2322 ASSERT3U(BP_GET_LEVEL(bp), ==, zb 2174 blkid2offset(const dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument 2344 visit_indirect(spa_t *spa, const dnode_phys_t *dnp, blkptr_t *bp, const zbookmark_phys_t *zb) argument 5187 zdb_blkstats_t *zb = &zcb->zcb_type[l][t]; local 5320 zbookmark_phys_t *zb = &zio->io_bookmark; local 5353 zdb_blkptr_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument 6291 zdb_blkstats_t *zb, *tzb; local 6639 zdb_ddt_add_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) argument [all...] |
H A D | zdb_il.c | 156 zbookmark_phys_t zb; local 186 SET_BOOKMARK(&zb, dmu_objset_id(zilog->zl_os), 193 ZIO_PRIORITY_SYNC_READ, ZIO_FLAG_CANFAIL, &zb));
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_mount.c | 1162 zfs_handle_t *zb = *zbp; local 1171 zonedb = zfs_prop_get_int(zb, ZFS_PROP_ZONED); 1182 gotb = (zfs_get_type(zb) == ZFS_TYPE_FILESYSTEM); 1184 verify(zfs_prop_get(zb, ZFS_PROP_MOUNTPOINT, mountb, 1215 return (strcmp(zfs_get_name(za), zfs_get_name(zb)));
|