Searched refs:msg_data (Results 1 – 9 of 9) sorted by relevance
/net/nfc/ |
D | llcp_commands.c | 653 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local 679 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_i_frame() 680 if (msg_data == NULL) in nfc_llcp_send_i_frame() 683 if (memcpy_from_msg(msg_data, msg, len)) { in nfc_llcp_send_i_frame() 684 kfree(msg_data); in nfc_llcp_send_i_frame() 689 msg_ptr = msg_data; in nfc_llcp_send_i_frame() 703 kfree(msg_data); in nfc_llcp_send_i_frame() 724 kfree(msg_data); in nfc_llcp_send_i_frame() 735 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame() local 745 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_ui_frame() [all …]
|
/net/tipc/ |
D | name_distr.c | 108 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_publish() 137 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_withdraw() 174 item = (struct distr_item *)msg_data(hdr); in named_distribute() 377 item = (struct distr_item *)msg_data(hdr); in tipc_named_rcv()
|
D | msg.h | 367 static inline unchar *msg_data(struct tipc_msg *m) in msg_data() function 374 return (struct tipc_msg *)msg_data(m); in msg_inner_hdr() 866 m = (void *)msg_data(m); in msg_link_selector() 1147 memcpy(msg_data(hdr), id, 16); in msg_set_node_id() 1152 return (u8 *)msg_data(hdr); in msg_node_id()
|
D | msg.c | 594 ihdr = (struct tipc_msg *)(msg_data(hdr) + *pos); in tipc_msg_extract() 655 memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); in tipc_msg_reverse()
|
D | group.c | 698 memcpy(msg_data(hdr), &evt, sizeof(evt)); in tipc_group_create_event() 862 struct tipc_event *evt = (void *)msg_data(hdr); in tipc_group_member_evt()
|
D | link.c | 1446 p = (struct tipc_gap_ack_blks *)msg_data(hdr); in tipc_get_gap_ack_blks() 1522 ga = (struct tipc_gap_ack_blks *)msg_data(hdr); in tipc_build_gap_ack_blks() 1888 data = msg_data(hdr); in tipc_link_build_proto_msg() 1962 ihdr = (struct tipc_msg *)msg_data(hdr); in tipc_link_create_dummy_tnl_msg() 2231 data = msg_data(hdr); in tipc_link_proto_rcv()
|
D | topsrv.c | 626 memcpy(msg_data(buf_msg(skb)), evt, sizeof(*evt)); in tipc_topsrv_kern_evt()
|
D | crypto.c | 2251 data = msg_data(hdr); in tipc_crypto_key_xmit() 2284 u8 *data = msg_data(hdr); in tipc_crypto_key_rcv()
|
D | socket.c | 1761 rc = put_cmsg(m, SOL_TIPC, TIPC_RETDATA, dlen, msg_data(hdr)); in tipc_sk_anc_data_recv()
|