Searched refs:str_len (Results 1 – 5 of 5) sorted by relevance
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | dhd_common.c | 566 int str_len; in brcmf_c_pktfilter_offload_enable() local 590 str_len = strlen(str); in brcmf_c_pktfilter_offload_enable() 591 strncpy(buf, str, str_len); in brcmf_c_pktfilter_offload_enable() 592 buf[str_len] = '\0'; in brcmf_c_pktfilter_offload_enable() 593 buf_len = str_len + 1; in brcmf_c_pktfilter_offload_enable() 595 pkt_filterp = (struct brcmf_pkt_filter_enable_le *) (buf + str_len + 1); in brcmf_c_pktfilter_offload_enable() 639 int str_len; in brcmf_c_pktfilter_offload_set() local 669 str_len = strlen(str); in brcmf_c_pktfilter_offload_set() 670 buf_len = str_len + 1; in brcmf_c_pktfilter_offload_set() 672 pkt_filterp = (struct brcmf_pkt_filter_le *) (buf + str_len + 1); in brcmf_c_pktfilter_offload_set()
|
/drivers/net/wireless/bcmdhd/ |
D | dhd_common.c | 1361 int str_len; in dhd_pktfilter_offload_enable() local 1387 str_len = strlen(str); in dhd_pktfilter_offload_enable() 1388 bcm_strncpy_s(buf, sizeof(buf), str, str_len); in dhd_pktfilter_offload_enable() 1389 buf[str_len] = '\0'; in dhd_pktfilter_offload_enable() 1390 buf_len = str_len + 1; in dhd_pktfilter_offload_enable() 1392 pkt_filterp = (wl_pkt_filter_enable_t *)(buf + str_len + 1); in dhd_pktfilter_offload_enable() 1435 int str_len; in dhd_pktfilter_offload_set() local 1477 str_len = strlen(str); in dhd_pktfilter_offload_set() 1478 bcm_strncpy_s(buf, BUF_SIZE, str, str_len); in dhd_pktfilter_offload_set() 1479 buf[ str_len ] = '\0'; in dhd_pktfilter_offload_set() [all …]
|
/drivers/staging/tidspbridge/dynload/ |
D | tramp.c | 131 u32 str_len, char *str) in priv_tramp_string_create() argument 142 + str_len + in priv_tramp_string_create() 147 for (i = 0; i < (sizeof(struct tramp_string) + str_len + 1); in priv_tramp_string_create() 155 dlthis->tramp.tramp_string_size += str_len + 1; in priv_tramp_string_create() 166 for (i = 0; i < str_len; i++) in priv_tramp_string_create() 184 u32 str_len = strlen(str); in priv_tramp_string_find() local 190 if (str_len != strlen(cur_str->str)) in priv_tramp_string_find() 194 for (i = 0; i < str_len; i++) { in priv_tramp_string_find() 202 if (i == str_len) in priv_tramp_string_find()
|
/drivers/s390/char/ |
D | sclp_rw.c | 139 int str_len, mto_size; in sclp_finalize_mto() local 141 str_len = buffer->current_length; in sclp_finalize_mto() 146 mto_size = sizeof(struct mto) + str_len; in sclp_finalize_mto() 169 buffer->mto_char_sum += str_len; in sclp_finalize_mto()
|
/drivers/platform/x86/ |
D | acerhdf.c | 545 unsigned long str_len = 0, start_len = 0; in str_starts_with() local 547 str_len = strlen(str); in str_starts_with() 550 if (str_len >= start_len && in str_starts_with()
|