Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/lib/thermal/
A 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,
A Dthermal_nl.c113 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
195 if (nl_socket_drop_membership(nl_sock, mcid)) 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-6.3-rc2/drivers/infiniband/core/
A 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()
A Dcore_priv.h67 struct sock *nl_sock; member
/linux-6.3-rc2/tools/power/x86/intel-speed-select/
A Dhfi-events.c50 struct nl_sock *nl_handle;
246 struct nl_sock *sock; in hfi_main()
/linux-6.3-rc2/Documentation/networking/
A 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.3-rc2/Documentation/userspace-api/
A Dvduse.rst53 struct nl_sock *nlsock;

Completed in 39 milliseconds