Home
last modified time | relevance | path

Searched full:zb (Results 1 – 25 of 117) sorted by relevance

12345

/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()
151 * the block indicated by zb does not need to be visited at all. Returns
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()
[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);
360 const zbookmark_phys_t *zb, dsl_scan_io_queue_t *queue);
1630 dsl_scan_check_suspend(dsl_scan_t *scn, const zbookmark_phys_t *zb) in dsl_scan_check_suspend() argument
1633 if (zb && (int64_t)zb->zb_object < 0) in dsl_scan_check_suspend()
1643 if (zb && (zb->zb_level != 0 && zb->zb_level != ZB_ROOT_LEVEL)) in dsl_scan_check_suspend()
1676 if (zb && zb->zb_level == ZB_ROOT_LEVEL) { in dsl_scan_check_suspend()
1679 (longlong_t)zb->zb_objset, in dsl_scan_check_suspend()
1680 (longlong_t)zb->zb_object, in dsl_scan_check_suspend()
1681 (longlong_t)zb->zb_level, in dsl_scan_check_suspend()
1682 (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_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 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
/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 …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dzfs_create.cfg51 "1PB" "1zb" "1zB" "1Zb" "1ZB"
/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create.cfg59 "1PB" "1zb" "1zB" "1Zb" "1ZB"
/freebsd/contrib/dialog/samples/
H A Dmenubox624 …MS-DOS" "Microsoft \ZrDOS" "\ZbDOS\Zn: \Zb\Z3D\Znisk \Zb\Z3O\Znperating \Zb\Z3S…
H A Dchecklist9.txt12 Press \Zb\ZrSPACE\Zn to toggle an option on/off. \n\n\
21 …"Lemon" "You know how it \Zr\Zb\Z3tastes\Zn. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" …
H A Dchecklist820 Press \Zb\ZrSPACE\Zn to toggle an option on/off. \n\n\
29 …"Lemon" "You know how it \Zr\Zb\Z3tastes\Zn. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" …
H A Dchecklist617 Press \Zb\ZrSPACE\Zn to toggle an option on/off. \n\n\
26 …"Lemon" "You know how it \Zr\Zb\Z3tastes\Zn. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" …
H A Dchecklist721 Press \Zb\ZrSPACE\Zn to toggle an option on/off. \n\n\
30 …"Lemon" "You know how it \Zr\Zb\Z3tastes\Zn. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" …
/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;
259 "lsize %llu } zb { objset %llu object %llu level %lli "
281 const blkptr_t *bp, uint64_t size, const zbookmark_phys_t *zb), \
282 TP_ARGS(hdr, bp, size, zb))
/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/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/crypto/openssl/test/certs/
H A Dcert-key-cert.pem24 ywlJ4qnAB48tgPx0q+ZB+EdMYRqCwyvXJxEdZ7PsCdUeU6xI2ybkhSdUUfQbYem3
84 ywlJ4qnAB48tgPx0q+ZB+EdMYRqCwyvXJxEdZ7PsCdUeU6xI2ybkhSdUUfQbYem3
/freebsd/tests/sys/kern/tty/
H A Dtest_recanon.orch51 -- Sending "B^D" should give us "ZB" to make sure that we didn't lose anything
55 match("^ZB$")

12345