/drivers/s390/net/ |
D | smsgiucv_app.c | 33 #define ENV_SENDER_LEN (strlen(ENV_SENDER_STR) + 8 + 1) 35 #define ENV_PREFIX_LEN (strlen(ENV_PREFIX_STR) + \ 36 strlen(SMSG_PREFIX) + 1) 38 #define ENV_TEXT_LEN(msg) (strlen(ENV_TEXT_STR) + strlen((msg)) + 1) 127 if (sender && strlen(sender) > 0 && strcmp(from, sender) != 0) in smsg_app_callback() 131 msg += strlen(SMSG_PREFIX); in smsg_app_callback() 186 int len = strlen(sender); in smsgiucv_app_init()
|
/drivers/acpi/acpica/ |
D | utnonansi.c | 131 if (strlen(source) >= dest_size) { in acpi_ut_safe_strcpy() 142 if ((strlen(dest) + strlen(source)) >= dest_size) { in acpi_ut_safe_strcat() 157 actual_transfer_length = ACPI_MIN(max_transfer_length, strlen(source)); in acpi_ut_safe_strncat() 159 if ((strlen(dest) + actual_transfer_length) >= dest_size) { in acpi_ut_safe_strncat()
|
/drivers/zorro/ |
D | gen-devlist.c | 54 if (strlen(line) > 5 && line[5] == ' ') { in main() 58 if (manuf_len + strlen(c) + 1 > MAX_NAME_SIZE) { in main() 63 if (manuf_len + strlen(c) + 1 > MAX_NAME_SIZE) { in main() 76 } else if (strlen(line) > 4 && line[4] == ' ') { in main() 84 manuf_len = strlen(c); in main()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | omapdss-boot-init.c | 39 l = strlen(p) + 1; in omapdss_count_strings() 66 size_t l = strlen(src) + 1; in omapdss_prefix_strcpy() 69 dst += strlen(prefix); in omapdss_prefix_strcpy() 96 if (strncmp(prefix, prop->value, strlen(prefix)) == 0) in omapdss_omapify_node() 101 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | omapdss-boot-init.c | 39 l = strlen(p) + 1; in omapdss_count_strings() 66 size_t l = strlen(src) + 1; in omapdss_prefix_strcpy() 69 dst += strlen(prefix); in omapdss_prefix_strcpy() 96 if (strncmp(prefix, prop->value, strlen(prefix)) == 0) in omapdss_omapify_node() 101 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node()
|
/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_hwinfo.c | 111 key = val + strlen(val) + 1) { in hwinfo_db_walk() 113 val = key + strlen(key) + 1; in hwinfo_db_walk() 119 if (val + strlen(val) + 1 > end) { in hwinfo_db_walk() 265 key = val + strlen(val) + 1) { in nfp_hwinfo_lookup() 267 val = key + strlen(key) + 1; in nfp_hwinfo_lookup()
|
/drivers/md/ |
D | dm-sysfs.c | 74 return strlen(buf); in dm_attr_name_show() 83 return strlen(buf); in dm_attr_uuid_show() 90 return strlen(buf); in dm_attr_suspended_show() 98 return strlen(buf); in dm_attr_use_blk_mq_show()
|
/drivers/usb/dwc3/ |
D | debug.h | 270 len = strlen(str); in dwc3_ep_event_string() 276 len = strlen(str); in dwc3_ep_event_string() 283 len = strlen(str); in dwc3_ep_event_string() 292 len = strlen(str); in dwc3_ep_event_string() 299 len = strlen(str); in dwc3_ep_event_string()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_debugfs.c | 93 if (strncmp("error", kbuf, strlen("error")) == 0) in debugfs_log_write() 95 else if (strncmp("warning", kbuf, strlen("warning")) == 0) in debugfs_log_write() 97 else if (strncmp("info", kbuf, strlen("info")) == 0) in debugfs_log_write() 99 else if (strncmp("trace", kbuf, strlen("trace")) == 0) in debugfs_log_write()
|
/drivers/xen/xenbus/ |
D | xenbus_xs.c | 360 iovec.iov_len = strlen(string) + 1; in xs_single() 378 for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1) in count_strings() 389 if (strlen(name) == 0) in join() 413 for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1) in split() 488 iovec[0].iov_len = strlen(path) + 1; in xenbus_write() 490 iovec[1].iov_len = strlen(string); in xenbus_write() 660 iov[0].iov_len = strlen(path) + 1; in xs_watch() 662 iov[1].iov_len = strlen(token) + 1; in xs_watch() 673 iov[0].iov_len = strlen(path) + 1; in xs_unwatch() 675 iov[1].iov_len = strlen(token) + 1; in xs_unwatch()
|
D | xenbus_probe.c | 157 if (strlen(xendev->otherend) == 0 || in xenbus_read_otherend_details() 183 strncmp(dev->otherend, path, strlen(dev->otherend))) { in xenbus_otherend_changed() 346 int len = strlen(info->nodename); in cleanup_dev() 355 if ((strlen(xendev->nodename) > len) && (xendev->nodename[len] != '/')) in cleanup_dev() 449 stringlen = strlen(nodename) + 1 + strlen(type) + 1; in xenbus_probe_node() 462 tmpstring += strlen(tmpstring) + 1; in xenbus_probe_node()
|
/drivers/power/supply/ |
D | test_power.c | 344 return strlen(buffer); in param_get_ac_online() 357 return strlen(buffer); in param_get_usb_online() 371 return strlen(buffer); in param_get_battery_status() 385 return strlen(buffer); in param_get_battery_health() 400 return strlen(buffer); in param_get_battery_present() 417 return strlen(buffer); in param_get_battery_technology()
|
/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 1080 return strlen(buf); in lpfc_link_state_store() 1450 return strlen(buf); in lpfc_issue_reset() 1649 strlen("enable"))) { in lpfc_set_trunking() 1650 pval = buff_out + strlen("enable") + 1; in lpfc_set_trunking() 1655 strlen("disable"))) { in lpfc_set_trunking() 1802 return strlen(buf); in lpfc_board_mode_store() 2228 return strlen(buf); in lpfc_poll_store() 2512 return strlen(buf);\ 2665 return strlen(buf);\ 2803 if ((cnt != strlen(lpfc_soft_wwn_key)) || in lpfc_soft_wwn_enable_store() [all …]
|
/drivers/target/iscsi/ |
D | iscsi_target_auth.c | 204 compare_len = strlen(auth->userid) + 1; in chap_server_compute_md5() 222 if (strlen(chap_r) != MD5_SIGNATURE_SIZE * 2) { in chap_server_compute_md5() 261 strlen(auth->password)); in chap_server_compute_md5() 329 challenge_len = DIV_ROUND_UP(strlen(challenge), 2); in chap_server_compute_md5() 371 strlen(auth->password_mutual)); in chap_server_compute_md5()
|
/drivers/scsi/ |
D | scsi_dh.c | 78 if (!strncmp(sdev->vendor, b->vendor, strlen(b->vendor)) && in scsi_dh_find_driver() 79 !strncmp(sdev->model, b->model, strlen(b->model))) { in scsi_dh_find_driver() 93 if (!strncmp(tmp->name, name, strlen(tmp->name))) { in __scsi_dh_lookup() 106 if (!name || strlen(name) == 0) in scsi_dh_lookup()
|
/drivers/firmware/efi/libstub/ |
D | string.c | 22 l2 = strlen(s2); in strstr() 25 l1 = strlen(s1); in strstr()
|
/drivers/staging/sm750fb/ |
D | sm750.c | 959 if (!strncmp(opt, "swap", strlen("swap"))) { in sm750fb_setup() 961 } else if (!strncmp(opt, "nocrt", strlen("nocrt"))) { in sm750fb_setup() 963 } else if (!strncmp(opt, "36bit", strlen("36bit"))) { in sm750fb_setup() 965 } else if (!strncmp(opt, "18bit", strlen("18bit"))) { in sm750fb_setup() 967 } else if (!strncmp(opt, "24bit", strlen("24bit"))) { in sm750fb_setup() 969 } else if (!strncmp(opt, "nohwc0", strlen("nohwc0"))) { in sm750fb_setup() 971 } else if (!strncmp(opt, "nohwc1", strlen("nohwc1"))) { in sm750fb_setup() 973 } else if (!strncmp(opt, "nohwc", strlen("nohwc"))) { in sm750fb_setup() 1179 len = strlen(options) + 1; in lynxfb_setup() 1197 if (!strncmp(opt, "noaccel", strlen("noaccel"))) { in lynxfb_setup() [all …]
|
/drivers/hv/ |
D | hv_kvp.c | 272 strlen((char *)in->body.kvp_ip_val.ip_addr), in process_ob_ipinfo() 280 strlen((char *)in->body.kvp_ip_val.sub_net), in process_ob_ipinfo() 288 strlen((char *)in->body.kvp_ip_val.gate_way), in process_ob_ipinfo() 296 strlen((char *)in->body.kvp_ip_val.dns_addr), in process_ob_ipinfo() 304 strlen((char *)in->body.kvp_ip_val.adapter_id), in process_ob_ipinfo() 596 keylen = utf8s_to_utf16s(key_name, strlen(key_name), UTF16_HOST_ENDIAN, in kvp_respond_to_host() 603 valuelen = utf8s_to_utf16s(value, strlen(value), UTF16_HOST_ENDIAN, in kvp_respond_to_host()
|
/drivers/iio/ |
D | industrialio-sw-device.c | 49 iter = __iio_find_sw_device_type(d->name, strlen(d->name)); in iio_register_sw_device_type() 73 iter = __iio_find_sw_device_type(dt->name, strlen(dt->name)); in iio_unregister_sw_device_type() 88 dt = __iio_find_sw_device_type(name, strlen(name)); in iio_get_sw_device_type()
|
D | industrialio-sw-trigger.c | 49 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type() 73 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_unregister_sw_trigger_type() 88 t = __iio_find_sw_trigger_type(name, strlen(name)); in iio_get_sw_trigger_type()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 71 strlen(android_wifi_cmd_str[cmd_num]))) in rtw_android_cmdstr_to_num() 115 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in android_set_cntry() 223 bytes_written = strlen("OK"); in rtw_android_priv_cmd()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_debugfs.c | 268 strncat(printf_buf + strlen(printf_buf), in hns3_dbg_help() 270 HNS3_DBG_BUF_LEN - strlen(printf_buf) - 1); in hns3_dbg_help() 271 strncat(printf_buf + strlen(printf_buf), in hns3_dbg_help() 273 HNS3_DBG_BUF_LEN - strlen(printf_buf) - 1); in hns3_dbg_help() 279 strncat(printf_buf + strlen(printf_buf), " <rq_id> <nq_id> <qset_id>\n", in hns3_dbg_help() 280 HNS3_DBG_BUF_LEN - strlen(printf_buf) - 1); in hns3_dbg_help()
|
/drivers/net/wan/lmc/ |
D | lmc_debug.c | 19 pstr = str+strlen(str); in lmcConsoleLog() 39 pstr=str+strlen(str); in lmcConsoleLog()
|
/drivers/macintosh/ |
D | via-pmu-led.c | 99 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 && in via_pmu_led_init() 100 strncmp(model, "iBook", strlen("iBook")) != 0 && in via_pmu_led_init()
|
/drivers/hid/ |
D | hid-sensor-custom.c | 295 if (!strncmp(name, "value", strlen("value"))) { in show_value() 351 } else if (!strncmp(name, "units", strlen("units"))) in show_value() 353 else if (!strncmp(name, "unit-expo", strlen("unit-expo"))) in show_value() 355 else if (!strncmp(name, "size", strlen("size"))) in show_value() 357 else if (!strncmp(name, "minimum", strlen("minimum"))) in show_value() 360 else if (!strncmp(name, "maximum", strlen("maximum"))) in show_value() 363 else if (!strncmp(name, "name", strlen("name"))) { in show_value() 395 if (!strncmp(name, "value", strlen("value"))) { in store_value()
|