Home
last modified time | relevance | path

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

/linux-5.19.10/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.c302 static int nfc_llcp_wks_sap(const char *service_name, size_t service_name_len) in nfc_llcp_wks_sap() argument
317 if (strncmp(wks[sap], service_name, service_name_len) == 0) in nfc_llcp_wks_sap()
354 tmp_sock->service_name_len == 0) in nfc_llcp_sock_from_sn()
357 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn()
378 if (sock->service_name != NULL && sock->service_name_len > 0) { in nfc_llcp_get_sdp_ssap()
380 sock->service_name_len); in nfc_llcp_get_sdp_ssap()
403 sock->service_name_len) != NULL) { in nfc_llcp_get_sdp_ssap()
1230 size_t service_name_len; in nfc_llcp_recv_snl() local
1259 service_name_len = length - 1; in nfc_llcp_recv_snl()
1263 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-5.19.10/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-5.19.10/include/uapi/linux/
Dnfc.h281 __kernel_size_t service_name_len; member