Home
last modified time | relevance | path

Searched refs:service_name_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/net/nfc/
Dllcp_sock.c104 llcp_sock->service_name_len = min_t(unsigned int, in llcp_sock_bind()
105 llcp_addr.service_name_len, in llcp_sock_bind()
108 llcp_sock->service_name_len, in llcp_sock_bind()
529 llcp_addr->service_name_len = llcp_sock->service_name_len; in llcp_sock_getname()
531 llcp_addr->service_name_len); in llcp_sock_getname()
666 if (addr->service_name_len == 0 && addr->dsap == 0) in llcp_sock_connect()
719 if (addr->service_name_len == 0) in llcp_sock_connect()
724 llcp_sock->service_name_len = min_t(unsigned int, in llcp_sock_connect()
725 addr->service_name_len, in llcp_sock_connect()
728 llcp_sock->service_name_len, in llcp_sock_connect()
Dllcp_core.c303 static int nfc_llcp_wks_sap(const char *service_name, size_t service_name_len) in nfc_llcp_wks_sap() argument
318 if (strncmp(wks[sap], service_name, service_name_len) == 0) in nfc_llcp_wks_sap()
355 tmp_sock->service_name_len == 0) in nfc_llcp_sock_from_sn()
358 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn()
379 if (sock->service_name != NULL && sock->service_name_len > 0) { in nfc_llcp_get_sdp_ssap()
381 sock->service_name_len); in nfc_llcp_get_sdp_ssap()
404 sock->service_name_len) != NULL) { in nfc_llcp_get_sdp_ssap()
1231 size_t service_name_len; in nfc_llcp_recv_snl() local
1260 service_name_len = length - 1; in nfc_llcp_recv_snl()
1264 if (service_name_len == strlen("urn:nfc:sn:sdp") && in nfc_llcp_recv_snl()
[all …]
Dllcp.h113 size_t service_name_len; member
Dllcp_commands.c405 sock->service_name_len, in nfc_llcp_send_connect()
434 pr_debug("SKB size %d SN length %zu\n", size, sock->service_name_len); in nfc_llcp_send_connect()
/linux-6.1.9/drivers/media/test-drivers/vidtv/
Dvidtv_psi.c285 u32 service_name_len = service_name ? strlen(service_name) : 0; in vidtv_psi_service_desc_init() local
297 + sizeof_field(struct vidtv_psi_desc_service, service_name_len) in vidtv_psi_service_desc_init()
298 + service_name_len; in vidtv_psi_service_desc_init()
302 desc->service_name_len = service_name_len; in vidtv_psi_service_desc_init()
304 if (service_name && service_name_len) in vidtv_psi_service_desc_init()
666 psi_args.len = sizeof_field(struct vidtv_psi_desc_service, service_name_len); in vidtv_psi_desc_write_into()
667 psi_args.from = &((struct vidtv_psi_desc_service *)args->desc)->service_name_len; in vidtv_psi_desc_write_into()
672 psi_args.len = ((struct vidtv_psi_desc_service *)args->desc)->service_name_len; in vidtv_psi_desc_write_into()
Dvidtv_psi.h70 u8 service_name_len; member
/linux-6.1.9/include/uapi/linux/
Dnfc.h281 __kernel_size_t service_name_len; member