Searched refs:strlen (Results 26 - 50 of 1926) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dfind-map.c24 if (!strncmp(&line[m], name, strlen(name)))
/linux-master/tools/testing/selftests/proc/
H A Dself.c34 assert(rv == strlen(buf1));
H A Dproc-pid-vm.c355 const size_t len = strlen(buf0) + strlen(str_vsyscall);
367 assert(memcmp(buf, buf0, strlen(buf0)) == 0);
369 assert(memcmp(buf + strlen(buf0), str_vsyscall, strlen(str_vsyscall)) == 0);
387 assert(rv >= strlen(buf0));
388 assert(memcmp(buf, buf0, strlen(buf0)) == 0);
394 assert(memmem(buf, rv, RSS1, strlen(RSS1)) ||
395 memmem(buf, rv, RSS2, strlen(RSS2)));
396 assert(memmem(buf, rv, PSS1, strlen(PSS
[all...]
/linux-master/arch/arc/include/asm/
H A Dstring.h7 * -Added memcmp, strchr, strcpy, strcmp, strlen
32 extern __kernel_size_t strlen(const char *);
/linux-master/arch/arc/lib/
H A DMakefile6 lib-y := strchr-700.o strcpy-700.o strlen.o memcmp.o
/linux-master/tools/pcmcia/
H A Dcrc32hash.c30 result = crc32((unsigned char const *)argv[1], strlen(argv[1]));
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Doption.h15 if (strlen(cmp) != len)
/linux-master/tools/perf/arch/s390/util/
H A Dmachine.c18 (int)strlen(name) - 2, name + 1);
/linux-master/security/selinux/
H A Dima.c27 buf_len = strlen("initialized=0;enforcing=0;checkreqprot=0;") + 1;
29 len = strlen(on);
31 buf_len += strlen(selinux_policycap_names[i]) + len;
86 state_str, strlen(state_str), false,
/linux-master/include/ufs/
H A Dufs_quirks.h10 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1))
/linux-master/tools/perf/arch/riscv/util/
H A Dheader.c52 if (!strncmp(line, CPUINFO_MVEN, strlen(CPUINFO_MVEN))) {
56 } else if (!strncmp(line, CPUINFO_MARCH, strlen(CPUINFO_MARCH))) {
60 } else if (!strncmp(line, CPUINFO_MIMP, strlen(CPUINFO_MIMP))) {
89 if (sz < strlen(cpuid)) {
/linux-master/tools/gpio/
H A Dgpio-utils.h23 return strlen(str) > strlen(prefix) &&
24 strncmp(str, prefix, strlen(prefix)) == 0;
/linux-master/tools/lib/api/fs/
H A Dcgroup.c28 if (strlen(cached->mountpoint) < maxlen) {
85 if (!strchr(" ,", p[-1]) || !strchr(" ,", p[strlen(subsys)]))
102 if (mountpoint[0] && strlen(mountpoint) < maxlen) {
/linux-master/tools/iio/
H A Diio_utils.c38 strlen(iio_direction[i]))) {
43 current = strdup(full_name + strlen(prefix) + 1);
339 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"),
381 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"),
424 strlen(ent->d_name) -
425 strlen("_en"));
579 strlen(ent->d_name) > strlen(typ
[all...]
/linux-master/kernel/debug/kdb/
H A Dkdb_io.c40 int slen = strlen(buffer);
217 int len = strlen(buffer);
304 strlen(kdb_prompt_str) + (lastchar-buffer));
305 *(tmpbuffer+strlen(kdb_prompt_str) +
319 strlen(kdb_prompt_str) + (lastchar-buffer));
320 *(tmpbuffer+strlen(kdb_prompt_str) +
341 len = strlen(p_tmp);
370 len_tmp = strlen(p_tmp);
372 len_tmp = strlen(p_tmp);
534 len1 = strlen(searche
[all...]
/linux-master/tools/tracing/rtla/src/
H A Dutils.c301 retval = strncmp(comm_prefix, buffer, strlen(comm_prefix));
325 if (strlen(comm_prefix) >= MAX_PATH) {
326 err_msg("Command prefix is too long: %d < strlen(%s)\n",
420 if (strlen(arg) < 4)
605 if (strlen(start) >= sizeof_self_cg)
635 char cgroup_path[MAX_PATH - strlen("/cgroup.procs")];
648 retval = get_self_cgroup(&cgroup_path[strlen(cgroup_path)],
649 sizeof(cgroup_path) - strlen(cgroup_path));
655 snprintf(&cgroup_path[strlen(cgroup_path)],
656 sizeof(cgroup_path) - strlen(cgroup_pat
[all...]
/linux-master/tools/power/cpupower/bench/
H A Dparse.c32 if (strncasecmp("high", str, strlen(str)) == 0)
34 else if (strncasecmp("default", str, strlen(str)) == 0)
36 else if (strncasecmp("low", str, strlen(str)) == 0)
69 len = strlen(dirname) + 30;
77 len += strlen(sysdata.nodename) + strlen(sysdata.release);
/linux-master/arch/powerpc/boot/
H A Dplanetcore.c40 int keylen = strlen(key);
46 table += strlen(table) + 1;
47 } while (strlen(table) != 0);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtask_fd_query_rawtp.c44 len == strlen("sys_enter");
56 len == strlen("sys_enter");
68 len == strlen("sys_enter") &&
H A Dptr_untrusted.c31 err = strncmp(skel->bss->tp_name, TP_NAME, strlen(TP_NAME));
/linux-master/arch/riscv/lib/
H A Dstrlen.S8 /* int strlen(const char *s) */
9 SYM_FUNC_START(strlen)
34 * Variant of strlen using the ZBB extension if available
132 SYM_FUNC_END(strlen)
133 SYM_FUNC_ALIAS(__pi_strlen, strlen)
/linux-master/tools/objtool/include/objtool/
H A Dwarn.h32 str = malloc(strlen(sym->name) + strlen(sec->name) + 40);
37 str = malloc(strlen(sec->name) + 20);
/linux-master/tools/usb/usbip/src/
H A Dusbip_bind.c48 rc = write_sysfs_attribute(bind_attr_path, busid, strlen(busid));
89 if (!strncmp(bDevClass, "09", strlen(bDevClass))) {
102 strlen(USBIP_HOST_DRV_NAME))) {
113 rc = write_sysfs_attribute(unbind_attr_path, busid, strlen(busid));
/linux-master/net/ceph/
H A Dcls_lock_client.c32 int name_len = strlen(lock_name);
33 int cookie_len = strlen(cookie);
34 int tag_len = strlen(tag);
35 int desc_len = strlen(desc);
99 int name_len = strlen(lock_name);
100 int cookie_len = strlen(cookie);
151 int name_len = strlen(lock_name);
152 int cookie_len = strlen(cookie);
197 int name_len = strlen(lock_name);
198 int old_cookie_len = strlen(old_cooki
[all...]
/linux-master/drivers/md/
H A Ddm-sysfs.c75 return strlen(buf);
84 return strlen(buf);
91 return strlen(buf);
99 return strlen(buf);

Completed in 225 milliseconds

1234567891011>>