Home
last modified time | relevance | path

Searched refs:string_len (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/qcom/
Dqmi_encdec.c243 u32 string_len = 0; in qmi_encode_string_elem() local
246 string_len = strlen(buf_src); in qmi_encode_string_elem()
249 if (string_len > temp_ei->elem_len) { in qmi_encode_string_elem()
251 __func__, string_len, temp_ei->elem_len); in qmi_encode_string_elem()
256 if (string_len + TLV_LEN_SIZE + TLV_TYPE_SIZE > in qmi_encode_string_elem()
259 __func__, string_len, out_buf_len); in qmi_encode_string_elem()
263 if (string_len + string_len_sz > out_buf_len) { in qmi_encode_string_elem()
265 __func__, string_len, out_buf_len); in qmi_encode_string_elem()
268 rc = qmi_encode_basic_elem(buf_dst, &string_len, in qmi_encode_string_elem()
274 string_len, temp_ei->elem_size); in qmi_encode_string_elem()
[all …]
/kernel/linux/linux-5.10/tools/perf/examples/bpf/
Daugmented_raw_syscalls.c100 int string_len = probe_read_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str() local
107 if (string_len > 0) { in augmented_arg__read_str()
108 augmented_len -= sizeof(augmented_arg->value) - string_len; in augmented_arg__read_str()
110 augmented_arg->size = string_len; in augmented_arg__read_str()
116 augmented_arg->err = string_len; in augmented_arg__read_str()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dqcom-wled.c1309 int rc, i, j, string_len; in wled_configure() local
1497 string_len = of_property_count_elems_of_size(dev->of_node, in wled_configure()
1500 if (string_len > 0) { in wled_configure()
1501 if (string_len > wled->max_string_count) { in wled_configure()
1510 string_len); in wled_configure()
1513 string_len, rc); in wled_configure()
1517 for (i = 0; i < string_len; ++i) { in wled_configure()
1526 cfg->num_strings = string_len; in wled_configure()
1537 if (string_len > 0) { in wled_configure()
1540 if (val > string_len) { in wled_configure()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_sip.c66 static int string_len(const struct nf_conn *ct, const char *dptr, in string_len() function
132 int len = string_len(ct, dptr, limit, shift); in media_len()
248 mlen = string_len(ct, dptr, limit, NULL); in ct_sip_parse_request()