Searched refs:nl_cb (Results 1 – 7 of 7) sorted by relevance
/linux/tools/lib/thermal/ |
H A D | thermal_nl.h | 19 struct nl_cb *cb_cmd; 20 struct nl_cb *cb_event; 21 struct nl_cb *cb_sampling; 32 extern int nl_subscribe_thermal(struct nl_sock *nl_sock, struct nl_cb *nl_cb, 35 extern int nl_unsubscribe_thermal(struct nl_sock *nl_sock, struct nl_cb *nl_cb, 38 extern int nl_thermal_connect(struct nl_sock **nl_sock, struct nl_cb **nl_cb); 40 extern void nl_thermal_disconnect(struct nl_sock *nl_sock, struct nl_cb *nl_cb); 42 extern int nl_send_msg(struct nl_sock *sock, struct nl_cb *nl_cb, struct nl_msg *msg,
|
H A D | thermal_nl.c | 55 int nl_send_msg(struct nl_sock *sock, struct nl_cb *cb, struct nl_msg *msg, in nl_send_msg() 113 static int nl_get_multicast_id(struct nl_sock *sock, struct nl_cb *cb, in nl_get_multicast_id() 144 int nl_thermal_connect(struct nl_sock **nl_sock, struct nl_cb **nl_cb) in nl_thermal_connect() argument 146 struct nl_cb *cb; in nl_thermal_connect() 167 *nl_cb = cb; in nl_thermal_connect() 178 void nl_thermal_disconnect(struct nl_sock *nl_sock, struct nl_cb *nl_cb) in nl_thermal_disconnect() argument 182 nl_cb_put(nl_cb); in nl_thermal_disconnect() 185 int nl_unsubscribe_thermal(struct nl_sock *nl_sock, struct nl_cb *nl_cb, in nl_unsubscribe_thermal() argument 190 mcid = nl_get_multicast_id(nl_sock, nl_cb, THERMAL_GENL_FAMILY_NAME, in nl_unsubscribe_thermal() 201 int nl_subscribe_thermal(struct nl_sock *nl_sock, struct nl_cb *nl_cb, in nl_subscribe_thermal() argument [all …]
|
/linux/tools/power/x86/intel-speed-select/ |
H A D | hfi-events.c | 51 struct nl_cb *nl_cb; member 88 struct nl_cb *cb; in send_and_recv_msgs() 91 cb = nl_cb_clone(drv->nl_cb); in send_and_recv_msgs() 247 struct nl_cb *cb; in hfi_main() 268 drv.nl_cb = cb = nl_cb_alloc(NL_CB_DEFAULT); in hfi_main() 269 if (drv.nl_cb == NULL) { in hfi_main()
|
/linux/net/netlabel/ |
H A D | netlabel_calipso.c | 37 struct netlink_callback *nl_cb; member 222 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_calipso_listall_cb() 261 cb_arg.nl_cb = cb; in netlbl_calipso_listall()
|
H A D | netlabel_cipso_v4.c | 36 struct netlink_callback *nl_cb; member 619 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_cipsov4_listall_cb() 658 cb_arg.nl_cb = cb; in netlbl_cipsov4_listall()
|
H A D | netlabel_mgmt.c | 43 struct netlink_callback *nl_cb; member 485 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_mgmt_listall_cb() 522 cb_arg.nl_cb = cb; in netlbl_mgmt_listall()
|
H A D | netlabel_unlabeled.c | 94 struct netlink_callback *nl_cb; member 1077 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_unlabel_staticlist_gen() 1177 cb_arg.nl_cb = cb; in netlbl_unlabel_staticlist() 1262 cb_arg.nl_cb = cb; in netlbl_unlabel_staticlistdef()
|