Home
last modified time | relevance | path

Searched refs:strnchr (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/lib/
H A Dtest_string.c152 result = strnchr(test_string, j, test_string[i]); in strnchr_selftest()
163 result = strnchr(empty_string, 0, '\0'); in strnchr_selftest()
167 result = strnchr(empty_string, 1, '\0'); in strnchr_selftest()
171 result = strnchr(empty_string, 1, 'a'); in strnchr_selftest()
175 result = strnchr(NULL, 0, '\0'); in strnchr_selftest()
H A Dstring.c498 * strnchr - Find a character in a length limited string
506 char *strnchr(const char *s, size_t count, int c) in strnchr() function
516 EXPORT_SYMBOL(strnchr); variable
H A Dkobject_uevent.c77 args_start = strnchr(buf, count, ' '); in kobject_action_type()
/kernel/linux/linux-6.6/lib/
H A Dtest_string.c152 result = strnchr(test_string, j, test_string[i]); in strnchr_selftest()
163 result = strnchr(empty_string, 0, '\0'); in strnchr_selftest()
167 result = strnchr(empty_string, 1, '\0'); in strnchr_selftest()
171 result = strnchr(empty_string, 1, 'a'); in strnchr_selftest()
175 result = strnchr(NULL, 0, '\0'); in strnchr_selftest()
H A Dstring.c392 * strnchr - Find a character in a length limited string
400 char *strnchr(const char *s, size_t count, int c) in strnchr() function
410 EXPORT_SYMBOL(strnchr); variable
/kernel/linux/linux-5.10/fs/
H A Dbinfmt_script.c59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
/kernel/linux/linux-6.6/fs/
H A Dbinfmt_script.c59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
/kernel/linux/linux-6.6/drivers/base/
H A Ddriver.c83 cp = strnchr(s, len, '\n'); in driver_set_override()
/kernel/linux/linux-5.10/drivers/base/
H A Ddriver.c77 cp = strnchr(s, len, '\n'); in driver_set_override()
/kernel/linux/linux-5.10/drivers/net/
H A Dnetconsole.c485 if (strnchr(buf, count, ':')) { in local_ip_store()
521 if (strnchr(buf, count, ':')) { in remote_ip_store()
/kernel/linux/linux-6.6/include/linux/
H A Dstring.h107 extern char * strnchr(const char *, size_t, int);
/kernel/linux/linux-6.6/security/apparmor/
H A Dlib.c117 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
/kernel/linux/linux-6.6/drivers/net/
H A Dnetconsole.c548 if (strnchr(buf, count, ':')) { in local_ip_store()
584 if (strnchr(buf, count, ':')) { in remote_ip_store()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_modes.c2300 if (strnchr(name, name_end, '=')) in drm_mode_parse_cmdline_named_mode()
2388 bpp_ptr = strnchr(name, options_off, '-'); in drm_mode_parse_command_line_for_connector()
2390 bpp_ptr = strnchr(bpp_ptr + 1, options_off, '-'); in drm_mode_parse_command_line_for_connector()
2394 refresh_ptr = strnchr(name, options_off, '@'); in drm_mode_parse_command_line_for_connector()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dkprobes.c81 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dkprobes.c83 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
/kernel/linux/linux-5.10/include/linux/
H A Dstring.h66 extern char * strnchr(const char *, size_t, int);
/kernel/linux/linux-5.10/security/integrity/ima/
H A Dima_template_lib.c73 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
/kernel/linux/linux-5.10/security/apparmor/
H A Dlib.c96 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
/kernel/linux/linux-6.6/kernel/module/
H A Dkallsyms.c434 colon = strnchr(name, MODULE_NAME_LEN, ':'); in __module_kallsyms_lookup_name()
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1151 p = strnchr(fw->data, fw->size, ':'); in do_flash()
1153 s = strnchr(p + 1, eof - p - 1, ':'); in do_flash()
/kernel/linux/linux-6.6/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1173 p = strnchr(fw->data, fw->size, ':'); in do_flash()
1175 s = strnchr(p + 1, eof - p - 1, ':'); in do_flash()
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dvmlogrdr.c225 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
H A Ddsp.c538 info = strnchr(info, eof - info, ' '); in catpt_coredump()
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dvmlogrdr.c225 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()

Completed in 26 milliseconds

12