Home
last modified time | relevance | path

Searched refs:dr (Results 1 – 6 of 6) sorted by relevance

/net/
Ddevres.c24 struct net_device_devres *dr; in devm_alloc_etherdev_mqs() local
26 dr = devres_alloc(devm_free_netdev, sizeof(*dr), GFP_KERNEL); in devm_alloc_etherdev_mqs()
27 if (!dr) in devm_alloc_etherdev_mqs()
30 dr->ndev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); in devm_alloc_etherdev_mqs()
31 if (!dr->ndev) { in devm_alloc_etherdev_mqs()
32 devres_free(dr); in devm_alloc_etherdev_mqs()
36 devres_add(dev, dr); in devm_alloc_etherdev_mqs()
38 return dr->ndev; in devm_alloc_etherdev_mqs()
69 struct net_device_devres *dr; in devm_register_netdev() local
80 dr = devres_alloc(devm_unregister_netdev, sizeof(*dr), GFP_KERNEL); in devm_register_netdev()
[all …]
/net/sunrpc/
Dsvc_xprt.c533 static void free_deferred(struct svc_xprt *xprt, struct svc_deferred_req *dr) in free_deferred() argument
535 if (!dr) in free_deferred()
538 xprt->xpt_ops->xpo_release_ctxt(xprt, dr->xprt_ctxt); in free_deferred()
539 kfree(dr); in free_deferred()
1049 struct svc_deferred_req *dr; in svc_delete_xprt() local
1066 while ((dr = svc_deferred_dequeue(xprt)) != NULL) in svc_delete_xprt()
1067 free_deferred(xprt, dr); in svc_delete_xprt()
1170 struct svc_deferred_req *dr = in svc_revisit() local
1172 struct svc_xprt *xprt = dr->xprt; in svc_revisit()
1178 trace_svc_defer_drop(dr); in svc_revisit()
[all …]
Dcache.c627 struct thread_deferred_req *dr = in cache_restart_thread() local
629 complete(&dr->completion); in cache_restart_thread()
/net/xdp/
Dxsk_diag.c29 struct xdp_diag_ring dr = {}; in xsk_diag_put_ring() local
31 dr.entries = queue->nentries; in xsk_diag_put_ring()
32 return nla_put(nlskb, nl_type, sizeof(dr), &dr); in xsk_diag_put_ring()
/net/ipv4/
Dinet_timewait_sock.c156 struct inet_timewait_death_row *dr, in inet_twsk_alloc() argument
161 if (atomic_read(&dr->tw_count) >= dr->sysctl_max_tw_buckets) in inet_twsk_alloc()
169 tw->tw_dr = dr; in inet_twsk_alloc()
/net/bluetooth/
Dhci_core.c2014 struct hci_dev_req dr; in hci_dev_cmd() local
2017 if (copy_from_user(&dr, arg, sizeof(dr))) in hci_dev_cmd()
2020 hdev = hci_dev_get(dr.dev_id); in hci_dev_cmd()
2046 err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, in hci_dev_cmd()
2058 err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, in hci_dev_cmd()
2064 err = hci_req_sync(hdev, hci_encrypt_req, dr.dev_opt, in hci_dev_cmd()
2069 err = hci_req_sync(hdev, hci_scan_req, dr.dev_opt, in hci_dev_cmd()
2076 hci_update_scan_state(hdev, dr.dev_opt); in hci_dev_cmd()
2080 err = hci_req_sync(hdev, hci_linkpol_req, dr.dev_opt, in hci_dev_cmd()
2085 hdev->link_mode = ((__u16) dr.dev_opt) & in hci_dev_cmd()
[all …]