Searched refs:service_name_len (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/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() 518 llcp_addr->service_name_len = llcp_sock->service_name_len; in llcp_sock_getname() 520 llcp_addr->service_name_len); in llcp_sock_getname() 662 if (addr->service_name_len == 0 && addr->dsap == 0) in llcp_sock_connect() 711 if (addr->service_name_len == 0) in llcp_sock_connect() 716 llcp_sock->service_name_len = min_t(unsigned int, in llcp_sock_connect() 717 addr->service_name_len, in llcp_sock_connect() 720 llcp_sock->service_name_len, in llcp_sock_connect()
|
D | llcp_core.c | 304 static int nfc_llcp_wks_sap(char *service_name, size_t service_name_len) in nfc_llcp_wks_sap() argument 319 if (strncmp(wks[sap], service_name, service_name_len) == 0) in nfc_llcp_wks_sap() 356 tmp_sock->service_name_len == 0) in nfc_llcp_sock_from_sn() 359 if (tmp_sock->service_name_len != sn_len) in nfc_llcp_sock_from_sn() 380 if (sock->service_name != NULL && sock->service_name_len > 0) { in nfc_llcp_get_sdp_ssap() 382 sock->service_name_len); in nfc_llcp_get_sdp_ssap() 405 sock->service_name_len) != NULL) { in nfc_llcp_get_sdp_ssap() 1235 size_t service_name_len; in nfc_llcp_recv_snl() local 1264 service_name_len = length - 1; in nfc_llcp_recv_snl() 1268 if (service_name_len == strlen("urn:nfc:sn:sdp") && in nfc_llcp_recv_snl() [all …]
|
D | llcp.h | 114 size_t service_name_len; member
|
D | llcp_commands.c | 408 sock->service_name_len, in nfc_llcp_send_connect() 437 pr_debug("SKB size %d SN length %zu\n", size, sock->service_name_len); in nfc_llcp_send_connect()
|
/Linux-v5.10/drivers/media/test-drivers/vidtv/ |
D | vidtv_psi.c | 292 u32 service_name_len = service_name ? strlen(service_name) : 0; in vidtv_psi_service_desc_init() local 304 + sizeof_field(struct vidtv_psi_desc_service, service_name_len) in vidtv_psi_service_desc_init() 305 + service_name_len; in vidtv_psi_service_desc_init() 309 desc->service_name_len = service_name_len; in vidtv_psi_service_desc_init() 311 if (service_name && service_name_len) in vidtv_psi_service_desc_init() 674 psi_args.len = sizeof_field(struct vidtv_psi_desc_service, service_name_len); in vidtv_psi_desc_write_into() 675 psi_args.from = &((struct vidtv_psi_desc_service *)args->desc)->service_name_len; in vidtv_psi_desc_write_into() 680 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-v5.10/include/uapi/linux/ |
D | nfc.h | 281 size_t service_name_len; member
|