/net/bluetooth/cmtp/ |
D | capi.c | 188 struct capi_ctr *ctrl = &session->ctrl; in cmtp_recv_interopmsg() local 242 if (!info && ctrl) { in cmtp_recv_interopmsg() 243 memcpy(&ctrl->profile, in cmtp_recv_interopmsg() 247 capi_ctr_ready(ctrl); in cmtp_recv_interopmsg() 256 if (!info && ctrl) { in cmtp_recv_interopmsg() 260 memset(ctrl->manu, 0, CAPI_MANUFACTURER_LEN); in cmtp_recv_interopmsg() 261 strncpy(ctrl->manu, in cmtp_recv_interopmsg() 271 if (!info && ctrl) { in cmtp_recv_interopmsg() 272 ctrl->version.majorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 16); in cmtp_recv_interopmsg() 273 ctrl->version.minorversion = CAPIMSG_U32(skb->data, CAPI_MSG_BASELEN + 20); in cmtp_recv_interopmsg() [all …]
|
D | cmtp.h | 91 struct capi_ctr ctrl; member
|
/net/bluetooth/ |
D | amp.c | 24 void amp_ctrl_get(struct amp_ctrl *ctrl) in amp_ctrl_get() argument 26 BT_DBG("ctrl %p orig refcnt %d", ctrl, in amp_ctrl_get() 27 atomic_read(&ctrl->kref.refcount)); in amp_ctrl_get() 29 kref_get(&ctrl->kref); in amp_ctrl_get() 34 struct amp_ctrl *ctrl = container_of(kref, struct amp_ctrl, kref); in amp_ctrl_destroy() local 36 BT_DBG("ctrl %p", ctrl); in amp_ctrl_destroy() 38 kfree(ctrl->assoc); in amp_ctrl_destroy() 39 kfree(ctrl); in amp_ctrl_destroy() 42 int amp_ctrl_put(struct amp_ctrl *ctrl) in amp_ctrl_put() argument 44 BT_DBG("ctrl %p orig refcnt %d", ctrl, in amp_ctrl_put() [all …]
|
D | a2mp.c | 349 struct amp_ctrl *ctrl; in a2mp_getinfo_rsp() local 359 ctrl = amp_ctrl_add(mgr, rsp->id); in a2mp_getinfo_rsp() 360 if (!ctrl) in a2mp_getinfo_rsp() 424 struct amp_ctrl *ctrl; in a2mp_getampassoc_rsp() local 440 ctrl = amp_ctrl_lookup(mgr, rsp->id); in a2mp_getampassoc_rsp() 441 if (ctrl) { in a2mp_getampassoc_rsp() 446 amp_ctrl_put(ctrl); in a2mp_getampassoc_rsp() 450 ctrl->assoc = assoc; in a2mp_getampassoc_rsp() 451 ctrl->assoc_len = assoc_len; in a2mp_getampassoc_rsp() 452 ctrl->assoc_rem_len = assoc_len; in a2mp_getampassoc_rsp() [all …]
|
D | amp.h | 27 int amp_ctrl_put(struct amp_ctrl *ctrl); 28 void amp_ctrl_get(struct amp_ctrl *ctrl);
|
/net/caif/ |
D | cfctrl.c | 22 static int handle_loop(struct cfctrl *ctrl, in handle_loop() argument 27 static int handle_loop(struct cfctrl *ctrl, 31 static void cfctrl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, 63 struct cfctrl *ctrl = container_obj(layer); in cfctrl_remove() local 65 spin_lock_bh(&ctrl->info_list_lock); in cfctrl_remove() 66 list_for_each_entry_safe(p, tmp, &ctrl->list, list) { in cfctrl_remove() 70 spin_unlock_bh(&ctrl->info_list_lock); in cfctrl_remove() 129 static void cfctrl_insert_req(struct cfctrl *ctrl, in cfctrl_insert_req() argument 132 spin_lock_bh(&ctrl->info_list_lock); in cfctrl_insert_req() 133 atomic_inc(&ctrl->req_seq_no); in cfctrl_insert_req() [all …]
|
D | cfsrvl.c | 28 static void cfservl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfservl_ctrlcmd() argument 36 switch (ctrl) { in cfservl_ctrlcmd() 39 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd() 44 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd() 84 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd() 87 pr_warn("Unexpected ctrl in cfsrvl (%d)\n", ctrl); in cfservl_ctrlcmd() 89 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd() 95 static int cfservl_modemcmd(struct cflayer *layr, enum caif_modemcmd ctrl) in cfservl_modemcmd() argument 106 switch (ctrl) { in cfservl_modemcmd()
|
D | cfcnfg.c | 57 struct cflayer *ctrl; member 86 this->ctrl = cfctrl_create(); in cfcnfg_create() 87 if (!this->ctrl) in cfcnfg_create() 90 resp = cfctrl_get_respfuncs(this->ctrl); in cfcnfg_create() 102 cfmuxl_set_uplayer(this->mux, this->ctrl, 0); in cfcnfg_create() 103 layer_set_dn(this->ctrl, this->mux); in cfcnfg_create() 104 layer_set_up(this->ctrl, this); in cfcnfg_create() 112 kfree(this->ctrl); in cfcnfg_create() 124 cfctrl_remove(cfg->ctrl); in cfcnfg_remove() 185 cfctrl_cancel_req(cfg->ctrl, adap_layer); in caif_disconnect_client() [all …]
|
D | cfmuxl.c | 44 static void cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, 246 static void cfmuxl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfmuxl_ctrlcmd() argument 257 if ((ctrl == _CAIF_CTRLCMD_PHYIF_DOWN_IND || in cfmuxl_ctrlcmd() 258 ctrl == CAIF_CTRLCMD_REMOTE_SHUTDOWN_IND) && in cfmuxl_ctrlcmd() 263 layer->ctrlcmd(layer, ctrl, phyid); in cfmuxl_ctrlcmd()
|
D | cfserl.c | 31 static void cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, 189 static void cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfserl_ctrlcmd() argument 192 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfserl_ctrlcmd()
|
D | cffrml.c | 30 static void cffrml_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, 169 static void cffrml_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cffrml_ctrlcmd() argument 173 layr->up->ctrlcmd(layr->up, ctrl, layr->id); in cffrml_ctrlcmd()
|
D | caif_usb.c | 78 static void cfusbl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, in cfusbl_ctrlcmd() argument 82 layr->up->ctrlcmd(layr->up, ctrl, layr->id); in cfusbl_ctrlcmd()
|
/net/iucv/ |
D | iucv.c | 301 struct iucv_cmd_control ctrl; member 337 return (ccode == 1) ? parm->ctrl.iprcode : ccode; in iucv_call_b2f0() 723 memcpy(parm->ctrl.ipuser, userdata, sizeof(parm->ctrl.ipuser)); in iucv_sever_pathid() 724 parm->ctrl.ippathid = pathid; in iucv_sever_pathid() 892 parm->ctrl.ippathid = path->pathid; in iucv_path_accept() 893 parm->ctrl.ipmsglim = path->msglim; in iucv_path_accept() 895 memcpy(parm->ctrl.ipuser, userdata, sizeof(parm->ctrl.ipuser)); in iucv_path_accept() 896 parm->ctrl.ipflags1 = path->flags; in iucv_path_accept() 901 path->msglim = parm->ctrl.ipmsglim; in iucv_path_accept() 902 path->flags = parm->ctrl.ipflags1; in iucv_path_accept() [all …]
|
/net/bluetooth/bnep/ |
D | bnep.h | 85 __u8 ctrl; member 92 __u8 ctrl; member 99 __u8 ctrl; member
|
D | core.c | 79 static int bnep_send_rsp(struct bnep_session *s, u8 ctrl, u16 resp) in bnep_send_rsp() argument 83 rsp.ctrl = ctrl; in bnep_send_rsp()
|
D | netdev.c | 72 r->ctrl = BNEP_FILTER_MULTI_ADDR_SET; in bnep_net_set_mc_list()
|
/net/bluetooth/rfcomm/ |
D | core.c | 812 BT_DBG("%p cmd %u", s, cmd->ctrl); in rfcomm_send_cmd() 824 cmd.ctrl = __ctrl(RFCOMM_SABM, 1); in rfcomm_send_sabm() 838 cmd.ctrl = __ctrl(RFCOMM_UA, 1); in rfcomm_send_ua() 852 cmd.ctrl = __ctrl(RFCOMM_DISC, 1); in rfcomm_send_disc() 872 cmd->ctrl = __ctrl(RFCOMM_DISC, 1); in rfcomm_queue_disc() 888 cmd.ctrl = __ctrl(RFCOMM_DM, 1); in rfcomm_send_dm() 905 hdr->ctrl = __ctrl(RFCOMM_UIH, 0); in rfcomm_send_nsc() 931 hdr->ctrl = __ctrl(RFCOMM_UIH, 0); in rfcomm_send_pn() 979 hdr->ctrl = __ctrl(RFCOMM_UIH, 0); in rfcomm_send_rpn() 1011 hdr->ctrl = __ctrl(RFCOMM_UIH, 0); in rfcomm_send_rls() [all …]
|
/net/llc/ |
D | llc_pdu.c | 225 u8 *ctrl; in llc_pdu_init_as_frmr_rsp() local 233 ctrl = (u8 *)&prev_pdu->ctrl_1; in llc_pdu_init_as_frmr_rsp() 234 FRMR_INFO_SET_REJ_CNTRL(frmr_info,ctrl); in llc_pdu_init_as_frmr_rsp()
|
/net/bluetooth/hidp/ |
D | core.c | 914 struct bt_sock *ctrl, *intr; in hidp_session_new() local 916 ctrl = bt_sk(ctrl_sock->sk); in hidp_session_new() 939 session->ctrl_mtu = min_t(uint, l2cap_pi(ctrl)->chan->omtu, in hidp_session_new() 940 l2cap_pi(ctrl)->chan->imtu); in hidp_session_new() 1309 struct bt_sock *ctrl, *intr; in hidp_verify_sockets() local 1322 ctrl = bt_sk(ctrl_sock->sk); in hidp_verify_sockets() 1325 if (ctrl->sk.sk_state != BT_CONNECTED || in hidp_verify_sockets()
|
/net/atm/ |
D | clip.c | 54 struct atmarp_ctrl *ctrl; in to_atmarpd() local 63 ctrl = (struct atmarp_ctrl *)skb_put(skb, sizeof(struct atmarp_ctrl)); in to_atmarpd() 64 ctrl->type = type; in to_atmarpd() 65 ctrl->itf_num = itf; in to_atmarpd() 66 ctrl->ip = ip; in to_atmarpd()
|
/net/bridge/netfilter/ |
D | ebt_802_3.c | 20 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt()
|
D | ebt_stp.c | 22 uint8_t ctrl; member
|
/net/802/ |
D | fddi.c | 67 fddi->hdr.llc_snap.ctrl = FDDI_UI_CMD; in fddi_header()
|
D | hippi.c | 76 hip->snap.ctrl = HIPPI_UI_CMD; in hippi_header()
|
/net/openvswitch/ |
D | flow.c | 332 u8 ctrl; in parse_ethertype() member
|