str_len 86 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c uint8_t str_len = 0; str_len 98 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c str_len = strlen("Current: %d %d %d "); str_len 99 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c snprintf(rd_buf_ptr, str_len, "Current: %d %d %d ", str_len 103 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c rd_buf_ptr += str_len; str_len 105 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c str_len = strlen("Verified: %d %d %d "); str_len 106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c snprintf(rd_buf_ptr, str_len, "Verified: %d %d %d ", str_len 110 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c rd_buf_ptr += str_len; str_len 112 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c str_len = strlen("Reported: %d %d %d "); str_len 113 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c snprintf(rd_buf_ptr, str_len, "Reported: %d %d %d ", str_len 117 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c rd_buf_ptr += str_len; str_len 119 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c str_len = strlen("Preferred: %d %d %d "); str_len 120 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c snprintf(rd_buf_ptr, str_len, "Preferred: %d %d %d\n", str_len 454 drivers/hid/hid-uclogic-params.c const size_t str_len = 16; str_len 465 drivers/hid/hid-uclogic-params.c str_buf = kzalloc(str_len, GFP_KERNEL); str_len 471 drivers/hid/hid-uclogic-params.c rc = usb_string(usb_dev, 123, str_buf, str_len); str_len 2349 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 str_len; str_len 1035 drivers/net/ethernet/qlogic/qed/qed_dev.c u16 dest_port, u8 *str, size_t str_len) str_len 1039 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "Ethertype 0x%04x", str_len 1043 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "TCP src port 0x%04x", str_len 1047 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "UDP src port 0x%04x", str_len 1051 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "TCP dst port 0x%04x", dest_port); str_len 1054 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "UDP dst port 0x%04x", dest_port); str_len 1057 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "TCP src/dst ports 0x%04x/0x%04x", str_len 1061 drivers/net/ethernet/qlogic/qed/qed_dev.c snprintf(str, str_len, "UDP src/dst ports 0x%04x/0x%04x", str_len 604 drivers/platform/x86/acerhdf.c unsigned long str_len = 0, start_len = 0; str_len 606 drivers/platform/x86/acerhdf.c str_len = strlen(str); str_len 609 drivers/platform/x86/acerhdf.c if (str_len >= start_len && str_len 694 drivers/s390/net/qeth_l3_sys.c int str_len = 0; str_len 710 drivers/s390/net/qeth_l3_sys.c if ((PAGE_SIZE - str_len) <= entry_len) str_len 714 drivers/s390/net/qeth_l3_sys.c str_len += snprintf(buf + str_len, PAGE_SIZE - str_len, "%s\n", str_len 718 drivers/s390/net/qeth_l3_sys.c str_len += snprintf(buf + str_len, PAGE_SIZE - str_len, "\n"); str_len 720 drivers/s390/net/qeth_l3_sys.c return str_len; str_len 691 drivers/scsi/qla2xxx/qla_mr.c qlafx00_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) str_len 696 drivers/scsi/qla2xxx/qla_mr.c strlcpy(str, "PCIe iSA", str_len); str_len 539 drivers/scsi/qla2xxx/qla_os.c qla2x00_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) str_len 549 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI-X (%s MHz)", str_len 553 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI (%s MHz)", pci_bus_modes[pci_bus]); str_len 560 drivers/scsi/qla2xxx/qla_os.c qla24xx_pci_info_str(struct scsi_qla_host *vha, char *str, size_t str_len) str_len 590 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCIe (%s x%d)", speed_str, lwidth); str_len 597 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI (%s MHz)", str_len 600 drivers/scsi/qla2xxx/qla_os.c snprintf(str, str_len, "PCI-X Mode %d (%s MHz)", str_len 277 fs/udf/unicode.c const uint8_t *str_i, int str_len) str_len 300 fs/udf/unicode.c for (i = 0; i < str_len; i += len) { str_len 307 fs/udf/unicode.c len = conv_f(&str_i[i], str_len - i, &wchar); str_len 311 fs/udf/unicode.c len = utf8_to_utf32(&str_i[i], str_len - i, str_len 191 include/linux/ceph/ceph_fs.h __le32 str_len; str_len 21 include/uapi/linux/btf.h __u32 str_len; /* length of string section */ str_len 526 kernel/bpf/btf.c offset < btf->hdr.str_len; str_len 578 kernel/bpf/btf.c else if (offset < btf->hdr.str_len) str_len 586 kernel/bpf/btf.c if (offset < btf->hdr.str_len) str_len 813 kernel/bpf/btf.c __btf_verifier_log(log, "str_len: %u\n", hdr->str_len); str_len 3132 kernel/bpf/btf.c end = start + hdr->str_len; str_len 3139 kernel/bpf/btf.c if (!hdr->str_len || hdr->str_len - 1 > BTF_MAX_NAME_OFFSET || str_len 698 kernel/trace/trace_events_filter.c int str_len = str_item >> 16; str_len 702 kernel/trace/trace_events_filter.c cmp = pred->regex.match(addr, &pred->regex, str_len); str_len 59 lib/parser.c size_t str_len = strlen(s); str_len 61 lib/parser.c if (str_len == 0) str_len 63 lib/parser.c if (len == -1 || len > str_len) str_len 64 lib/parser.c len = str_len; str_len 932 net/ceph/mon_client.c h->str_len = cpu_to_le32(len); str_len 165 net/tipc/netlink_compat.c int str_len = strlen(str) + 1; str_len 168 net/tipc/netlink_compat.c buf = tipc_tlv_alloc(TLV_SPACE(str_len)); str_len 170 net/tipc/netlink_compat.c tipc_add_tlv(buf, TIPC_TLV_ERROR_STRING, str, str_len); str_len 81 security/selinux/xfrm.c u32 str_len; str_len 88 security/selinux/xfrm.c str_len = uctx->ctx_len; str_len 89 security/selinux/xfrm.c if (str_len >= PAGE_SIZE) str_len 92 security/selinux/xfrm.c ctx = kmalloc(sizeof(*ctx) + str_len + 1, gfp); str_len 98 security/selinux/xfrm.c ctx->ctx_len = str_len; str_len 99 security/selinux/xfrm.c memcpy(ctx->ctx_str, &uctx[1], str_len); str_len 100 security/selinux/xfrm.c ctx->ctx_str[str_len] = '\0'; str_len 101 security/selinux/xfrm.c rc = security_context_to_sid(&selinux_state, ctx->ctx_str, str_len, str_len 349 security/selinux/xfrm.c int str_len; str_len 358 security/selinux/xfrm.c &str_len); str_len 362 security/selinux/xfrm.c ctx = kmalloc(sizeof(*ctx) + str_len, GFP_ATOMIC); str_len 371 security/selinux/xfrm.c ctx->ctx_len = str_len; str_len 372 security/selinux/xfrm.c memcpy(ctx->ctx_str, ctx_str, str_len); str_len 955 security/tomoyo/common.h char *tomoyo_encode2(const char *str, int str_len); str_len 22 security/tomoyo/realpath.c char *tomoyo_encode2(const char *str, int str_len) str_len 32 security/tomoyo/realpath.c for (i = 0; i < str_len; i++) { str_len 49 security/tomoyo/realpath.c for (i = 0; i < str_len; i++) { str_len 1181 tools/hv/hv_kvp_daemon.c int str_len; str_len 1305 tools/hv/hv_kvp_daemon.c str_len = snprintf(cmd, sizeof(cmd), KVP_SCRIPTS_PATH "%s %s", str_len 1311 tools/hv/hv_kvp_daemon.c if (str_len <= 0 || (unsigned int)str_len >= sizeof(cmd)) { str_len 1313 tools/hv/hv_kvp_daemon.c cmd, str_len); str_len 21 tools/include/uapi/linux/btf.h __u32 str_len; /* length of string section */ str_len 132 tools/lib/bpf/btf.c const char *end = start + btf->hdr->str_len; str_len 134 tools/lib/bpf/btf.c if (!hdr->str_len || hdr->str_len - 1 > BTF_MAX_STR_OFFSET || str_len 626 tools/lib/bpf/btf.c if (offset < btf->hdr->str_len) str_len 1613 tools/lib/bpf/btf.c char *end = start + d->btf->hdr->str_len; str_len 1647 tools/lib/bpf/btf.c tmp_strs = malloc(d->btf->hdr->str_len); str_len 1704 tools/lib/bpf/btf.c d->btf->hdr->str_len = p - tmp_strs; str_len 1705 tools/lib/bpf/btf.c memmove(start, tmp_strs, d->btf->hdr->str_len); str_len 1706 tools/lib/bpf/btf.c end = start + d->btf->hdr->str_len; str_len 1716 tools/lib/bpf/btf.c d->btf->hdr->str_len = end - start; str_len 2724 tools/lib/bpf/btf.c memmove(p, d->btf->strings, d->btf->hdr->str_len); str_len 2726 tools/lib/bpf/btf.c p += d->btf->hdr->str_len; str_len 69 tools/lib/bpf/libbpf_internal.h const char *str_sec, size_t str_len); str_len 138 tools/lib/bpf/libbpf_probes.c const char *str_sec, size_t str_len) str_len 146 tools/lib/bpf/libbpf_probes.c .str_len = str_len, str_len 151 tools/lib/bpf/libbpf_probes.c btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; str_len 158 tools/lib/bpf/libbpf_probes.c memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); str_len 144 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c const int str_len) str_len 146 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c if (p_context && str_len) str_len 95 tools/power/acpi/os_specific/service_layers/osunixdir.c int str_len; str_len 106 tools/power/acpi/os_specific/service_layers/osunixdir.c str_len = strlen(dir_entry->d_name) + str_len 109 tools/power/acpi/os_specific/service_layers/osunixdir.c temp_str = calloc(str_len, 1); str_len 11 tools/power/x86/intel-speed-select/isst-display.c static void printcpulist(int str_len, char *str, int mask_size, str_len 17 tools/power/x86/intel-speed-select/isst-display.c snprintf(str, str_len, "none"); str_len 28 tools/power/x86/intel-speed-select/isst-display.c str_len - curr_index, ","); str_len 31 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], str_len - curr_index, "%d", str_len 38 tools/power/x86/intel-speed-select/isst-display.c static void printcpumask(int str_len, char *str, int mask_size, str_len 66 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], str_len - curr_index, "%08x", str_len 70 tools/power/x86/intel-speed-select/isst-display.c strncat(&str[curr_index], ",", str_len - curr_index); str_len 133 tools/testing/selftests/bpf/map_tests/sk_storage_map.c .str_len = sizeof(btf_str_sec), str_len 3607 tools/testing/selftests/bpf/test_btf.c ret_hdr->str_len = str_sec_size; str_len 3650 tools/testing/selftests/bpf/test_btf.c hdr->str_len = (int)hdr->str_len + test->str_len_delta; str_len 6782 tools/testing/selftests/bpf/test_btf.c if (CHECK(test_hdr->str_len != expect_hdr->str_len, str_len 6784 tools/testing/selftests/bpf/test_btf.c test_hdr->str_len, expect_hdr->str_len)) { str_len 6786 tools/testing/selftests/bpf/test_btf.c dump_btf_strings(test_strs, test_hdr->str_len); str_len 6788 tools/testing/selftests/bpf/test_btf.c dump_btf_strings(expect_strs, expect_hdr->str_len); str_len 6794 tools/testing/selftests/bpf/test_btf.c test_str_end = test_strs + test_hdr->str_len; str_len 6796 tools/testing/selftests/bpf/test_btf.c expect_str_end = expect_strs + expect_hdr->str_len; str_len 545 tools/testing/selftests/bpf/test_verifier.c .str_len = sizeof(btf_str_sec), str_len 557 tools/testing/selftests/bpf/test_verifier.c memcpy(ptr, btf_str_sec, hdr.str_len); str_len 558 tools/testing/selftests/bpf/test_verifier.c ptr += hdr.str_len;