Home
last modified time | relevance | path

Searched refs:fmt_attr (Results 1 – 5 of 5) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_pmu.c55 struct amdgpu_pmu_event_attribute *fmt_attr; member
444 struct amdgpu_pmu_event_attribute **fmt_attr, in amdgpu_pmu_alloc_pmu_attrs() argument
449 *fmt_attr = kcalloc(config->num_formats, sizeof(**fmt_attr), in amdgpu_pmu_alloc_pmu_attrs()
452 if (!(*fmt_attr)) in amdgpu_pmu_alloc_pmu_attrs()
478 kfree(*fmt_attr); in amdgpu_pmu_alloc_pmu_attrs()
505 &pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
513 amdgpu_pmu_create_attrs(&pmu_entry->fmt_attr_group, pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
567 kfree(pmu_entry->fmt_attr); in init_pmu_entry_by_type_and_add()
588 kfree(pe->fmt_attr); in amdgpu_pmu_fini()
/openbsd/usr.sbin/bgpctl/
H A Dbgpctl.h57 const char *fmt_attr(uint8_t, int);
H A Doutput.c664 printf(" %s:", fmt_attr(c.flags, in show_communities()
788 printf(" %s: ", fmt_attr(type, flags)); in show_attr()
H A Doutput_json.c588 json_do_string("type", fmt_attr(type, -1)); in json_attr()
H A Dbgpctl.c902 fmt_attr(uint8_t type, int flags) in fmt_attr() function