Home
last modified time | relevance | path

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

/linux-6.12.1/net/nfc/
Dllcp_core.c360 const u8 *sn, size_t sn_len, in nfc_llcp_sock_from_sn() argument
366 pr_debug("sn %zd %p\n", sn_len, sn); in nfc_llcp_sock_from_sn()
368 if (sn == NULL || sn_len == 0) in nfc_llcp_sock_from_sn()
392 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn()
395 if (memcmp(sn, tmp_sock->service_name, sn_len) == 0) { in nfc_llcp_sock_from_sn()
840 const u8 *sn, size_t sn_len) in nfc_llcp_sock_get_sn() argument
842 return nfc_llcp_sock_from_sn(local, sn, sn_len, true); in nfc_llcp_sock_get_sn()
845 static const u8 *nfc_llcp_connect_sn(const struct sk_buff *skb, size_t *sn_len) in nfc_llcp_connect_sn() argument
858 *sn_len = length; in nfc_llcp_connect_sn()
925 size_t sn_len; in nfc_llcp_recv_connect() local
[all …]
/linux-6.12.1/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()