Home
last modified time | relevance | path

Searched refs:zd (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zone.c126 zone_dataset_t *zd; in zone_dataset_lookup() local
128 list_for_each_entry(zd, &zds->zds_datasets, zd_list) { in zone_dataset_lookup()
129 if (zd->zd_dsnamelen != dsnamelen) in zone_dataset_lookup()
131 if (strncmp(zd->zd_dsname, dataset, dsnamelen) == 0) in zone_dataset_lookup()
132 return (zd); in zone_dataset_lookup()
170 zone_dataset_t *zd; in zone_dataset_attach() local
195 zd = zone_dataset_lookup(zds, dataset, dsnamelen); in zone_dataset_attach()
196 if (zd != NULL) { in zone_dataset_attach()
202 zd = kmem_alloc(sizeof (zone_dataset_t) + dsnamelen + 1, KM_SLEEP); in zone_dataset_attach()
203 zd->zd_dsnamelen = dsnamelen; in zone_dataset_attach()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zone.c62 zone_dataset_t *zd, *zd2; in zone_dataset_attach() local
70 zd = malloc(sizeof (*zd) + strlen(dataset) + 1, M_ZONES, M_WAITOK); in zone_dataset_attach()
76 free(zd, M_ZONES); in zone_dataset_attach()
85 free(zd, M_ZONES); in zone_dataset_attach()
101 strcpy(zd->zd_dataset, dataset); in zone_dataset_attach()
102 LIST_INSERT_HEAD(head, zd, zd_next); in zone_dataset_attach()
115 zone_dataset_t *zd; in zone_dataset_detach() local
132 LIST_FOREACH(zd, head, zd_next) { in zone_dataset_detach()
133 if (strcmp(dataset, zd->zd_dataset) == 0) in zone_dataset_detach()
136 if (zd == NULL) in zone_dataset_detach()
[all …]
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c393 typedef void ztest_func_t(ztest_ds_t *zd, uint64_t id);
1733 ztest_object_lock(ztest_ds_t *zd, uint64_t object, rl_type_t type) in ztest_object_lock() argument
1735 rll_t *rll = &zd->zd_object_lock[object & (ZTEST_OBJECT_LOCKS - 1)]; in ztest_object_lock()
1741 ztest_object_unlock(ztest_ds_t *zd, uint64_t object) in ztest_object_unlock() argument
1743 rll_t *rll = &zd->zd_object_lock[object & (ZTEST_OBJECT_LOCKS - 1)]; in ztest_object_unlock()
1749 ztest_range_lock(ztest_ds_t *zd, uint64_t object, uint64_t offset, in ztest_range_lock() argument
1753 rll_t *rll = &zd->zd_range_lock[hash & (ZTEST_RANGE_LOCKS - 1)]; in ztest_range_lock()
1778 ztest_zd_init(ztest_ds_t *zd, ztest_shared_ds_t *szd, objset_t *os) in ztest_zd_init() argument
1780 zd->zd_os = os; in ztest_zd_init()
1781 zd->zd_zilog = dmu_objset_zil(os); in ztest_zd_init()
[all …]
/freebsd/contrib/ldns/
H A Ddnssec_zone.c1549 INLINE bool zone_digester_set(zone_digester *zd) argument
1550 { return zd && (zd->simple_sha384 || zd->simple_sha512); }
1552 INLINE void zone_digester_init(zone_digester *zd) argument
1553 { memset(zd, 0, sizeof(*zd)); }
1556 zone_digester_add(zone_digester *zd, zonemd_scheme scheme, zonemd_hash hash) argument
1558 if (!zd)
1565 if (zd->double_sha384)
1568 else if (zd->simple_sha384) {
1569 zd->simple_sha384 = 0;
1570 zd->double_sha384 = 1;
[all …]
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_legacy.h149 ZSTDv05_DCtx* const zd = ZSTDv05_createDCtx(); in ZSTD_decompressLegacy() local
150 if (zd==NULL) return ERROR(memory_allocation); in ZSTD_decompressLegacy()
151 … result = ZSTDv05_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize); in ZSTD_decompressLegacy()
152 ZSTDv05_freeDCtx(zd); in ZSTD_decompressLegacy()
159 ZSTDv06_DCtx* const zd = ZSTDv06_createDCtx(); in ZSTD_decompressLegacy() local
160 if (zd==NULL) return ERROR(memory_allocation); in ZSTD_decompressLegacy()
161 … result = ZSTDv06_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize); in ZSTD_decompressLegacy()
162 ZSTDv06_freeDCtx(zd); in ZSTD_decompressLegacy()
169 ZSTDv07_DCtx* const zd = ZSTDv07_createDCtx(); in ZSTD_decompressLegacy() local
170 if (zd==NULL) return ERROR(memory_allocation); in ZSTD_decompressLegacy()
[all …]
H A Dzstd_v07.c4314 ZSTDv07_DCtx* zd; member
4351 zbd->zd = ZSTDv07_createDCtx_advanced(customMem); in ZBUFFv07_createDCtx_advanced()
4352 if (zbd->zd == NULL) { ZBUFFv07_freeDCtx(zbd); return NULL; } in ZBUFFv07_createDCtx_advanced()
4360 ZSTDv07_freeDCtx(zbd->zd); in ZBUFFv07_freeDCtx()
4374 return ZSTDv07_decompressBegin_usingDict(zbd->zd, dict, dictSize); in ZBUFFv07_decompressInitDictionary()
4430 …{ size_t const h1Size = ZSTDv07_nextSrcSizeToDecompress(zbd->zd); /* == ZSTDv07_frameHeaderSize… in ZBUFFv07_decompressContinue()
4431 … size_t const h1Result = ZSTDv07_decompressContinue(zbd->zd, NULL, 0, zbd->headerBuffer, h1Size); in ZBUFFv07_decompressContinue()
4434 size_t const h2Size = ZSTDv07_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv07_decompressContinue()
4435 …size_t const h2Result = ZSTDv07_decompressContinue(zbd->zd, NULL, 0, zbd->headerBuffer+h1Size, h2S… in ZBUFFv07_decompressContinue()
4461 { size_t const neededInSize = ZSTDv07_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv07_decompressContinue()
[all …]
H A Dzstd_v06.c3949 ZSTDv06_DCtx* zd; member
3970 zbd->zd = ZSTDv06_createDCtx(); in ZBUFFv06_createDCtx()
3978 ZSTDv06_freeDCtx(zbd->zd); in ZBUFFv06_freeDCtx()
3992 return ZSTDv06_decompressBegin_usingDict(zbd->zd, dict, dictSize); in ZBUFFv06_decompressInitDictionary()
4048 …{ size_t const h1Size = ZSTDv06_nextSrcSizeToDecompress(zbd->zd); /* == ZSTDv06_frameHeaderSize… in ZBUFFv06_decompressContinue()
4049 … size_t const h1Result = ZSTDv06_decompressContinue(zbd->zd, NULL, 0, zbd->headerBuffer, h1Size); in ZBUFFv06_decompressContinue()
4052 size_t const h2Size = ZSTDv06_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv06_decompressContinue()
4053 …size_t const h2Result = ZSTDv06_decompressContinue(zbd->zd, NULL, 0, zbd->headerBuffer+h1Size, h2S… in ZBUFFv06_decompressContinue()
4076 { size_t const neededInSize = ZSTDv06_nextSrcSizeToDecompress(zbd->zd); in ZBUFFv06_decompressContinue()
4083 size_t const decodedSize = ZSTDv06_decompressContinue(zbd->zd, in ZBUFFv06_decompressContinue()
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Datomic.h74 JEMALLOC_GENERATE_INT_ATOMICS(ssize_t, zd, LG_SIZEOF_PTR)
/freebsd/sys/contrib/openzfs/udev/rules.d/
H A D60-zvol.rules.in11 KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM=="@udevdir@/zvol_id $devnode", SYM…
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_zip.c1266 unsigned char *z = zip64, *zd; in archive_write_zip_finish_entry() local
1285 zd = cd_alloc(zip, z - zip64); in archive_write_zip_finish_entry()
1286 if (zd == NULL) { in archive_write_zip_finish_entry()
1291 memcpy(zd, zip64, z - zip64); in archive_write_zip_finish_entry()
/freebsd/contrib/tzcode/
H A DMakefile803 # dummy.zd is not a real file; it is mentioned here only so that the
805 ZDS = dummy.zd
809 ./zdump -i $(TZS_CUTOFF_FLAG) "$$PWD/$(@:.zd=)" >$@
818 x=$$($(AWK) '/^Z/{print "tzs$(TZS_YEAR).dir/" $$2 ".zd"}' \
1368 .PHONY: clean clean_misc commit-leap-seconds.list dummy.zd
/freebsd/contrib/tzdata/
H A DMakefile805 # dummy.zd is not a real file; it is mentioned here only so that the
807 ZDS = dummy.zd
811 ./zdump -i $(TZS_CUTOFF_FLAG) "$$PWD/$(@:.zd=)" >$@
820 x=$$($(AWK) '/^Z/{print "tzs$(TZS_YEAR).dir/" $$2 ".zd"}' \
1370 .PHONY: clean clean_misc commit-leap-seconds.list dummy.zd
/freebsd/contrib/tcpdump/
H A Dconfigure.ac486 snprintf(buf, sizeof(buf), "%zd", -sizeof(buf));
H A DCMakeLists.txt526 snprintf(buf, sizeof(buf), \"%zd\", -sizeof(buf));
/freebsd/contrib/sendmail/
H A DPGPKEYS1895 YC8/MG42Oj/zd+0WUhnI+RckFYPBNDQ+sZC6ErLDxCYDZMYhG4vhJOGqAKpglNTb
/freebsd/share/termcap/
H A Dtermcap1016 :zd=\E[1m:zb=\E[5m:zc=lkmjqxtuwvn:\