Home
last modified time | relevance | path

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

/Linux-v6.6/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.c321 static int nfc_llcp_wks_sap(const char *service_name, size_t service_name_len) in nfc_llcp_wks_sap() argument
336 if (strncmp(wks[sap], service_name, service_name_len) == 0) in nfc_llcp_wks_sap()
374 tmp_sock->service_name_len == 0) in nfc_llcp_sock_from_sn()
377 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn()
400 if (sock->service_name != NULL && sock->service_name_len > 0) { in nfc_llcp_get_sdp_ssap()
402 sock->service_name_len); in nfc_llcp_get_sdp_ssap()
425 sock->service_name_len, in nfc_llcp_get_sdp_ssap()
1251 size_t service_name_len; in nfc_llcp_recv_snl() local
1280 service_name_len = length - 1; in nfc_llcp_recv_snl()
1284 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.c412 sock->service_name_len, in nfc_llcp_send_connect()
441 pr_debug("SKB size %d SN length %zu\n", size, sock->service_name_len); in nfc_llcp_send_connect()
/Linux-v6.6/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-v6.6/include/uapi/linux/
Dnfc.h281 __kernel_size_t service_name_len; member