Home
last modified time | relevance | path

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

12

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

12