Home
last modified time | relevance | path

Searched refs:nl_sock (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/lib/thermal/
Dthermal_nl.h16 struct nl_sock *sk_event;
17 struct nl_sock *sk_sampling;
18 struct nl_sock *sk_cmd;
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,
Dthermal_nl.c55 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
147 struct nl_sock *sock; in nl_thermal_connect()
166 *nl_sock = sock; in nl_thermal_connect()
178 void nl_thermal_disconnect(struct nl_sock *nl_sock, struct nl_cb *nl_cb) in nl_thermal_disconnect() argument
180 nl_close(nl_sock); in nl_thermal_disconnect()
181 nl_socket_free(nl_sock); 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()
[all …]
/linux-6.1.9/drivers/infiniband/core/
Dnetlink.c57 return netlink_has_listeners(rnet->nl_sock, group); in rdma_nl_chk_listeners()
267 err = netlink_unicast(rnet->nl_sock, skb, pid, MSG_DONTWAIT); in rdma_nl_unicast()
277 err = netlink_unicast(rnet->nl_sock, skb, pid, 0); in rdma_nl_unicast_wait()
287 return nlmsg_multicast(rnet->nl_sock, skb, 0, group, flags); in rdma_nl_multicast()
322 rnet->nl_sock = nls; in rdma_nl_net_init()
328 netlink_kernel_release(rnet->nl_sock); in rdma_nl_net_exit()
Dcore_priv.h67 struct sock *nl_sock; member
/linux-6.1.9/tools/power/x86/intel-speed-select/
Dhfi-events.c50 struct nl_sock *nl_handle;
246 struct nl_sock *sock; in hfi_main()
/linux-6.1.9/Documentation/networking/
Dl2tp.rst264 struct nl_sock *nl_sock;
267 nl_sock = nl_socket_alloc();
268 genl_connect(nl_sock);
269 genl_id = genl_ctrl_resolve(nl_sock, L2TP_GENL_NAME);
/linux-6.1.9/Documentation/userspace-api/
Dvduse.rst53 struct nl_sock *nlsock;