Searched refs:sdres (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/net/nfc/ |
D | llcp_commands.c | 108 struct nfc_llcp_sdp_tlv *sdres; in nfc_llcp_build_sdres_tlv() local 111 sdres = kzalloc(sizeof(struct nfc_llcp_sdp_tlv), GFP_KERNEL); in nfc_llcp_build_sdres_tlv() 112 if (sdres == NULL) in nfc_llcp_build_sdres_tlv() 118 sdres->tlv = nfc_llcp_build_tlv(LLCP_TLV_SDRES, value, 2, in nfc_llcp_build_sdres_tlv() 119 &sdres->tlv_len); in nfc_llcp_build_sdres_tlv() 120 if (sdres->tlv == NULL) { in nfc_llcp_build_sdres_tlv() 121 kfree(sdres); in nfc_llcp_build_sdres_tlv() 125 sdres->tid = tid; in nfc_llcp_build_sdres_tlv() 126 sdres->sap = sap; in nfc_llcp_build_sdres_tlv() 128 INIT_HLIST_NODE(&sdres->node); in nfc_llcp_build_sdres_tlv() [all …]
|
D | netlink.c | 362 struct nfc_llcp_sdp_tlv *sdres; in nfc_genl_llc_send_sdres() local 387 hlist_for_each_entry_safe(sdres, n, sdres_list, node) { in nfc_genl_llc_send_sdres() 388 pr_debug("uri: %s, sap: %d\n", sdres->uri, sdres->sap); in nfc_genl_llc_send_sdres() 396 if (nla_put_u8(msg, NFC_SDP_ATTR_SAP, sdres->sap)) in nfc_genl_llc_send_sdres() 399 if (nla_put_string(msg, NFC_SDP_ATTR_URI, sdres->uri)) in nfc_genl_llc_send_sdres() 404 hlist_del(&sdres->node); in nfc_genl_llc_send_sdres() 406 nfc_llcp_free_sdp_tlv(sdres); in nfc_genl_llc_send_sdres()
|