Lines Matching refs:widget_info

128     xwidget_info_t          widget_info;  in xwidget_to_provider_fns()  local
131 widget_info = xwidget_info_get(xconn); in xwidget_to_provider_fns()
132 ASSERT(widget_info != NULL); in xwidget_to_provider_fns()
134 provider_fns = xwidget_info_pops_get(widget_info); in xwidget_to_provider_fns()
718 xwidget_info_t widget_info; in xwidget_info_get() local
720 widget_info = (xwidget_info_t) in xwidget_info_get()
723 return (widget_info); in xwidget_info_get()
727 xwidget_info_set(vertex_hdl_t xwidget, xwidget_info_t widget_info) in xwidget_info_set() argument
729 if (widget_info != NULL) in xwidget_info_set()
730 widget_info->w_fingerprint = widget_info_fingerprint; in xwidget_info_set()
732 hwgraph_fastinfo_set(xwidget, (arbitrary_info_t) widget_info); in xwidget_info_set()
739 (arbitrary_info_t) widget_info); in xwidget_info_set()
866 xwidget_info_t widget_info; in xwidget_register() local
870 NEW(widget_info); in xwidget_register()
873 widget_info->w_vertex = widget; in xwidget_register()
874 widget_info->w_id = id; in xwidget_register()
875 widget_info->w_master = master; in xwidget_register()
876 widget_info->w_masterid = targetid; in xwidget_register()
877 widget_info->w_hwid = *hwid; /* structure copy */ in xwidget_register()
878 widget_info->w_efunc = 0; in xwidget_register()
879 widget_info->w_einfo = 0; in xwidget_register()
886 widget_info->w_name = kmalloc(strlen(s) + 1, GFP_KERNEL); in xwidget_register()
887 strcpy(widget_info->w_name,s); in xwidget_register()
889 xwidget_info_set(widget, widget_info); in xwidget_register()
908 xwidget_info_t widget_info; in xwidget_unregister() local
912 if (!(widget_info = xwidget_info_get(widget))) in xwidget_unregister()
920 hwid = &(widget_info->w_hwid); in xwidget_unregister()
923 (void)kfree(widget_info->w_name); in xwidget_unregister()
924 memset((void *)widget_info, 0, sizeof(widget_info)); in xwidget_unregister()
925 DEL(widget_info); in xwidget_unregister()