Lines Matching refs:sn_len
362 const u8 *sn, size_t sn_len, in nfc_llcp_sock_from_sn() argument
368 pr_debug("sn %zd %p\n", sn_len, sn); in nfc_llcp_sock_from_sn()
370 if (sn == NULL || sn_len == 0) in nfc_llcp_sock_from_sn()
394 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn()
397 if (memcmp(sn, tmp_sock->service_name, sn_len) == 0) { in nfc_llcp_sock_from_sn()
849 const u8 *sn, size_t sn_len) in nfc_llcp_sock_get_sn() argument
851 return nfc_llcp_sock_from_sn(local, sn, sn_len, true); in nfc_llcp_sock_get_sn()
854 static const u8 *nfc_llcp_connect_sn(const struct sk_buff *skb, size_t *sn_len) in nfc_llcp_connect_sn() argument
867 *sn_len = length; in nfc_llcp_connect_sn()
934 size_t sn_len; in nfc_llcp_recv_connect() local
936 sn = nfc_llcp_connect_sn(skb, &sn_len); in nfc_llcp_recv_connect()
942 pr_debug("Service name length %zu\n", sn_len); in nfc_llcp_recv_connect()
944 sock = nfc_llcp_sock_get_sn(local, sn, sn_len); in nfc_llcp_recv_connect()