/kernel/linux/linux-5.10/lib/ |
H A D | test_string.c | 152 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 D | string.c | 498 * 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 D | kobject_uevent.c | 77 args_start = strnchr(buf, count, ' '); in kobject_action_type()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_string.c | 152 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 D | string.c | 392 * 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 D | binfmt_script.c | 59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
|
/kernel/linux/linux-6.6/fs/ |
H A D | binfmt_script.c | 59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | driver.c | 83 cp = strnchr(s, len, '\n'); in driver_set_override()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | driver.c | 77 cp = strnchr(s, len, '\n'); in driver_set_override()
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | netconsole.c | 485 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 D | string.h | 107 extern char * strnchr(const char *, size_t, int);
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | lib.c | 117 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | netconsole.c | 548 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 D | drm_modes.c | 2300 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 D | kprobes.c | 81 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | kprobes.c | 83 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | string.h | 66 extern char * strnchr(const char *, size_t, int);
|
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_template_lib.c | 73 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | lib.c | 96 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
|
/kernel/linux/linux-6.6/kernel/module/ |
H A D | kallsyms.c | 434 colon = strnchr(name, MODULE_NAME_LEN, ':'); in __module_kallsyms_lookup_name()
|
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/ |
H A D | ucsi_ccg.c | 1151 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 D | ucsi_ccg.c | 1173 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 D | vmlogrdr.c | 225 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()
|
/kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
H A D | dsp.c | 538 info = strnchr(info, eof - info, ' '); in catpt_coredump()
|
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | vmlogrdr.c | 225 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()
|