Home
last modified time | relevance | path

Searched refs:hnd (Results 1 – 14 of 14) sorted by relevance

/freebsd/usr.sbin/pmc/
H A Dpmc.c86 struct cmd_handler *hnd; in disp_lookup() local
88 for (hnd = disp_table; hnd->ch_name != NULL; hnd++) in disp_lookup()
89 if (strcmp(hnd->ch_name, name) == 0) in disp_lookup()
90 return (hnd->ch_fn); in disp_lookup()
/freebsd/sys/kern/
H A Dsubr_csan.c694 return (bus_space_map(tag, hnd, size, flags, handlep)); in kcsan_bus_space_map()
702 bus_space_unmap(tag, hnd, size); in kcsan_bus_space_unmap()
731 bus_space_free(tag, hnd, size); in kcsan_bus_space_free()
739 bus_space_barrier(tag, hnd, offset, size, flags); in kcsan_bus_space_barrier()
744 bus_space_handle_t hnd, bus_size_t offset) \
746 return (bus_space_read##func##_##width(tag, hnd, \
752 bus_space_handle_t hnd, bus_size_t size, type *buf, \
757 bus_space_read_##func##_##width(tag, hnd, size, buf, \
793 bus_space_handle_t hnd, bus_size_t offset, type value) \
805 bus_space_write_##func##_##width(tag, hnd, size, buf, \
[all …]
H A Dsubr_asan.c900 return (bus_space_map(tag, hnd, size, flags, handlep)); in kasan_bus_space_map()
907 bus_space_unmap(tag, hnd, size); in kasan_bus_space_unmap()
921 bus_space_free(tag, hnd, size); in kasan_bus_space_free()
928 bus_space_barrier(tag, hnd, offset, size, flags); in kasan_bus_space_barrier()
933 bus_space_handle_t hnd, bus_size_t offset) \
935 return (bus_space_read##func##_##width(tag, hnd, \
941 bus_space_handle_t hnd, bus_size_t size, type *buf, \
946 bus_space_read_##func##_##width(tag, hnd, size, buf, \
994 bus_space_write_##func##_##width(tag, hnd, size, buf, \
1049 return (bus_space_peek_##width(tag, hnd, offset, \
[all …]
H A Dsubr_msan.c1363 return (bus_space_map(tag, hnd, size, flags, handlep)); in kmsan_bus_space_map()
1370 bus_space_unmap(tag, hnd, size); in kmsan_bus_space_unmap()
1384 bus_space_free(tag, hnd, size); in kmsan_bus_space_free()
1391 bus_space_barrier(tag, hnd, offset, size, flags); in kmsan_bus_space_barrier()
1402 bus_space_handle_t hnd, bus_size_t offset) \
1406 kmsan_shadow_fill((uintptr_t)(hnd + offset), \
1408 ret = bus_space_read##func##_##width(tag, hnd, offset); \
1415 bus_space_handle_t hnd, bus_size_t size, type *buf, \
1420 bus_space_read_##func##_##width(tag, hnd, size, buf, \
1468 bus_space_write_##func##_##width(tag, hnd, size, buf, \
[all …]
/freebsd/sys/contrib/xen/arch-x86/
H A Dxen-x86_32.h100 #define set_xen_guest_handle_raw(hnd, val) \ argument
101 do { if ( sizeof(hnd) == 8 ) *(uint64_t *)&(hnd) = 0; \
102 (hnd).p = val; \
H A Dxen.h56 #define set_xen_guest_handle_raw(hnd, val) do { (hnd).p = val; } while (0) argument
57 #define set_xen_guest_handle(hnd, val) set_xen_guest_handle_raw(hnd, val) argument
/freebsd/tests/sys/netgraph/
H A Dutil.c179 struct data_handler *hnd; in handle_data() local
184 SLIST_FOREACH(hnd, &data_head, next) in handle_data()
186 if (0 == strcmp(hnd->hook, hook)) in handle_data()
190 if (hnd != NULL) in handle_data()
191 (*(hnd->handler)) (data, len, ctx); in handle_data()
/freebsd/sys/contrib/xen/
H A Darch-arm.h196 #define set_xen_guest_handle_raw(hnd, val) \ argument
198 __typeof__(&(hnd)) _sxghr_tmp = &(hnd); \
202 #define set_xen_guest_handle(hnd, val) set_xen_guest_handle_raw(hnd, val) argument
/freebsd/sys/riscv/include/
H A Dbus.h455 bus_space_handle_t hnd, bus_size_t offset, type *value) \
458 tmp = bus_space_read_##width(tag, hnd, offset); \
470 bus_space_handle_t hnd, bus_size_t offset, type value) \
472 bus_space_write_##width(tag, hnd, offset, value); \
/freebsd/sys/powerpc/include/
H A Dbus.h466 bus_space_handle_t hnd, bus_size_t offset, type *value) \
469 tmp = bus_space_read_##width(tag, hnd, offset); \
481 bus_space_handle_t hnd, bus_size_t offset, type value) \
483 bus_space_write_##width(tag, hnd, offset, value); \
/freebsd/contrib/ntp/ntpd/
H A Drefclock_bancomm.c222 SYMMT_PCI_HANDLE hnd, in safeReadBinTime() argument
231 rc = bcReadBinTime(hnd, &t1, &t2, p3); in safeReadBinTime()
/freebsd/sys/x86/include/
H A Dbus.h1051 bus_space_handle_t hnd, bus_size_t offset, type *value) \
1054 tmp = bus_space_read_##width(tag, hnd, offset); \
1068 bus_space_handle_t hnd, bus_size_t offset, type value) \
1070 bus_space_write_##width(tag, hnd, offset, value); \
/freebsd/sys/arm/include/
H A Dbus.h747 bus_space_handle_t hnd, bus_size_t offset, type *value) \
750 tmp = bus_space_read_##width(tag, hnd, offset); \
762 bus_space_handle_t hnd, bus_size_t offset, type value) \
764 bus_space_write_##width(tag, hnd, offset, value); \
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_ndis.c2419 DWORD i, hnd, len; in wpa_driver_ndis_set_wzc() local
2493 len = sizeof(hnd); in wpa_driver_ndis_set_wzc()
2495 (PUCHAR) &hnd, &len); in wpa_driver_ndis_set_wzc()
2506 if (!DeactivateDevice((HANDLE) hnd)) { in wpa_driver_ndis_set_wzc()