/Linux-v4.19/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 26 u32 value_len = strlen(value); in test_btrfs_split_item() 95 if (btrfs_item_size(eb, item) != strlen(split1)) { in test_btrfs_split_item() 102 strlen(split1)); in test_btrfs_split_item() 103 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 106 (int)strlen(split1), buf, split1); in test_btrfs_split_item() 120 if (btrfs_item_size(eb, item) != strlen(split2)) { in test_btrfs_split_item() 127 strlen(split2)); in test_btrfs_split_item() 128 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 152 if (btrfs_item_size(eb, item) != strlen(split3)) { in test_btrfs_split_item() 159 strlen(split3)); in test_btrfs_split_item() [all …]
|
/Linux-v4.19/tools/iio/ |
D | lsiio.c | 33 return strlen(str) > strlen(prefix) && in check_prefix() 34 strncmp(str, prefix, strlen(prefix)) == 0; in check_prefix() 39 return strlen(str) > strlen(postfix) && in check_postfix() 40 strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in check_postfix() 67 ret = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_device), "%i", in dump_one_device() 90 ret = sscanf(dev_dir_name + strlen(iio_dir) + strlen(type_trigger), in dump_one_trigger()
|
D | iio_utils.c | 41 strlen(iio_direction[i]))) { in iioutils_break_up_name() 46 current = strdup(full_name + strlen(prefix) + 1); in iioutils_break_up_name() 338 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array() 383 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array() 429 strlen(ent->d_name) - in build_channel_array() 430 strlen("_en")); in build_channel_array() 585 strlen(ent->d_name) > strlen(type) && in find_type_by_name() 586 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name() 588 ret = sscanf(ent->d_name + strlen(type), "%d", &number); in find_type_by_name() 603 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name() [all …]
|
D | iio_utils.h | 57 return strlen(str) >= strlen(suffix) && in iioutils_check_suffix() 58 strncmp(str+strlen(str)-strlen(suffix), in iioutils_check_suffix() 59 suffix, strlen(suffix)) == 0; in iioutils_check_suffix()
|
/Linux-v4.19/tools/perf/arch/s390/util/ |
D | header.c | 62 if (!strncmp(line, SYSINFO_MANU, strlen(SYSINFO_MANU))) { in get_cpuid() 63 line2 = line + strlen(SYSINFO_MANU); in get_cpuid() 71 if (!strncmp(line, SYSINFO_TYPE, strlen(SYSINFO_TYPE))) { in get_cpuid() 72 line2 = line + strlen(SYSINFO_TYPE); in get_cpuid() 80 if (!strncmp(line, SYSINFO_MODEL, strlen(SYSINFO_MODEL))) { in get_cpuid() 81 line2 = line + strlen(SYSINFO_MODEL); in get_cpuid() 105 if (strncmp(line, SRVLVL_CPUMF, strlen(SRVLVL_CPUMF))) in get_cpuid() 108 line2 = line + strlen(SRVLVL_CPUMF); in get_cpuid() 111 strlen(SRVLVL_VERSION))) { in get_cpuid() 118 strlen(SRVLVL_AUTHORIZATION))) { in get_cpuid()
|
/Linux-v4.19/arch/um/os-Linux/ |
D | umid.c | 47 len = strlen(dir); in make_uml_dir() 52 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir() 100 len = strlen(dir) + sizeof("/") + strlen(ent->d_name) + 1; in remove_files_and_dir() 138 char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; in is_umdir_used() 213 char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; in create_pid_file() 228 n = write(fd, pid, strlen(pid)); in create_pid_file() 229 if (n != strlen(pid)) in create_pid_file() 238 if (strlen(name) > UMID_LEN - 1) in set_umid() 272 set_umid(&tmp[strlen(uml_dir)]); in make_umid() 361 if (name[strlen(name) - 1] == '/') { in set_uml_dir() [all …]
|
/Linux-v4.19/arch/sh/lib64/ |
D | strlen.S | 9 .globl strlen 10 .type strlen,@function 13 strlen: label 34 .size strlen,.-strlen
|
/Linux-v4.19/arch/alpha/lib/ |
D | ev67-strlen.S | 25 .globl strlen 26 .ent strlen 28 strlen: label 50 .end strlen 51 EXPORT_SYMBOL(strlen)
|
D | strlen.S | 21 .globl strlen 22 .ent strlen 24 strlen: label 58 .end strlen 59 EXPORT_SYMBOL(strlen)
|
/Linux-v4.19/arch/mips/rb532/ |
D | prom.c | 59 return strncmp(arg, tag, strlen(tag)) == 0; in match_tag() 66 num = arg + strlen(tag); in tag2ul() 98 board = prom_argv[i] + strlen(BOARD_TAG); in prom_setup_cmdline() 107 cp += strlen(prom_argv[i]); in prom_setup_cmdline() 111 i = strlen(arcs_cmdline); in prom_setup_cmdline() 115 cp += strlen(arcs_cmdline); in prom_setup_cmdline()
|
/Linux-v4.19/kernel/debug/kdb/ |
D | kdb_io.c | 41 int slen = strlen(buffer); in kgdb_transition_check() 213 int len = strlen(buffer); in kdb_read() 301 strlen(kdb_prompt_str) + (lastchar-buffer)); in kdb_read() 302 *(tmpbuffer+strlen(kdb_prompt_str) + in kdb_read() 316 strlen(kdb_prompt_str) + (lastchar-buffer)); in kdb_read() 317 *(tmpbuffer+strlen(kdb_prompt_str) + in kdb_read() 338 len = strlen(p_tmp); in kdb_read() 364 len_tmp = strlen(p_tmp); in kdb_read() 366 len_tmp = strlen(p_tmp); in kdb_read() 528 len1 = strlen(searched)-1; in kdb_search_string() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/arch/mips/fw/arc/ |
D | cmdline.c | 44 int len = strlen(used_arc[i][0]); in move_firmware_args() 49 cp += strlen(used_arc[i][1]); in move_firmware_args() 55 cp += strlen(s); in move_firmware_args() 83 int len = strlen(ignored[i]); in prom_init_cmdline() 90 cp += strlen(prom_argv(actr)); in prom_init_cmdline()
|
/Linux-v4.19/fs/cifs/ |
D | cifs_spnego.c | 113 HOST_KEY_LEN + strlen(hostname) + in cifs_get_spnego_key() 121 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key() 133 dp = description + strlen(description); in cifs_get_spnego_key() 143 dp = description + strlen(description); in cifs_get_spnego_key() 153 dp = description + strlen(description); in cifs_get_spnego_key() 157 dp = description + strlen(description); in cifs_get_spnego_key() 162 dp = description + strlen(description); in cifs_get_spnego_key() 166 dp = description + strlen(description); in cifs_get_spnego_key()
|
/Linux-v4.19/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()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | tls.c | 114 int to_send = strlen(test_str) + 1; in TEST_F() 148 send_len = strlen(test_str) + 1; in TEST_F() 225 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F() 226 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F() 228 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F() 239 strlen(test_strs[i])), in TEST_F() 241 len_cmp += strlen(buf + len_cmp) + 1; in TEST_F() 262 test_strs[i] = (char *)malloc(strlen(test_str) + 1); in TEST_F() 263 snprintf(test_strs[i], strlen(test_str) + 1, "%s", test_str); in TEST_F() 265 vec[i].iov_len = strlen(test_strs[i]) + 1; in TEST_F() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/usr/ |
D | gen_init_cpio.c | 35 unsigned int name_len = strlen(name) + 1; in push_string() 52 unsigned int name_len = strlen(name) + 1; in push_rest() 92 (unsigned)strlen(name)+1, /* namesize */ in cpio_trailer() 119 (unsigned)strlen(target)+1, /* filesize */ in cpio_mkslink() 124 (unsigned)strlen(name) + 1,/* namesize */ in cpio_mkslink() 173 (unsigned)strlen(name) + 1,/* namesize */ in cpio_mkgeneric() 267 (unsigned)strlen(name) + 1,/* namesize */ in cpio_mknod() 342 namesize = strlen(name) + 1; in cpio_mkfile() 422 dname = malloc(strlen(line)); in cpio_mkfile_line() 428 dname_len = strlen(name) + 1; in cpio_mkfile_line() [all …]
|
/Linux-v4.19/net/ceph/ |
D | cls_lock_client.c | 29 int name_len = strlen(lock_name); in ceph_cls_lock() 30 int cookie_len = strlen(cookie); in ceph_cls_lock() 31 int tag_len = strlen(tag); in ceph_cls_lock() 32 int desc_len = strlen(desc); in ceph_cls_lock() 94 int name_len = strlen(lock_name); in ceph_cls_unlock() 95 int cookie_len = strlen(cookie); in ceph_cls_unlock() 144 int name_len = strlen(lock_name); in ceph_cls_break_lock() 145 int cookie_len = strlen(cookie); in ceph_cls_break_lock() 190 int name_len = strlen(lock_name); in ceph_cls_set_cookie() 191 int old_cookie_len = strlen(old_cookie); in ceph_cls_set_cookie() [all …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/stringloops/ |
D | Makefile | 9 TEST_GEN_PROGS := memcmp_64 strlen 21 $(OUTPUT)/strlen: strlen.c string.c 24 $(OUTPUT)/strlen_32: strlen.c
|
/Linux-v4.19/security/integrity/evm/ |
D | evm_posix_acl.c | 18 int xattr_len = strlen(xattr); in posix_xattr_acl() 20 if ((strlen(XATTR_NAME_POSIX_ACL_ACCESS) == xattr_len) in posix_xattr_acl() 23 if ((strlen(XATTR_NAME_POSIX_ACL_DEFAULT) == xattr_len) in posix_xattr_acl()
|
/Linux-v4.19/arch/um/drivers/ |
D | vector_user.h | 14 #define TRANS_RAW_LEN strlen(TRANS_RAW) 17 #define TRANS_TAP_LEN strlen(TRANS_TAP) 21 #define TRANS_GRE_LEN strlen(TRANS_RAW) 24 #define TRANS_L2TPV3_LEN strlen(TRANS_L2TPV3)
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | main.c | 134 if (strlen(str) < strlen(pfx)) in is_prefix() 137 return !memcmp(str, pfx, strlen(pfx)); in is_prefix() 261 if (strlen(buf) == sizeof(buf) - 1) { in do_batch() 271 strlen(contline) == 0) { in do_batch() 282 if (strlen(buf) + strlen(contline) + 1 > sizeof(buf)) { in do_batch() 287 buf[strlen(buf) - 2] = '\0'; in do_batch()
|
/Linux-v4.19/tools/power/cpupower/bench/ |
D | parse.c | 45 if (strncasecmp("high", str, strlen(str)) == 0) in string_to_prio() 47 else if (strncasecmp("default", str, strlen(str)) == 0) in string_to_prio() 49 else if (strncasecmp("low", str, strlen(str)) == 0) in string_to_prio() 82 len = strlen(dirname) + 30; in prepare_output() 90 len += strlen(sysdata.nodename) + strlen(sysdata.release); in prepare_output()
|
/Linux-v4.19/include/linux/netfilter/ipset/ |
D | ip_set_comment.h | 27 size_t len = ext->comment ? strlen(ext->comment) : 0; in ip_set_init_comment() 30 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 42 set->ext_size += sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 70 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_comment_free()
|