Home
last modified time | relevance | path

Searched refs:socketmap (Results 1 – 4 of 4) sorted by relevance

/xen/tools/xl/
A Dxl_psr.c108 libxl_bitmap *socketmap) in psr_cmt_print_domain_info() argument
121 libxl_for_each_set_bit(socketid, *socketmap) { in psr_cmt_print_domain_info()
146 libxl_bitmap socketmap; in psr_cmt_show() local
160 libxl_bitmap_init(&socketmap); in psr_cmt_show()
161 libxl_socket_bitmap_alloc(ctx, &socketmap, 0); in psr_cmt_show()
162 rc = libxl_get_online_socketmap(ctx, &socketmap); in psr_cmt_show()
178 libxl_for_each_set_bit(socketid, socketmap) in psr_cmt_show()
185 libxl_for_each_set_bit(socketid, socketmap) { in psr_cmt_show()
209 psr_cmt_print_domain_info(&dominfo, type, &socketmap); in psr_cmt_show()
221 psr_cmt_print_domain_info(list + i, type, &socketmap); in psr_cmt_show()
[all …]
/xen/tools/libxl/
A Dlibxl_psr.c502 libxl_bitmap socketmap; in libxl_psr_get_hw_info() local
507 libxl_bitmap_init(&socketmap); in libxl_psr_get_hw_info()
517 libxl_socket_bitmap_alloc(ctx, &socketmap, nr_sockets); in libxl_psr_get_hw_info()
518 rc = libxl_get_online_socketmap(ctx, &socketmap); in libxl_psr_get_hw_info()
526 libxl_for_each_set_bit(socketid, socketmap) { in libxl_psr_get_hw_info()
542 libxl_bitmap_dispose(&socketmap); in libxl_psr_get_hw_info()
A Dlibxl_utils.h160 int libxl_socket_bitmap_alloc(libxl_ctx *ctx, libxl_bitmap *socketmap,
163 int libxl_get_online_socketmap(libxl_ctx *ctx, libxl_bitmap *socketmap);
A Dlibxl_utils.c877 int libxl_socket_bitmap_alloc(libxl_ctx *ctx, libxl_bitmap *socketmap, in libxl_socket_bitmap_alloc() argument
897 libxl_bitmap_alloc(ctx, socketmap, max_sockets); in libxl_socket_bitmap_alloc()
905 int libxl_get_online_socketmap(libxl_ctx *ctx, libxl_bitmap *socketmap) in libxl_get_online_socketmap() argument
916 libxl_bitmap_set_none(socketmap); in libxl_get_online_socketmap()
919 && !libxl_bitmap_test(socketmap, tinfo[i].socket)) in libxl_get_online_socketmap()
920 libxl_bitmap_set(socketmap, tinfo[i].socket); in libxl_get_online_socketmap()

Completed in 9 milliseconds