Searched refs:service_name_len (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/net/nfc/ |
D | llcp_sock.c | 104 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()
|
D | llcp_core.c | 336 static int nfc_llcp_wks_sap(const char *service_name, size_t service_name_len) in nfc_llcp_wks_sap() argument 351 if (strncmp(wks[sap], service_name, service_name_len) == 0) in nfc_llcp_wks_sap() 389 tmp_sock->service_name_len == 0) in nfc_llcp_sock_from_sn() 392 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn() 415 if (sock->service_name != NULL && sock->service_name_len > 0) { in nfc_llcp_get_sdp_ssap() 417 sock->service_name_len); in nfc_llcp_get_sdp_ssap() 440 sock->service_name_len, in nfc_llcp_get_sdp_ssap() 1275 size_t service_name_len; in nfc_llcp_recv_snl() local 1304 service_name_len = length - 1; in nfc_llcp_recv_snl() 1308 if (service_name_len == strlen("urn:nfc:sn:sdp") && in nfc_llcp_recv_snl() [all …]
|
D | llcp.h | 113 size_t service_name_len; member
|
D | llcp_commands.c | 412 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-6.6.21/drivers/media/test-drivers/vidtv/ |
D | vidtv_psi.c | 285 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() 322 if (service_name && service_name_len) in vidtv_psi_service_desc_init() 701 psi_args.len = sizeof_field(struct vidtv_psi_desc_service, service_name_len); in vidtv_psi_desc_write_into() 702 psi_args.from = &((struct vidtv_psi_desc_service *)args->desc)->service_name_len; in vidtv_psi_desc_write_into() 707 psi_args.len = ((struct vidtv_psi_desc_service *)args->desc)->service_name_len; in vidtv_psi_desc_write_into()
|
D | vidtv_psi.h | 70 u8 service_name_len; member
|
/linux-6.6.21/include/uapi/linux/ |
D | nfc.h | 281 __kernel_size_t service_name_len; member
|