MCPcopy Create free account
hub / github.com/F-Stack/f-stack / zap_contains

Function zap_contains

freebsd/contrib/openzfs/module/zfs/zap_micro.c:1117–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115}
1116
1117int
1118zap_contains(objset_t *os, uint64_t zapobj, const char *name)
1119{
1120 int err = zap_lookup_norm(os, zapobj, name, 0,
1121 0, NULL, 0, NULL, 0, NULL);
1122 if (err == EOVERFLOW || err == EINVAL)
1123 err = 0; /* found, but skipped reading the value */
1124 return (err);
1125}
1126
1127int
1128zap_length(objset_t *os, uint64_t zapobj, const char *name,

Callers 15

vdev_rebuild_clear_syncFunction · 0.85
vdev_rebuild_get_statsFunction · 0.85
load_zfeatureFunction · 0.85
dsl_dataset_hold_objFunction · 0.85
spa_sync_upgradesFunction · 0.85
spa_activity_in_progressFunction · 0.85
spa_checkpoint_get_statsFunction · 0.85
spa_checkpoint_syncFunction · 0.85
dsl_dir_init_fs_ss_countFunction · 0.85

Calls 1

zap_lookup_normFunction · 0.85

Tested by

no test coverage detected