Home
last modified time | relevance | path

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

/Linux-v5.4/net/caif/
Dcfutill.c32 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfutill_create()
44 caif_assert(layr != NULL); in cfutill_receive()
45 caif_assert(layr->up != NULL); in cfutill_receive()
46 caif_assert(layr->up->receive != NULL); in cfutill_receive()
47 caif_assert(layr->up->ctrlcmd != NULL); in cfutill_receive()
84 caif_assert(layr != NULL); in cfutill_transmit()
85 caif_assert(layr->dn != NULL); in cfutill_transmit()
86 caif_assert(layr->dn->transmit != NULL); in cfutill_transmit()
Dcfveil.c31 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvei_create()
43 caif_assert(layr->up != NULL); in cfvei_receive()
44 caif_assert(layr->receive != NULL); in cfvei_receive()
45 caif_assert(layr->ctrlcmd != NULL); in cfvei_receive()
83 caif_assert(layr->dn != NULL); in cfvei_transmit()
84 caif_assert(layr->dn->transmit != NULL); in cfvei_transmit()
Dcfcnfg.c184 caif_assert(adap_layer != NULL); in caif_disconnect_client()
280 caif_assert(sizeof(l->u.utility.name) > 10); in caif_connect_req_to_link_param()
341 caif_assert(param.phyid == phy->id); in caif_connect_client()
342 caif_assert(phy->frm_layer->id == in caif_connect_client()
344 caif_assert(phy->phy_layer->id == in caif_connect_client()
396 caif_assert(cnfg != NULL); in cfcnfg_linkup_rsp()
397 caif_assert(phyid != 0); in cfcnfg_linkup_rsp()
405 caif_assert(phyinfo != NULL); in cfcnfg_linkup_rsp()
406 caif_assert(phyinfo->id == phyid); in cfcnfg_linkup_rsp()
407 caif_assert(phyinfo->phy_layer != NULL); in cfcnfg_linkup_rsp()
[all …]
Dcfdgml.c32 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdgml_create()
45 caif_assert(layr->up != NULL); in cfdgml_receive()
46 caif_assert(layr->receive != NULL); in cfdgml_receive()
47 caif_assert(layr->ctrlcmd != NULL); in cfdgml_receive()
Dcfrfml.c106 caif_assert(layr->up != NULL); in cfrfml_receive()
107 caif_assert(layr->receive != NULL); in cfrfml_receive()
198 caif_assert(cfpkt_getlen(pkt) < rfml->fragment_size + RFM_HEAD_SIZE); in cfrfml_transmit_segment()
222 caif_assert(layr->dn != NULL); in cfrfml_transmit()
223 caif_assert(layr->dn->transmit != NULL); in cfrfml_transmit()
Dcfsrvl.c99 caif_assert(layr != NULL); in cfservl_modemcmd()
100 caif_assert(layr->dn != NULL); in cfservl_modemcmd()
101 caif_assert(layr->dn->transmit != NULL); in cfservl_modemcmd()
166 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init()
Dcfserl.c39 caif_assert(offsetof(struct cfserl, layer) == 0); in cfserl_create()
61 caif_assert(newpkt != NULL); in cfserl_receive()
Dcaif_socket.c528 caif_assert(cf_sk); in caif_seqpkt_sendmsg()
768 caif_assert(sk->sk_state == CAIF_DISCONNECTED); in caif_connect()
787 caif_assert(sk->sk_state == CAIF_CONNECTED || in caif_connect()
800 caif_assert(1); /*Should never happen */ in caif_connect()
1016 caif_assert(!refcount_read(&sk->sk_wmem_alloc)); in caif_sock_destructor()
1017 caif_assert(sk_unhashed(sk)); in caif_sock_destructor()
1018 caif_assert(!sk->sk_socket); in caif_sock_destructor()
Dcfdbgl.c25 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdbgl_create()
Dcfvidl.c27 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvidl_create()
Dcfctrl.c42 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_create()
189 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_enum_req()
460 caif_assert(sizeof(linkparam.u.utility.name) in cfctrl_recv()
Dcaif_usb.c92 caif_assert(offsetof(struct cfusbl, layer) == 0); in cfusbl_create()
Dcffrml.c46 caif_assert(offsetof(struct cffrml, layer) == 0); in cffrml_create()
Dcfmuxl.c117 caif_assert(dn != NULL); in cfmuxl_remove_dnlayer()
/Linux-v5.4/include/net/caif/
Dcaif_layer.h27 #define caif_assert(assert) \ macro
/Linux-v5.4/drivers/net/caif/
Dcaif_spi.c336 caif_assert(buf); in cfspi_xmitfrm()
524 caif_assert(buf != NULL); in cfspi_rxfrm()
550 caif_assert(skb != NULL); in cfspi_rxfrm()
Dcaif_hsi.c453 caif_assert(skb != NULL); in cfhsi_rx_desc()
582 caif_assert(skb != NULL); in cfhsi_rx_pld()