/Linux-v4.19/security/selinux/ |
D | xfrm.c | 84 u32 str_len; in selinux_xfrm_alloc_user() local 91 str_len = uctx->ctx_len; in selinux_xfrm_alloc_user() 92 if (str_len >= PAGE_SIZE) in selinux_xfrm_alloc_user() 95 ctx = kmalloc(sizeof(*ctx) + str_len + 1, gfp); in selinux_xfrm_alloc_user() 101 ctx->ctx_len = str_len; in selinux_xfrm_alloc_user() 102 memcpy(ctx->ctx_str, &uctx[1], str_len); in selinux_xfrm_alloc_user() 103 ctx->ctx_str[str_len] = '\0'; in selinux_xfrm_alloc_user() 104 rc = security_context_to_sid(&selinux_state, ctx->ctx_str, str_len, in selinux_xfrm_alloc_user() 352 int str_len; in selinux_xfrm_state_alloc_acquire() local 361 &str_len); in selinux_xfrm_state_alloc_acquire() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 83 uint8_t str_len = 0; in dp_link_settings_read() local 95 str_len = strlen("Current: %d %d %d "); in dp_link_settings_read() 96 snprintf(rd_buf_ptr, str_len, "Current: %d %d %d ", in dp_link_settings_read() 100 rd_buf_ptr += str_len; in dp_link_settings_read() 102 str_len = strlen("Verified: %d %d %d "); in dp_link_settings_read() 103 snprintf(rd_buf_ptr, str_len, "Verified: %d %d %d ", in dp_link_settings_read() 107 rd_buf_ptr += str_len; in dp_link_settings_read() 109 str_len = strlen("Reported: %d %d %d "); in dp_link_settings_read() 110 snprintf(rd_buf_ptr, str_len, "Reported: %d %d %d ", in dp_link_settings_read() 114 rd_buf_ptr += str_len; in dp_link_settings_read() [all …]
|
/Linux-v4.19/tools/power/acpi/os_specific/service_layers/ |
D | osunixdir.c | 95 int str_len; in acpi_os_get_next_filename() local 106 str_len = strlen(dir_entry->d_name) + in acpi_os_get_next_filename() 109 temp_str = calloc(str_len, 1); in acpi_os_get_next_filename()
|
/Linux-v4.19/lib/ |
D | parser.c | 61 size_t str_len = strlen(s); in match_one() local 63 if (str_len == 0) in match_one() 65 if (len == -1 || len > str_len) in match_one() 66 len = str_len; in match_one()
|
/Linux-v4.19/fs/udf/ |
D | unicode.c | 277 const uint8_t *str_i, int str_len) in udf_name_to_CS0() argument 300 for (i = 0; i < str_len; i += len) { in udf_name_to_CS0() 307 len = conv_f(&str_i[i], str_len - i, &wchar); in udf_name_to_CS0() 311 len = utf8_to_utf32(&str_i[i], str_len - i, in udf_name_to_CS0()
|
/Linux-v4.19/tools/lib/bpf/ |
D | btf.c | 128 const char *end = start + btf->hdr->str_len; in btf_parse_str_sec() 130 if (!hdr->str_len || hdr->str_len - 1 > BTF_MAX_NAME_OFFSET || in btf_parse_str_sec() 391 if (offset < btf->hdr->str_len) in btf__name_by_offset()
|
/Linux-v4.19/security/tomoyo/ |
D | realpath.c | 22 char *tomoyo_encode2(const char *str, int str_len) in tomoyo_encode2() argument 32 for (i = 0; i < str_len; i++) { in tomoyo_encode2() 49 for (i = 0; i < str_len; i++) { in tomoyo_encode2()
|
D | common.h | 945 char *tomoyo_encode2(const char *str, int str_len);
|
/Linux-v4.19/drivers/s390/net/ |
D | qeth_l3_sys.c | 682 int str_len = 0; in qeth_l3_dev_ip_add_show() local 698 if ((PAGE_SIZE - str_len) <= entry_len) in qeth_l3_dev_ip_add_show() 702 str_len += snprintf(buf + str_len, PAGE_SIZE - str_len, "%s\n", in qeth_l3_dev_ip_add_show() 706 str_len += snprintf(buf + str_len, PAGE_SIZE - str_len, "\n"); in qeth_l3_dev_ip_add_show() 708 return str_len; in qeth_l3_dev_ip_add_show()
|
/Linux-v4.19/drivers/platform/x86/ |
D | acerhdf.c | 605 unsigned long str_len = 0, start_len = 0; in str_starts_with() local 607 str_len = strlen(str); in str_starts_with() 610 if (str_len >= start_len && in str_starts_with()
|
/Linux-v4.19/drivers/hid/ |
D | hid-uclogic.c | 884 size_t str_len = 16; in uclogic_button_enable() local 888 str_buf = kzalloc(str_len, GFP_KERNEL); in uclogic_button_enable() 895 rc = usb_string(usb_dev, 0x7b, str_buf, str_len); in uclogic_button_enable()
|
/Linux-v4.19/tools/include/uapi/linux/ |
D | btf.h | 21 __u32 str_len; /* length of string section */ member
|
/Linux-v4.19/include/uapi/linux/ |
D | btf.h | 21 __u32 str_len; /* length of string section */ member
|
/Linux-v4.19/tools/perf/util/cs-etm-decoder/ |
D | cs-etm-decoder.c | 139 const int str_len) in cs_etm_decoder__print_str_cb() argument 141 if (p_context && str_len) in cs_etm_decoder__print_str_cb()
|
/Linux-v4.19/kernel/bpf/ |
D | btf.c | 426 offset < btf->hdr.str_len; in btf_name_offset_valid() 433 else if (offset < btf->hdr.str_len) in btf_name_by_offset() 584 __btf_verifier_log(log, "str_len: %u\n", hdr->str_len); in btf_verifier_log_hdr() 1986 end = start + hdr->str_len; in btf_parse_str_sec() 1993 if (!hdr->str_len || hdr->str_len - 1 > BTF_MAX_NAME_OFFSET || in btf_parse_str_sec()
|
/Linux-v4.19/net/tipc/ |
D | netlink_compat.c | 159 int str_len = strlen(str) + 1; in tipc_get_err_tlv() local 162 buf = tipc_tlv_alloc(TLV_SPACE(str_len)); in tipc_get_err_tlv() 164 tipc_add_tlv(buf, TIPC_TLV_ERROR_STRING, str, str_len); in tipc_get_err_tlv()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_btf.c | 1444 ret_hdr->str_len = str_sec_size; in btf_raw_create() 1476 hdr->str_len = (int)hdr->str_len + test->str_len_delta; in do_test_raw()
|
/Linux-v4.19/include/linux/ceph/ |
D | ceph_fs.h | 191 __le32 str_len; member
|
/Linux-v4.19/kernel/trace/ |
D | trace_events_filter.c | 687 int str_len = str_item >> 16; in filter_pred_strloc() local 691 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc()
|
/Linux-v4.19/net/ceph/ |
D | mon_client.c | 920 h->str_len = cpu_to_le32(len); in ceph_monc_blacklist_add()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq_cmd.h | 2258 u8 str_len; member
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq_cmd.h | 2330 u8 str_len; member
|