Home
last modified time | relevance | path

Searched refs:sn_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/nfc/
Dllcp_core.c327 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
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c2746 unsigned int id_len, pn_len, sn_len, na_len; in t4_get_raw_vpd_params() local
2780 PCI_VPD_RO_KEYWORD_SERIALNO, &sn_len); in t4_get_raw_vpd_params()
2798 memcpy(p->sn, vpd + sn, min_t(unsigned int, sn_len, SERNUM_LEN)); in t4_get_raw_vpd_params()