Home
last modified time | relevance | path

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

12

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

12