Home
last modified time | relevance | path

Searched refs:caif_assert (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/net/caif/
Dcfutill.c34 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfutill_create()
47 caif_assert(layr != NULL); in cfutill_receive()
48 caif_assert(layr->up != NULL); in cfutill_receive()
49 caif_assert(layr->up->receive != NULL); in cfutill_receive()
50 caif_assert(layr->up->ctrlcmd != NULL); in cfutill_receive()
87 caif_assert(layr != NULL); in cfutill_transmit()
88 caif_assert(layr->dn != NULL); in cfutill_transmit()
89 caif_assert(layr->dn->transmit != NULL); in cfutill_transmit()
Dcfcnfg.c145 caif_assert(cnfg->phy_layers != NULL); in cfcnfg_get_phyid()
146 caif_assert(cnfg->phy_layers[i].id == i); in cfcnfg_get_phyid()
153 caif_assert(cnfg->phy_layers != NULL); in cfcnfg_get_phyid()
154 caif_assert(cnfg->phy_layers[i].id == i); in cfcnfg_get_phyid()
193 caif_assert(adap_layer != NULL); in cfcnfg_disconn_adapt_layer()
211 caif_assert(channel_id == servl->id); in cfcnfg_disconn_adapt_layer()
289 caif_assert(param->phyid == cnfg->phy_layers[param->phyid].id); in cfcnfg_add_adaptation_layer()
290 caif_assert(cnfg->phy_layers[param->phyid].frm_layer->id == in cfcnfg_add_adaptation_layer()
292 caif_assert(cnfg->phy_layers[param->phyid].phy_layer->id == in cfcnfg_add_adaptation_layer()
331 caif_assert(cnfg != NULL); in cfcnfg_linkup_rsp()
[all …]
Dcfveil.c33 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvei_create()
46 caif_assert(layr->up != NULL); in cfvei_receive()
47 caif_assert(layr->receive != NULL); in cfvei_receive()
48 caif_assert(layr->ctrlcmd != NULL); in cfvei_receive()
86 caif_assert(layr->dn != NULL); in cfvei_transmit()
87 caif_assert(layr->dn->transmit != NULL); in cfvei_transmit()
Dcfsrvl.c30 caif_assert(layr->up != NULL); in cfservl_ctrlcmd()
31 caif_assert(layr->up->ctrlcmd != NULL); in cfservl_ctrlcmd()
96 caif_assert(layr != NULL); in cfservl_modemcmd()
97 caif_assert(layr->dn != NULL); in cfservl_modemcmd()
98 caif_assert(layr->dn->transmit != NULL); in cfservl_modemcmd()
171 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init()
193 caif_assert(!(service->modem_flow_on && service->phy_flow_on)); in cfsrvl_ready()
Dcfdgml.c34 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdgml_create()
49 caif_assert(layr->up != NULL); in cfdgml_receive()
50 caif_assert(layr->receive != NULL); in cfdgml_receive()
51 caif_assert(layr->ctrlcmd != NULL); in cfdgml_receive()
Dcfrfml.c109 caif_assert(layr->up != NULL); in cfrfml_receive()
110 caif_assert(layr->receive != NULL); in cfrfml_receive()
196 caif_assert(cfpkt_getlen(pkt) < rfml->fragment_size); in cfrfml_transmit_segment()
220 caif_assert(layr->dn != NULL); in cfrfml_transmit()
221 caif_assert(layr->dn->transmit != NULL); in cfrfml_transmit()
Dcfserl.c41 caif_assert(offsetof(struct cfserl, layer) == 0); in cfserl_create()
65 caif_assert(newpkt != NULL); in cfserl_receive()
Dcfdbgl.c27 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdbgl_create()
Dcaif_socket.c572 caif_assert(cf_sk); in caif_seqpkt_sendmsg()
806 caif_assert(sk->sk_state == CAIF_DISCONNECTED); in caif_connect()
825 caif_assert(sk->sk_state == CAIF_CONNECTED || in caif_connect()
837 caif_assert(1); /*Should never happen */ in caif_connect()
1059 caif_assert(!atomic_read(&sk->sk_wmem_alloc)); in caif_sock_destructor()
1060 caif_assert(sk_unhashed(sk)); in caif_sock_destructor()
1061 caif_assert(!sk->sk_socket); in caif_sock_destructor()
Dcfvidl.c29 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvidl_create()
Dcfpkt_skbuff.c454 caif_assert(buf != NULL); in cfpkt_raw_append()
482 caif_assert(buf != NULL); in cfpkt_raw_extract()
550 caif_assert(atomic_read(&pktq->count) >= 0); in cfpkt_dequeue()
Dcaif_config_util.c81 caif_assert(sizeof(l->u.utility.name) > 10); in connect_req_to_link_param()
Dcffrml.c40 caif_assert(offsetof(struct cffrml, layer) == 0); in cffrml_create()
Dcfctrl.c44 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_create()
183 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_enum_req()
491 caif_assert(sizeof(linkparam.u.utility.name) in cfctrl_recv()
Dcfmuxl.c142 caif_assert(dn != NULL); in cfmuxl_remove_dnlayer()
/linux-2.6.39/include/net/caif/
Dcaif_layer.h28 #define caif_assert(assert) \ macro
/linux-2.6.39/drivers/net/caif/
Dcaif_spi.c342 caif_assert(buf); in cfspi_xmitfrm()
530 caif_assert(buf != NULL); in cfspi_rxfrm()
557 caif_assert(skb != NULL); in cfspi_rxfrm()