Home
last modified time | relevance | path

Searched refs:uri_len (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/net/nfc/
Dllcp_commands.c134 size_t uri_len) in nfc_llcp_build_sdreq_tlv() argument
138 pr_debug("uri: %s, len: %zu\n", uri, uri_len); in nfc_llcp_build_sdreq_tlv()
141 if (WARN_ON_ONCE(uri_len > U8_MAX - 4)) in nfc_llcp_build_sdreq_tlv()
148 sdreq->tlv_len = uri_len + 3; in nfc_llcp_build_sdreq_tlv()
150 if (uri[uri_len - 1] == 0) in nfc_llcp_build_sdreq_tlv()
165 memcpy(sdreq->uri, uri, uri_len); in nfc_llcp_build_sdreq_tlv()
Dllcp.h232 size_t uri_len);
Dnetlink.c1137 size_t uri_len, tlvs_len; in nfc_genl_llc_sdreq() local
1181 uri_len = nla_len(sdp_attrs[NFC_SDP_ATTR_URI]); in nfc_genl_llc_sdreq()
1182 if (uri_len == 0) in nfc_genl_llc_sdreq()
1191 sdreq = nfc_llcp_build_sdreq_tlv(tid, uri, uri_len); in nfc_genl_llc_sdreq()