Lines Matching refs:service_name
303 static int nfc_llcp_wks_sap(const char *service_name, size_t service_name_len) in nfc_llcp_wks_sap() argument
307 pr_debug("%s\n", service_name); in nfc_llcp_wks_sap()
309 if (service_name == NULL) in nfc_llcp_wks_sap()
318 if (strncmp(wks[sap], service_name, service_name_len) == 0) in nfc_llcp_wks_sap()
354 if (tmp_sock->service_name == NULL || in nfc_llcp_sock_from_sn()
361 if (memcmp(sn, tmp_sock->service_name, sn_len) == 0) { in nfc_llcp_sock_from_sn()
379 if (sock->service_name != NULL && sock->service_name_len > 0) { in nfc_llcp_get_sdp_ssap()
380 int ssap = nfc_llcp_wks_sap(sock->service_name, in nfc_llcp_get_sdp_ssap()
403 if (nfc_llcp_sock_from_sn(local, sock->service_name, in nfc_llcp_get_sdp_ssap()
1230 const char *service_name; in nfc_llcp_recv_snl() local
1259 service_name = (char *) &tlv[3]; in nfc_llcp_recv_snl()
1262 pr_debug("Looking for %.16s\n", service_name); in nfc_llcp_recv_snl()
1265 !strncmp(service_name, "urn:nfc:sn:sdp", in nfc_llcp_recv_snl()
1271 llcp_sock = nfc_llcp_sock_from_sn(local, service_name, in nfc_llcp_recv_snl()