Lines Matching refs:sn_len
327 const u8 *sn, size_t sn_len) in nfc_llcp_sock_from_sn() argument
332 pr_debug("sn %zd %p\n", sn_len, sn); in nfc_llcp_sock_from_sn()
334 if (sn == NULL || sn_len == 0) in nfc_llcp_sock_from_sn()
358 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn()
361 if (memcmp(sn, tmp_sock->service_name, sn_len) == 0) { in nfc_llcp_sock_from_sn()
796 const u8 *sn, size_t sn_len) in nfc_llcp_sock_get_sn() argument
800 llcp_sock = nfc_llcp_sock_from_sn(local, sn, sn_len); in nfc_llcp_sock_get_sn()
810 static const u8 *nfc_llcp_connect_sn(const struct sk_buff *skb, size_t *sn_len) in nfc_llcp_connect_sn() argument
823 *sn_len = length; in nfc_llcp_connect_sn()
890 size_t sn_len; in nfc_llcp_recv_connect() local
892 sn = nfc_llcp_connect_sn(skb, &sn_len); in nfc_llcp_recv_connect()
898 pr_debug("Service name length %zu\n", sn_len); in nfc_llcp_recv_connect()
900 sock = nfc_llcp_sock_get_sn(local, sn, sn_len); in nfc_llcp_recv_connect()