Home
last modified time | relevance | path

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

12345

/freebsd-src/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-src/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, t in resume_skip_check()
182 traverse_prefetch_metadata(traverse_data_t * td,const dnode_phys_t * dnp,const blkptr_t * bp,const zbookmark_phys_t * zb) traverse_prefetch_metadata() argument
222 traverse_visitbp(traverse_data_t * td,const dnode_phys_t * dnp,const blkptr_t * bp,const zbookmark_phys_t * zb) traverse_visitbp() argument
562 traverse_prefetcher(spa_t * spa,zilog_t * zilog,const blkptr_t * bp,const zbookmark_phys_t * zb,const dnode_phys_t * dnp,void * arg) traverse_prefetcher() 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 in name_to_bookmark()
143 zep_to_zb(uint64_t dataset,zbookmark_err_phys_t * zep,zbookmark_phys_t * zb) zep_to_zb() argument
183 spa_log_error(spa_t * spa,const zbookmark_phys_t * zb,const uint64_t birth) spa_log_error() argument
294 copyout_entry(const zbookmark_phys_t * zb,void * uaddr,uint64_t * count) copyout_entry() argument
337 zbookmark_phys_t zb; check_filesystem() local
408 zbookmark_phys_t zb; check_filesystem() local
486 zbookmark_phys_t zb; process_error_block() local
530 zbookmark_phys_t zb; process_error_block() local
666 remove_error_from_list(spa_t * spa,avl_tree_t * t,const zbookmark_phys_t * zb) remove_error_from_list() argument
735 spa_remove_error(spa_t * spa,zbookmark_phys_t * zb,uint64_t birth) spa_remove_error() argument
810 zbookmark_phys_t zb; sync_upgrade_errlog() local
970 zbookmark_phys_t zb; process_error_log() local
[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()
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 in dsl_error_scrub_check_suspend()
1595 dsl_scan_check_suspend(dsl_scan_t * scn,const zbookmark_phys_t * zb) dsl_scan_check_suspend() argument
1674 dsl_error_scrub_check_suspend(dsl_scan_t * scn,const zbookmark_phys_t * zb) dsl_error_scrub_check_suspend() argument
1723 zbookmark_phys_t zb; dsl_scan_zil_block() local
1759 zbookmark_phys_t zb; dsl_scan_zil_record() local
1879 dsl_scan_check_prefetch_resume(scan_prefetch_ctx_t * spc,const zbookmark_phys_t * zb) dsl_scan_check_prefetch_resume() argument
1900 dsl_scan_prefetch(scan_prefetch_ctx_t * spc,blkptr_t * bp,zbookmark_phys_t * zb) dsl_scan_prefetch() argument
1949 zbookmark_phys_t zb; dsl_scan_prefetch_dnode() local
1975 dsl_scan_prefetch_cb(zio_t * zio,const zbookmark_phys_t * zb,const blkptr_t * bp,arc_buf_t * buf,void * private) dsl_scan_prefetch_cb() argument
2117 dsl_scan_check_resume(dsl_scan_t * scn,const dnode_phys_t * dnp,const zbookmark_phys_t * zb) dsl_scan_check_resume() argument
2164 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) dsl_scan_recurse() argument
2315 dsl_scan_visitbp(const 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) dsl_scan_visitbp() argument
2393 zbookmark_phys_t zb; dsl_scan_visit_rootbp() local
2938 zbookmark_phys_t zb = { 0 }; dsl_scan_ddt_entry() local
3877 name_to_bookmark(char * buf,zbookmark_phys_t * zb) name_to_bookmark() argument
3897 read_by_block_level(dsl_scan_t * scn,zbookmark_phys_t zb) read_by_block_level() argument
3996 zbookmark_phys_t zb; scrub_filesystem() local
4076 zbookmark_phys_t zb; scrub_filesystem() local
4156 zbookmark_phys_t *zb; dsl_errorscrub_sync() local
4605 zfs_blkstat_t *zb = &zab->zab_type[l][t]; count_block() local
4665 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) scan_io_queue_insert() argument
4687 dsl_scan_enqueue(dsl_pool_t * dp,const blkptr_t * bp,int zio_flags,const zbookmark_phys_t * zb) dsl_scan_enqueue() argument
4722 dsl_scan_scrub_cb(dsl_pool_t * dp,const blkptr_t * bp,const zbookmark_phys_t * zb) dsl_scan_scrub_cb() argument
4827 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) scan_exec_io() argument
[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()
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 in redact_cb()
255 redact_cb(spa_t * spa,zilog_t * zilog,const blkptr_t * bp,const zbookmark_phys_t * zb,const struct dnode_phys * dnp,void * arg) redact_cb() argument
383 create_zbookmark_from_obj_off(zbookmark_phys_t * zb,uint64_t object,uint64_t blkid) create_zbookmark_from_obj_off() argument
[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 in zfs_ereport_start()
1160 zfs_ereport_post(const char * subclass,spa_t * spa,vdev_t * vd,const zbookmark_phys_t * zb,zio_t * zio,uint64_t state) zfs_ereport_post() argument
1202 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) zfs_ereport_start_checksum() argument
1306 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) zfs_ereport_post_checksum() argument
[all...]
H A Ddmu_send.c1071 const zbookmark_phys_t *zb, const struct dnode_phys *dnp, void *arg) in do_dump()
1077 ASSERT(zb->zb_object == DMU_META_DNODE_OBJECT || in do_dump()
1078 zb->zb_object >= sta->resume.zb_object); in do_dump()
1086 spa_log_error(spa, zb, BP_GET_LOGICAL_BIRTH(bp)); in range_alloc()
1092 if (zb->zb_object != DMU_META_DNODE_OBJECT && in range_alloc()
1093 DMU_OBJECT_IS_SPECIAL(zb->zb_object)) in range_alloc()
1097 if (zb->zb_level == ZB_DNODE_LEVEL) { in range_alloc()
1098 if (zb->zb_object == DMU_META_DNODE_OBJECT) in range_alloc()
1100 record = range_alloc(OBJECT, zb->zb_object, 0, 0, B_FALSE); in range_alloc()
1108 if (zb
951 zbookmark_phys_t zb; do_dump() local
1111 send_cb(spa_t * spa,zilog_t * zilog,const blkptr_t * bp,const zbookmark_phys_t * zb,const struct dnode_phys * dnp,void * arg) send_cb() argument
1680 zbookmark_phys_t zb = { issue_data_read() local
2384 zbookmark_phys_t zb; dmu_send_impl() local
2854 zfs_bookmark_phys_t *zb = &dspp.ancestor_zb; dmu_send() local
[all...]
H A Dzio_inject.c129 zio_match_handler(const zbookmark_phys_t *zb, uint64_t type, int dva, in zio_match_handler() argument
138 if (zb->zb_objset == DMU_META_OBJSET && in zio_match_handler()
150 if (zb->zb_objset == record->zi_objset && in zio_match_handler()
151 zb->zb_object == record->zi_object && in zio_match_handler()
152 zb->zb_level == record->zi_level && in zio_match_handler()
153 zb->zb_blkid >= record->zi_start && in zio_match_handler()
154 zb->zb_blkid <= record->zi_end && in zio_match_handler()
207 zio_handle_decrypt_injection(spa_t *spa, const zbookmark_phys_t *zb, in zio_handle_decrypt_injection()
222 if (zio_match_handler(zb, type, ZI_NO_DVA,
192 zio_handle_decrypt_injection(spa_t * spa,const zbookmark_phys_t * zb,uint64_t type,int error) zio_handle_decrypt_injection() argument
/freebsd-src/sys/contrib/openzfs/include/sys/
H A Dzio.h319 #define SET_BOOKMARK(zb, objset, object, level, blkid) \
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) \
340 ((zb)->zb_objset == 0 && (zb)->zb_object == 0 && \
341 (zb)->zb_level == 0 && (zb)
314 SET_BOOKMARK(zb,objset,object,level,blkid) global() argument
334 ZB_IS_ZERO(zb) global() argument
337 ZB_IS_ROOT(zb) global() argument
[all...]
H A Darc.h88 typedef void arc_read_done_func_t(zio_t *zio, const zbookmark_phys_t *zb,
277 int arc_untransform(arc_buf_t *buf, spa_t *spa, const zbookmark_phys_t *zb,
319 int flags, arc_flags_t *arc_flags, const zbookmark_phys_t *zb);
324 int zio_flags, const zbookmark_phys_t *zb);
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dzfs_create.cfg51 "1PB" "1zb" "1zB" "1Zb" "1ZB"
/freebsd-src/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-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create.cfg59 "1PB" "1zb" "1zB" "1Zb" "1ZB"
/freebsd-src/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 Dchecklist721 Press \Zb\ZrSPACE\Zn to toggle an option on/off. \n\n\
30 …"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" …
/freebsd-src/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-src/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-src/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-src/crypto/openssl/test/certs/
H A Dcert-key-cert.pem24 ywlJ4qnAB48tgPx0q+ZB+EdMYRqCwyvXJxEdZ7PsCdUeU6xI2ybkhSdUUfQbYem3
84 ywlJ4qnAB48tgPx0q+ZB+EdMYRqCwyvXJxEdZ7PsCdUeU6xI2ybkhSdUUfQbYem3
/freebsd-src/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2437 const zbookmark_phys_t *zb) in print_indirect()
2440 ASSERT(zb->zb_level < 0); in print_indirect()
2441 if (zb->zb_object == 0) in print_indirect()
2442 return (zb->zb_blkid);
2443 return (zb->zb_blkid * BP_GET_LSIZE(bp));
2446 ASSERT(zb->zb_level >= 0); in visit_indirect()
2448 return ((zb->zb_blkid << in visit_indirect()
2449 (zb->zb_level * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT))) * in visit_indirect()
2580 print_indirect(spa_t *spa, blkptr_t *bp, const zbookmark_phys_t *zb, in dump_dsl_dataset()
2588 ASSERT3U(BP_GET_LEVEL(bp), ==, zb in dump_dsl_dataset()
2271 blkid2offset(const dnode_phys_t * dnp,const blkptr_t * bp,const zbookmark_phys_t * zb) blkid2offset() argument
2414 print_indirect(spa_t * spa,blkptr_t * bp,const zbookmark_phys_t * zb,const dnode_phys_t * dnp) print_indirect() argument
2445 visit_indirect(spa_t * spa,const dnode_phys_t * dnp,blkptr_t * bp,const zbookmark_phys_t * zb) visit_indirect() argument
5622 zdb_blkstats_t *zb = &zcb->zcb_type[l][t]; zdb_count_block() local
5794 zbookmark_phys_t *zb = &zio->io_bookmark; zdb_blkptr_done() local
5828 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) zdb_blkptr_cb() argument
6781 zdb_blkstats_t *zb, *tzb; dump_block_stats() local
7186 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) zdb_ddt_add_cb() argument
[all...]

12345