| /linux/lib/tests/ |
| H A D | string_kunit.c | 139 result = strnchr(test_string, j, test_string[i]); in string_test_strnchr() 150 result = strnchr(empty_string, 0, '\0'); in string_test_strnchr() 153 result = strnchr(empty_string, 1, '\0'); in string_test_strnchr() 156 result = strnchr(empty_string, 1, 'a'); in string_test_strnchr() 159 result = strnchr(NULL, 0, '\0'); in string_test_strnchr()
|
| /linux/fs/ |
| H A D | binfmt_script.c | 59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
|
| /linux/lib/ |
| H A D | string.c | 402 char *strnchr(const char *s, size_t count, int c) in strnchr() function 412 EXPORT_SYMBOL(strnchr);
|
| H A D | kobject_uevent.c | 76 args_start = strnchr(buf, count, ' '); in kobject_action_type()
|
| /linux/drivers/base/ |
| H A D | driver.c | 83 cp = strnchr(s, len, '\n'); in driver_set_override()
|
| H A D | dd.c | 406 cp = strnchr(s, len, '\n'); in __device_set_driver_override()
|
| /linux/drivers/crypto/ccp/ |
| H A D | sfs.c | 64 if (!strnchr(payload_name, PAYLOAD_NAME_SIZE, '\0')) in send_sfs_update_package()
|
| /linux/arch/powerpc/kernel/ |
| H A D | kprobes.c | 83 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
|
| /linux/security/apparmor/ |
| H A D | lib.c | 195 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_modes.c | 2302 if (strnchr(name, name_end, '=')) in drm_mode_parse_cmdline_named_mode() 2390 bpp_ptr = strnchr(name, options_off, '-'); in drm_mode_parse_command_line_for_connector() 2392 bpp_ptr = strnchr(bpp_ptr + 1, options_off, '-'); in drm_mode_parse_command_line_for_connector() 2396 refresh_ptr = strnchr(name, options_off, '@'); in drm_mode_parse_command_line_for_connector()
|
| /linux/include/linux/ |
| H A D | string.h | 180 extern char * strnchr(const char *, size_t, int);
|
| /linux/kernel/module/ |
| H A D | kallsyms.c | 419 colon = strnchr(name, MODULE_NAME_LEN, ':'); in __module_kallsyms_lookup_name()
|
| /linux/drivers/s390/char/ |
| H A D | vmlogrdr.c | 224 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()
|
| /linux/sound/soc/intel/catpt/ |
| H A D | dsp.c | 489 info = strnchr(info, eof - info, ' '); in catpt_coredump()
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi_ccg.c | 1245 p = strnchr(fw->data, fw->size, ':'); in do_flash() 1247 s = strnchr(p + 1, eof - p - 1, ':'); in do_flash()
|
| /linux/net/netfilter/ |
| H A D | xt_recent.c | 599 if (strnchr(c, size, ':') != NULL) { in recent_mt_proc_write()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l3_sys.c | 402 sep = strnchr(buf, INET6_ADDRSTRLEN, '/'); in qeth_l3_parse_ipatoe()
|
| /linux/drivers/tty/hvc/ |
| H A D | hvc_iucv.c | 756 wildcard = strnchr(filter_entry, 8, FILTER_WILDCARD_CHAR); in hvc_iucv_filter_connreq()
|
| /linux/drivers/misc/eeprom/ |
| H A D | idt_89hpesx.c | 916 colon_ch = strnchr(buf, count, ':'); in idt_dbgfs_csr_write()
|
| /linux/init/ |
| H A D | main.c | 575 if (strnchr(param, len, '.')) in unknown_bootoption()
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_gpu_error.c | 2383 next = strnchr(ptr, got, '\n'); in intel_klog_error_capture()
|
| /linux/fs/nfs/ |
| H A D | dir.c | 746 if (strnchr(filename.name, filename.len, '/')) in nfs_prime_dcache()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 829 fmt_end = strnchr(fmt, fmt_size, 0); in bpf_bprintf_prepare()
|
| /linux/drivers/spi/ |
| H A D | spi.c | 491 of_name = strnchr(of_id->compatible, in __spi_register_driver()
|
| /linux/fs/smb/client/ |
| H A D | connect.c | 2242 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds()
|