Dataset Viewer
Auto-converted to Parquet Duplicate
zfs
dict
ffmpeg
dict
curl
dict
redis
dict
gcc
dict
wrk
dict
openssh
dict
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": "", "dump_bpobj": "", "dump_bpobj_subobjs": "", "dump_ddt_zap": "", "dump_dmu_objset": "", "dump_dnode": "", "dump_dsl_dataset": "", "dump_dsl_dir": "", "dump_history_offsets": "", "dump_none": "", "dump_packed_nvlist": "", "dump_sa_attrs": "", "dump_sa_layouts": "", "dump_uint64": "", "dump_uint8": "", "dump_unknown": "", "dump_zap": "", "dump_znode": "", "dump_zpldir": "", "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "object_viewer[ZDB_OT_TYPE(doi.doi_bonus_type)]", "chain_summary": [ { "parent": "", "source_code": [ "static void", "dump_object(objset_t *os, uint64_t object, int verbosity,", " boolean_t *print_header, uint64_t *dnode_slots_used, uint64_t flags)", "{", "\tif (!dnode_held) {", "\t\tobject_viewer[ZDB_OT_TYPE(doi.doi_bonus_type)](os,", "\t\t\t\tobject, bonus, bsize);", "\t} else {", "\t\t(void) printf(\"\\t\\t(bonus encrypted)\\n\");", "\t}", "}" ] }, { "parent": "", "source_code": [ "static object_viewer_t *object_viewer[DMU_OT_NUMTYPES + 1] = {", "\tdump_none,\t\t/* unallocated\t\t\t*/", "\tdump_zap,\t\t/* object directory\t\t*/", "\tdump_uint64,\t\t/* object array\t\t\t*/", "\tdump_none,\t\t/* packed nvlist\t\t*/", "\tdump_packed_nvlist,\t/* packed nvlist size\t\t*/", "\tdump_none,\t\t/* bpobj\t\t\t*/", "\tdump_bpobj,\t\t/* bpobj header\t\t\t*/", "\tdump_none,\t\t/* SPA space map header\t\t*/", "\tdump_none,\t\t/* SPA space map\t\t*/", "\tdump_none,\t\t/* ZIL intent log\t\t*/", "\tdump_dnode,\t\t/* DMU dnode\t\t\t*/", "\tdump_dmu_objset,\t/* DMU objset\t\t\t*/", "\tdump_dsl_dir,\t\t/* DSL directory\t\t*/", "\tdump_zap,\t\t/* DSL directory child map\t*/", "\tdump_zap,\t\t/* DSL dataset snap map\t\t*/", "\tdump_zap,\t\t/* DSL props\t\t\t*/", "\tdump_dsl_dataset,\t/* DSL dataset\t\t\t*/", "\tdump_znode,\t\t/* ZFS znode\t\t\t*/", "\tdump_acl,\t\t/* ZFS V0 ACL\t\t\t*/", "\tdump_uint8,\t\t/* ZFS plain file\t\t*/", "\tdump_zpldir,\t\t/* ZFS directory\t\t*/", "\tdump_zap,\t\t/* ZFS master node\t\t*/", "\tdump_zap,\t\t/* ZFS delete queue\t\t*/", "\tdump_uint8,\t\t/* zvol object\t\t\t*/", "\tdump_zap,\t\t/* zvol prop\t\t\t*/", "\tdump_uint8,\t\t/* other uint8[]\t\t*/", "\tdump_uint64,\t\t/* other uint64[]\t\t*/", "\tdump_zap,\t\t/* other ZAP\t\t\t*/", "\tdump_zap,\t\t/* persistent error log\t\t*/", "\tdump_uint8,\t\t/* SPA history\t\t\t*/", "\tdump_history_offsets,\t/* SPA history offsets\t\t*/", "\tdump_zap,\t\t/* Pool properties\t\t*/", "\tdump_zap,\t\t/* DSL permissions\t\t*/", "\tdump_acl,\t\t/* ZFS ACL\t\t\t*/", "\tdump_uint8,\t\t/* ZFS SYSACL\t\t\t*/", "\tdump_none,\t\t/* FUID nvlist\t\t\t*/", "\tdump_packed_nvlist,\t/* FUID nvlist size\t\t*/", "\tdump_zap,\t\t/* DSL dataset next clones\t*/", "\tdump_zap,\t\t/* DSL scrub queue\t\t*/", "\tdump_zap,\t\t/* ZFS user/group/project used\t*/", "\tdump_zap,\t\t/* ZFS user/group/project quota\t*/", "\tdump_zap,\t\t/* snapshot refcount tags\t*/", "\tdump_ddt_zap,\t\t/* DDT ZAP object\t\t*/", "\tdump_zap,\t\t/* DDT statistics\t\t*/", "\tdump_znode,\t\t/* SA object\t\t\t*/", "\tdump_zap,\t\t/* SA Master Node\t\t*/", "\tdump_sa_attrs,\t\t/* SA attribute registration\t*/", "\tdump_sa_layouts,\t/* SA attribute layouts\t\t*/", "\tdump_zap,\t\t/* DSL scrub translations\t*/", "\tdump_none,\t\t/* fake dedup BP\t\t*/", "\tdump_zap,\t\t/* deadlist\t\t\t*/", "\tdump_none,\t\t/* deadlist hdr\t\t\t*/", "\tdump_zap,\t\t/* dsl clones\t\t\t*/", "\tdump_bpobj_subobjs,\t/* bpobj subobjs\t\t*/", "\tdump_unknown,\t\t/* Unknown type, must be last\t*/", "};" ] } ], "type": "fnptr-global-array" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": "", "mul_x1_1": "", "mul_x1_10": "", "mul_x1_100": "", "mul_x1_101": "", "mul_x1_102": "", "mul_x1_103": "", "mul_x1_104": "", "mul_x1_105": "", "mul_x1_106": "", "mul_x1_107": "", "mul_x1_108": "", "mul_x1_109": "", "mul_x1_11": "", "mul_x1_110": "", "mul_x1_111": "", "mul_x1_112": "", "mul_x1_113": "", "mul_x1_114": "", "mul_x1_115": "", "mul_x1_116": "", "mul_x1_117": "", "mul_x1_118": "", "mul_x1_119": "", "mul_x1_12": "", "mul_x1_120": "", "mul_x1_121": "", "mul_x1_122": "", "mul_x1_123": "", "mul_x1_124": "", "mul_x1_125": "", "mul_x1_126": "", "mul_x1_127": "", "mul_x1_128": "", "mul_x1_129": "", "mul_x1_13": "", "mul_x1_130": "", "mul_x1_131": "", "mul_x1_132": "", "mul_x1_133": "", "mul_x1_134": "", "mul_x1_135": "", "mul_x1_136": "", "mul_x1_137": "", "mul_x1_138": "", "mul_x1_139": "", "mul_x1_14": "", "mul_x1_140": "", "mul_x1_141": "", "mul_x1_142": "", "mul_x1_143": "", "mul_x1_144": "", "mul_x1_145": "", "mul_x1_146": "", "mul_x1_147": "", "mul_x1_148": "", "mul_x1_149": "", "mul_x1_15": "", "mul_x1_150": "", "mul_x1_151": "", "mul_x1_152": "", "mul_x1_153": "", "mul_x1_154": "", "mul_x1_155": "", "mul_x1_156": "", "mul_x1_157": "", "mul_x1_158": "", "mul_x1_159": "", "mul_x1_16": "", "mul_x1_160": "", "mul_x1_161": "", "mul_x1_162": "", "mul_x1_163": "", "mul_x1_164": "", "mul_x1_165": "", "mul_x1_166": "", "mul_x1_167": "", "mul_x1_168": "", "mul_x1_169": "", "mul_x1_17": "", "mul_x1_170": "", "mul_x1_171": "", "mul_x1_172": "", "mul_x1_173": "", "mul_x1_174": "", "mul_x1_175": "", "mul_x1_176": "", "mul_x1_177": "", "mul_x1_178": "", "mul_x1_179": "", "mul_x1_18": "", "mul_x1_180": "", "mul_x1_181": "", "mul_x1_182": "", "mul_x1_183": "", "mul_x1_184": "", "mul_x1_185": "", "mul_x1_186": "", "mul_x1_187": "", "mul_x1_188": "", "mul_x1_189": "", "mul_x1_19": "", "mul_x1_190": "", "mul_x1_191": "", "mul_x1_192": "", "mul_x1_193": "", "mul_x1_194": "", "mul_x1_195": "", "mul_x1_196": "", "mul_x1_197": "", "mul_x1_198": "", "mul_x1_199": "", "mul_x1_2": "", "mul_x1_20": "", "mul_x1_200": "", "mul_x1_201": "", "mul_x1_202": "", "mul_x1_203": "", "mul_x1_204": "", "mul_x1_205": "", "mul_x1_206": "", "mul_x1_207": "", "mul_x1_208": "", "mul_x1_209": "", "mul_x1_21": "", "mul_x1_210": "", "mul_x1_211": "", "mul_x1_212": "", "mul_x1_213": "", "mul_x1_214": "", "mul_x1_215": "", "mul_x1_216": "", "mul_x1_217": "", "mul_x1_218": "", "mul_x1_219": "", "mul_x1_22": "", "mul_x1_220": "", "mul_x1_221": "", "mul_x1_222": "", "mul_x1_223": "", "mul_x1_224": "", "mul_x1_225": "", "mul_x1_226": "", "mul_x1_227": "", "mul_x1_228": "", "mul_x1_229": "", "mul_x1_23": "", "mul_x1_230": "", "mul_x1_231": "", "mul_x1_232": "", "mul_x1_233": "", "mul_x1_234": "", "mul_x1_235": "", "mul_x1_236": "", "mul_x1_237": "", "mul_x1_238": "", "mul_x1_239": "", "mul_x1_24": "", "mul_x1_240": "", "mul_x1_241": "", "mul_x1_242": "", "mul_x1_243": "", "mul_x1_244": "", "mul_x1_245": "", "mul_x1_246": "", "mul_x1_247": "", "mul_x1_248": "", "mul_x1_249": "", "mul_x1_25": "", "mul_x1_250": "", "mul_x1_251": "", "mul_x1_252": "", "mul_x1_253": "", "mul_x1_254": "", "mul_x1_255": "", "mul_x1_26": "", "mul_x1_27": "", "mul_x1_28": "", "mul_x1_29": "", "mul_x1_3": "", "mul_x1_30": "", "mul_x1_31": "", "mul_x1_32": "", "mul_x1_33": "", "mul_x1_34": "", "mul_x1_35": "", "mul_x1_36": "", "mul_x1_37": "", "mul_x1_38": "", "mul_x1_39": "", "mul_x1_4": "", "mul_x1_40": "", "mul_x1_41": "", "mul_x1_42": "", "mul_x1_43": "", "mul_x1_44": "", "mul_x1_45": "", "mul_x1_46": "", "mul_x1_47": "", "mul_x1_48": "", "mul_x1_49": "", "mul_x1_5": "", "mul_x1_50": "", "mul_x1_51": "", "mul_x1_52": "", "mul_x1_53": "", "mul_x1_54": "", "mul_x1_55": "", "mul_x1_56": "", "mul_x1_57": "", "mul_x1_58": "", "mul_x1_59": "", "mul_x1_6": "", "mul_x1_60": "", "mul_x1_61": "", "mul_x1_62": "", "mul_x1_63": "", "mul_x1_64": "", "mul_x1_65": "", "mul_x1_66": "", "mul_x1_67": "", "mul_x1_68": "", "mul_x1_69": "", "mul_x1_7": "", "mul_x1_70": "", "mul_x1_71": "", "mul_x1_72": "", "mul_x1_73": "", "mul_x1_74": "", "mul_x1_75": "", "mul_x1_76": "", "mul_x1_77": "", "mul_x1_78": "", "mul_x1_79": "", "mul_x1_8": "", "mul_x1_80": "", "mul_x1_81": "", "mul_x1_82": "", "mul_x1_83": "", "mul_x1_84": "", "mul_x1_85": "", "mul_x1_86": "", "mul_x1_87": "", "mul_x1_88": "", "mul_x1_89": "", "mul_x1_9": "", "mul_x1_90": "", "mul_x1_91": "", "mul_x1_92": "", "mul_x1_93": "", "mul_x1_94": "", "mul_x1_95": "", "mul_x1_96": "", "mul_x1_97": "", "mul_x1_98": "", "mul_x1_99": "", "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "gf_x1_mul_fns[c]", "chain_summary": [ { "parent": "", "source_code": [ "static void", "raidz_rec_pqr_abd(void **t, const size_t tsize, void **c,", " const unsigned * const mul)", "{", "\t...", "\tfor (; x < xend; x += REC_PQR_STRIDE, y += REC_PQR_STRIDE,", "\t z += REC_PQR_STRIDE, p += REC_PQR_STRIDE, q += REC_PQR_STRIDE,", "\t r += REC_PQR_STRIDE) {", "\t\tLOAD(x, REC_PQR_X);", "\t\tLOAD(y, REC_PQR_Y);", "\t\tLOAD(z, REC_PQR_Z);", "\t\tXOR_ACC(p, REC_PQR_X);", "\t\tXOR_ACC(q, REC_PQR_Y);", "\t\tXOR_ACC(r, REC_PQR_Z);", "\t\t/* Save Pxyz and Qxyz */", "\t\tCOPY(REC_PQR_X, REC_PQR_XS);", "\t\tCOPY(REC_PQR_Y, REC_PQR_YS);", "\t\t/* Calc X */", "\t\tMUL(mul[MUL_PQR_XP], REC_PQR_X);\t/* Xp = Pxyz * xp */", "\t\tMUL(mul[MUL_PQR_XQ], REC_PQR_Y);\t/* Xq = Qxyz * xq */", "\t\t...", " }", " ...", "}" ] }, { "parent": "", "source_code": [ "static const mul_fn_ptr_t __attribute__((aligned(256)))", "gf_x1_mul_fns[256] = {", "\tmul_x1_0, mul_x1_1, mul_x1_2, mul_x1_3, mul_x1_4, mul_x1_5,", "\tmul_x1_6, mul_x1_7, mul_x1_8, mul_x1_9, mul_x1_10, mul_x1_11,", "\tmul_x1_12, mul_x1_13, mul_x1_14, mul_x1_15, mul_x1_16, mul_x1_17,", "\tmul_x1_18, mul_x1_19, mul_x1_20, mul_x1_21, mul_x1_22, mul_x1_23,", "\tmul_x1_24, mul_x1_25, mul_x1_26, mul_x1_27, mul_x1_28, mul_x1_29,", "\tmul_x1_30, mul_x1_31, mul_x1_32, mul_x1_33, mul_x1_34, mul_x1_35,", "\tmul_x1_36, mul_x1_37, mul_x1_38, mul_x1_39, mul_x1_40, mul_x1_41,", "\tmul_x1_42, mul_x1_43, mul_x1_44, mul_x1_45, mul_x1_46, mul_x1_47,", "\tmul_x1_48, mul_x1_49, mul_x1_50, mul_x1_51, mul_x1_52, mul_x1_53,", "\tmul_x1_54, mul_x1_55, mul_x1_56, mul_x1_57, mul_x1_58, mul_x1_59,", "\tmul_x1_60, mul_x1_61, mul_x1_62, mul_x1_63, mul_x1_64, mul_x1_65,", "\tmul_x1_66, mul_x1_67, mul_x1_68, mul_x1_69, mul_x1_70, mul_x1_71,", "\tmul_x1_72, mul_x1_73, mul_x1_74, mul_x1_75, mul_x1_76, mul_x1_77,", "\tmul_x1_78, mul_x1_79, mul_x1_80, mul_x1_81, mul_x1_82, mul_x1_83,", "\tmul_x1_84, mul_x1_85, mul_x1_86, mul_x1_87, mul_x1_88, mul_x1_89,", "\tmul_x1_90, mul_x1_91, mul_x1_92, mul_x1_93, mul_x1_94, mul_x1_95,", "\tmul_x1_96, mul_x1_97, mul_x1_98, mul_x1_99, mul_x1_100, mul_x1_101,", "\tmul_x1_102, mul_x1_103, mul_x1_104, mul_x1_105, mul_x1_106, mul_x1_107,", "\tmul_x1_108, mul_x1_109, mul_x1_110, mul_x1_111, mul_x1_112, mul_x1_113,", "\tmul_x1_114, mul_x1_115, mul_x1_116, mul_x1_117, mul_x1_118, mul_x1_119,", "\tmul_x1_120, mul_x1_121, mul_x1_122, mul_x1_123, mul_x1_124, mul_x1_125,", "\tmul_x1_126, mul_x1_127, mul_x1_128, mul_x1_129, mul_x1_130, mul_x1_131,", "\tmul_x1_132, mul_x1_133, mul_x1_134, mul_x1_135, mul_x1_136, mul_x1_137,", "\tmul_x1_138, mul_x1_139, mul_x1_140, mul_x1_141, mul_x1_142, mul_x1_143,", "\tmul_x1_144, mul_x1_145, mul_x1_146, mul_x1_147, mul_x1_148, mul_x1_149,", "\tmul_x1_150, mul_x1_151, mul_x1_152, mul_x1_153, mul_x1_154, mul_x1_155,", "\tmul_x1_156, mul_x1_157, mul_x1_158, mul_x1_159, mul_x1_160, mul_x1_161,", "\tmul_x1_162, mul_x1_163, mul_x1_164, mul_x1_165, mul_x1_166, mul_x1_167,", "\tmul_x1_168, mul_x1_169, mul_x1_170, mul_x1_171, mul_x1_172, mul_x1_173,", "\tmul_x1_174, mul_x1_175, mul_x1_176, mul_x1_177, mul_x1_178, mul_x1_179,", "\tmul_x1_180, mul_x1_181, mul_x1_182, mul_x1_183, mul_x1_184, mul_x1_185,", "\tmul_x1_186, mul_x1_187, mul_x1_188, mul_x1_189, mul_x1_190, mul_x1_191,", "\tmul_x1_192, mul_x1_193, mul_x1_194, mul_x1_195, mul_x1_196, mul_x1_197,", "\tmul_x1_198, mul_x1_199, mul_x1_200, mul_x1_201, mul_x1_202, mul_x1_203,", "\tmul_x1_204, mul_x1_205, mul_x1_206, mul_x1_207, mul_x1_208, mul_x1_209,", "\tmul_x1_210, mul_x1_211, mul_x1_212, mul_x1_213, mul_x1_214, mul_x1_215,", "\tmul_x1_216, mul_x1_217, mul_x1_218, mul_x1_219, mul_x1_220, mul_x1_221,", "\tmul_x1_222, mul_x1_223, mul_x1_224, mul_x1_225, mul_x1_226, mul_x1_227,", "\tmul_x1_228, mul_x1_229, mul_x1_230, mul_x1_231, mul_x1_232, mul_x1_233,", "\tmul_x1_234, mul_x1_235, mul_x1_236, mul_x1_237, mul_x1_238, mul_x1_239,", "\tmul_x1_240, mul_x1_241, mul_x1_242, mul_x1_243, mul_x1_244, mul_x1_245,", "\tmul_x1_246, mul_x1_247, mul_x1_248, mul_x1_249, mul_x1_250, mul_x1_251,", "\tmul_x1_252, mul_x1_253, mul_x1_254, mul_x1_255", "};", "#define\tMUL(c, r...) \t\t\t\t\t\t\t\\", "{\t\t\t\t\t\t\t\t\t\\", "\tswitch (REG_CNT(r)) {\t\t\t\t\t\t\\", "\tcase 2:\t\t\t\t\t\t\t\t\\", "\t\tCOPY(r, _mul_x2_in);\t\t\t\t\t\\", "\t\tgf_x2_mul_fns[c]();\t\t\t\t\t\\", "\t\tCOPY(_mul_x2_acc, r);\t\t\t\t\t\\", "\t\tbreak;\t\t\t\t\t\t\t\\", "\tcase 1:\t\t\t\t\t\t\t\t\\", "\t\tCOPY(r, _mul_x1_in);\t\t\t\t\t\\", "\t\tgf_x1_mul_fns[c]();\t\t\t\t\t\\", "\t\tCOPY(_mul_x1_acc, r);\t\t\t\t\t\\", "\t\tbreak;\t\t\t\t\t\t\t\\", "\tdefault:\t\t\t\t\t\t\t\\", "\t\tVERIFY(0);\t\t\t\t\t\t\\", "\t}\t\t\t\t\t\t\t\t\\", "}" ] } ], "type": "fnptr-global-array" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": "", "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "ops->fmdo_close", "chain_summary": [ { "parent": "", "source_code": [ "void fmd_case_close(fmd_hdl_t *hdl, fmd_case_t *cp)", "{", "\tfmd_module_t *mp = (fmd_module_t *)hdl;", "\tconst fmd_hdl_ops_t *ops = mp->mod_info->fmdi_ops;", "\tfmd_hdl_debug(hdl, \"case closed (%s)\", cp->ci_uuid);", "\tif (ops->fmdo_close != NULL)", "\t\tops->fmdo_close(hdl, cp);", "\tmp->mod_stats.ms_caseopen.fmds_value.ui64--;", "\tmp->mod_stats.ms_caseclosed.fmds_value.ui64++;", "\tif (cp->ci_bufptr != NULL && cp->ci_bufsiz > 0)", "\t\tfmd_hdl_free(hdl, cp->ci_bufptr, cp->ci_bufsiz);", "\tfmd_hdl_free(hdl, cp, sizeof (fmd_case_t));", "}" ] }, { "parent": "", "source_code": [ "int fmd_hdl_register(fmd_hdl_t *hdl, int version, const fmd_hdl_info_t *mip)", "{", "\t(void) version;", "\tfmd_module_t *mp = (fmd_module_t *)hdl;", "\tmp->mod_info = mip;", "\tmp->mod_name = mip->fmdi_desc + 4;\t/* drop 'ZFS ' prefix */", "\tmp->mod_spec = NULL;", "\t/* bare minimum module stats */", "\t(void) strcpy(mp->mod_stats.ms_accepted.fmds_name, \"fmd.accepted\");", "\t(void) strcpy(mp->mod_stats.ms_caseopen.fmds_name, \"fmd.caseopen\");", "\t(void) strcpy(mp->mod_stats.ms_casesolved.fmds_name, \"fmd.casesolved\");", "\t(void) strcpy(mp->mod_stats.ms_caseclosed.fmds_name, \"fmd.caseclosed\");", "\tfmd_serd_hash_create(&mp->mod_serds);", "\tfmd_hdl_debug(hdl, \"register module\");", "\treturn (0);", "}" ] }, { "parent": "", "source_code": [ "void _zfs_retire_init(fmd_hdl_t *hdl)", "{", "\tzfs_retire_data_t *zdp;", "\tlibzfs_handle_t *zhdl;", "\tif ((zhdl = libzfs_init()) == NULL)", "\t\treturn;", "\tif (fmd_hdl_register(hdl, FMD_API_VERSION, &fmd_info) != 0) {", "\t\tlibzfs_fini(zhdl);", "\t\treturn;", "\t}", "\tzdp = fmd_hdl_zalloc(hdl, sizeof (zfs_retire_data_t), FMD_SLEEP);", "\tzdp->zrd_hdl = zhdl;", "\tfmd_hdl_setspecific(hdl, zdp);", "}" ] }, { "parent": "", "source_code": [ "static const fmd_hdl_info_t fmd_info = {", "\t\"ZFS Diagnosis Engine\", \"1.0\", &fmd_ops, fmd_props", "};" ] }, { "parent": "", "source_code": [ "static const fmd_hdl_ops_t fmd_ops = {", "\tzfs_fm_recv,\t/* fmdo_recv */", "\tzfs_fm_timeout,\t/* fmdo_timeout */", "\tzfs_fm_close,\t/* fmdo_close */", "\tNULL,\t\t/* fmdo_stats */", "\tzfs_fm_gc,\t/* fmdo_gc */", "};" ] }, { "parent": "", "source_code": [ "void", "fmd_hdl_debug(fmd_hdl_t *hdl, const char *format, ...)", "{", "\tchar message[256];", "\tva_list vargs;", "\tfmd_module_t *mp = (fmd_module_t *)hdl;", "\tva_start(vargs, format);", "\t(void) vsnprintf(message, sizeof (message), format, vargs);", "\tva_end(vargs);", "\t/* prefix message with module name */", "\tzed_log_msg(LOG_INFO, \"%s: %s\", mp->mod_name, message);", "}" ] }, { "parent": "", "source_code": [ "void", "fmd_hdl_free(fmd_hdl_t *hdl, void *data, size_t size)", "{", "\t(void) hdl;", "\tumem_free(data, size);", "}" ] }, { "parent": "", "source_code": [ "void", "fmd_serd_hash_create(fmd_serd_hash_t *shp)", "{", "\tshp->sh_hashlen = FMD_STR_BUCKETS;", "\tshp->sh_hash = calloc(shp->sh_hashlen, sizeof (void *));", "\tshp->sh_count = 0;", "\tif (shp->sh_hash == NULL) {", "\t\tperror(\"calloc\");", "\t\texit(EXIT_FAILURE);", "\t}", "}" ] }, { "parent": "", "source_code": [ "_LIBZFS_H libzfs_handle_t *libzfs_init(void) {", "\t...", "\treturn (hdl);", "}" ] }, { "parent": "", "source_code": [ "static void", "zfs_fm_close(fmd_hdl_t *hdl, fmd_case_t *cs)", "{", "\tzfs_case_t *zcp = fmd_case_getspecific(hdl, cs);", "\tif (zcp->zc_data.zc_serd_checksum[0] != '\\0')", "\t\tfmd_serd_destroy(hdl, zcp->zc_data.zc_serd_checksum);", "\tif (zcp->zc_data.zc_serd_io[0] != '\\0')", "\t\tfmd_serd_destroy(hdl, zcp->zc_data.zc_serd_io);", "\tif (zcp->zc_data.zc_has_remove_timer)", "\t\tfmd_timer_remove(hdl, zcp->zc_remove_timer);", "\tuu_list_remove(zfs_cases, zcp);", "\tuu_list_node_fini(zcp, &zcp->zc_node, zfs_case_pool);", "\tfmd_hdl_free(hdl, zcp, sizeof (zfs_case_t));", "}" ] }, { "parent": "", "source_code": [ "static void", "zfs_fm_gc(fmd_hdl_t *hdl)", "{", "\tzfs_purge_cases(hdl);", "}" ] }, { "parent": "", "source_code": [ "static void", "zfs_fm_timeout(fmd_hdl_t *hdl, id_t id, void *data)", "{", "\tzfs_case_t *zcp = data;", "\tif (id == zcp->zc_remove_timer)", "\t\tzfs_case_solve(hdl, zcp, \"fault.fs.zfs.vdev.io\");", "}" ] }, { "parent": "", "source_code": [ "static void", "zfs_fm_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class)", "{", "\t...", "}" ] } ], "type": "fnptr-cast" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": "", "dsl_dataset_hold_obj_string": "", "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "holdfunc", "chain_summary": [ { "parent": "", "source_code": [ "static void", "dsl_dataset_user_release_sync(void *arg, dmu_tx_t *tx)", "{", "\tdsl_dataset_user_release_arg_t *ddura = arg;", "\tdsl_holdfunc_t *holdfunc = ddura->ddura_holdfunc;", "\tdsl_pool_t *dp = dmu_tx_pool(tx);", "\tASSERT(RRW_WRITE_HELD(&dp->dp_config_rwlock));", "\tfor (nvpair_t *pair = nvlist_next_nvpair(ddura->ddura_chkholds, NULL);", "\t pair != NULL; pair = nvlist_next_nvpair(ddura->ddura_chkholds,", "\t pair)) {", "\t\tdsl_dataset_t *ds;", "\t\tconst char *name = nvpair_name(pair);", "\t\tVERIFY0(holdfunc(dp, name, FTAG, &ds));", "\t\tdsl_dataset_user_release_sync_one(ds,", "\t\t fnvpair_value_nvlist(pair), tx);", "\t\tif (nvlist_exists(ddura->ddura_todelete, name)) {", "\t\t\tASSERT(ds->ds_userrefs == 0 &&", "\t\t\t dsl_dataset_phys(ds)->ds_num_children == 1 &&", "\t\t\t DS_IS_DEFER_DESTROY(ds));", "\t\t\tdsl_destroy_snapshot_sync_impl(ds, B_FALSE, tx);", "\t\t}", "\t\tdsl_dataset_rele(ds, FTAG);", "\t}", "}" ] }, { "parent": "", "source_code": [ "static int", "dsl_dataset_user_release_impl(nvlist_t *holds, nvlist_t *errlist,", " dsl_pool_t *tmpdp)", "{", "\tdsl_dataset_user_release_arg_t ddura;", "\tnvpair_t *pair;", "\tconst char *pool;", "\tint error;", "\tpair = nvlist_next_nvpair(holds, NULL);", "\tif (pair == NULL)", "\t\treturn (0);", "\t/*", "\t * The release may cause snapshots to be destroyed; make sure they", "\t * are not mounted.", "\t */", "\tif (tmpdp != NULL) {", "\t\t/* Temporary holds are specified by dsobj string. */", "\t\tddura.ddura_holdfunc = dsl_dataset_hold_obj_string;", "\t\tpool = spa_name(tmpdp->dp_spa);", " ...", "\t} else {", "\t\t/* Non-temporary holds are specified by name. */", "\t\tddura.ddura_holdfunc = dsl_dataset_hold;", "\t\tpool = nvpair_name(pair);", " ...", "\t}", "\tddura.ddura_holds = holds;", "\tddura.ddura_errlist = errlist;", "\tVERIFY0(nvlist_alloc(&ddura.ddura_todelete, NV_UNIQUE_NAME,", "\t KM_SLEEP));", "\tVERIFY0(nvlist_alloc(&ddura.ddura_chkholds, NV_UNIQUE_NAME,", "\t KM_SLEEP));", "\terror = dsl_sync_task(pool, dsl_dataset_user_release_check,", "\t dsl_dataset_user_release_sync, &ddura, 0,", "\t ZFS_SPACE_CHECK_EXTRA_RESERVED);", "\tfnvlist_free(ddura.ddura_todelete);", "\tfnvlist_free(ddura.ddura_chkholds);", "\treturn (error);", "}" ] }, { "parent": "", "source_code": [ "int", "dsl_sync_task(const char *pool, dsl_checkfunc_t *checkfunc,", " dsl_syncfunc_t *syncfunc, void *arg,", " int blocks_modified, zfs_space_check_t space_check)", "{", "\treturn (dsl_sync_task_common(pool, checkfunc, syncfunc, NULL, arg,", "\t blocks_modified, space_check, B_FALSE));", "}" ] }, { "parent": "", "source_code": [ "static int", "dsl_sync_task_common(const char *pool, dsl_checkfunc_t *checkfunc,", " dsl_syncfunc_t *syncfunc, dsl_sigfunc_t *sigfunc, void *arg,", " int blocks_modified, zfs_space_check_t space_check, boolean_t early)", "{", "\t...", "\terr = spa_open(pool, &spa, FTAG);", "\tif (err != 0)", "\t\treturn (err);", "\tdp = spa_get_dsl(spa);", "top:", "\ttx = dmu_tx_create_dd(dp->dp_mos_dir);", "\tVERIFY0(dmu_tx_assign(tx, TXG_WAIT));", "\tdst.dst_pool = dp;", "\tdst.dst_txg = dmu_tx_get_txg(tx);", "\tdst.dst_space = blocks_modified << DST_AVG_BLKSHIFT;", "\tdst.dst_space_check = space_check;", "\tdst.dst_checkfunc = checkfunc != NULL ? checkfunc : dsl_null_checkfunc;", "\tdst.dst_syncfunc = syncfunc;", "\tdst.dst_arg = arg;", "\tdst.dst_error = 0;", "\tdst.dst_nowaiter = B_FALSE;", "\t...", "\tspa_close(spa, FTAG);", "\treturn (dst.dst_error);", "}" ] }, { "parent": "", "source_code": [ "int", "spa_open(const char *name, spa_t **spapp, const void *tag)", "{", "\treturn (spa_open_common(name, spapp, tag, NULL, NULL));", "}" ] }, { "parent": "", "source_code": [ "static int", "spa_open_common(const char *pool, spa_t **spapp, const void *tag,", " nvlist_t *nvpolicy, nvlist_t **config)", "{", "\t...", "\tif (spa->spa_state == POOL_STATE_UNINITIALIZED) {", "\t\tzpool_load_policy_t policy;", "\t\tfirstopen = B_TRUE;", "\t\t...", "\t\tif (state != SPA_LOAD_RECOVER)", "\t\t\tspa->spa_last_ubsync_txg = spa->spa_load_txg = 0;", "\t\tspa->spa_config_source = SPA_CONFIG_SRC_CACHEFILE;", "\t\tzfs_dbgmsg(\"spa_open_common: opening %s\", pool);", "\t\terror = spa_load_best(spa, state, policy.zlp_txg,", "\t\t policy.zlp_rewind);", "\t\tif (error == EBADF) {", "\t\t\t...", "\t\t\treturn (SET_ERROR(ENOENT));", "\t\t}", "\t}", "\treturn (0);", "}" ] }, { "parent": "", "source_code": [ "static int", "spa_load_best(spa_t *spa, spa_load_state_t state, uint64_t max_request,", " int rewind_flags)", "{", "\tnvlist_t *loadinfo = NULL;", "\tnvlist_t *config = NULL;", "\tint load_error, rewind_error;", "\tuint64_t safe_rewind_txg;", "\tuint64_t min_txg;", "\t...", "\tload_error = rewind_error = spa_load(spa, state, SPA_IMPORT_EXISTING);", "\tif (load_error == 0)", "\t\treturn (0);", "\t...", "}" ] }, { "parent": "", "source_code": [ "static int", "spa_load(spa_t *spa, spa_load_state_t state, spa_import_type_t type)", "{", "\tconst char *ereport = FM_EREPORT_ZFS_POOL;", "\tint error;", "\tspa->spa_load_state = state;", "\t(void) spa_import_progress_set_state(spa_guid(spa),", "\t spa_load_state(spa));", "\tgethrestime(&spa->spa_loaded_ts);", "\terror = spa_load_impl(spa, type, &ereport);", "\t...", "\t(void) spa_import_progress_set_state(spa_guid(spa),", "\t spa_load_state(spa));", "\treturn (error);", "}" ] }, { "parent": "", "source_code": [ "static int spa_load_impl(spa_t *spa, spa_import_type_t type, const char **ereport)", "{", "\tint error = 0;", "\tboolean_t missing_feat_write = B_FALSE;", "\tboolean_t checkpoint_rewind =", "\t (spa->spa_import_flags & ZFS_IMPORT_CHECKPOINT);", "\tboolean_t update_config_cache = B_FALSE;", "\t...", "\tif (spa_writeable(spa) && (spa->spa_load_state == SPA_LOAD_RECOVER ||", "\t spa->spa_load_max_txg == UINT64_MAX)) {", "\t\tuint64_t config_cache_txg = spa->spa_config_txg;", "\t\t...", "\t\t/*", "\t\t * Traverse the ZIL and claim all blocks.", "\t\t */", "\t\tspa_ld_claim_log_blocks(spa);", "\t\t/*", "\t\t * Kick-off the syncing thread.", "\t\t */", "\t\tspa->spa_sync_on = B_TRUE;", "\t\ttxg_sync_start(spa->spa_dsl_pool);", "\t\tmmp_thread_start(spa);", "\t\t...", " }", "\tspa_load_note(spa, \"LOADED\");", "\treturn (0);", "}" ] }, { "parent": "", "source_code": [ "void", "txg_sync_start(dsl_pool_t *dp)", "{", "\t...", "\ttx->tx_quiesce_thread = thread_create(NULL, 0, txg_quiesce_thread,", "\t dp, 0, &p0, TS_RUN, defclsyspri);", "\ttx->tx_sync_thread = thread_create(NULL, 0, txg_sync_thread,", "\t dp, 0, &p0, TS_RUN, defclsyspri);", "\tmutex_exit(&tx->tx_sync_lock);", "}" ] }, { "parent": "", "source_code": [ "static __attribute__((noreturn)) void", "txg_sync_thread(void *arg)", "{", "\tdsl_pool_t *dp = arg;", "\tspa_t *spa = dp->dp_spa;", "\ttx_state_t *tx = &dp->dp_tx;", "\tcallb_cpr_t cpr;", "\tclock_t start, delta;", "\t(void) spl_fstrans_mark();", "\ttxg_thread_enter(tx, &cpr);", "\tstart = delta = 0;", "\tfor (;;) {", "\t\t...", "\t\ttxg_stat_t *ts = spa_txg_history_init_io(spa, txg, dp);", "\t\tstart = ddi_get_lbolt();", "\t\tspa_sync(spa, txg);", "\t\t...", "\t\ttxg_dispatch_callbacks(dp, txg);", "\t}", "}" ] }, { "parent": "", "source_code": [ "void", "spa_sync(spa_t *spa, uint64_t txg)", "{", "\tvdev_t *vd = NULL;", "\tVERIFY(spa_writeable(spa));", "\t...", "\tspa_sync_adjust_vdev_max_queue_depth(spa);", "\tspa_sync_condense_indirect(spa, tx);", "\tspa_sync_iterate_to_convergence(spa, tx);", " ...", "\tdsl_pool_sync_done(dp, txg);", "\t...", "\tspa->spa_ubsync = spa->spa_uberblock;", "\tspa_config_exit(spa, SCL_CONFIG, FTAG);", "\tspa_handle_ignored_writes(spa);", "\tspa_async_dispatch(spa);", "}" ] }, { "parent": "", "source_code": [ "static void", "spa_sync_iterate_to_convergence(spa_t *spa, dmu_tx_t *tx)", "{", " ...", "\tdo {", "\t\tint pass = ++spa->spa_sync_pass;", " ...", "\t\tdsl_pool_sync(dp, txg);", "\t\t...", "\t\tspa_sync_deferred_frees(spa, tx);", "\t} while (dmu_objset_is_dirty(mos, txg));", "}" ] }, { "parent": "", "source_code": [ "void", "dsl_pool_sync(dsl_pool_t *dp, uint64_t txg)", "{", "\t...", "\tlist_create(&synced_datasets, sizeof (dsl_dataset_t),", "\t offsetof(dsl_dataset_t, ds_synced_link));", "\ttx = dmu_tx_create_assigned(dp, txg);", "\t...", "\tif (!txg_list_empty(&dp->dp_sync_tasks, txg)) {", "\t\tdsl_sync_task_t *dst;", "\t\tASSERT3U(spa_sync_pass(dp->dp_spa), ==, 1);", "\t\twhile ((dst =", "\t\t txg_list_remove(&dp->dp_early_sync_tasks, txg)) != NULL) {", "\t\t\tASSERT(dsl_early_sync_task_verify(dp, txg));", "\t\t\tdsl_sync_task_sync(dst, tx);", "\t\t}", "\t}", "\tdmu_tx_commit(tx);", "\tDTRACE_PROBE2(dsl_pool_sync__done, dsl_pool_t *dp, dp, uint64_t, txg);", "}" ] }, { "parent": "", "source_code": [ "void", "dsl_sync_task_sync(dsl_sync_task_t *dst, dmu_tx_t *tx)", "{", "\t...", "\trrw_enter(&dp->dp_config_rwlock, RW_WRITER, FTAG);", "\tdst->dst_error = dst->dst_checkfunc(dst->dst_arg, tx);", "\tif (dst->dst_error == 0)", "\t\tdst->dst_syncfunc(dst->dst_arg, tx);", "\trrw_exit(&dp->dp_config_rwlock, FTAG);", "\tif (dst->dst_nowaiter)", "\t\tkmem_free(dst, sizeof (*dst));", "}" ] } ], "type": "fnptr-cast" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": "", "fletcher_4_superscalar4_native": "", "fletcher_4_superscalar_native": "", "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "ops->compute_native", "chain_summary": [ { "parent": "", "source_code": [ "static int", "abd_fletcher_4_iter(void *data, size_t size, void *private)", "{", "\tzio_abd_checksum_data_t *cdp = (zio_abd_checksum_data_t *)private;", "\tfletcher_4_ctx_t *ctx = cdp->acd_ctx;", "\tfletcher_4_ops_t *ops = (fletcher_4_ops_t *)cdp->acd_private;", "\tboolean_t native = cdp->acd_byteorder == ZIO_CHECKSUM_NATIVE;", "\tuint64_t asize = P2ALIGN(size, FLETCHER_MIN_SIMD_SIZE);", "\tASSERT(IS_P2ALIGNED(size, sizeof (uint32_t)));", "\tif (asize > 0) {", "\t\tif (native)", "\t\t\tops->compute_native(ctx, data, asize);", "\t\telse", "\t\t\tops->compute_byteswap(ctx, data, asize);", "\t\tsize -= asize;", "\t\tdata = (char *)data + asize;", "\t}", "\tif (size > 0) {", "\t\tASSERT3U(size, <, FLETCHER_MIN_SIMD_SIZE);", "\t\t/* At this point we have to switch to scalar impl */", "\t\tabd_fletcher_4_simd2scalar(native, data, size, cdp);", "\t}", "\treturn (0);", "}", "zio_abd_checksum_func_t fletcher_4_abd_ops = {", "\t.acf_init = abd_fletcher_4_init,", "\t.acf_fini = abd_fletcher_4_fini,", "\t.acf_iter = abd_fletcher_4_iter", "};" ] }, { "parent": "", "source_code": [ "typedef const struct zio_abd_checksum_func {", "\tzio_abd_checksum_init_t *acf_init;", "\tzio_abd_checksum_fini_t *acf_fini;", "\tzio_abd_checksum_iter_t *acf_iter;", "} zio_abd_checksum_func_t;" ] }, { "parent": "", "source_code": [ "static inline void", "abd_fletcher_4_impl(abd_t *abd, uint64_t size, zio_abd_checksum_data_t *acdp)", "{", "\tfletcher_4_abd_ops.acf_init(acdp);", "\tabd_iterate_func(abd, 0, size, fletcher_4_abd_ops.acf_iter, acdp);", "\tfletcher_4_abd_ops.acf_fini(acdp);", "}" ] }, { "parent": "", "source_code": [ "static void", "abd_fletcher_4_init(zio_abd_checksum_data_t *cdp)", "{", "\tconst fletcher_4_ops_t *ops = fletcher_4_impl_get();", "\tcdp->acd_private = (void *) ops;", "\tif (ops->uses_fpu == B_TRUE) {", "\t\tkfpu_begin();", "\t}", "\tif (cdp->acd_byteorder == ZIO_CHECKSUM_NATIVE)", "\t\tops->init_native(cdp->acd_ctx);", "\telse", "\t\tops->init_byteswap(cdp->acd_ctx);", "}" ] }, { "parent": "", "source_code": [ "typedef int abd_iter_func_t(void *buf, size_t len, void *priv);" ] }, { "parent": "", "source_code": [ "static inline const fletcher_4_ops_t *", "fletcher_4_impl_get(void)", "{", "\tif (!kfpu_allowed())", "\t\treturn (&fletcher_4_superscalar4_ops);", "\tconst fletcher_4_ops_t *ops = NULL;", "\tuint32_t impl = IMPL_READ(fletcher_4_impl_chosen);", "\tswitch (impl) {", "\tcase IMPL_FASTEST:", "\t\tASSERT(fletcher_4_initialized);", "\t\tops = &fletcher_4_fastest_impl;", "\t\tbreak;", "\tcase IMPL_CYCLE:", "\t\t/* Cycle through supported implementations */", "\t\tASSERT(fletcher_4_initialized);", "\t\tASSERT3U(fletcher_4_supp_impls_cnt, >, 0);", "\t\tstatic uint32_t cycle_count = 0;", "\t\tuint32_t idx = (++cycle_count) % fletcher_4_supp_impls_cnt;", "\t\tops = fletcher_4_supp_impls[idx];", "\t\tbreak;", "\tdefault:", "\t\tASSERT3U(fletcher_4_supp_impls_cnt, >, 0);", "\t\tASSERT3U(impl, <, fletcher_4_supp_impls_cnt);", "\t\tops = fletcher_4_supp_impls[impl];", "\t\tbreak;", "\t}", "\tASSERT3P(ops, !=, NULL);", "\treturn (ops);", "}" ] }, { "parent": "", "source_code": [ "static const fletcher_4_ops_t fletcher_4_scalar_ops = {", "\t.init_native = fletcher_4_scalar_init,", "\t.fini_native = fletcher_4_scalar_fini,", "\t.compute_native = fletcher_4_scalar_native,", "\t.init_byteswap = fletcher_4_scalar_init,", "\t.fini_byteswap = fletcher_4_scalar_fini,", "\t.compute_byteswap = fletcher_4_scalar_byteswap,", "\t.valid = fletcher_4_scalar_valid,", "\t.uses_fpu = B_FALSE,", "\t.name = \"scalar\"", "};", "static fletcher_4_ops_t fletcher_4_fastest_impl = {", "\t.name = \"fastest\",", "\t.valid = fletcher_4_scalar_valid", "};", "static const fletcher_4_ops_t *fletcher_4_impls[] = {", "\t&fletcher_4_scalar_ops,", "\t&fletcher_4_superscalar_ops,", "\t&fletcher_4_superscalar4_ops,", "#if defined(HAVE_SSE2)", "\t&fletcher_4_sse2_ops,", "#endif", "#if defined(HAVE_SSE2) && defined(HAVE_SSSE3)", "\t&fletcher_4_ssse3_ops,", "#endif", "#if defined(HAVE_AVX) && defined(HAVE_AVX2)", "\t&fletcher_4_avx2_ops,", "#endif", "#if defined(__x86_64) && defined(HAVE_AVX512F)", "\t&fletcher_4_avx512f_ops,", "#endif", "#if defined(__x86_64) && defined(HAVE_AVX512BW)", "\t&fletcher_4_avx512bw_ops,", "#endif", "#if defined(__aarch64__) && !defined(__FreeBSD__)", "\t&fletcher_4_aarch64_neon_ops,", "#endif", "};" ] }, { "parent": "", "source_code": [ "const fletcher_4_ops_t fletcher_4_superscalar_ops = {", "\t.init_native = fletcher_4_superscalar_init,", "\t.compute_native = fletcher_4_superscalar_native,", "\t.fini_native = fletcher_4_superscalar_fini,", "\t.init_byteswap = fletcher_4_superscalar_init,", "\t.compute_byteswap = fletcher_4_superscalar_byteswap,", "\t.fini_byteswap = fletcher_4_superscalar_fini,", "\t.valid = fletcher_4_superscalar_valid,", "\t.uses_fpu = B_FALSE,", "\t.name = \"superscalar\"", "};" ] }, { "parent": "", "source_code": [ "const fletcher_4_ops_t fletcher_4_superscalar4_ops = {", "\t.init_native = fletcher_4_superscalar4_init,", "\t.compute_native = fletcher_4_superscalar4_native,", "\t.fini_native = fletcher_4_superscalar4_fini,", "\t.init_byteswap = fletcher_4_superscalar4_init,", "\t.compute_byteswap = fletcher_4_superscalar4_byteswap,", "\t.fini_byteswap = fletcher_4_superscalar4_fini,", "\t.valid = fletcher_4_superscalar4_valid,", "\t.uses_fpu = B_FALSE,", "\t.name = \"superscalar4\"", "};" ] } ], "type": "fnptr-cast" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": "", "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": "", "load_unflushed_svr_segs_cb": "", "log_spacemap_obsolete_stats_cb": "", "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": "", "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "uic->uic_cb", "chain_summary": [ { "parent": "", "source_code": [ "static int iterate_through_spacemap_logs_cb(space_map_entry_t *sme, void *arg)", "{", "\tunflushed_iter_cb_arg_t *uic = arg;", "\treturn (uic->uic_cb(uic->uic_spa, sme, uic->uic_txg, uic->uic_arg));", "}" ] }, { "parent": "", "source_code": [ "static void iterate_through_spacemap_logs(spa_t *spa, zdb_log_sm_cb_t cb, void *arg)", "{", "\tif (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))", "\t\treturn;", "\tspa_config_enter(spa, SCL_CONFIG, FTAG, RW_READER);", "\tfor (spa_log_sm_t *sls = avl_first(&spa->spa_sm_logs_by_txg);", "\t sls; sls = AVL_NEXT(&spa->spa_sm_logs_by_txg, sls)) {", "\t\t...", "\t\tunflushed_iter_cb_arg_t uic = {", "\t\t\t.uic_spa = spa,", "\t\t\t.uic_txg = sls->sls_txg,", "\t\t\t.uic_arg = arg,", "\t\t\t.uic_cb = cb", "\t\t};", "\t\tVERIFY0(space_map_iterate(sm, space_map_length(sm),", "\t\t iterate_through_spacemap_logs_cb, &uic));", "\t\tspace_map_close(sm);", "\t}", "\tspa_config_exit(spa, SCL_CONFIG, FTAG);", "}" ] }, { "parent": "", "source_code": [ "int space_map_iterate(space_map_t *sm, uint64_t end, sm_cb_t callback, void *arg)", "{", "\tuint64_t blksz = sm->sm_blksz;", "\t...", "\tfor (uint64_t block_base = 0; block_base < end && error == 0;", "\t block_base += blksz) {", "\t\t...", "\t\tfor (uint64_t *block_cursor = block_start;", "\t\t block_cursor < block_end && error == 0; block_cursor++) {", "\t\t\tuint64_t e = *block_cursor;", "\t\t\t...", "\t\t\terror = callback(&sme, arg);", "\t\t}", "\t\tdmu_buf_rele(db, FTAG);", "\t}", "\treturn (error);", "}" ] }, { "parent": "", "source_code": [ "static void spacemap_check_sm_log(spa_t *spa, metaslab_verify_t *mv)", "{", "\titerate_through_spacemap_logs(spa, spacemap_check_sm_log_cb, mv);", "}" ] }, { "parent": "", "source_code": [ "static void load_unflushed_to_ms_allocatables(spa_t *spa, maptype_t maptype)", "{", "\titerate_through_spacemap_logs(spa, load_unflushed_cb, &maptype);", "}" ] }, { "parent": "", "source_code": [ "static void zdb_claim_removing(spa_t *spa, zdb_cb_t *zcb)", "{", "\t...", "\titerate_through_spacemap_logs(spa, load_unflushed_svr_segs_cb, svr);", " ...", "}" ] }, { "parent": "", "source_code": [ "static int64_t get_unflushed_alloc_space(spa_t *spa)", "{", "\tif (dump_opt['L'])", "\t\treturn (0);", "\tint64_t ualloc_space = 0;", "\titerate_through_spacemap_logs(spa, count_unflushed_space_cb,", "\t &ualloc_space);", "\treturn (ualloc_space);", "}" ] }, { "parent": "", "source_code": [ "static void dump_log_spacemap_obsolete_stats(spa_t *spa)", "{", "\t...", "\titerate_through_spacemap_logs(spa,", "\t log_spacemap_obsolete_stats_cb, &lsos);", " ...", "}" ] } ], "type": "fnptr-struct" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": "", "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": "", "lzjb_decompress": "", "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": "", "zle_decompress": "" } }, "callsite": "xfunc", "chain_summary": [ { "parent": "", "source_code": [ "int", "zstream_do_decompress(int argc, char *argv[])", "{", "\t...", "\twhile (sfread(drr, sizeof (*drr), stdin) != 0) {", "\t\tstruct drr_write *drrw;", "\t\tuint64_t payload_size = 0;", "\t\t/*", "\t\t * We need to regenerate the checksum.", "\t\t */", "\t\tif (drr->drr_type != DRR_BEGIN) {", "\t\t\tmemset(&drr->drr_u.drr_checksum.drr_checksum, 0,", "\t\t\t sizeof (drr->drr_u.drr_checksum.drr_checksum));", "\t\t}", "\t\tswitch (drr->drr_type) {", "\t\t...", "\t\tcase DRR_WRITE_BYREF:", "\t\t\tVERIFY3S(begin, ==, 1);", "\t\t\tfprintf(stderr,", "\t\t\t \"Deduplicated streams are not supported\\n\");", "\t\t\texit(1);", "\t\t\tbreak;", "\t\tcase DRR_WRITE:", "\t\t{", "\t\t\tVERIFY3S(begin, ==, 1);", "\t\t\tdrrw = &thedrr.drr_u.drr_write;", "\t\t\tpayload_size = DRR_WRITE_PAYLOAD_SIZE(drrw);", "\t\t\tENTRY *p;", "\t\t\tchar key[KEYSIZE];", "\t\t\tsnprintf(key, KEYSIZE, \"%llu,%llu\",", "\t\t\t (u_longlong_t)drrw->drr_object,", "\t\t\t (u_longlong_t)drrw->drr_offset);", "\t\t\tENTRY e = {.key = key};", "\t\t\tp = hsearch(e, FIND);", "\t\t\tif (p != NULL) {", "\t\t\t\tzio_decompress_func_t *xfunc = NULL;", "\t\t\t\tswitch ((enum zio_compress)(intptr_t)p->data) {", "\t\t\t\tcase ZIO_COMPRESS_OFF:", "\t\t\t\t\txfunc = NULL;", "\t\t\t\t\tbreak;", "\t\t\t\tcase ZIO_COMPRESS_LZJB:", "\t\t\t\t\txfunc = lzjb_decompress;", "\t\t\t\t\tbreak;", "\t\t\t\tcase ZIO_COMPRESS_GZIP_1:", "\t\t\t\t\txfunc = gzip_decompress;", "\t\t\t\t\tbreak;", "\t\t\t\tcase ZIO_COMPRESS_ZLE:", "\t\t\t\t\txfunc = zle_decompress;", "\t\t\t\t\tbreak;", "\t\t\t\tcase ZIO_COMPRESS_LZ4:", "\t\t\t\t\txfunc = lz4_decompress_zfs;", "\t\t\t\t\tbreak;", "\t\t\t\tcase ZIO_COMPRESS_ZSTD:", "\t\t\t\t\txfunc = zfs_zstd_decompress;", "\t\t\t\t\tbreak;", "\t\t\t\tdefault:", "\t\t\t\t\tassert(B_FALSE);", "\t\t\t\t}", "\t\t\t\t/*", "\t\t\t\t * Read and decompress the block", "\t\t\t\t */", "\t\t\t\tchar *lzbuf = safe_calloc(payload_size);", "\t\t\t\t(void) sfread(lzbuf, payload_size, stdin);", "\t\t\t\tif (xfunc == NULL) {", "\t\t\t\t\tmemcpy(buf, lzbuf, payload_size);", "\t\t\t\t\tdrrw->drr_compressiontype =", "\t\t\t\t\t ZIO_COMPRESS_OFF;", "\t\t\t\t\tif (verbose)", "\t\t\t\t\t\tfprintf(stderr, \"Resetting \"", "\t\t\t\t\t\t \"compression type to off \"", "\t\t\t\t\t\t \"for ino %llu offset \"", "\t\t\t\t\t\t \"%llu\\n\",", "\t\t\t\t\t\t (u_longlong_t)", "\t\t\t\t\t\t drrw->drr_object,", "\t\t\t\t\t\t (u_longlong_t)", "\t\t\t\t\t\t drrw->drr_offset);", "\t\t\t\t} else if (0 != xfunc(lzbuf, buf,", "\t\t\t\t payload_size, payload_size, 0)) {", "\t\t\t\t\t/*", "\t\t\t\t\t * The block must not be compressed,", "\t\t\t\t\t * at least not with this compression", "\t\t\t\t\t * type, possibly because it gets", "\t\t\t\t\t * written multiple times in this", "\t\t\t\t\t * stream.", "\t\t\t\t\t */", "\t\t\t\t\twarnx(\"decompression failed for \"", "\t\t\t\t\t \"ino %llu offset %llu\",", "\t\t\t\t\t (u_longlong_t)drrw->drr_object,", "\t\t\t\t\t (u_longlong_t)drrw->drr_offset);", "\t\t\t\t\tmemcpy(buf, lzbuf, payload_size);", "\t\t\t\t} else if (verbose) {", "\t\t\t\t\tdrrw->drr_compressiontype =", "\t\t\t\t\t ZIO_COMPRESS_OFF;", "\t\t\t\t\tfprintf(stderr, \"successfully \"", "\t\t\t\t\t \"decompressed ino %llu \"", "\t\t\t\t\t \"offset %llu\\n\",", "\t\t\t\t\t (u_longlong_t)drrw->drr_object,", "\t\t\t\t\t (u_longlong_t)drrw->drr_offset);", "\t\t\t\t} else {", "\t\t\t\t\tdrrw->drr_compressiontype =", "\t\t\t\t\t ZIO_COMPRESS_OFF;", "\t\t\t\t}", "\t\t\t\tfree(lzbuf);", "\t\t\t} else {", "\t\t\t\t/*", "\t\t\t\t * Read the contents of the block unaltered", "\t\t\t\t */", "\t\t\t\t(void) sfread(buf, payload_size, stdin);", "\t\t\t}", "\t\t\tbreak;", "\t\t}", "\t\tcase DRR_WRITE_EMBEDDED:", "\t\t{", "\t\t\tVERIFY3S(begin, ==, 1);", "\t\t\tstruct drr_write_embedded *drrwe =", "\t\t\t &drr->drr_u.drr_write_embedded;", "\t\t\tpayload_size =", "\t\t\t P2ROUNDUP((uint64_t)drrwe->drr_psize, 8);", "\t\t\t(void) sfread(buf, payload_size, stdin);", "\t\t\tbreak;", "\t\t}", "\t\tcase DRR_FREEOBJECTS:", "\t\tcase DRR_FREE:", "\t\tcase DRR_OBJECT_RANGE:", "\t\t\tVERIFY3S(begin, ==, 1);", "\t\t\tbreak;", "\t\tdefault:", "\t\t\t(void) fprintf(stderr, \"INVALID record type 0x%x\\n\",", "\t\t\t drr->drr_type);", "\t\t\t/* should never happen, so assert */", "\t\t\tassert(B_FALSE);", "\t\t}", "\t\t...", "\t}", "\tfree(buf);", "\tfletcher_4_fini();", "\thdestroy();", "\treturn (0);", "}" ] } ], "type": "fnptr-only" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": "", "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "vdev_indirect_ops.vdev_op_remap", "chain_summary": [ { "parent": "", "source_code": [ "static void", "claim_segment_cb(void *arg, uint64_t offset, uint64_t size)", "{", "\tvdev_t *vd = arg;", "\tvdev_indirect_ops.vdev_op_remap(vd, offset, size,", "\t claim_segment_impl_cb, NULL);", "}" ] }, { "parent": "", "source_code": [ "vdev_ops_t vdev_indirect_ops = {", "\t.vdev_op_init = NULL,", "\t.vdev_op_fini = NULL,", "\t.vdev_op_open = vdev_indirect_open,", "\t.vdev_op_close = vdev_indirect_close,", "\t.vdev_op_asize = vdev_default_asize,", "\t.vdev_op_min_asize = vdev_default_min_asize,", "\t.vdev_op_min_alloc = NULL,", "\t.vdev_op_io_start = vdev_indirect_io_start,", "\t.vdev_op_io_done = vdev_indirect_io_done,", "\t.vdev_op_state_change = NULL,", "\t.vdev_op_need_resilver = NULL,", "\t.vdev_op_hold = NULL,", "\t.vdev_op_rele = NULL,", "\t.vdev_op_remap = vdev_indirect_remap,", "\t.vdev_op_xlate = NULL,", "\t.vdev_op_rebuild_asize = NULL,", "\t.vdev_op_metaslab_init = NULL,", "\t.vdev_op_config_generate = NULL,", "\t.vdev_op_nparity = NULL,", "\t.vdev_op_ndisks = NULL,", "\t.vdev_op_type = VDEV_TYPE_INDIRECT,\t/* name of this vdev type */", "\t.vdev_op_leaf = B_FALSE\t\t\t/* leaf vdev */", "};" ] }, { "parent": "", "source_code": [ "static void", "vdev_indirect_remap(vdev_t *vd, uint64_t offset, uint64_t asize,", " void (*func)(uint64_t, vdev_t *, uint64_t, uint64_t, void *), void *arg)" ] } ], "type": "fnptr-global-struct" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": "", "zfs_ioc_clear_fault": "", "zfs_ioc_dataset_list_next": "", "zfs_ioc_destroy": "", "zfs_ioc_diff": "", "zfs_ioc_dsobj_to_dsname": "", "zfs_ioc_error_log": "", "zfs_ioc_events_clear": "", "zfs_ioc_events_next": "", "zfs_ioc_events_seek": "", "zfs_ioc_get_fsacl": "", "zfs_ioc_inherit_prop": "", "zfs_ioc_inject_fault": "", "zfs_ioc_inject_list_next": "", "zfs_ioc_next_obj": "", "zfs_ioc_obj_to_path": "", "zfs_ioc_obj_to_stats": "", "zfs_ioc_objset_recvd_props": "", "zfs_ioc_objset_stats": "", "zfs_ioc_objset_zplprops": "", "zfs_ioc_pool_configs": "", "zfs_ioc_pool_create": "", "zfs_ioc_pool_destroy": "", "zfs_ioc_pool_export": "", "zfs_ioc_pool_freeze": "", "zfs_ioc_pool_get_history": "", "zfs_ioc_pool_get_props": "", "zfs_ioc_pool_import": "", "zfs_ioc_pool_reguid": "", "zfs_ioc_pool_scan": "", "zfs_ioc_pool_set_props": "", "zfs_ioc_pool_stats": "", "zfs_ioc_pool_tryimport": "", "zfs_ioc_pool_upgrade": "", "zfs_ioc_promote": "", "zfs_ioc_recv": "", "zfs_ioc_rename": "", "zfs_ioc_send": "", "zfs_ioc_send_progress": "", "zfs_ioc_set_fsacl": "", "zfs_ioc_set_prop": "", "zfs_ioc_share": "", "zfs_ioc_smb_acl": "", "zfs_ioc_snapshot_list_next": "", "zfs_ioc_space_written": "", "zfs_ioc_tmp_snapshot": "", "zfs_ioc_userspace_many": "", "zfs_ioc_userspace_one": "", "zfs_ioc_userspace_upgrade": "", "zfs_ioc_vdev_add": "", "zfs_ioc_vdev_attach": "", "zfs_ioc_vdev_detach": "", "zfs_ioc_vdev_remove": "", "zfs_ioc_vdev_set_state": "", "zfs_ioc_vdev_setfru": "", "zfs_ioc_vdev_setpath": "", "zfs_ioc_vdev_split": "", "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "vec->zvec_legacy_func", "chain_summary": [ { "parent": "", "source_code": [ "long zfsdev_ioctl_common(uint_t vecnum, zfs_cmd_t *zc, int flag)", "{", "\t...", "\tif (vec->zvec_func != NULL) {", "\t\t....", "\t\tif ((error == 0 ||", "\t\t (cmd == ZFS_IOC_CHANNEL_PROGRAM && error != EINVAL)) &&", "\t\t vec->zvec_allow_log &&", "\t\t spa_open(zc->zc_name, &spa, FTAG) == 0) {", "\t\t\t...", "\t} else {", "\t\tcookie = spl_fstrans_mark();", "\t\terror = vec->zvec_legacy_func(zc);", "\t\tspl_fstrans_unmark(cookie);", "\t}", " ...", " }", "}" ] }, { "parent": "", "source_code": [ "static void zfs_ioctl_register_legacy(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func,", " zfs_secpolicy_func_t *secpolicy, zfs_ioc_namecheck_t namecheck,", " boolean_t log_history, zfs_ioc_poolcheck_t pool_check)", "{", "\tzfs_ioc_vec_t *vec = &zfs_ioc_vec[ioc - ZFS_IOC_FIRST];", "\t...", "\tvec->zvec_legacy_func = func;", "\tvec->zvec_secpolicy = secpolicy;", "\tvec->zvec_namecheck = namecheck;", "\tvec->zvec_allow_log = log_history;", "\tvec->zvec_pool_check = pool_check;", "}", "static void", "zfs_ioctl_register_pool(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func,", " zfs_secpolicy_func_t *secpolicy, boolean_t log_history,", " zfs_ioc_poolcheck_t pool_check)", "{", "\tzfs_ioctl_register_legacy(ioc, func, secpolicy,", "\t POOL_NAME, log_history, pool_check);", "}", "void", "zfs_ioctl_register_dataset_nolog(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func,", " zfs_secpolicy_func_t *secpolicy, zfs_ioc_poolcheck_t pool_check)", "{", "\tzfs_ioctl_register_legacy(ioc, func, secpolicy,", "\t DATASET_NAME, B_FALSE, pool_check);", "}", "static void", "zfs_ioctl_register_pool_modify(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func)", "{", "\tzfs_ioctl_register_legacy(ioc, func, zfs_secpolicy_config,", "\t POOL_NAME, B_TRUE, POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY);", "}", "static void", "zfs_ioctl_register_pool_meta(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func,", " zfs_secpolicy_func_t *secpolicy)", "{", "\tzfs_ioctl_register_legacy(ioc, func, secpolicy,", "\t NO_NAME, B_FALSE, POOL_CHECK_NONE);", "}", "static void", "zfs_ioctl_register_dataset_read_secpolicy(zfs_ioc_t ioc,", " zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy)", "{", "\tzfs_ioctl_register_legacy(ioc, func, secpolicy,", "\t DATASET_NAME, B_FALSE, POOL_CHECK_SUSPENDED);", "}", "static void", "zfs_ioctl_register_dataset_read(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func)", "{", "\tzfs_ioctl_register_dataset_read_secpolicy(ioc, func,", "\t zfs_secpolicy_read);", "}", "static void", "zfs_ioctl_register_dataset_modify(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func,", " zfs_secpolicy_func_t *secpolicy)", "{", "\tzfs_ioctl_register_legacy(ioc, func, secpolicy,", "\t DATASET_NAME, B_TRUE, POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY);", "}" ] }, { "parent": "", "source_code": [ "static void", "zfs_ioctl_init(void)", "{", "\tzfs_ioctl_register(\"snapshot\", ZFS_IOC_SNAPSHOT,", "\t zfs_ioc_snapshot, zfs_secpolicy_snapshot, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_snapshot, ARRAY_SIZE(zfs_keys_snapshot));", "\tzfs_ioctl_register(\"log_history\", ZFS_IOC_LOG_HISTORY,", "\t zfs_ioc_log_history, zfs_secpolicy_log_history, NO_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_FALSE,", "\t zfs_keys_log_history, ARRAY_SIZE(zfs_keys_log_history));", "\tzfs_ioctl_register(\"space_snaps\", ZFS_IOC_SPACE_SNAPS,", "\t zfs_ioc_space_snaps, zfs_secpolicy_read, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED, B_FALSE, B_FALSE,", "\t zfs_keys_space_snaps, ARRAY_SIZE(zfs_keys_space_snaps));", "\tzfs_ioctl_register(\"send\", ZFS_IOC_SEND_NEW,", "\t zfs_ioc_send_new, zfs_secpolicy_send_new, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED, B_FALSE, B_FALSE,", "\t zfs_keys_send_new, ARRAY_SIZE(zfs_keys_send_new));", "\tzfs_ioctl_register(\"send_space\", ZFS_IOC_SEND_SPACE,", "\t zfs_ioc_send_space, zfs_secpolicy_read, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED, B_FALSE, B_FALSE,", "\t zfs_keys_send_space, ARRAY_SIZE(zfs_keys_send_space));", "\tzfs_ioctl_register(\"create\", ZFS_IOC_CREATE,", "\t zfs_ioc_create, zfs_secpolicy_create_clone, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_create, ARRAY_SIZE(zfs_keys_create));", "\tzfs_ioctl_register(\"clone\", ZFS_IOC_CLONE,", "\t zfs_ioc_clone, zfs_secpolicy_create_clone, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_clone, ARRAY_SIZE(zfs_keys_clone));", "\tzfs_ioctl_register(\"remap\", ZFS_IOC_REMAP,", "\t zfs_ioc_remap, zfs_secpolicy_none, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_TRUE,", "\t zfs_keys_remap, ARRAY_SIZE(zfs_keys_remap));", "\tzfs_ioctl_register(\"destroy_snaps\", ZFS_IOC_DESTROY_SNAPS,", "\t zfs_ioc_destroy_snaps, zfs_secpolicy_destroy_snaps, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_destroy_snaps, ARRAY_SIZE(zfs_keys_destroy_snaps));", "\tzfs_ioctl_register(\"hold\", ZFS_IOC_HOLD,", "\t zfs_ioc_hold, zfs_secpolicy_hold, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_hold, ARRAY_SIZE(zfs_keys_hold));", "\tzfs_ioctl_register(\"release\", ZFS_IOC_RELEASE,", "\t zfs_ioc_release, zfs_secpolicy_release, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_release, ARRAY_SIZE(zfs_keys_release));", "\tzfs_ioctl_register(\"get_holds\", ZFS_IOC_GET_HOLDS,", "\t zfs_ioc_get_holds, zfs_secpolicy_read, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED, B_FALSE, B_FALSE,", "\t zfs_keys_get_holds, ARRAY_SIZE(zfs_keys_get_holds));", "\tzfs_ioctl_register(\"rollback\", ZFS_IOC_ROLLBACK,", "\t zfs_ioc_rollback, zfs_secpolicy_rollback, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_TRUE,", "\t zfs_keys_rollback, ARRAY_SIZE(zfs_keys_rollback));", "\tzfs_ioctl_register(\"bookmark\", ZFS_IOC_BOOKMARK,", "\t zfs_ioc_bookmark, zfs_secpolicy_bookmark, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_bookmark, ARRAY_SIZE(zfs_keys_bookmark));", "\tzfs_ioctl_register(\"get_bookmarks\", ZFS_IOC_GET_BOOKMARKS,", "\t zfs_ioc_get_bookmarks, zfs_secpolicy_read, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED, B_FALSE, B_FALSE,", "\t zfs_keys_get_bookmarks, ARRAY_SIZE(zfs_keys_get_bookmarks));", "\tzfs_ioctl_register(\"get_bookmark_props\", ZFS_IOC_GET_BOOKMARK_PROPS,", "\t zfs_ioc_get_bookmark_props, zfs_secpolicy_read, ENTITY_NAME,", "\t POOL_CHECK_SUSPENDED, B_FALSE, B_FALSE, zfs_keys_get_bookmark_props,", "\t ARRAY_SIZE(zfs_keys_get_bookmark_props));", "\tzfs_ioctl_register(\"destroy_bookmarks\", ZFS_IOC_DESTROY_BOOKMARKS,", "\t zfs_ioc_destroy_bookmarks, zfs_secpolicy_destroy_bookmarks,", "\t POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_destroy_bookmarks,", "\t ARRAY_SIZE(zfs_keys_destroy_bookmarks));", "\tzfs_ioctl_register(\"receive\", ZFS_IOC_RECV_NEW,", "\t zfs_ioc_recv_new, zfs_secpolicy_recv, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_recv_new, ARRAY_SIZE(zfs_keys_recv_new));", "\tzfs_ioctl_register(\"load-key\", ZFS_IOC_LOAD_KEY,", "\t zfs_ioc_load_key, zfs_secpolicy_load_key,", "\t DATASET_NAME, POOL_CHECK_SUSPENDED, B_TRUE, B_TRUE,", "\t zfs_keys_load_key, ARRAY_SIZE(zfs_keys_load_key));", "\tzfs_ioctl_register(\"unload-key\", ZFS_IOC_UNLOAD_KEY,", "\t zfs_ioc_unload_key, zfs_secpolicy_load_key,", "\t DATASET_NAME, POOL_CHECK_SUSPENDED, B_TRUE, B_TRUE,", "\t zfs_keys_unload_key, ARRAY_SIZE(zfs_keys_unload_key));", "\tzfs_ioctl_register(\"change-key\", ZFS_IOC_CHANGE_KEY,", "\t zfs_ioc_change_key, zfs_secpolicy_change_key,", "\t DATASET_NAME, POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY,", "\t B_TRUE, B_TRUE, zfs_keys_change_key,", "\t ARRAY_SIZE(zfs_keys_change_key));", "\tzfs_ioctl_register(\"sync\", ZFS_IOC_POOL_SYNC,", "\t zfs_ioc_pool_sync, zfs_secpolicy_none, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_FALSE,", "\t zfs_keys_pool_sync, ARRAY_SIZE(zfs_keys_pool_sync));", "\tzfs_ioctl_register(\"reopen\", ZFS_IOC_POOL_REOPEN, zfs_ioc_pool_reopen,", "\t zfs_secpolicy_config, POOL_NAME, POOL_CHECK_SUSPENDED, B_TRUE,", "\t B_TRUE, zfs_keys_pool_reopen, ARRAY_SIZE(zfs_keys_pool_reopen));", "\tzfs_ioctl_register(\"channel_program\", ZFS_IOC_CHANNEL_PROGRAM,", "\t zfs_ioc_channel_program, zfs_secpolicy_config,", "\t POOL_NAME, POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE,", "\t B_TRUE, zfs_keys_channel_program,", "\t ARRAY_SIZE(zfs_keys_channel_program));", "\tzfs_ioctl_register(\"redact\", ZFS_IOC_REDACT,", "\t zfs_ioc_redact, zfs_secpolicy_config, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_redact, ARRAY_SIZE(zfs_keys_redact));", "\tzfs_ioctl_register(\"zpool_checkpoint\", ZFS_IOC_POOL_CHECKPOINT,", "\t zfs_ioc_pool_checkpoint, zfs_secpolicy_config, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_pool_checkpoint, ARRAY_SIZE(zfs_keys_pool_checkpoint));", "\tzfs_ioctl_register(\"zpool_discard_checkpoint\",", "\t ZFS_IOC_POOL_DISCARD_CHECKPOINT, zfs_ioc_pool_discard_checkpoint,", "\t zfs_secpolicy_config, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_pool_discard_checkpoint,", "\t ARRAY_SIZE(zfs_keys_pool_discard_checkpoint));", "\tzfs_ioctl_register(\"initialize\", ZFS_IOC_POOL_INITIALIZE,", "\t zfs_ioc_pool_initialize, zfs_secpolicy_config, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_pool_initialize, ARRAY_SIZE(zfs_keys_pool_initialize));", "\tzfs_ioctl_register(\"trim\", ZFS_IOC_POOL_TRIM,", "\t zfs_ioc_pool_trim, zfs_secpolicy_config, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_TRUE, B_TRUE,", "\t zfs_keys_pool_trim, ARRAY_SIZE(zfs_keys_pool_trim));", "\tzfs_ioctl_register(\"wait\", ZFS_IOC_WAIT,", "\t zfs_ioc_wait, zfs_secpolicy_none, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_FALSE,", "\t zfs_keys_pool_wait, ARRAY_SIZE(zfs_keys_pool_wait));", "\tzfs_ioctl_register(\"wait_fs\", ZFS_IOC_WAIT_FS,", "\t zfs_ioc_wait_fs, zfs_secpolicy_none, DATASET_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_FALSE,", "\t zfs_keys_fs_wait, ARRAY_SIZE(zfs_keys_fs_wait));", "\tzfs_ioctl_register(\"set_bootenv\", ZFS_IOC_SET_BOOTENV,", "\t zfs_ioc_set_bootenv, zfs_secpolicy_config, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_TRUE,", "\t zfs_keys_set_bootenv, ARRAY_SIZE(zfs_keys_set_bootenv));", "\tzfs_ioctl_register(\"get_bootenv\", ZFS_IOC_GET_BOOTENV,", "\t zfs_ioc_get_bootenv, zfs_secpolicy_none, POOL_NAME,", "\t POOL_CHECK_SUSPENDED, B_FALSE, B_TRUE,", "\t zfs_keys_get_bootenv, ARRAY_SIZE(zfs_keys_get_bootenv));", "\tzfs_ioctl_register(\"zpool_vdev_get_props\", ZFS_IOC_VDEV_GET_PROPS,", "\t zfs_ioc_vdev_get_props, zfs_secpolicy_read, POOL_NAME,", "\t POOL_CHECK_NONE, B_FALSE, B_FALSE, zfs_keys_vdev_get_props,", "\t ARRAY_SIZE(zfs_keys_vdev_get_props));", "\tzfs_ioctl_register(\"zpool_vdev_set_props\", ZFS_IOC_VDEV_SET_PROPS,", "\t zfs_ioc_vdev_set_props, zfs_secpolicy_config, POOL_NAME,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY, B_FALSE, B_FALSE,", "\t zfs_keys_vdev_set_props, ARRAY_SIZE(zfs_keys_vdev_set_props));", "\tzfs_ioctl_register(\"scrub\", ZFS_IOC_POOL_SCRUB,", "\t zfs_ioc_pool_scrub, zfs_secpolicy_config, POOL_NAME,", "\t POOL_CHECK_NONE, B_TRUE, B_TRUE,", "\t zfs_keys_pool_scrub, ARRAY_SIZE(zfs_keys_pool_scrub));", "\t/* IOCTLS that use the legacy function signature */", "\tzfs_ioctl_register_legacy(ZFS_IOC_POOL_FREEZE, zfs_ioc_pool_freeze,", "\t zfs_secpolicy_config, NO_NAME, B_FALSE, POOL_CHECK_READONLY);", "\tzfs_ioctl_register_pool(ZFS_IOC_POOL_CREATE, zfs_ioc_pool_create,", "\t zfs_secpolicy_config, B_TRUE, POOL_CHECK_NONE);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_POOL_SCAN,", "\t zfs_ioc_pool_scan);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_POOL_UPGRADE,", "\t zfs_ioc_pool_upgrade);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_ADD,", "\t zfs_ioc_vdev_add);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_REMOVE,", "\t zfs_ioc_vdev_remove);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_SET_STATE,", "\t zfs_ioc_vdev_set_state);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_ATTACH,", "\t zfs_ioc_vdev_attach);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_DETACH,", "\t zfs_ioc_vdev_detach);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_SETPATH,", "\t zfs_ioc_vdev_setpath);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_SETFRU,", "\t zfs_ioc_vdev_setfru);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_POOL_SET_PROPS,", "\t zfs_ioc_pool_set_props);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_VDEV_SPLIT,", "\t zfs_ioc_vdev_split);", "\tzfs_ioctl_register_pool_modify(ZFS_IOC_POOL_REGUID,", "\t zfs_ioc_pool_reguid);", "\tzfs_ioctl_register_pool_meta(ZFS_IOC_POOL_CONFIGS,", "\t zfs_ioc_pool_configs, zfs_secpolicy_none);", "\tzfs_ioctl_register_pool_meta(ZFS_IOC_POOL_TRYIMPORT,", "\t zfs_ioc_pool_tryimport, zfs_secpolicy_config);", "\tzfs_ioctl_register_pool_meta(ZFS_IOC_INJECT_FAULT,", "\t zfs_ioc_inject_fault, zfs_secpolicy_inject);", "\tzfs_ioctl_register_pool_meta(ZFS_IOC_CLEAR_FAULT,", "\t zfs_ioc_clear_fault, zfs_secpolicy_inject);", "\tzfs_ioctl_register_pool_meta(ZFS_IOC_INJECT_LIST_NEXT,", "\t zfs_ioc_inject_list_next, zfs_secpolicy_inject);", "\t/*", "\t * pool destroy, and export don't log the history as part of", "\t * zfsdev_ioctl, but rather zfs_ioc_pool_export", "\t * does the logging of those commands.", "\t */", "\tzfs_ioctl_register_pool(ZFS_IOC_POOL_DESTROY, zfs_ioc_pool_destroy,", "\t zfs_secpolicy_config, B_FALSE, POOL_CHECK_SUSPENDED);", "\tzfs_ioctl_register_pool(ZFS_IOC_POOL_EXPORT, zfs_ioc_pool_export,", "\t zfs_secpolicy_config, B_FALSE, POOL_CHECK_SUSPENDED);", "\tzfs_ioctl_register_pool(ZFS_IOC_POOL_STATS, zfs_ioc_pool_stats,", "\t zfs_secpolicy_read, B_FALSE, POOL_CHECK_NONE);", "\tzfs_ioctl_register_pool(ZFS_IOC_POOL_GET_PROPS, zfs_ioc_pool_get_props,", "\t zfs_secpolicy_read, B_FALSE, POOL_CHECK_NONE);", "\tzfs_ioctl_register_pool(ZFS_IOC_ERROR_LOG, zfs_ioc_error_log,", "\t zfs_secpolicy_inject, B_FALSE, POOL_CHECK_SUSPENDED);", "\tzfs_ioctl_register_pool(ZFS_IOC_DSOBJ_TO_DSNAME,", "\t zfs_ioc_dsobj_to_dsname,", "\t zfs_secpolicy_diff, B_FALSE, POOL_CHECK_SUSPENDED);", "\tzfs_ioctl_register_pool(ZFS_IOC_POOL_GET_HISTORY,", "\t zfs_ioc_pool_get_history,", "\t zfs_secpolicy_config, B_FALSE, POOL_CHECK_SUSPENDED);", "\tzfs_ioctl_register_pool(ZFS_IOC_POOL_IMPORT, zfs_ioc_pool_import,", "\t zfs_secpolicy_config, B_TRUE, POOL_CHECK_NONE);", "\tzfs_ioctl_register_pool(ZFS_IOC_CLEAR, zfs_ioc_clear,", "\t zfs_secpolicy_config, B_TRUE, POOL_CHECK_READONLY);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_SPACE_WRITTEN,", "\t zfs_ioc_space_written);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_RECVD_PROPS,", "\t zfs_ioc_objset_recvd_props);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_NEXT_OBJ,", "\t zfs_ioc_next_obj);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_GET_FSACL,", "\t zfs_ioc_get_fsacl);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_STATS,", "\t zfs_ioc_objset_stats);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_OBJSET_ZPLPROPS,", "\t zfs_ioc_objset_zplprops);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_DATASET_LIST_NEXT,", "\t zfs_ioc_dataset_list_next);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_SNAPSHOT_LIST_NEXT,", "\t zfs_ioc_snapshot_list_next);", "\tzfs_ioctl_register_dataset_read(ZFS_IOC_SEND_PROGRESS,", "\t zfs_ioc_send_progress);", "\tzfs_ioctl_register_dataset_read_secpolicy(ZFS_IOC_DIFF,", "\t zfs_ioc_diff, zfs_secpolicy_diff);", "\tzfs_ioctl_register_dataset_read_secpolicy(ZFS_IOC_OBJ_TO_STATS,", "\t zfs_ioc_obj_to_stats, zfs_secpolicy_diff);", "\tzfs_ioctl_register_dataset_read_secpolicy(ZFS_IOC_OBJ_TO_PATH,", "\t zfs_ioc_obj_to_path, zfs_secpolicy_diff);", "\tzfs_ioctl_register_dataset_read_secpolicy(ZFS_IOC_USERSPACE_ONE,", "\t zfs_ioc_userspace_one, zfs_secpolicy_userspace_one);", "\tzfs_ioctl_register_dataset_read_secpolicy(ZFS_IOC_USERSPACE_MANY,", "\t zfs_ioc_userspace_many, zfs_secpolicy_userspace_many);", "\tzfs_ioctl_register_dataset_read_secpolicy(ZFS_IOC_SEND,", "\t zfs_ioc_send, zfs_secpolicy_send);", "\tzfs_ioctl_register_dataset_modify(ZFS_IOC_SET_PROP, zfs_ioc_set_prop,", "\t zfs_secpolicy_none);", "\tzfs_ioctl_register_dataset_modify(ZFS_IOC_DESTROY, zfs_ioc_destroy,", "\t zfs_secpolicy_destroy);", "\tzfs_ioctl_register_dataset_modify(ZFS_IOC_RENAME, zfs_ioc_rename,", "\t zfs_secpolicy_rename);", "\tzfs_ioctl_register_dataset_modify(ZFS_IOC_RECV, zfs_ioc_recv,", "\t zfs_secpolicy_recv);", "\tzfs_ioctl_register_dataset_modify(ZFS_IOC_PROMOTE, zfs_ioc_promote,", "\t zfs_secpolicy_promote);", "\tzfs_ioctl_register_dataset_modify(ZFS_IOC_INHERIT_PROP,", "\t zfs_ioc_inherit_prop, zfs_secpolicy_inherit_prop);", "\tzfs_ioctl_register_dataset_modify(ZFS_IOC_SET_FSACL, zfs_ioc_set_fsacl,", "\t zfs_secpolicy_set_fsacl);", "\tzfs_ioctl_register_dataset_nolog(ZFS_IOC_SHARE, zfs_ioc_share,", "\t zfs_secpolicy_share, POOL_CHECK_NONE);", "\tzfs_ioctl_register_dataset_nolog(ZFS_IOC_SMB_ACL, zfs_ioc_smb_acl,", "\t zfs_secpolicy_smb_acl, POOL_CHECK_NONE);", "\tzfs_ioctl_register_dataset_nolog(ZFS_IOC_USERSPACE_UPGRADE,", "\t zfs_ioc_userspace_upgrade, zfs_secpolicy_userspace_upgrade,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY);", "\tzfs_ioctl_register_dataset_nolog(ZFS_IOC_TMP_SNAPSHOT,", "\t zfs_ioc_tmp_snapshot, zfs_secpolicy_tmp_snapshot,", "\t POOL_CHECK_SUSPENDED | POOL_CHECK_READONLY);", "\tzfs_ioctl_register_legacy(ZFS_IOC_EVENTS_NEXT, zfs_ioc_events_next,", "\t zfs_secpolicy_config, NO_NAME, B_FALSE, POOL_CHECK_NONE);", "\tzfs_ioctl_register_legacy(ZFS_IOC_EVENTS_CLEAR, zfs_ioc_events_clear,", "\t zfs_secpolicy_config, NO_NAME, B_FALSE, POOL_CHECK_NONE);", "\tzfs_ioctl_register_legacy(ZFS_IOC_EVENTS_SEEK, zfs_ioc_events_seek,", "\t zfs_secpolicy_config, NO_NAME, B_FALSE, POOL_CHECK_NONE);", "\tzfs_ioctl_init_os();", "}" ] } ], "type": "fnptr-global-struct" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": "", "zfs_ace_v0_size": "", "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "aclp->z_ops->ace_size", "chain_summary": [ { "parent": "", "source_code": [ "static void", "zfs_acl_chmod(boolean_t isdir, uint64_t mode, boolean_t split, boolean_t trim,", " zfs_acl_t *aclp)", "{", "\t...", "\twhile ((acep = zfs_acl_next_ace(aclp, acep, &who, &access_mask,", "\t &iflags, &type))) {", "\t\t...", "\t\tzfs_set_ace(aclp, zacep, access_mask, type, who, iflags);", "\t\tace_size = aclp->z_ops->ace_size(acep);", "\t\tzacep = (void *)((uintptr_t)zacep + ace_size);", "\t\tnew_count++;", "\t\tnew_bytes += ace_size;", "\t}", "}" ] }, { "parent": "", "source_code": [ "int", "zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode)", "{", "\tint error = 0;", "\tmutex_enter(&zp->z_acl_lock);", "\tmutex_enter(&zp->z_lock);", "\tif (ZTOZSB(zp)->z_acl_mode == ZFS_ACL_DISCARD)", "\t\t*aclp = zfs_acl_alloc(zfs_acl_version_zp(zp));", "\telse", "\t\terror = zfs_acl_node_read(zp, B_TRUE, aclp, B_TRUE);", "\tif (error == 0) {", "\t\t(*aclp)->z_hints = zp->z_pflags & V4_ACL_WIDE_FLAGS;", "\t\tzfs_acl_chmod(S_ISDIR(ZTOI(zp)->i_mode), mode, B_TRUE,", "\t\t (ZTOZSB(zp)->z_acl_mode == ZFS_ACL_GROUPMASK), *aclp);", "\t}", "\tmutex_exit(&zp->z_lock);", "\tmutex_exit(&zp->z_acl_lock);", "\treturn (error);", "}" ] }, { "parent": "", "source_code": [ "int", "zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr,", " vsecattr_t *vsecp, zfs_acl_ids_t *acl_ids, zidmap_t *mnt_ns)", "{", "\t...", "\tmemset(acl_ids, 0, sizeof (zfs_acl_ids_t));", "\tacl_ids->z_mode = vap->va_mode;", "\t...", "\tif (acl_ids->z_aclp == NULL) {", "\t\t...", "\t\tif (!(flag & IS_ROOT_NODE) &&", "\t\t (dzp->z_pflags & ZFS_INHERIT_ACE) &&", "\t\t !(dzp->z_pflags & ZFS_XATTR)) {", "\t\t\t...", "\t\t\tacl_ids->z_aclp = zfs_acl_inherit(zfsvfs,", "\t\t\t vap->va_mode, paclp, acl_ids->z_mode, &need_chmod);", "\t\t\tinherited = B_TRUE;", "\t\t} else {", "\t\t\tacl_ids->z_aclp =", "\t\t\t zfs_acl_alloc(zfs_acl_version_zp(dzp));", "\t\t\tacl_ids->z_aclp->z_hints |= ZFS_ACL_TRIVIAL;", "\t\t}", "\t\tmutex_exit(&dzp->z_lock);", "\t\tmutex_exit(&dzp->z_acl_lock);", "\t\tif (need_chmod) {", "\t\t\tif (S_ISDIR(vap->va_mode))", "\t\t\t\tacl_ids->z_aclp->z_hints |=", "\t\t\t\t ZFS_ACL_AUTO_INHERIT;", "\t\t\tif (zfsvfs->z_acl_mode == ZFS_ACL_GROUPMASK &&", "\t\t\t zfsvfs->z_acl_inherit != ZFS_ACL_PASSTHROUGH &&", "\t\t\t zfsvfs->z_acl_inherit != ZFS_ACL_PASSTHROUGH_X)", "\t\t\t\ttrim = B_TRUE;", "\t\t\tzfs_acl_chmod(vap->va_mode, acl_ids->z_mode, B_FALSE,", "\t\t\t trim, acl_ids->z_aclp);", "\t\t}", "\t}", "\tif (inherited || vsecp) {", "\t\tacl_ids->z_mode = zfs_mode_compute(acl_ids->z_mode,", "\t\t acl_ids->z_aclp, &acl_ids->z_aclp->z_hints,", "\t\t acl_ids->z_fuid, acl_ids->z_fgid);", "\t\tif (ace_trivial_common(acl_ids->z_aclp, 0, zfs_ace_walk) == 0)", "\t\t\tacl_ids->z_aclp->z_hints |= ZFS_ACL_TRIVIAL;", "\t}", "\treturn (0);", "}" ] }, { "parent": "", "source_code": [ "static zfs_acl_t *", "zfs_acl_inherit(zfsvfs_t *zfsvfs, umode_t va_mode, zfs_acl_t *paclp,", " uint64_t mode, boolean_t *need_chmod)", "{", "\tvoid\t\t*pacep = NULL;", "\tvoid\t\t*acep;", "\t...", "\taclp = zfs_acl_alloc(paclp->z_version);", "\taclinherit = zfsvfs->z_acl_inherit;", "\tif (aclinherit == ZFS_ACL_DISCARD || S_ISLNK(va_mode))", "\t\treturn (aclp);", "\twhile ((pacep = zfs_acl_next_ace(paclp, pacep, &who,", "\t &access_mask, &iflags, &type))) {", "\t\t\t...", "\t}", "\treturn (aclp);", "}" ] }, { "parent": "", "source_code": [ "zfs_acl_t *", "zfs_acl_alloc(int vers)", "{", "\tzfs_acl_t *aclp;", "\taclp = kmem_zalloc(sizeof (zfs_acl_t), KM_SLEEP);", "\tlist_create(&aclp->z_acl, sizeof (zfs_acl_node_t),", "\t offsetof(zfs_acl_node_t, z_next));", "\taclp->z_version = vers;", "\tif (vers == ZFS_ACL_VERSION_FUID)", "\t\taclp->z_ops = &zfs_acl_fuid_ops;", "\telse", "\t\taclp->z_ops = &zfs_acl_v0_ops;", "\treturn (aclp);", "}" ] }, { "parent": "", "source_code": [ "static const acl_ops_t zfs_acl_v0_ops = {", "\t.ace_mask_get = zfs_ace_v0_get_mask,", "\t.ace_mask_set = zfs_ace_v0_set_mask,", "\t.ace_flags_get = zfs_ace_v0_get_flags,", "\t.ace_flags_set = zfs_ace_v0_set_flags,", "\t.ace_type_get = zfs_ace_v0_get_type,", "\t.ace_type_set = zfs_ace_v0_set_type,", "\t.ace_who_get = zfs_ace_v0_get_who,", "\t.ace_who_set = zfs_ace_v0_set_who,", "\t.ace_size = zfs_ace_v0_size,", "\t.ace_abstract_size = zfs_ace_v0_abstract_size,", "\t.ace_mask_off = zfs_ace_v0_mask_off,", "\t.ace_data = zfs_ace_v0_data", "};", "static const acl_ops_t zfs_acl_fuid_ops = {", "\t.ace_mask_get = zfs_ace_fuid_get_mask,", "\t.ace_mask_set = zfs_ace_fuid_set_mask,", "\t.ace_flags_get = zfs_ace_fuid_get_flags,", "\t.ace_flags_set = zfs_ace_fuid_set_flags,", "\t.ace_type_get = zfs_ace_fuid_get_type,", "\t.ace_type_set = zfs_ace_fuid_set_type,", "\t.ace_who_get = zfs_ace_fuid_get_who,", "\t.ace_who_set = zfs_ace_fuid_set_who,", "\t.ace_size = zfs_ace_fuid_size,", "\t.ace_abstract_size = zfs_ace_fuid_abstract_size,", "\t.ace_mask_off = zfs_ace_fuid_mask_off,", "\t.ace_data = zfs_ace_fuid_data", "};" ] } ], "type": "fnptr-global-struct" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": "", "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": "", "lzjb_decompress": "", "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": null, "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": null, "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": "", "zle_decompress": "" } }, "callsite": "ci_decompress", "chain_summary": [ { "parent": "", "source_code": [ "int zstream_do_recompress(int argc, char *argv[])", "{", "\tint bufsz = SPA_MAXBLOCKSIZE;", "\tchar *buf = safe_malloc(bufsz);", "\tdmu_replay_record_t thedrr;", "\tdmu_replay_record_t *drr = &thedrr;", "\tzio_cksum_t stream_cksum;", "\tint c;", "\tint level = -1;", " ...", " (void) sfread(cbuf, payload_size, stdin);", " if (dinfo->ci_decompress != NULL) {", "\t if (0 != dinfo->ci_decompress(cbuf, dbuf,", "\t\t\t\t payload_size, MIN(bufsz,", "\t\t\t\t drrw->drr_logical_size), dinfo->ci_level))", " ...", " }", "}" ] }, { "parent": "", "source_code": [ "/*", " * Compression vectors.", " */", "zio_compress_info_t zio_compress_table[ZIO_COMPRESS_FUNCTIONS] = {", "\t{\"inherit\",\t0,\tNULL,\t\tNULL, NULL},", "\t{\"on\",\t\t0,\tNULL,\t\tNULL, NULL},", "\t{\"uncompressed\", 0,\tNULL,\t\tNULL, NULL},", "\t{\"lzjb\",\t0,\tlzjb_compress,\tlzjb_decompress, NULL},", "\t{\"empty\",\t0,\tNULL,\t\tNULL, NULL},", "\t{\"gzip-1\",\t1,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-2\",\t2,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-3\",\t3,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-4\",\t4,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-5\",\t5,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-6\",\t6,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-7\",\t7,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-8\",\t8,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"gzip-9\",\t9,\tgzip_compress,\tgzip_decompress, NULL},", "\t{\"zle\",\t\t64,\tzle_compress,\tzle_decompress, NULL},", "\t{\"lz4\",\t\t0,\tlz4_compress_zfs, lz4_decompress_zfs, NULL},", "\t{\"zstd\",\tZIO_ZSTD_LEVEL_DEFAULT,\tzfs_zstd_compress_wrap,", "\t zfs_zstd_decompress, zfs_zstd_decompress_level},", "};" ] }, { "parent": "", "source_code": [ "typedef const struct zio_compress_info {", "\tconst char\t\t\t*ci_name;", "\tint\t\t\t\tci_level;", "\tzio_compress_func_t\t\t*ci_compress;", "\tzio_decompress_func_t\t\t*ci_decompress;", "\tzio_decompresslevel_func_t\t*ci_decompress_level;", "} zio_compress_info_t;" ] } ], "type": "fnptr-global-struct-array" }
null
null
null
null
null
null
{ "callees": { "targets": { "aes_encrypt_block": null, "aes_xor_block": null, "count_unflushed_space_cb": null, "ddt_zap_lookup": null, "dsl_dataset_hold": null, "dsl_dataset_hold_obj_string": null, "dump_acl": null, "dump_bpobj": null, "dump_bpobj_subobjs": null, "dump_ddt_zap": null, "dump_dmu_objset": null, "dump_dnode": null, "dump_dsl_dataset": null, "dump_dsl_dir": null, "dump_history_offsets": null, "dump_none": null, "dump_packed_nvlist": null, "dump_sa_attrs": null, "dump_sa_layouts": null, "dump_uint64": null, "dump_uint8": null, "dump_unknown": null, "dump_zap": null, "dump_znode": null, "dump_zpldir": null, "fletcher_4_scalar_native": null, "fletcher_4_superscalar4_native": null, "fletcher_4_superscalar_native": null, "gzip_decompress": null, "load_unflushed_cb": null, "load_unflushed_svr_segs_cb": null, "log_spacemap_obsolete_stats_cb": null, "lz4_decompress_zfs": null, "lzjb_decompress": null, "mul_x1_0": null, "mul_x1_1": null, "mul_x1_10": null, "mul_x1_100": null, "mul_x1_101": null, "mul_x1_102": null, "mul_x1_103": null, "mul_x1_104": null, "mul_x1_105": null, "mul_x1_106": null, "mul_x1_107": null, "mul_x1_108": null, "mul_x1_109": null, "mul_x1_11": null, "mul_x1_110": null, "mul_x1_111": null, "mul_x1_112": null, "mul_x1_113": null, "mul_x1_114": null, "mul_x1_115": null, "mul_x1_116": null, "mul_x1_117": null, "mul_x1_118": null, "mul_x1_119": null, "mul_x1_12": null, "mul_x1_120": null, "mul_x1_121": null, "mul_x1_122": null, "mul_x1_123": null, "mul_x1_124": null, "mul_x1_125": null, "mul_x1_126": null, "mul_x1_127": null, "mul_x1_128": null, "mul_x1_129": null, "mul_x1_13": null, "mul_x1_130": null, "mul_x1_131": null, "mul_x1_132": null, "mul_x1_133": null, "mul_x1_134": null, "mul_x1_135": null, "mul_x1_136": null, "mul_x1_137": null, "mul_x1_138": null, "mul_x1_139": null, "mul_x1_14": null, "mul_x1_140": null, "mul_x1_141": null, "mul_x1_142": null, "mul_x1_143": null, "mul_x1_144": null, "mul_x1_145": null, "mul_x1_146": null, "mul_x1_147": null, "mul_x1_148": null, "mul_x1_149": null, "mul_x1_15": null, "mul_x1_150": null, "mul_x1_151": null, "mul_x1_152": null, "mul_x1_153": null, "mul_x1_154": null, "mul_x1_155": null, "mul_x1_156": null, "mul_x1_157": null, "mul_x1_158": null, "mul_x1_159": null, "mul_x1_16": null, "mul_x1_160": null, "mul_x1_161": null, "mul_x1_162": null, "mul_x1_163": null, "mul_x1_164": null, "mul_x1_165": null, "mul_x1_166": null, "mul_x1_167": null, "mul_x1_168": null, "mul_x1_169": null, "mul_x1_17": null, "mul_x1_170": null, "mul_x1_171": null, "mul_x1_172": null, "mul_x1_173": null, "mul_x1_174": null, "mul_x1_175": null, "mul_x1_176": null, "mul_x1_177": null, "mul_x1_178": null, "mul_x1_179": null, "mul_x1_18": null, "mul_x1_180": null, "mul_x1_181": null, "mul_x1_182": null, "mul_x1_183": null, "mul_x1_184": null, "mul_x1_185": null, "mul_x1_186": null, "mul_x1_187": null, "mul_x1_188": null, "mul_x1_189": null, "mul_x1_19": null, "mul_x1_190": null, "mul_x1_191": null, "mul_x1_192": null, "mul_x1_193": null, "mul_x1_194": null, "mul_x1_195": null, "mul_x1_196": null, "mul_x1_197": null, "mul_x1_198": null, "mul_x1_199": null, "mul_x1_2": null, "mul_x1_20": null, "mul_x1_200": null, "mul_x1_201": null, "mul_x1_202": null, "mul_x1_203": null, "mul_x1_204": null, "mul_x1_205": null, "mul_x1_206": null, "mul_x1_207": null, "mul_x1_208": null, "mul_x1_209": null, "mul_x1_21": null, "mul_x1_210": null, "mul_x1_211": null, "mul_x1_212": null, "mul_x1_213": null, "mul_x1_214": null, "mul_x1_215": null, "mul_x1_216": null, "mul_x1_217": null, "mul_x1_218": null, "mul_x1_219": null, "mul_x1_22": null, "mul_x1_220": null, "mul_x1_221": null, "mul_x1_222": null, "mul_x1_223": null, "mul_x1_224": null, "mul_x1_225": null, "mul_x1_226": null, "mul_x1_227": null, "mul_x1_228": null, "mul_x1_229": null, "mul_x1_23": null, "mul_x1_230": null, "mul_x1_231": null, "mul_x1_232": null, "mul_x1_233": null, "mul_x1_234": null, "mul_x1_235": null, "mul_x1_236": null, "mul_x1_237": null, "mul_x1_238": null, "mul_x1_239": null, "mul_x1_24": null, "mul_x1_240": null, "mul_x1_241": null, "mul_x1_242": null, "mul_x1_243": null, "mul_x1_244": null, "mul_x1_245": null, "mul_x1_246": null, "mul_x1_247": null, "mul_x1_248": null, "mul_x1_249": null, "mul_x1_25": null, "mul_x1_250": null, "mul_x1_251": null, "mul_x1_252": null, "mul_x1_253": null, "mul_x1_254": null, "mul_x1_255": null, "mul_x1_26": null, "mul_x1_27": null, "mul_x1_28": null, "mul_x1_29": null, "mul_x1_3": null, "mul_x1_30": null, "mul_x1_31": null, "mul_x1_32": null, "mul_x1_33": null, "mul_x1_34": null, "mul_x1_35": null, "mul_x1_36": null, "mul_x1_37": null, "mul_x1_38": null, "mul_x1_39": null, "mul_x1_4": null, "mul_x1_40": null, "mul_x1_41": null, "mul_x1_42": null, "mul_x1_43": null, "mul_x1_44": null, "mul_x1_45": null, "mul_x1_46": null, "mul_x1_47": null, "mul_x1_48": null, "mul_x1_49": null, "mul_x1_5": null, "mul_x1_50": null, "mul_x1_51": null, "mul_x1_52": null, "mul_x1_53": null, "mul_x1_54": null, "mul_x1_55": null, "mul_x1_56": null, "mul_x1_57": null, "mul_x1_58": null, "mul_x1_59": null, "mul_x1_6": null, "mul_x1_60": null, "mul_x1_61": null, "mul_x1_62": null, "mul_x1_63": null, "mul_x1_64": null, "mul_x1_65": null, "mul_x1_66": null, "mul_x1_67": null, "mul_x1_68": null, "mul_x1_69": null, "mul_x1_7": null, "mul_x1_70": null, "mul_x1_71": null, "mul_x1_72": null, "mul_x1_73": null, "mul_x1_74": null, "mul_x1_75": null, "mul_x1_76": null, "mul_x1_77": null, "mul_x1_78": null, "mul_x1_79": null, "mul_x1_8": null, "mul_x1_80": null, "mul_x1_81": null, "mul_x1_82": null, "mul_x1_83": null, "mul_x1_84": null, "mul_x1_85": null, "mul_x1_86": null, "mul_x1_87": null, "mul_x1_88": null, "mul_x1_89": null, "mul_x1_9": null, "mul_x1_90": null, "mul_x1_91": null, "mul_x1_92": null, "mul_x1_93": null, "mul_x1_94": null, "mul_x1_95": null, "mul_x1_96": null, "mul_x1_97": null, "mul_x1_98": null, "mul_x1_99": null, "nfs_commit_shares": "", "nfs_copy_entries_cb": null, "nfs_is_shared_cb": null, "sha256_generic": null, "sha512_generic": null, "smb_update_shares": "", "spacemap_check_sm_log_cb": null, "tf_sha256_transform_x64": null, "tf_sha512_transform_x64": null, "vdev_indirect_remap": null, "zfs_ace_fuid_size": null, "zfs_ace_v0_size": null, "zfs_do_allow": null, "zfs_do_bookmark": null, "zfs_do_change_key": null, "zfs_do_channel_program": null, "zfs_do_clone": null, "zfs_do_create": null, "zfs_do_destroy": null, "zfs_do_diff": null, "zfs_do_get": null, "zfs_do_hold": null, "zfs_do_holds": null, "zfs_do_inherit": null, "zfs_do_list": null, "zfs_do_load_key": null, "zfs_do_mount": null, "zfs_do_project": null, "zfs_do_promote": null, "zfs_do_receive": null, "zfs_do_redact": null, "zfs_do_release": null, "zfs_do_rename": null, "zfs_do_rollback": null, "zfs_do_send": null, "zfs_do_set": null, "zfs_do_share": null, "zfs_do_snapshot": null, "zfs_do_unallow": null, "zfs_do_unload_key": null, "zfs_do_unmount": null, "zfs_do_unshare": null, "zfs_do_unzone": null, "zfs_do_upgrade": null, "zfs_do_userspace": null, "zfs_do_version": null, "zfs_do_wait": null, "zfs_do_zone": null, "zfs_fm_close": null, "zfs_ioc_clear": null, "zfs_ioc_clear_fault": null, "zfs_ioc_dataset_list_next": null, "zfs_ioc_destroy": null, "zfs_ioc_diff": null, "zfs_ioc_dsobj_to_dsname": null, "zfs_ioc_error_log": null, "zfs_ioc_events_clear": null, "zfs_ioc_events_next": null, "zfs_ioc_events_seek": null, "zfs_ioc_get_fsacl": null, "zfs_ioc_inherit_prop": null, "zfs_ioc_inject_fault": null, "zfs_ioc_inject_list_next": null, "zfs_ioc_next_obj": null, "zfs_ioc_obj_to_path": null, "zfs_ioc_obj_to_stats": null, "zfs_ioc_objset_recvd_props": null, "zfs_ioc_objset_stats": null, "zfs_ioc_objset_zplprops": null, "zfs_ioc_pool_configs": null, "zfs_ioc_pool_create": null, "zfs_ioc_pool_destroy": null, "zfs_ioc_pool_export": null, "zfs_ioc_pool_freeze": null, "zfs_ioc_pool_get_history": null, "zfs_ioc_pool_get_props": null, "zfs_ioc_pool_import": null, "zfs_ioc_pool_reguid": null, "zfs_ioc_pool_scan": null, "zfs_ioc_pool_set_props": null, "zfs_ioc_pool_stats": null, "zfs_ioc_pool_tryimport": null, "zfs_ioc_pool_upgrade": null, "zfs_ioc_promote": null, "zfs_ioc_recv": null, "zfs_ioc_rename": null, "zfs_ioc_send": null, "zfs_ioc_send_progress": null, "zfs_ioc_set_fsacl": null, "zfs_ioc_set_prop": null, "zfs_ioc_share": null, "zfs_ioc_smb_acl": null, "zfs_ioc_snapshot_list_next": null, "zfs_ioc_space_written": null, "zfs_ioc_tmp_snapshot": null, "zfs_ioc_userspace_many": null, "zfs_ioc_userspace_one": null, "zfs_ioc_userspace_upgrade": null, "zfs_ioc_vdev_add": null, "zfs_ioc_vdev_attach": null, "zfs_ioc_vdev_detach": null, "zfs_ioc_vdev_remove": null, "zfs_ioc_vdev_set_state": null, "zfs_ioc_vdev_setfru": null, "zfs_ioc_vdev_setpath": null, "zfs_ioc_vdev_split": null, "zfs_zstd_decompress": null, "zle_decompress": null } }, "callsite": "fstypes[protocol]->commit_shares", "chain_summary": [ { "parent": "", "source_code": [ "void sa_commit_shares(enum sa_protocol protocol)", "{", "\t/* CSTYLED */", "\tVALIDATE_PROTOCOL(protocol, );", "\tfstypes[protocol]->commit_shares();", "}" ] }, { "parent": "", "source_code": [ "static const sa_fstype_t *fstypes[SA_PROTOCOL_COUNT] =", "\t{&libshare_nfs_type, &libshare_smb_type};" ] }, { "parent": "", "source_code": [ "const sa_fstype_t libshare_nfs_type = {", " .enable_share = nfs_enable_share,", "\t.disable_share = nfs_disable_share,", "\t.is_shared = nfs_is_shared,", "\t.validate_shareopts = nfs_validate_shareopts,", "\t.commit_shares = nfs_commit_shares,", "\t.truncate_shares = nfs_truncate_shares,", "};", "const sa_fstype_t libshare_smb_type = {", "\t.enable_share = smb_enable_share,", "\t.disable_share = smb_disable_share,", "\t.is_shared = smb_is_share_active,", "\t.validate_shareopts = smb_validate_shareopts,", "\t.commit_shares = smb_update_shares,", "};" ] } ], "type": "fnptr-global-struct-array" }
null
null
null
null
null
null
End of preview. Expand in Data Studio
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

CG-Bench: A Call Graph Construction Benchmark for Language Models

License: MIT Paper

πŸ“„ Paper: CG-Bench: Can Language Models Assist Call Graph Construction in the Real World? - Published at LMPL@SPLASH2025

CG-Bench is a comprehensive benchmark dataset designed to evaluate the capabilities of Large Language Models (LLMs) in assisting with call graph construction in real-world C/C++ codebases. The benchmark focuses specifically on challenging indirect function calls through function pointers, which are notoriously difficult for traditional static analysis tools to resolve.

πŸ“‹ Overview

Call graph construction is a fundamental program analysis technique crucial for various software engineering tasks including debugging, optimization, security analysis, and program comprehension. While direct function calls are straightforward to analyze, indirect calls through function pointers present significant challenges for automated tools.

This benchmark provides:

  • Real-world complexity: Examples extracted from popular open-source projects
  • Diverse patterns: Multiple categories of function pointer usage patterns
  • Structured format: Consistent annotation format for evaluation
  • Comprehensive coverage: 104 examples across 7 major open-source projects

πŸ—‚οΈ Dataset Structure

Projects Included

The benchmark includes examples from seven major C/C++ projects:

Project Domain Lines of Code(KLoC) Description
openssh Security ~120 Secure Shell (SSH) protocol implementation
curl Networking ~182 Command line tool and library for transferring data
redis Database ~200 In-memory data structure store
zfs File System ~380 ZFS file system implementation
wrk Benchmarking ~601 HTTP benchmarking tool
ffmpeg Multimedia ~1,257 Complete multimedia framework
gcc Compiler ~6,200 GNU Compiler Collection
Total All Domains ~8,940 7 major open-source projects

Function Pointer Categories

The benchmark categorizes function pointer usage patterns into 11 distinct types:

  1. fnptr-callback (15 examples): Function pointers used as callbacks
  2. fnptr-cast (7 examples): Function pointers with type casting
  3. fnptr-dynamic-call (5 examples): Dynamically resolved function calls
  4. fnptr-global-array (6 examples): Function pointers in global arrays
  5. fnptr-global-struct-array (12 examples): Function pointers in arrays within global structures
  6. fnptr-global-struct (11 examples): Function pointers in global structures
  7. fnptr-library (20 examples): Function pointers in library interfaces
  8. fnptr-only (12 examples): Basic function pointer calls without complex patterns
  9. fnptr-struct (14 examples): Function pointers stored in structures
  10. fnptr-varargs (1 example): Function pointers with variable arguments
  11. fnptr-virtual (1 example): Virtual function-like patterns in C

πŸ“ Repository Contents

CG-Bench/
β”œβ”€β”€ README.md                         # This file
β”œβ”€β”€ LICENSE                           # MIT License
β”œβ”€β”€ projects.md                       # Detailed project statistics
β”œβ”€β”€ extract_from_markdowns.py         # Data extraction script
β”œβ”€β”€ fnptr-*.md                        # Category-specific examples
└── CG_Bench_Can_Language_Models_Assist_Call_Graph_Construction_in_the_Real_World.pdf

Example Format

Each example follows a consistent structure:

# Example N

## Callsite
*Full path and location of the function pointer call*

fnptr: *function_pointer_name*
targets: target_function1, target_function2, ...

## Related Code Snippets
```c
// Relevant code context showing the function pointer usage

πŸš€ Usage

Extracting Benchmark Data

To generate a structured JSON dataset from the markdown files:

python3 extract_from_markdowns.py

This creates cgbench.json containing all examples in a structured format suitable for evaluation.

Data Format

The generated JSON follows this structure:

{
  "project_name": {
    "callsite_path": {
      "callsite": "function_pointer_name",
      "type": "category",
      "chain_summary": [
        {
          "source_code": ["line1", "line2", ...],
          "parent": ""
        }
      ],
      "callees": {
        "targets": {
          "target_function": ""
        }
      }
    }
  }
}

πŸ“Š Benchmark Statistics

  • Total Examples: 104
  • Project Categories: 7 major open-source projects
  • Function Pointer Patterns: 11 distinct categories
  • Code Contexts: Multiple code snippets per example showing usage patterns
  • Real-world Complexity: Examples from production codebases

🎯 Use Cases

This benchmark is designed for:

  1. LLM Evaluation: Assessing language models' ability to understand complex code patterns
  2. Tool Development: Benchmarking static analysis tools for call graph construction
  3. Research: Studying function pointer resolution in real-world codebases
  4. Education: Understanding various function pointer usage patterns in C/C++

πŸ“– Paper Reference

This benchmark accompanies the research paper: "CG-Bench: Can Language Models Assist Call Graph Construction in the Real World?"

The paper provides detailed methodology, evaluation results, and analysis of LLM performance on call graph construction tasks.

🀝 Contributing

We welcome contributions to expand the benchmark! Please consider:

  • Adding examples from additional open-source projects
  • Identifying new function pointer usage patterns
  • Improving the extraction and annotation process
  • Reporting issues or inconsistencies

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Citation

If you use this benchmark in your research, please cite:

@inproceedings{cgbench2025,
  title={CG-Bench: Can Language Models Assist Call Graph Construction in the Real World?},
  author={[Authors]},
  booktitle={Proceedings of the 1st ACM SIGPLAN International Workshop on Language Models for Programming (LMPL 2025)},
  year={2025},
  publisher={ACM},
  address={New York, NY, USA},
  url={https://conf.researchr.org/home/icfp-splash-2025/lmpl-2025},
  note={Co-located with SPLASH 2025}
}

πŸ“ž Contact

For questions or collaboration opportunities, please open an issue on GitHub or contact the maintainers.


Keywords: Call Graph Construction, Function Pointers, Static Analysis, Large Language Models, C/C++ Analysis, Software Engineering, Program Analysis

Downloads last month
2