/net/bridge/ |
D | br_sysfs_br.c | 31 static ssize_t store_bridge_parm(struct device *d, in store_bridge_parm() 67 static ssize_t forward_delay_show(struct device *d, in forward_delay_show() 80 static ssize_t forward_delay_store(struct device *d, in forward_delay_store() 88 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show() 101 static ssize_t hello_time_store(struct device *d, in hello_time_store() 109 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show() 122 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store() 129 static ssize_t ageing_time_show(struct device *d, in ageing_time_show() 142 static ssize_t ageing_time_store(struct device *d, in ageing_time_store() 150 static ssize_t stp_state_show(struct device *d, in stp_state_show() [all …]
|
/net/rds/ |
D | ib.c | 128 static int rds_ib_add_one(struct ib_device *device) in rds_ib_add_one() argument 134 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one() 138 if (!(device->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS)) in rds_ib_add_one() 142 ibdev_to_node(device)); in rds_ib_add_one() 153 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one() 154 rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); in rds_ib_add_one() 157 !!(device->attrs.device_cap_flags & in rds_ib_add_one() 159 !!(device->attrs.odp_caps.per_transport_caps.rc_odp_caps & in rds_ib_add_one() 161 !!(device->attrs.odp_caps.per_transport_caps.rc_odp_caps & in rds_ib_add_one() 164 rds_ibdev->max_1m_mrs = device->attrs.max_mr ? in rds_ib_add_one() [all …]
|
/net/atm/ |
D | atm_sysfs.c | 14 static ssize_t type_show(struct device *cdev, in type_show() 22 static ssize_t address_show(struct device *cdev, in address_show() 30 static ssize_t atmaddress_show(struct device *cdev, in atmaddress_show() 53 static ssize_t atmindex_show(struct device *cdev, in atmindex_show() 61 static ssize_t carrier_show(struct device *cdev, in carrier_show() 70 static ssize_t link_rate_show(struct device *cdev, in link_rate_show() 111 static int atm_uevent(struct device *cdev, struct kobj_uevent_env *env) in atm_uevent() 128 static void atm_release(struct device *cdev) in atm_release() 141 int atm_register_sysfs(struct atm_dev *adev, struct device *parent) in atm_register_sysfs() 143 struct device *cdev = &adev->class_dev; in atm_register_sysfs() [all …]
|
D | br2684.c | 68 struct net_device *device; member 189 pr_debug("(vcc %p ; net_dev %p )\n", vcc, brvcc->device); in br2684_pop() 194 netif_wake_queue(brvcc->device); in br2684_pop() 262 netif_stop_queue(brvcc->device); in br2684_xmit_vcc() 265 netif_wake_queue(brvcc->device); in br2684_xmit_vcc() 279 netif_wake_queue(brvcc->device); in br2684_release_cb() 323 netif_stop_queue(brvcc->device); in br2684_start_xmit() 411 pr_debug("removing VCC %p from dev %p\n", brvcc, brvcc->device); in br2684_close_vcc() 426 struct net_device *net_dev = brvcc->device; in br2684_push() 587 brvcc->device = net_dev; in br2684_regvcc()
|
/net/wireless/ |
D | sysfs.c | 22 struct device *dev) in dev_to_rdev() 28 static ssize_t name ## _show(struct device *dev, \ 40 static ssize_t name_show(struct device *dev, in name_show() 50 static ssize_t addresses_show(struct device *dev, in addresses_show() 78 static void wiphy_dev_release(struct device *dev) in wiphy_dev_release() 94 static int wiphy_suspend(struct device *dev) in wiphy_suspend() 123 static int wiphy_resume(struct device *dev) in wiphy_resume() 151 static const void *wiphy_namespace(struct device *d) in wiphy_namespace()
|
/net/ieee802154/ |
D | sysfs.c | 20 dev_to_rdev(struct device *dev) in dev_to_rdev() 27 static ssize_t name ## _show(struct device *dev, \ 37 static ssize_t name_show(struct device *dev, in name_show() 47 static void wpan_phy_release(struct device *dev) in wpan_phy_release() 62 static int wpan_phy_suspend(struct device *dev) in wpan_phy_suspend() 76 static int wpan_phy_resume(struct device *dev) in wpan_phy_resume()
|
/net/core/ |
D | net-sysfs.c | 42 static ssize_t netdev_show(const struct device *dev, in netdev_show() 63 static ssize_t field##_show(struct device *dev, \ 78 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store() 115 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show() 129 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show() 144 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show() 158 static ssize_t broadcast_show(struct device *dev, in broadcast_show() 176 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store() 190 static ssize_t carrier_show(struct device *dev, in carrier_show() 202 static ssize_t speed_show(struct device *dev, in speed_show() [all …]
|
/net/ |
D | devres.c | 14 static void devm_free_netdev(struct device *dev, void *this) in devm_free_netdev() 21 struct net_device *devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv, in devm_alloc_etherdev_mqs() 42 static void devm_unregister_netdev(struct device *dev, void *this) in devm_unregister_netdev() 49 static int netdev_devres_match(struct device *dev, void *this, void *match_data) in netdev_devres_match() 67 int devm_register_netdev(struct device *dev, struct net_device *ndev) in devm_register_netdev()
|
/net/bluetooth/ |
D | hci_sysfs.c | 11 static void bt_link_release(struct device *dev) in bt_link_release() 27 static int __match_tty(struct device *dev, void *data) in __match_tty() 75 struct device *dev; in hci_conn_del_sysfs() 87 static void bt_host_release(struct device *dev) in bt_host_release() 105 struct device *dev = &hdev->dev; in hci_init_sysfs()
|
/net/rfkill/ |
D | core.c | 60 struct device dev; 683 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() 692 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show() 701 static ssize_t index_show(struct device *dev, struct device_attribute *attr, in index_show() 710 static ssize_t persistent_show(struct device *dev, in persistent_show() 719 static ssize_t hard_show(struct device *dev, struct device_attribute *attr, in hard_show() 728 static ssize_t soft_show(struct device *dev, struct device_attribute *attr, in soft_show() 736 static ssize_t soft_store(struct device *dev, struct device_attribute *attr, in soft_store() 761 static ssize_t hard_block_reasons_show(struct device *dev, in hard_block_reasons_show() 781 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show() [all …]
|
/net/l3mdev/ |
D | Kconfig | 3 # Configuration for L3 master device support 7 bool "L3 Master device support" 10 This module provides glue between core networking code and device
|
/net/tls/ |
D | tls_toe.c | 125 void tls_toe_register_device(struct tls_toe_device *device) in tls_toe_register_device() argument 128 list_add_tail(&device->dev_list, &device_list); in tls_toe_register_device() 133 void tls_toe_unregister_device(struct tls_toe_device *device) in tls_toe_unregister_device() argument 136 list_del(&device->dev_list); in tls_toe_unregister_device()
|
/net/switchdev/ |
D | Kconfig | 3 # Configuration for Switch device support 7 bool "Switch (and switch-ish) device support" 10 This module provides glue between core networking code and device
|
/net/batman-adv/ |
D | trace.h | 41 __string(device, bat_priv->soft_iface->name) 47 __assign_str(device, bat_priv->soft_iface->name); 58 __get_str(device),
|
/net/9p/ |
D | trans_rdma.c | 304 ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize, in recv_done() 351 ib_dma_unmap_single(rdma->cm_id->device, in send_done() 393 c->busa = ib_dma_map_single(rdma->cm_id->device, in post_recv() 396 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa)) in post_recv() 412 ib_dma_unmap_single(rdma->cm_id->device, c->busa, in post_recv() 488 c->busa = ib_dma_map_single(rdma->cm_id->device, in rdma_request() 491 if (ib_dma_mapping_error(rdma->cm_id->device, c->busa)) { in rdma_request() 527 ib_dma_unmap_single(rdma->cm_id->device, c->busa, in rdma_request() 700 rdma->cq = ib_alloc_cq_any(rdma->cm_id->device, client, in rdma_create_trans() 707 rdma->pd = ib_alloc_pd(rdma->cm_id->device, 0); in rdma_create_trans()
|
/net/sunrpc/xprtrdma/ |
D | verbs.c | 260 ep->re_id->device->name, sap); in rpcrdma_cm_event_handler() 297 ep->re_id->device->name, rdma_event_msg(event->event)); in rpcrdma_cm_event_handler() 388 struct ib_device *device; in rpcrdma_ep_create() local 405 device = id->device; in rpcrdma_ep_create() 412 rc = frwr_query_device(ep, device); in rpcrdma_ep_create() 436 ep->re_attr.send_cq = ib_alloc_cq_any(device, r_xprt, in rpcrdma_ep_create() 445 ep->re_attr.recv_cq = ib_alloc_cq_any(device, r_xprt, in rpcrdma_ep_create() 471 min_t(int, U8_MAX, device->attrs.max_qp_rd_atom); in rpcrdma_ep_create() 486 ep->re_pd = ib_alloc_pd(device, 0); in rpcrdma_ep_create() 1312 struct ib_device *device = r_xprt->rx_ep->re_id->device; in __rpcrdma_regbuf_dma_map() local [all …]
|
D | svc_rdma_sendto.c | 140 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc() 142 if (ib_dma_mapping_error(rdma->sc_pd->device, addr)) in svc_rdma_send_ctxt_alloc() 182 ib_dma_unmap_single(rdma->sc_pd->device, in svc_rdma_send_ctxts_destroy() 235 struct ib_device *device = rdma->sc_cm_id->device; in svc_rdma_send_ctxt_put() local 242 ib_dma_unmap_page(device, in svc_rdma_send_ctxt_put() 308 ib_dma_sync_single_for_device(rdma->sc_pd->device, in svc_rdma_send() 515 struct ib_device *dev = rdma->sc_cm_id->device; in svc_rdma_page_dma_map()
|
D | frwr_ops.c | 179 int frwr_query_device(struct rpcrdma_ep *ep, const struct ib_device *device) in frwr_query_device() argument 181 const struct ib_device_attr *attrs = &device->attrs; in frwr_query_device() 188 device->name); in frwr_query_device() 320 dma_nents = ib_dma_map_sg(ep->re_id->device, mr->mr_sg, mr->mr_nents, in frwr_map() 324 mr->mr_device = ep->re_id->device; in frwr_map()
|
/net/caif/ |
D | Kconfig | 35 tristate "CAIF GPRS Network device" 39 Say Y if you will be using a CAIF based GPRS network device. 41 If you select to build it as a built-in then the main CAIF device must 52 If you select to build it as a built-in then the main CAIF device must
|
/net/rose/ |
D | af_rose.c | 195 if (rose->device == dev) { in rose_kill_by_device() 211 if (rose->device == dev) { in rose_kill_by_device() 215 dev_put(rose->device); in rose_kill_by_device() 216 rose->device = NULL; in rose_kill_by_device() 628 rose->device = orose->device; in rose_make_new() 629 if (rose->device) in rose_make_new() 630 dev_hold(rose->device); in rose_make_new() 685 dev_put(rose->device); in rose_release() 686 rose->device = NULL; in rose_release() 738 rose->device = dev; in rose_bind() [all …]
|
/net/dsa/ |
D | dsa.c | 156 static int dev_is_class(struct device *dev, void *class) in dev_is_class() 164 static struct device *dev_find_class(struct device *parent, char *class) in dev_find_class() 174 struct net_device *dsa_dev_to_net_device(struct device *dev) in dsa_dev_to_net_device() 176 struct device *d; in dsa_dev_to_net_device()
|
/net/qrtr/ |
D | Kconfig | 25 tristate "TUN device for Qualcomm IPC Router" 27 Say Y here to expose a character device that allows user space to
|
/net/bluetooth/bnep/ |
D | bnep.h | 113 char device[16]; /* Name of the Ethernet device */ member 126 char device[16]; member
|
D | core.c | 542 static struct device *bnep_get_device(struct bnep_session *session) in bnep_get_device() 577 (*req->device) ? req->device : "bnep%d", in bnep_add_connection() 641 strcpy(req->device, dev->name); in bnep_add_connection() 680 strcpy(ci->device, s->dev->name); in __bnep_copy_ci()
|
/net/hsr/ |
D | Kconfig | 19 device will be sent in both directions on the ring (over both slave 26 frames sent over the PRP device will be sent to both networks giving
|