Home
last modified time | relevance | path

Searched refs:strnchr (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/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.c400 char *strnchr(const char *s, size_t count, int c) in strnchr() function
410 EXPORT_SYMBOL(strnchr);
H A Dkobject_uevent.c77 args_start = strnchr(buf, count, ' '); in kobject_action_type()
/openbmc/linux/fs/
H A Dbinfmt_script.c59 i_end = strnchr(bprm->buf, sizeof(bprm->buf), '\n'); in load_script()
/openbmc/linux/drivers/base/
H A Ddriver.c83 cp = strnchr(s, len, '\n'); in driver_set_override()
/openbmc/linux/include/linux/
H A Dstring.h107 extern char * strnchr(const char *, size_t, int);
/openbmc/linux/drivers/net/
H A Dnetconsole.c548 if (strnchr(buf, count, ':')) { in local_ip_store()
584 if (strnchr(buf, count, ':')) { in remote_ip_store()
/openbmc/linux/security/apparmor/
H A Dlib.c117 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname()
/openbmc/linux/arch/powerpc/kernel/
H A Dkprobes.c83 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_modes.c2303 if (strnchr(name, name_end, '=')) in drm_mode_parse_cmdline_named_mode()
2391 bpp_ptr = strnchr(name, options_off, '-'); in drm_mode_parse_command_line_for_connector()
2393 bpp_ptr = strnchr(bpp_ptr + 1, options_off, '-'); in drm_mode_parse_command_line_for_connector()
2397 refresh_ptr = strnchr(name, options_off, '@'); in drm_mode_parse_command_line_for_connector()
/openbmc/linux/kernel/module/
H A Dkallsyms.c434 colon = strnchr(name, MODULE_NAME_LEN, ':'); in __module_kallsyms_lookup_name()
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1175 p = strnchr(fw->data, fw->size, ':'); in do_flash()
1177 s = strnchr(p + 1, eof - p - 1, ':'); in do_flash()
/openbmc/linux/sound/soc/intel/catpt/
H A Ddsp.c492 info = strnchr(info, eof - info, ' '); in catpt_coredump()
/openbmc/linux/drivers/s390/char/
H A Dvmlogrdr.c225 tail=strnchr(cp_response,len,'='); in vmlogrdr_get_recording_class_AB()
/openbmc/linux/net/netfilter/
H A Dxt_recent.c599 if (strnchr(c, size, ':') != NULL) { in recent_mt_proc_write()
/openbmc/linux/drivers/s390/net/
H A Dqeth_l3_sys.c402 sep = strnchr(buf, INET6_ADDRSTRLEN, '/'); in qeth_l3_parse_ipatoe()
/openbmc/linux/init/
H A Dmain.c545 if (strnchr(param, len, '.')) in unknown_bootoption()
/openbmc/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c921 colon_ch = strnchr(buf, count, ':'); in idt_dbgfs_csr_write()
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_iucv.c756 wildcard = strnchr(filter_entry, 8, FILTER_WILDCARD_CHAR); in hvc_iucv_filter_connreq()
/openbmc/linux/kernel/bpf/
H A Dhelpers.c832 fmt_end = strnchr(fmt, fmt_size, 0); in bpf_bprintf_prepare()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c2316 next = strnchr(ptr, got, '\n'); in intel_klog_error_capture()
/openbmc/linux/fs/nfs/
H A Ddir.c742 if (strnchr(filename.name, filename.len, '/')) in nfs_prime_dcache()
/openbmc/linux/drivers/spi/
H A Dspi.c509 of_name = strnchr(of_id->compatible, in __spi_register_driver()
/openbmc/linux/fs/smb/client/
H A Dconnect.c2202 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds()
/openbmc/linux/mm/
H A Dslub.c1702 glob = strnchr(iter, end - iter, '*'); in kmem_cache_flags()

12